Lines Matching refs:NUL
43 static buffheader_T redobuff = {{NULL, {NUL}}, NULL, 0, 0};
44 static buffheader_T old_redobuff = {{NULL, {NUL}}, NULL, 0, 0};
45 static buffheader_T recordbuff = {{NULL, {NUL}}, NULL, 0, 0};
140 *p2 = NUL; in get_buffcont()
167 p[len] = NUL; in get_recorded()
175 p[len - 1] = NUL; in get_recorded()
281 if (IS_SPECIAL(c) || c == K_SPECIAL || c == NUL) in add_char_buff()
287 temp[3] = NUL; in add_char_buff()
296 temp[3] = NUL; in add_char_buff()
302 temp[1] = NUL; in add_char_buff()
309 static buffheader_T readbuf1 = {{NULL, {NUL}}, NULL, 0, 0};
312 static buffheader_T readbuf2 = {{NULL, {NUL}}, NULL, 0, 0};
326 if (c == NUL) in read_readbuffers()
338 return NUL; in read_readbuf()
345 if (curr->b_str[++buf->bh_index] == NUL) in read_readbuf()
415 while (read_readbuffers(TRUE) != NUL) in flush_buffers()
481 while (read_readbuffers(TRUE) != NUL) in CancelRedo()
549 while (len < 0 ? *s != NUL : s - str < len) in AppendToRedobuffLit()
563 if (*s == NUL && (s[-1] == '0' || s[-1] == '^')) in AppendToRedobuffLit()
568 if (*s == NUL || (len >= 0 && s - str >= len)) in AppendToRedobuffLit()
577 if (c < ' ' || c == DEL || (*s == NUL && (c == '0' || c == '^'))) in AppendToRedobuffLit()
581 if (*s == NUL && c == '0') in AppendToRedobuffLit()
650 while (*s != NUL) in stuffReadbuffSpec()
652 if (*s == K_SPECIAL && s[1] != NUL && s[2] != NUL) in stuffReadbuffSpec()
698 while (*arg != NUL) in stuffescaped()
715 if (*arg != NUL) in stuffescaped()
757 if ((c = *p) != NUL) in read_redo()
777 if (*++p == NUL && bp->b_next != NULL) in read_redo()
790 if (c == NUL) // cannot happen? in read_redo()
808 while ((c = read_redo(FALSE, old_redo)) != NUL) in copy_redo()
892 while ((c = read_redo(FALSE, FALSE)) != NUL) in start_redo_ins()
1119 buf[3] = NUL; in ins_char_typebuf()
1127 buf[idx + 3] = NUL; in ins_char_typebuf()
1131 buf[(*mb_char2bytes)(c, buf + idx) + idx] = NUL; in ins_char_typebuf()
1289 buf[buflen] = NUL; in gotchars()
1612 c = NUL; in merge_modifyOtherKeys()
1741 name[i] = NUL; in vgetc()
1923 if (c == NUL) in safe_vgetc()
1995 if (c == NUL && typebuf.tb_len > 0) in vpeekc_any()
2018 return (retval != NUL); in char_avail()
2054 else if (error || vpeekc_any() == NUL) in getchar_common()
2098 temp[i++] = NUL; in getchar_common()
2166 temp[i++] = NUL; in f_getcharstr()
2574 if (*p_pt != NUL && mp == NULL && (State & (INSERT|NORMAL))) in handle_mapping()
2579 if (p_pt[mlen] == NUL) // match in handle_mapping()
2672 if (*s == NUL) // need more characters in handle_mapping()
2812 map_str = eval_map_expr(save_m_str, NUL); in handle_mapping()
2938 return NUL; in vgetorpeek()
2962 if (c != NUL && !got_int) in vgetorpeek()
3365 if (c == NUL) // no character available in vgetorpeek()
3378 + typebuf.tb_len] != NUL) in vgetorpeek()
3391 } while ((c < 0 && c != K_CANCEL) || (advance && c == NUL)); in vgetorpeek()
3624 if (p[0] == NUL || (p[0] == K_SPECIAL in fix_input_buffer()
3645 *p = NUL; // add trailing NUL in fix_input_buffer()
3690 while (c1 != NUL && !aborted) in getcmdkeycmd()
3698 if (vgetorpeek(FALSE) == NUL) in getcmdkeycmd()
3734 c1 = NUL; // end the line in getcmdkeycmd()