Lines Matching refs:gap
2265 is_unique(char_u *maybe_unique, garray_T *gap, int i) in is_unique() argument
2270 char_u **other_paths = (char_u **)gap->ga_data; in is_unique()
2273 for (j = 0; j < gap->ga_len; j++) in is_unique()
2302 expand_path_option(char_u *curdir, garray_T *gap) in expand_path_option() argument
2353 if (ga_grow(gap, 1) == FAIL) in expand_path_option()
2367 ((char_u **)gap->ga_data)[gap->ga_len++] = p; in expand_path_option()
2382 get_path_cutoff(char_u *fname, garray_T *gap) in get_path_cutoff() argument
2386 char_u **path_part = (char_u **)gap->ga_data; in get_path_cutoff()
2389 for (i = 0; i < gap->ga_len; i++) in get_path_cutoff()
2420 uniquefy_paths(garray_T *gap, char_u *pattern) in uniquefy_paths() argument
2424 char_u **fnames = (char_u **)gap->ga_data; in uniquefy_paths()
2434 remove_duplicates(gap); in uniquefy_paths()
2465 in_curdir = ALLOC_CLEAR_MULT(char_u *, gap->ga_len); in uniquefy_paths()
2469 for (i = 0; i < gap->ga_len && !got_int; i++) in uniquefy_paths()
2493 && is_unique(path_cutoff, gap, i)) in uniquefy_paths()
2506 && is_unique(pathsep_p + 1, gap, i) in uniquefy_paths()
2549 for (i = 0; i < gap->ga_len && !got_int; i++) in uniquefy_paths()
2562 if (is_unique(short_name, gap, i)) in uniquefy_paths()
2585 for (i = 0; i < gap->ga_len; i++) in uniquefy_paths()
2593 remove_duplicates(gap); in uniquefy_paths()
2603 garray_T *gap, in expand_in_path() argument
2631 globpath(paths, pattern, gap, glob_flags); in expand_in_path()
2634 return gap->ga_len; in expand_in_path()