Searched refs:dir_len (Results 1 – 6 of 6) sorted by relevance
/third_party/node/deps/uv/src/win/ |
D | process.c | 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() [all …]
|
D | fs-event.c | 86 DWORD dir_len; in uv__split_path() local 101 dir_len = GetCurrentDirectoryW(0, NULL); in uv__split_path() 102 if (dir_len == 0) { in uv__split_path() 105 *dir = (WCHAR*)uv__malloc(dir_len * sizeof(WCHAR)); in uv__split_path() 110 if (!GetCurrentDirectoryW(dir_len, *dir)) { in uv__split_path()
|
/third_party/libuv/src/win/ |
D | process.c | 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() [all …]
|
D | fs-event.c | 86 DWORD dir_len; in uv__split_path() local 101 dir_len = GetCurrentDirectoryW(0, NULL); in uv__split_path() 102 if (dir_len == 0) { in uv__split_path() 105 *dir = (WCHAR*)uv__malloc(dir_len * sizeof(WCHAR)); in uv__split_path() 110 if (!GetCurrentDirectoryW(dir_len, *dir)) { in uv__split_path()
|
/third_party/protobuf/src/google/protobuf/compiler/ |
D | zip_writer.cc | 175 uint32 dir_len = output.ByteCount(); in WriteDirectory() local 183 output.WriteLittleEndian32(dir_len); // central directory byte size in WriteDirectory()
|
/third_party/tzdata/ |
D | zic.c | 1399 size_t i, taillen, dir_len = 0, dotdots = 0; in relname() local 1416 dir_len = i + 1; in relname() 1419 taillen = strlen(f + dir_len); in relname() 1426 memmove(result + 3 * dotdots, f + dir_len, taillen + 1); in relname()
|