| /src/contrib/ncurses/include/ |
| H A D | 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 …]
|
| H A D | tic.h | 251 #define VALID_STRING(s) ((s) != CANCELLED_STRING && (s) != ABSENT_STRING) macro
|
| /src/contrib/ncurses/progs/ |
| H A D | reset_cmd.c | 413 && VALID_STRING(key_backspace) in default_erase() 476 if (VALID_STRING(newline) && newline[0] == '\n' && !newline[1]) { in set_conversions() 483 if (VALID_STRING(set_tab) && VALID_STRING(clear_all_tabs)) in set_conversions() 496 if (VALID_STRING(s)) { in sent_string() 506 if (VALID_STRING(carriage_return)) { in to_left_margin() 526 && VALID_STRING(set_tab) in reset_tabstops() 527 && VALID_STRING(clear_all_tabs)) { in reset_tabstops() 562 if (VALID_STRING(init_prog)) { in send_init_strings() 574 if (VALID_STRING(clear_margins)) { in send_init_strings() 578 else if (VALID_STRING(set_lr_margin)) { in send_init_strings() [all …]
|
| H A D | tic.c | 216 if (VALID_STRING(s) in write_it() 1141 if (VALID_STRING(enter_alt_charset_mode)) { in check_acs() 1148 if (VALID_STRING(exit_alt_charset_mode)) { in check_acs() 1155 if (VALID_STRING(ena_acs)) { in check_acs() 1170 if (VALID_STRING(acs_chars)) { in check_acs() 1243 || ((max_colors > max_pairs) && !VALID_STRING(initialize_pair))) in check_colors() 1251 if (VALID_STRING(set_foreground) in check_colors() 1252 && VALID_STRING(set_a_foreground)) { in check_colors() 1260 if (VALID_STRING(set_background) in check_colors() 1261 && VALID_STRING(set_a_background)) { in check_colors() [all …]
|
| H A D | 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() 640 if (!VALID_STRING(clear_all_tabs)) { in main() 644 } else if (!VALID_STRING(set_tab)) { in main()
|
| H A D | 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() 1187 if (VALID_STRING(capability) && in fmt_entry() 1199 if (VALID_STRING(memory_lock)) { in fmt_entry() 1204 if (VALID_STRING(memory_unlock)) { in fmt_entry() 1210 if (VALID_STRING(acs_chars)) { in fmt_entry() 1336 if (VALID_STRING(cap)) { in find_string() [all …]
|
| H A D | infocmp.c | 172 result = !VALID_STRING(value); in no_string() 186 if (!VALID_STRING(s) && !VALID_STRING(t)) in capcmp() 188 else if (!VALID_STRING(s) || !VALID_STRING(t)) in capcmp() 855 if (!VALID_STRING(cap)) in analyze_string() 877 if (VALID_STRING(cp) && in analyze_string() 1428 if (VALID_STRING(term->Strings[n])) { in dump_initializers()
|
| H A D | clear_cmd.c | 60 if (VALID_STRING(E3)) in clear_cmd()
|
| H A D | tput.c | 241 } else if (VALID_STRING(s)) { in tput_cmd()
|
| /src/contrib/ncurses/ncurses/tinfo/ |
| H A D | alloc_entry.c | 113 if (!VALID_STRING(string)) in _nc_save_str() 161 if (VALID_STRING(tp->Strings[i])) { in _nc_wrap_entry() 273 if (VALID_STRING(from->Strings[i])) in _nc_merge_entry() 277 if (VALID_STRING(to->Strings[i])) in _nc_merge_entry() 296 if (VALID_STRING(from->Strings[i])) { in _nc_merge_entry() 305 if (VALID_STRING(to->Strings[i])) { in _nc_merge_entry() 322 if (VALID_STRING(from->ext_Names[i])) in _nc_merge_entry() 326 if (VALID_STRING(to->ext_Names[i])) in _nc_merge_entry() 340 if (VALID_STRING(from->ext_Names[i])) { in _nc_merge_entry() 349 if (VALID_STRING(to->ext_Names[i])) { in _nc_merge_entry()
|
| H A D | lib_setup.c | 312 if (VALID_STRING(value)) { in is_expected() 412 && 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()
|
| H A D | lib_cur_term.c | 103 PC = (char) (VALID_STRING(pad_char) ? pad_char[0] : 0); in set_curterm() 109 PC = (char) (VALID_STRING(pad_char) ? pad_char[0] : 0); in set_curterm()
|
| H A D | parse_entry.c | 374 if (!VALID_STRING(_nc_curr_token.tk_valstring) in _nc_parse_entry() 657 bool ok_s = VALID_STRING(s); in _nc_capcmp() 658 bool ok_t = VALID_STRING(t); in _nc_capcmp() 718 if (VALID_STRING(src) && strlen(src) == 1) { in append_acs() 981 if (VALID_STRING(s) && VALID_STRING(t) && strcmp(s, t) != 0) in postprocess_termcap() 992 if (VALID_STRING(bp)) { in postprocess_termcap()
|
| H A D | tinfo_driver.c | 210 if (VALID_STRING(command_character)) in drv_CanHandle() 236 if ((VALID_STRING(cursor_address) in drv_CanHandle() 237 || (VALID_STRING(cursor_down) && VALID_STRING(cursor_home))) in drv_CanHandle() 238 && VALID_STRING(clear_screen)) { in drv_CanHandle() 741 TCB->info.initcolor = VALID_STRING(initialize_color); in drv_init() 923 if (!VALID_STRING(sp->_mouse_xtermcap)) in init_xterm_mouse()
|
| H A D | init_keytry.c | 100 && VALID_STRING(value) in _nc_init_keytry()
|
| H A D | add_tries.c | 57 if (!VALID_STRING(str) || *txt == '\0' || code == 0) in NCURSES_EXPORT()
|
| H A D | write_entry.c | 860 if (VALID_STRING(tp->Strings[i])) { in _nc_write_object() 891 if (VALID_STRING(tp->Strings[i + STRCOUNT])) { in _nc_write_object() 944 if (VALID_STRING(tp->Strings[i + STRCOUNT])) { in _nc_write_object()
|
| H A D | comp_expand.c | 67 const char *str = VALID_STRING(srcp) ? srcp : "\0\0"; in _nc_tic_expand()
|
| H A D | alloc_ttype.c | 572 if (VALID_STRING(src->Strings[i])) { in copy_termtype() 660 if (VALID_STRING(src->ext_Names[i])) { in copy_termtype()
|
| H A D | lib_termcap.c | 390 if (VALID_STRING(result)) { in tgetstr()
|
| H A D | lib_tputs.c | 314 if (!VALID_STRING(string)) in tputs()
|
| H A D | read_entry.c | 171 if (VALID_STRING(Strings[i])) { in convert_strings() 511 if (VALID_STRING(ptr->Strings[i + STRCOUNT])) { in _nc_read_termtype()
|
| H A D | 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()
|
| /src/contrib/ncurses/ncurses/base/ |
| H A D | key_defined.c | 45 if (VALID_STRING(str) && *str != '\0') { in find_definition()
|
| H A D | tries.c | 128 if (!VALID_STRING(string) || *string == 0) in _nc_remove_string()
|