Lines Matching refs:NUL

250     if (*s == NUL)  in trunc_string()
253 *buf = NUL; in trunc_string()
264 if (s[e] == NUL) in trunc_string()
267 buf[e] = NUL; in trunc_string()
332 buf[e - 1] = NUL; in trunc_string()
345 buf[e + 3 + len - 1] = NUL; in trunc_string()
350 buf[e - 1] = NUL; in trunc_string()
1043 if (*eap->arg != NUL) in ex_messages()
1072 if (s != NULL && *s != NUL) in ex_messages()
1477 buf[3] = NUL; in msg_putchar_attr()
1480 buf[(*mb_char2bytes)(c, buf)] = NUL; in msg_putchar_attr()
1623 if (s[1] != NUL) in msg_outtrans_len_attr()
1696 while (*str != NUL) in msg_outtrans_special()
1699 if ((str == strstart || str[1] == NUL) && *str == ' ') in msg_outtrans_special()
1731 while (*p != NUL) in str2special_save()
1733 ga_append(&ga, NUL); in str2special_save()
1766 if (c == K_SPECIAL && str[1] != NUL && str[2] != NUL) in str2special()
1774 if (c == K_SPECIAL && str[1] != NUL && str[2] != NUL) in str2special()
1807 buf[1] = NUL; in str2special()
1819 *buf = NUL; in str2specialbuf()
1868 if (*lead == NUL) in msg_prt_line()
1875 if (*s == NUL && !(list && curwin->w_lcs_chars.eol != NUL)) in msg_prt_line()
1897 else if (curwin->w_lcs_chars.nbsp != NUL && list in msg_prt_line()
1902 buf[(*mb_ptr2len)(buf)] = NUL; in msg_prt_line()
1907 buf[l] = NUL; in msg_prt_line()
1934 c_final = NUL; in msg_prt_line()
1946 else if (c == 160 && list && curwin->w_lcs_chars.nbsp != NUL) in msg_prt_line()
1951 else if (c == NUL && list && curwin->w_lcs_chars.eol != NUL) in msg_prt_line()
1954 c_extra = NUL; in msg_prt_line()
1955 c_final = NUL; in msg_prt_line()
1961 else if (c != NUL && (n = byte2cells(c)) > 1) in msg_prt_line()
1965 c_extra = NUL; in msg_prt_line()
1966 c_final = NUL; in msg_prt_line()
1988 if (curwin->w_lcs_chars.multispace[multispace_pos] == NUL) in msg_prt_line()
1992 else if (list && curwin->w_lcs_chars.space != NUL) in msg_prt_line()
2000 if (c == NUL) in msg_prt_line()
2177 while ((maxlen < 0 || (int)(s - str) < maxlen) && *s != NUL) in msg_puts_display()
2261 if (do_more_prompt(NUL)) in msg_puts_display()
2264 (void)do_more_prompt(NUL); in msg_puts_display()
2424 if (*get_vim_var_str(VV_SCROLLSTART) == NUL) in inc_msg_scrolled()
2721 while ((maxlen < 0 || (int)(s - str) < maxlen) && *s != NUL) in msg_puts_printf()
2737 buf[n++] = NUL; in msg_puts_printf()
2768 if (*p != NUL && !(silent_mode && p_verbose == 0)) in msg_puts_printf()
2835 if (typed_char == NUL) in do_more_prompt()
2842 if (used_typed_char != NUL) in do_more_prompt()
2845 used_typed_char = NUL; in do_more_prompt()
2861 if (c != NUL && current_menu->strings[idx][1] != NUL) in do_more_prompt()
3469 if (*p_vfile != NUL && verbose_fd == NULL) in redir_write()
3506 while (*s != NUL && (maxlen < 0 || (int)(s - str) < maxlen)) in redir_write()
3532 return redir_fd != NULL || *p_vfile != NUL in redirecting()
3546 if (*p_vfile != NUL) in verbose_enter()
3557 if (*p_vfile != NUL) in verbose_leave()
3568 if (*p_vfile != NUL) in verbose_enter_scroll()
3581 if (*p_vfile != NUL) in verbose_leave_scroll()
3947 hotkp[copy_char(r + 1, hotkp, TRUE)] = NUL; in msg_show_console_dialog()
3980 hotkp[copy_char(r, hotkp, TRUE)] = NUL; in msg_show_console_dialog()
4005 *msgp = NUL; in msg_show_console_dialog()
4029 *confirm_msg = NUL; in msg_show_console_dialog()
4042 hotkp[copy_char(buttons, hotkp, TRUE)] = NUL; in msg_show_console_dialog()