| /freebsd-14-stable/contrib/ncurses/include/ |
| HD | capdefaults.c | 55 if (VALID_STRING(carriage_return) 58 if (VALID_STRING(newline) && (capval = EXTRACT_DELAY(newline))) 62 if (!VALID_STRING(termcap_init2) && VALID_STRING(init_3string)) { 66 if (!VALID_STRING(termcap_reset) 67 && VALID_STRING(reset_2string) 68 && !VALID_STRING(reset_1string) 69 && !VALID_STRING(reset_3string)) { 75 && VALID_STRING(enter_underline_mode)) 79 linefeed_is_newline = (char) (VALID_STRING(newline) 81 if (VALID_STRING(cursor_left) [all …]
|
| HD | tic.h | 250 #define VALID_STRING(s) ((s) != CANCELLED_STRING && (s) != ABSENT_STRING) macro
|
| /freebsd-14-stable/contrib/ncurses/progs/ |
| HD | reset_cmd.c | 390 && VALID_STRING(key_backspace) in default_erase() 454 if (VALID_STRING(newline) && newline[0] == '\n' && !newline[1]) { in set_conversions() 461 if (VALID_STRING(set_tab) && VALID_STRING(clear_all_tabs)) in set_conversions() 472 if (VALID_STRING(s)) { in sent_string() 482 if (VALID_STRING(carriage_return)) { in to_left_margin() 502 && VALID_STRING(set_tab) in reset_tabstops() 503 && VALID_STRING(clear_all_tabs)) { in reset_tabstops() 538 if (VALID_STRING(init_prog)) { in send_init_strings() 550 if (VALID_STRING(clear_margins)) { in send_init_strings() 554 else if (VALID_STRING(set_lr_margin)) { in send_init_strings() [all …]
|
| HD | tic.c | 215 if (VALID_STRING(s) in write_it() 1139 if (VALID_STRING(enter_alt_charset_mode)) { in check_acs() 1146 if (VALID_STRING(exit_alt_charset_mode)) { in check_acs() 1153 if (VALID_STRING(ena_acs)) { in check_acs() 1168 if (VALID_STRING(acs_chars)) { in check_acs() 1241 || ((max_colors > max_pairs) && !VALID_STRING(initialize_pair))) in check_colors() 1249 if (VALID_STRING(set_foreground) in check_colors() 1250 && VALID_STRING(set_a_foreground)) { in check_colors() 1258 if (VALID_STRING(set_background) in check_colors() 1259 && VALID_STRING(set_a_background)) { in check_colors() [all …]
|
| HD | tabs.c | 80 if (VALID_STRING(clear_all_tabs)) { in ansi_clear_tabs() 347 if (VALID_STRING(clear_margins)) { in do_set_margin() 354 } else if (VALID_STRING(set_left_margin)) { in do_set_margin() 361 if (VALID_STRING(column_address)) { in do_set_margin() 364 if (VALID_STRING(parm_right_cursor)) { in do_set_margin() 375 else if (VALID_STRING(set_left_margin_parm)) { in do_set_margin() 378 if (VALID_STRING(set_right_margin_parm)) { in do_set_margin() 387 else if (VALID_STRING(set_lr_margin)) { in do_set_margin() 639 if (!VALID_STRING(clear_all_tabs)) { in main() 643 } else if (!VALID_STRING(set_tab)) { in main()
|
| HD | dump_entry.c | 1024 if (VALID_STRING(termcap_reset)) { in fmt_entry() 1025 if (VALID_STRING(init_3string) in fmt_entry() 1029 if (VALID_STRING(reset_2string) in fmt_entry() 1106 if (VALID_STRING(capability) in fmt_entry() 1110 if (!VALID_STRING(capability)) { in fmt_entry() 1186 if (VALID_STRING(capability) && in fmt_entry() 1198 if (VALID_STRING(memory_lock)) { in fmt_entry() 1203 if (VALID_STRING(memory_unlock)) { in fmt_entry() 1209 if (VALID_STRING(acs_chars)) { in fmt_entry() 1334 if (VALID_STRING(cap)) { in find_string() [all …]
|
| HD | infocmp.c | 165 result = !VALID_STRING(value); in no_string() 179 if (!VALID_STRING(s) && !VALID_STRING(t)) in capcmp() 181 else if (!VALID_STRING(s) || !VALID_STRING(t)) in capcmp() 848 if (!VALID_STRING(cap)) in analyze_string() 870 if (VALID_STRING(cp) && in analyze_string() 1335 if (VALID_STRING(term->Strings[n])) { in dump_initializers()
|
| HD | tput.c | 241 } else if (VALID_STRING(s)) { in tput_cmd()
|
| /freebsd-14-stable/contrib/ncurses/ncurses/tinfo/ |
| HD | alloc_entry.c | 113 if (!VALID_STRING(string)) in _nc_save_str() 161 if (VALID_STRING(tp->Strings[i])) { in _nc_wrap_entry() 270 if (VALID_STRING(from->Strings[i])) in _nc_merge_entry() 274 if (VALID_STRING(to->Strings[i])) in _nc_merge_entry() 293 if (VALID_STRING(from->Strings[i])) { in _nc_merge_entry() 302 if (VALID_STRING(to->Strings[i])) { in _nc_merge_entry() 319 if (VALID_STRING(from->ext_Names[i])) in _nc_merge_entry() 323 if (VALID_STRING(to->ext_Names[i])) in _nc_merge_entry() 337 if (VALID_STRING(from->ext_Names[i])) { in _nc_merge_entry() 346 if (VALID_STRING(to->ext_Names[i])) { in _nc_merge_entry()
|
| HD | lib_setup.c | 312 if (VALID_STRING(value)) { in is_expected() 413 && VALID_STRING(cursor_address) in _nc_check_screensize() 718 if (VALID_STRING(tmp)) { in _nc_tinfo_cmdch() 1012 if (VALID_STRING(command_character)) in TINFO_SETUP_TERM() 1052 if ((VALID_STRING(cursor_address) in TINFO_SETUP_TERM() 1053 || (VALID_STRING(cursor_down) && VALID_STRING(cursor_home))) in TINFO_SETUP_TERM() 1054 && VALID_STRING(clear_screen)) { in TINFO_SETUP_TERM()
|
| HD | lib_cur_term.c | 103 PC = (char) (VALID_STRING(pad_char) ? pad_char[0] : 0); in NCURSES_SP_NAME() 109 PC = (char) (VALID_STRING(pad_char) ? pad_char[0] : 0); in NCURSES_SP_NAME()
|
| HD | parse_entry.c | 374 if (!VALID_STRING(_nc_curr_token.tk_valstring) in _nc_parse_entry() 651 bool ok_s = VALID_STRING(s); in _nc_capcmp() 652 bool ok_t = VALID_STRING(t); in _nc_capcmp() 712 if (VALID_STRING(src) && strlen(src) == 1) { in append_acs() 975 if (VALID_STRING(s) && VALID_STRING(t) && strcmp(s, t) != 0) in postprocess_termcap() 986 if (VALID_STRING(bp)) { in postprocess_termcap()
|
| HD | tinfo_driver.c | 209 if (VALID_STRING(command_character)) in drv_CanHandle() 235 if ((VALID_STRING(cursor_address) in drv_CanHandle() 236 || (VALID_STRING(cursor_down) && VALID_STRING(cursor_home))) in drv_CanHandle() 237 && VALID_STRING(clear_screen)) { in drv_CanHandle() 729 TCB->info.initcolor = VALID_STRING(initialize_color); in drv_init() 911 if (!VALID_STRING(sp->_mouse_xtermcap)) in init_xterm_mouse()
|
| HD | init_keytry.c | 100 && VALID_STRING(value) in _nc_init_keytry()
|
| HD | add_tries.c | 57 if (!VALID_STRING(str) || *txt == '\0' || code == 0) in NCURSES_EXPORT()
|
| HD | write_entry.c | 842 if (VALID_STRING(tp->Strings[i])) { in _nc_write_object() 873 if (VALID_STRING(tp->Strings[i + STRCOUNT])) { in _nc_write_object() 926 if (VALID_STRING(tp->Strings[i + STRCOUNT])) { in _nc_write_object()
|
| HD | comp_expand.c | 67 const char *str = VALID_STRING(srcp) ? srcp : "\0\0"; in _nc_tic_expand()
|
| HD | alloc_ttype.c | 567 if (VALID_STRING(src->Strings[i])) { in copy_termtype() 655 if (VALID_STRING(src->ext_Names[i])) { in copy_termtype()
|
| HD | lib_termcap.c | 388 if (VALID_STRING(result)) { in NCURSES_SP_NAME()
|
| HD | lib_tputs.c | 312 if (!VALID_STRING(string)) in NCURSES_SP_NAME()
|
| HD | read_entry.c | 171 if (VALID_STRING(Strings[i])) { in convert_strings() 511 if (VALID_STRING(ptr->Strings[i + STRCOUNT])) { in _nc_read_termtype()
|
| HD | lib_tparm.c | 610 if (!VALID_STRING(string)) { in tparm_setup() 1106 #define CHECK_CAP(name) (VALID_STRING(name) && !strcmp(name, string)) in check_string_caps()
|
| /freebsd-14-stable/contrib/ncurses/ncurses/base/ |
| HD | key_defined.c | 45 if (VALID_STRING(str) && *str != '\0') { in find_definition()
|
| HD | tries.c | 128 if (!VALID_STRING(string) || *string == 0) in _nc_remove_string()
|
| HD | lib_color.c | 276 } else if ((s = tigetstr(name)) != 0 && VALID_STRING(s)) { in init_direct_colors()
|