Searched refs:dirlen (Results 1 – 4 of 4) sorted by relevance
83 size_t dirlen = strlen(directory); in LP_find_file() local85 if (dirlen == 0 || dirlen > INT_MAX - 3) { in LP_find_file()100 size_t index = 0, len_0 = dirlen + 1; in LP_find_file()154 if (directory[dirlen - 1] != '*') { in LP_find_file()155 char *buf = _alloca(dirlen + 3); in LP_find_file()158 if (buf[dirlen - 1] != '/' && buf[dirlen - 1] != '\\') in LP_find_file()159 strcpy(buf + dirlen, "/*"); in LP_find_file()161 strcpy(buf + dirlen, "*"); in LP_find_file()
196 int dirlen; member254 result->dirlen = (int)(filename - start); in win32_splitter()258 result->dirlen += (int)(filename - start); in win32_splitter()270 result->dirlen = 0; in win32_splitter()272 result->dirlen += (int)(filename - start); in win32_splitter()291 if (!result->dirlen) in win32_splitter()320 len += file_split->dirlen; in win32_joiner()365 while (file_split->dirlen > (start - file_split->dir)) { in win32_joiner()367 file_split->dirlen - (start - in win32_joiner()424 filespec1_split->dirlen = filespec2_split->dirlen; in win32_merger()[all …]
356 int n, numfiles, nextid, dirlen, buflen, errs = 0; in do_dir() local367 dirlen = strlen(dirname); in do_dir()368 if (dirlen != 0 && !ends_with_dirsep(dirname)) { in do_dir()370 dirlen++; in do_dir()398 buflen = dirlen + fname_max_len + 1; in do_dir()442 ep->filename, &buf[dirlen]); in do_dir()464 &buf[dirlen]); in do_dir()
448 size_t dirlen = dir != NULL ? strlen(dir) : 0; in test_mk_file_path() local449 size_t len = dirlen + strlen(sep) + strlen(file) + 1; in test_mk_file_path()453 if (dir != NULL && dirlen > 0) { in test_mk_file_path()
Completed in 10 milliseconds