Lines Matching refs:dir_len
163 size_t dir_len, in search_path_join_test() argument
172 if (dir_len > 2 && in search_path_join_test()
177 } else if (dir_len >= 1 && (dir[0] == L'/' || dir[0] == L'\\')) { in search_path_join_test()
180 } else if (dir_len >= 2 && dir[1] == L':' && in search_path_join_test()
181 (dir_len < 3 || (dir[2] != L'/' && dir[2] != L'\\'))) { in search_path_join_test()
190 dir_len -= 2; in search_path_join_test()
192 } else if (dir_len > 2 && dir[1] == L':') { in search_path_join_test()
201 (cwd_len + 1 + dir_len + 1 + name_len + 1 + ext_len + 1)); in search_path_join_test()
214 wcsncpy(result_pos, dir, dir_len); in search_path_join_test()
215 result_pos += dir_len; in search_path_join_test()
218 if (dir_len && wcsrchr(L"\\/:", result_pos[-1]) == NULL) { in search_path_join_test()
258 size_t dir_len, in path_search_walk_ext() argument
268 result = search_path_join_test(dir, dir_len, in path_search_walk_ext()
278 result = search_path_join_test(dir, dir_len, in path_search_walk_ext()
287 result = search_path_join_test(dir, dir_len, in path_search_walk_ext()
350 size_t dir_len; in search_path() local
428 dir_len = dir_end - dir_start; in search_path()
433 --dir_len; in search_path()
436 if (dir_path[dir_len - 1] == '"' || dir_path[dir_len - 1] == '\'') { in search_path()
437 --dir_len; in search_path()
440 result = path_search_walk_ext(dir_path, dir_len, in search_path()