Lines Matching refs:NUL

1351     if (*name == NUL)  in termgui_get_color()
1481 value[1] = NUL; in f_terminalprops()
1606 *nr_colors = NUL; in set_color_count()
2006 if (bs_p == NULL || *bs_p == NUL) in set_termname()
2008 if ((del_p == NULL || *del_p == NUL) && in set_termname()
2066 name[2] = NUL; in set_termname()
2269 if (T_NAME != NULL && *T_NAME != NUL && tgetent_error(tbuf, T_NAME) == NULL) in getlinecol()
2315 if (term == NULL || *term == NUL) // 'term' not defined yet in add_termcap_entry()
2372 if (string != NULL && *string != NUL) in add_termcap_entry()
2522 if (name != NULL && *name == NUL) in termcapinit()
2530 if (term == NULL || *term == NUL) in termcapinit()
2575 out_buf[len] = NUL; in out_flush()
2724 *s = NUL; in out_str_cf()
2901 if (*T_CGP == NUL || !can_get_termresponse()) in term_get_winpos()
2963 && s[i] != NUL in term_color()
3043 && p[2] == NUL)) in term_bg_default()
3119 if ((which & SAVE_RESTORE_TITLE) && T_CST != NULL && *T_CST != NUL) in term_push_title()
3125 if ((which & SAVE_RESTORE_ICON) && T_SSI != NULL && *T_SSI != NUL) in term_push_title()
3138 if ((which & SAVE_RESTORE_TITLE) && T_CRT != NULL && *T_CRT != NUL) in term_pop_title()
3144 if ((which & SAVE_RESTORE_ICON) && T_SRI != NULL && *T_SRI != NUL) in term_pop_title()
3166 if (*T_CM == NUL) in ttest()
3172 if (*T_CS != NUL) in ttest()
3183 if (*T_ME == NUL) in ttest()
3185 if (*T_SO == NUL || *T_SE == NUL) in ttest()
3187 if (*T_US == NUL || *T_UE == NUL) in ttest()
3189 if (*T_CZH == NUL || *T_CZR == NUL) in ttest()
3193 if (*T_VE == NUL) in ttest()
3197 if (*T_ME == NUL) in ttest()
3205 if (*T_SO == NUL) in ttest()
3208 if (*T_MR == NUL) in ttest()
3215 if (*T_CZH == NUL) in ttest()
3218 if (*T_MR == NUL) in ttest()
3225 if (*T_CSB == NUL || *T_CSF == NUL) in ttest()
3232 if (*T_CAB == NUL || *T_CAF == NUL) in ttest()
3239 if (*T_CSB == NUL && *T_CAB == NUL) in ttest()
3243 p_wiv = (*T_XS != NUL); in ttest()
3329 if ((c = buf[len++]) == NUL) in get_bytes_from_buf()
3333 if (buf[len] == NUL || buf[len + 1] == NUL) // cannot happen? in get_bytes_from_buf()
3336 c = NUL; in get_bytes_from_buf()
3648 if (focus_mode && p_ek && *T_FE != NUL) in starttermcap()
3706 if (focus_mode && p_ek && *T_FD != NUL) in stoptermcap()
3743 && *T_CRV != NUL) in may_req_termresponse()
3769 if (!can_get_termresponse() || starting != 0 || *T_U7 == NUL) in check_terminal_behavior()
3793 buf[mb_char2bytes(0x25bd, buf)] = NUL; in check_terminal_behavior()
3868 if (rfg_status.tr_progress == STATUS_GET && *T_RFG != NUL) in may_req_bg_color()
3881 if (rbg_status.tr_progress == STATUS_GET && *T_RBG != NUL) in may_req_bg_color()
3936 return (full_screen && *T_TI != NUL); in swapping_screen()
3947 if (*T_VS != NUL && *T_CVS != NUL) in scroll_start()
4039 if (!full_screen || *T_CEI == NUL) in term_cursor_mode()
4053 if (*T_CSR != NUL) in term_cursor_mode()
4057 if (*p != NUL) in term_cursor_mode()
4066 if ((forced || showing_mode != INSERT) && *T_CSI != NUL) in term_cursor_mode()
4083 if (*T_CSC != NUL) in term_cursor_color()
4111 if (*T_CSH != NUL) in term_cursor_shape()
4126 if (do_blink && *T_VS != NUL) in term_cursor_shape()
4131 else if (!do_blink && *T_CVS != NUL) in term_cursor_shape()
4151 if (*T_CSV != NUL && wp->w_width != Columns) in scroll_region_set()
4164 if (*T_CSV != NUL) in scroll_region_reset()
4198 PC = NUL; // set pad character to NUL in clear_termcodes()
4221 if (string == NULL || *string == NUL) in add_termcode()
4516 string[new_slen] = NUL; in put_string_in_typebuf()
4817 if (term_props[TPR_UNDERLINE_RGB].tpr_status != TPR_YES && *T_8U != NUL) in handle_version_response()
4840 && *T_CSH != NUL in handle_version_response()
4841 && *T_CRS != NUL) in handle_version_response()
4858 && *T_CRC != NUL) in handle_version_response()
5021 else if (*T_CRV != NUL && ap > argp + 1 && trail == 'c') in handle_csi()
5370 if (*p == NUL) in check_termcode()
5380 key_name[0] = NUL; // no key name found yet in check_termcode()
5381 key_name[1] = NUL; // no key name found yet in check_termcode()
5530 if (key_name[0] == NUL in check_termcode()
5580 else if ((*T_RBG != NUL || *T_RFG != NUL) in check_termcode()
5600 if (key_name[0] == NUL) in check_termcode()
5740 && tp[j + 2] != NUL; ++i) in check_termcode()
5769 && tp[j + 2] != NUL; ++i) in check_termcode()
5976 while (*src != NUL) in replace_termcodes()
6067 if (p == NULL || *p == NUL || STRLEN(p) > 8 * 6) in replace_termcodes()
6071 while (*s != NUL) in replace_termcodes()
6089 if (*src == NUL) in replace_termcodes()
6124 result[dlen] = NUL; in replace_termcodes()
6170 if (check_for_codes || *T_CRS != NUL) in gather_termleader()
6174 termleader[len] = NUL; in gather_termleader()
6180 termleader[len] = NUL; in gather_termleader()
6302 IObuff[5] = NUL; in show_one_termcode()
6307 IObuff[len] = NUL; in show_one_termcode()
6395 name[2] = NUL; in got_code_from_term()
6411 str[j] = NUL; in got_code_from_term()
6456 if (c == NUL) // nothing available in check_for_codes_from_term()