Lines Matching refs:NUL

79 static char_u lastc[2] = {NUL, NUL};	// last character searched for
141 if (pat == NULL || *pat == NUL) in search_regcomp()
161 add_to_history(HIST_SEARCH, pat, TRUE, NUL); in search_regcomp()
238 rev[len] = NUL; in reverse_text()
417 (void)skip_regexp_ex(pat, NUL, magic_isset(), NULL, NULL, &magic_val); in pat_has_uppercase()
419 while (*p != NUL) in pat_has_uppercase()
431 if (p[1] == '_' && p[2] != NUL) // skip "\_X" in pat_has_uppercase()
433 else if (p[1] == '%' && p[2] != NUL) // skip "\%X" in pat_has_uppercase()
435 else if (p[1] != NUL) // skip "\X" in pat_has_uppercase()
442 if (p[1] != NUL) // skip "_X" and %X in pat_has_uppercase()
530 if (*s == NUL) in set_last_search_pat()
800 - (ptr[matchpos.col] == NUL) in searchit()
820 && ptr[matchcol] != NUL) in searchit()
832 if (ptr[matchcol] != NUL) in searchit()
843 if (ptr[matchcol] == NUL in searchit()
930 && ptr[matchcol] != NUL) in searchit()
945 if (ptr[matchcol] != NUL) in searchit()
954 if (ptr[matchcol] == NUL in searchit()
1311 if (pat == NULL || *pat == NUL || *pat == search_delim) in do_search()
1330 if (pat != NULL && *pat != NUL) // look for (new) offset in do_search()
1349 *p++ = NUL; in do_search()
1412 *p = NUL; in do_search()
1418 if (*searchstr == NUL) in do_search()
1447 msgbuf[len - 1] = NUL; in do_search()
1488 while (*r != NUL && *r == ' ') in do_search()
1739 else if (*p != NUL) // ignore empty lines in search_for_exact_line()
1770 if (c != NUL) // normal search: remember args for repeat in searchc()
1790 if (*lastc == NUL && lastc_bytelen == 1) in searchc()
1972 while (*ptr != NUL) in find_mps_values()
2135 initc = NUL; in findmatchlimit()
2137 else if (initc != '#' && initc != NUL) in findmatchlimit()
2142 if (findc == NUL) in findmatchlimit()
2217 if (linep[pos.col] == NUL && pos.col) in findmatchlimit()
2222 if (initc == NUL) in findmatchlimit()
2393 if (linep[pos.col] == NUL in findmatchlimit()
2531 if (*ptr == '\\' && ptr[1] != NUL) in findmatchlimit()
2593 case NUL: in findmatchlimit()
2801 for (p = curbuf->b_p_mps; *p != NUL; ++p) in showmatch()
2815 if (*p == NUL) in showmatch()
2818 if (*p == NUL) in showmatch()
2821 if ((lpos = findmatch(NULL, NUL)) == NULL) // no match, so beep in showmatch()
3093 clip_star.vmode = NUL; in current_search()
3112 return (*p == NUL); in linewhite()
3394 inc_opt = (*curbuf->b_p_inc == NUL) ? p_inc : curbuf->b_p_inc; in find_pattern_in_path()
3395 if (*inc_opt != NUL) in find_pattern_in_path()
3403 if (type == FIND_DEFINE && (*curbuf->b_p_def != NUL || *p_def != NUL)) in find_pattern_in_path()
3405 def_regmatch.regprog = vim_regcomp(*curbuf->b_p_def == NUL in find_pattern_in_path()
3551 p[i] = NUL; in find_pattern_in_path()
3784 IObuff[i] = NUL; in find_pattern_in_path()
3921 && *startp != NUL in find_pattern_in_path()
3922 && *(p = startp + mb_ptr2len(startp)) != NUL) in find_pattern_in_path()
3955 line[--i] = NUL; in find_pattern_in_path()
3957 line[--i] = NUL; in find_pattern_in_path()
4036 *(p + 1) = NUL; in show_pat_in_path()
4189 if (*pattern == NUL) in f_searchcount()
4194 if (spats[last_idx].pat == NULL || *spats[last_idx].pat == NUL) in f_searchcount()
4409 if (*fuzpat == NUL || *str == NUL) in fuzzy_match_recursive()
4414 while (*fuzpat != NUL && *str != NUL) in fuzzy_match_recursive()
4476 matched = *fuzpat == NUL ? TRUE : FALSE; in fuzzy_match_recursive()
4548 if (*p == NUL) in fuzzy_match()
4551 while (*p != NUL && !VIM_ISWHITE(PTR2CHAR(p))) in fuzzy_match()
4558 if (*p == NUL) // processed all the words in fuzzy_match()
4560 *p = NUL; in fuzzy_match()
4695 while (*p != NUL) in fuzzy_match_in_list()
4837 || *di->di_tv.vval.v_string == NUL) in do_fuzzymatch()