VALID_STRING
if (VALID_STRING(str) && *str != '\0') {
} else if ((s = tigetstr(name)) != 0 && VALID_STRING(s)) {
if (VALID_STRING(sp->_mouse_xtermcap)) {
if (!VALID_STRING(string) || *string == 0)
if (VALID_STRING(carriage_return)
if (VALID_STRING(newline) && (capval = EXTRACT_DELAY(newline)))
if (!VALID_STRING(termcap_init2) && VALID_STRING(init_3string)) {
if (!VALID_STRING(termcap_reset)
&& VALID_STRING(reset_2string)
&& !VALID_STRING(reset_1string)
&& !VALID_STRING(reset_3string)) {
&& VALID_STRING(enter_underline_mode))
linefeed_is_newline = (char) (VALID_STRING(newline)
if (VALID_STRING(cursor_left)
if (VALID_STRING(tab) && (capval = EXTRACT_DELAY(tab)))
if (!VALID_STRING(str) || *txt == '\0' || code == 0)
if (!VALID_STRING(string))
if (VALID_STRING(from->Strings[i]))
if (VALID_STRING(to->Strings[i]))
if (VALID_STRING(from->Strings[i])) {
if (VALID_STRING(to->Strings[i])) {
if (VALID_STRING(from->ext_Names[i]))
if (VALID_STRING(to->ext_Names[i]))
if (VALID_STRING(from->ext_Names[i])) {
if (VALID_STRING(to->ext_Names[i])) {
if (VALID_STRING(src->Strings[i])) {
if (VALID_STRING(src->ext_Names[i])) {
const char *str = VALID_STRING(srcp) ? srcp : "\0\0";
PC = (char) (VALID_STRING(pad_char) ? pad_char[0] : 0);
PC = (char) (VALID_STRING(pad_char) ? pad_char[0] : 0);
if ((VALID_STRING(cursor_address)
|| (VALID_STRING(cursor_down) && VALID_STRING(cursor_home)))
&& VALID_STRING(clear_screen)) {
if (VALID_STRING(result)) {
#define CHECK_CAP(name) (VALID_STRING(name) && !strcmp(name, string))
if (!VALID_STRING(string)) {
if (!VALID_STRING(string))
if (!VALID_STRING(_nc_curr_token.tk_valstring)
bool ok_s = VALID_STRING(s);
bool ok_t = VALID_STRING(t);
if (VALID_STRING(src) && strlen(src) == 1) {
if (VALID_STRING(s) && VALID_STRING(t) && strcmp(s, t) != 0)
if (VALID_STRING(bp)) {
if (VALID_STRING(Strings[i])) {
if (VALID_STRING(ptr->Strings[i + STRCOUNT])) {
if ((VALID_STRING(cursor_address)
|| (VALID_STRING(cursor_down) && VALID_STRING(cursor_home)))
&& VALID_STRING(clear_screen)) {
TCB->info.initcolor = VALID_STRING(initialize_color);
if (!VALID_STRING(sp->_mouse_xtermcap))
if (VALID_STRING(tp->Strings[i])) {
if (VALID_STRING(tp->Strings[i + STRCOUNT])) {
if (VALID_STRING(tp->Strings[i + STRCOUNT])) {
if (VALID_STRING(term->Strings[n])) {
result = !VALID_STRING(value);
if (!VALID_STRING(s) && !VALID_STRING(t))
else if (!VALID_STRING(s) || !VALID_STRING(t))
if (!VALID_STRING(cap))
if (VALID_STRING(cp) &&
if (VALID_STRING(termcap_reset)) {
if (VALID_STRING(init_3string)
if (VALID_STRING(reset_2string)
if (VALID_STRING(capability)
if (!VALID_STRING(capability)) {
if (VALID_STRING(capability) &&
if (VALID_STRING(memory_lock)) {
if (VALID_STRING(memory_unlock)) {
if (VALID_STRING(acs_chars)) {
if (VALID_STRING(cap)) {
if (VALID_STRING(cap)
if (VALID_STRING(cap)
if (VALID_STRING(mapping)) {
if (VALID_STRING(acs_chars)) {
if (VALID_STRING(tterm->Strings[n])) {
if (VALID_STRING(set_attributes)) {
int limit = (VALID_STRING(value) ? (int) strlen(value) : 0);
if (VALID_STRING(acs_chars)) {
&& VALID_STRING(key_backspace)
if (VALID_STRING(newline) && newline[0] == '\n' && !newline[1]) {
if (VALID_STRING(set_tab) && VALID_STRING(clear_all_tabs))
if (VALID_STRING(s)) {
if (VALID_STRING(carriage_return)) {
&& VALID_STRING(set_tab)
&& VALID_STRING(clear_all_tabs)) {
if (VALID_STRING(init_prog)) {
if (VALID_STRING(clear_margins)) {
if (VALID_STRING(set_lr_margin)) {
if (VALID_STRING(set_left_margin_parm)
&& VALID_STRING(set_right_margin_parm)) {
if (VALID_STRING(set_left_margin)
&& VALID_STRING(set_right_margin)) {
if (VALID_STRING(parm_right_cursor)) {
if (VALID_STRING(enter_alt_charset_mode)) {
if (VALID_STRING(exit_alt_charset_mode)) {
if (VALID_STRING(ena_acs)) {
if (VALID_STRING(acs_chars)) {
|| ((max_colors > max_pairs) && !VALID_STRING(initialize_pair)))
if (VALID_STRING(set_foreground)
&& VALID_STRING(set_a_foreground)) {
if (VALID_STRING(set_background)
&& VALID_STRING(set_a_background)) {
&& ((VALID_STRING(set_foreground)
&& VALID_STRING(set_background))
|| (VALID_STRING(set_a_foreground)
&& VALID_STRING(set_a_background))
if (!VALID_STRING(orig_pair) && !VALID_STRING(orig_colors))
if (!VALID_STRING(initialize_pair) &&
!VALID_STRING(initialize_color)) {
if (VALID_STRING(initialize_pair) ||
VALID_STRING(initialize_color)) {
if (VALID_STRING(value)) {
if (VALID_STRING(string)
if (VALID_STRING(key_a1) &&
VALID_STRING(key_a3) &&
VALID_STRING(key_b2) &&
VALID_STRING(key_c1) &&
VALID_STRING(key_c3)) {
} else if (VALID_STRING(key_a1) ||
VALID_STRING(key_a3) ||
VALID_STRING(key_b2) ||
VALID_STRING(key_c1) ||
VALID_STRING(key_c3)) {
if (VALID_STRING(key_mouse)) {
if (VALID_STRING(orig_pair)) {
if (!use_sgr_39_49 && VALID_STRING(orig_colors)) {
if (VALID_STRING(key_mouse)) {
if (VALID_STRING(to_status_line)
&& !VALID_STRING(set_left_margin_parm))
&& !VALID_STRING(set_right_margin_parm))
&& !VALID_STRING(set_top_margin_parm))
&& !VALID_STRING(set_bottom_margin_parm))
if (VALID_STRING(s)
if (!VALID_STRING(value) || (ti_value = strdup(value)) == NULL) {
if (VALID_STRING(a)) {
if (!VALID_STRING(a))
if (!VALID_STRING(b))
if (!VALID_STRING(given[j].value))
if (VALID_STRING(test) && (trimmed != 0)) {
if (VALID_STRING(value)) {
if (VALID_STRING(value)) {
if (VALID_STRING(value) && csi_length(value) > 0) {
if (VALID_STRING(value)) {
if (VALID_STRING(value)) {
if (VALID_STRING(a)) {
} else if (VALID_STRING(s)) {