Home
last modified time | relevance | path

Searched refs:path_len (Results 1 – 3 of 3) sorted by relevance

/libuv/src/win/
H A Dprocess.c976 DWORD path_len, r; in uv_spawn() local
978 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()
H A Dfs.c314 size_t path_len = 0; in fs__capture_path() local
329 path_len = 1 + strlen(path); in fs__capture_path()
330 buf_sz += path_len; in fs__capture_path()
373 memcpy(pos, path, path_len); in fs__capture_path()
374 assert(path_len == buf_sz - (pos - buf) * sizeof(WCHAR)); in fs__capture_path()
/libuv/src/unix/
H A Dfs.c125 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 19 milliseconds