Searched refs:dirlen (Results 1 – 1 of 1) sorted by relevance
71 size_t dirlen = wcslen(dir); in uv__relative_path() local72 assert(!_wcsnicmp(filename, dir, dirlen)); in uv__relative_path()73 if (dirlen > 0 && dir[dirlen - 1] == '\\') in uv__relative_path()74 dirlen--; in uv__relative_path()75 relpathlen = filenamelen - dirlen - 1; in uv__relative_path()79 wcsncpy(*relpath, filename + dirlen + 1, relpathlen); in uv__relative_path()
Completed in 3 milliseconds