Home
last modified time | relevance | path

Searched refs:VALID_STRING (Results 1 – 19 of 19) sorted by relevance

/freebsd-13.1/contrib/ncurses/include/
H A Dcapdefaults.c55 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 Dtic.h251 #define VALID_STRING(s) ((s) != CANCELLED_STRING && (s) != ABSENT_STRING) macro
/freebsd-13.1/contrib/ncurses/progs/
H A Dreset_cmd.c345 && VALID_STRING(key_backspace) in default_erase()
411 if (VALID_STRING(set_tab) && VALID_STRING(clear_all_tabs)) in set_conversions()
421 if (VALID_STRING(s)) { in sent_string()
431 if (VALID_STRING(carriage_return)) { in to_left_margin()
451 && VALID_STRING(set_tab) in reset_tabstops()
452 && VALID_STRING(clear_all_tabs)) { in reset_tabstops()
487 if (VALID_STRING(init_prog)) { in send_init_strings()
499 if (VALID_STRING(clear_margins)) { in send_init_strings()
503 if (VALID_STRING(set_lr_margin)) { in send_init_strings()
516 if (VALID_STRING(set_left_margin) in send_init_strings()
[all …]
H A Dtic.c215 if (VALID_STRING(s) in write_it()
1245 if (!VALID_STRING(orig_pair) && !VALID_STRING(orig_colors)) in check_colors()
1288 if (VALID_STRING(string) in keypad_final()
1521 VALID_STRING(key_a3) && in check_keypad()
1522 VALID_STRING(key_b2) && in check_keypad()
1523 VALID_STRING(key_c1) && in check_keypad()
1524 VALID_STRING(key_c3)) { in check_keypad()
2591 if (VALID_STRING(a)) { in get_fkey_list()
2646 if (!VALID_STRING(a)) in check_conflict()
2652 if (!VALID_STRING(b)) in check_conflict()
[all …]
H A Ddump_entry.c1018 if (VALID_STRING(termcap_reset)) { in fmt_entry()
1099 if (VALID_STRING(capability) in fmt_entry()
1179 if (VALID_STRING(capability) && in fmt_entry()
1191 if (VALID_STRING(memory_lock)) { in fmt_entry()
1202 if (VALID_STRING(acs_chars)) { in fmt_entry()
1327 if (VALID_STRING(cap)) { in find_string()
1351 if (VALID_STRING(cap) in kill_labels()
1377 if (VALID_STRING(cap) in kill_fkeys()
1399 if (VALID_STRING(mapping)) { in one_one_mapping()
1426 if (VALID_STRING(acs_chars)) { in purged_acs()
[all …]
H A Dinfocmp.c163 result = !VALID_STRING(value); in no_string()
177 if (!VALID_STRING(s) && !VALID_STRING(t)) in capcmp()
179 else if (!VALID_STRING(s) || !VALID_STRING(t)) in capcmp()
821 if (!VALID_STRING(cap)) in analyze_string()
841 if (VALID_STRING(cp) && in analyze_string()
1309 if (VALID_STRING(term->Strings[n])) { in dump_initializers()
H A Dtabs.c519 if (!VALID_STRING(clear_all_tabs)) { in main()
523 } else if (!VALID_STRING(set_tab)) { in main()
H A Dtput.c221 } else if (VALID_STRING(s)) { in tput_cmd()
/freebsd-13.1/contrib/ncurses/ncurses/tinfo/
H A Dparse_entry.c340 if (!VALID_STRING(_nc_curr_token.tk_valstring) in _nc_parse_entry()
611 bool ok_s = VALID_STRING(s); in _nc_capcmp()
612 bool ok_t = VALID_STRING(t); in _nc_capcmp()
672 if (VALID_STRING(src) && strlen(src) == 1) { in append_acs()
931 if (VALID_STRING(s) && VALID_STRING(t) && strcmp(s, t) != 0) in postprocess_termcap()
942 if (VALID_STRING(bp)) { in postprocess_termcap()
H A Dlib_setup.c841 if ((VALID_STRING(cursor_address) in TINFO_SETUP_TERM()
842 || (VALID_STRING(cursor_down) && VALID_STRING(cursor_home))) in TINFO_SETUP_TERM()
843 && VALID_STRING(clear_screen)) { in TINFO_SETUP_TERM()
H A Dtinfo_driver.c230 if ((VALID_STRING(cursor_address) in drv_CanHandle()
231 || (VALID_STRING(cursor_down) && VALID_STRING(cursor_home))) in drv_CanHandle()
232 && VALID_STRING(clear_screen)) { in drv_CanHandle()
713 TCB->info.initcolor = VALID_STRING(initialize_color); in drv_init()
895 if (!VALID_STRING(sp->_mouse_xtermcap)) in init_xterm_mouse()
H A Dwrite_entry.c824 if (VALID_STRING(tp->Strings[i])) { in _nc_write_object()
855 if (VALID_STRING(tp->Strings[i + STRCOUNT])) { in _nc_write_object()
908 if (VALID_STRING(tp->Strings[i + STRCOUNT])) { in _nc_write_object()
H A Dcomp_expand.c67 const char *str = VALID_STRING(srcp) ? srcp : "\0\0"; in _nc_tic_expand()
H A Dalloc_entry.c102 if (!VALID_STRING(string)) in _nc_save_str()
H A Dlib_termcap.c388 if (VALID_STRING(result)) { in NCURSES_SP_NAME()
H A Dlib_tputs.c301 if (!VALID_STRING(string)) in NCURSES_SP_NAME()
H A Dread_entry.c162 if (VALID_STRING(Strings[i])) { in convert_strings()
479 if (VALID_STRING(ptr->Strings[i + STRCOUNT])) { in _nc_read_termtype()
/freebsd-13.1/contrib/ncurses/ncurses/base/
H A Dlib_color.c278 } else if ((s = tigetstr(name)) != 0 && VALID_STRING(s)) { in init_direct_colors()
H A Dlib_mouse.c382 if (VALID_STRING(sp->_mouse_xtermcap)) { in init_xterm_mouse()