Searched refs:path_len (Results 1 – 3 of 3) sorted by relevance
976 DWORD path_len, r; in uv_spawn() local978 path_len = GetEnvironmentVariableW(L"PATH", NULL, 0); in uv_spawn()979 if (path_len != 0) { in uv_spawn()980 alloc_path = (WCHAR*) uv__malloc(path_len * sizeof(WCHAR)); in uv_spawn()987 r = GetEnvironmentVariableW(L"PATH", path, path_len); in uv_spawn()988 if (r == 0 || r >= path_len) { in uv_spawn()
327 size_t path_len = 0; in fs__capture_path() local342 path_len = 1 + strlen(path); in fs__capture_path()343 buf_sz += path_len; in fs__capture_path()386 memcpy(pos, path, path_len); in fs__capture_path()387 assert(path_len == buf_sz - (pos - buf) * sizeof(WCHAR)); in fs__capture_path()
125 size_t path_len; \127 path_len = strlen(path) + 1; \129 req->path = uv__malloc(path_len + new_path_len); \132 req->new_path = req->path + path_len; \133 memcpy((void*) req->path, path, path_len); \
Completed in 20 milliseconds