Lines Matching refs:NUL
361 && (vim_ispathsep(path[1]) || path[1] == NUL) in vim_findfile_init()
377 if (*++path != NUL) in vim_findfile_init()
380 else if (*path == NUL || !vim_isAbsName(path)) in vim_findfile_init()
384 if (*path != NUL && path[1] == ':') in vim_findfile_init()
390 drive[2] = NUL; in vim_findfile_init()
410 search_ctx->ffsc_start_dir[2] = NUL; in vim_findfile_init()
500 while (*wc_part != NUL) in vim_findfile_init()
521 if (*wc_part != NUL && !vim_ispathsep(*wc_part)) in vim_findfile_init()
530 ff_expand_buffer[len] = NUL; in vim_findfile_init()
547 search_ctx->ffsc_fix_path[0] = NUL; in vim_findfile_init()
658 while (*r_ptr != NUL && *r_ptr != ';') in vim_findfile_stopdir()
674 else if (*r_ptr == NUL) in vim_findfile_stopdir()
823 file_path[0] = NUL; in vim_findfile()
871 if (*rest_of_wildcards != NUL) in vim_findfile()
925 file_path[len] = NUL; in vim_findfile()
967 if (*rest_of_wildcards == NUL) in vim_findfile()
1080 if (*suf == NUL) in vim_findfile()
1326 int c1 = NUL; in ff_wc_equal()
1327 int c2 = NUL; in ff_wc_equal()
1328 int prev1 = NUL; in ff_wc_equal()
1329 int prev2 = NUL; in ff_wc_equal()
1337 for (i = 0, j = 0; s1[i] != NUL && s2[j] != NUL;) in ff_wc_equal()
1390 ff_expand_buffer[0] = NUL; in ff_check_visited()
1433 vp->ffv_fname[0] = NUL; in ff_check_visited()
1674 *curbuf->b_p_path == NUL ? p_path : curbuf->b_p_path, in find_file_in_path()
1745 ptr[len] = NUL; in find_file_in_path_option()
1759 for (ptr = ff_file_to_find; *ptr != NUL; ++ptr) in find_file_in_path_option()
1766 && (ff_file_to_find[1] == NUL in find_file_in_path_option()
1769 && (ff_file_to_find[2] == NUL in find_file_in_path_option()
1778 || (ff_file_to_find[0] != NUL && ff_file_to_find[1] == ':') in find_file_in_path_option()
1836 if (*buf == NUL) in find_file_in_path_option()
1872 if (dir == NULL || *dir == NUL) in find_file_in_path_option()
2005 while (*ptr != NUL && !vim_isfilec(*ptr)) in file_name_in_line()
2007 if (*ptr == NUL) // nothing found in file_name_in_line()
2081 if (*p != NUL) in file_name_in_line()
2130 if ((options & FNAME_INCL) && *curbuf->b_p_inex != NUL) in find_file_name_in_path()
2152 && !(options & FNAME_INCL) && *curbuf->b_p_inex != NUL) in find_file_name_in_path()
2167 ptr[len] = NUL; in find_file_name_in_path()
2204 for (p = fname; *p != NUL; ) in gettail_dir()
2304 char_u *path_option = *curbuf->b_p_path == NUL in expand_path_option()
2313 while (*path_option != NUL) in expand_path_option()
2317 if (buf[0] == '.' && (buf[1] == NUL || vim_ispathsep(buf[1]))) in expand_path_option()
2328 if (buf[1] == NUL) in expand_path_option()
2329 buf[len] = NUL; in expand_path_option()
2335 else if (buf[0] == NUL) in expand_path_option()
2397 ) && fname[j] != NUL && path_part[i][j] != NUL) in get_path_cutoff()
2447 file_pattern[1] = NUL; in uniquefy_paths()
2479 && curdir[dir_end - path] == NUL; in uniquefy_paths()
2700 else if (p[0] == '.' && (vim_ispathsep(p[1]) || p[1] == NUL)) in simplify_filename()
2703 p += 1 + (p[1] != NUL); // keep single "." or leading "./" in simplify_filename()
2711 if (p[1] != NUL) in simplify_filename()
2720 (vim_ispathsep(p[2]) || p[2] == NUL)) in simplify_filename()
2740 p[-1] = NUL; in simplify_filename()
2767 *tail = NUL; in simplify_filename()
2790 *p = NUL; in simplify_filename()
2826 *p = NUL; in simplify_filename()
2855 } while (*p != NUL); in simplify_filename()