Lines Matching refs:cwd
157 const WCHAR* cwd, in search_path_join_test() argument
175 if (cwd_len < 2 || _wcsnicmp(cwd, dir, 2) != 0) { in search_path_join_test()
193 wcsncpy(result_pos, cwd, cwd_len); in search_path_join_test()
250 WCHAR *cwd, in path_search_walk_ext() argument
260 cwd, cwd_len); in path_search_walk_ext()
270 cwd, cwd_len); in path_search_walk_ext()
279 cwd, cwd_len); in path_search_walk_ext()
333 WCHAR *cwd, in search_path() argument
345 size_t cwd_len = wcslen(cwd); in search_path()
375 cwd, cwd_len, in search_path()
385 cwd, cwd_len, in search_path()
435 cwd, cwd_len, in search_path()
898 *env = NULL, *cwd = NULL; in uv_spawn() local
944 if (options->cwd) { in uv_spawn()
946 err = uv__utf8_to_utf16_alloc(options->cwd, &cwd); in uv_spawn()
960 cwd = (WCHAR*) uv__malloc(cwd_len * sizeof(WCHAR)); in uv_spawn()
961 if (cwd == NULL) { in uv_spawn()
966 r = GetCurrentDirectoryW(cwd_len, cwd); in uv_spawn()
1000 cwd, in uv_spawn()
1064 cwd, in uv_spawn()
1144 uv__free(cwd); in uv_spawn()