Searched refs:token (Results 1 – 2 of 2) sorted by relevance
/libuv/src/win/ |
H A D | util.c | 1090 HANDLE token; in uv__getpwuid_r() local 1100 if (OpenProcessToken(GetCurrentProcess(), TOKEN_READ, &token) == 0) in uv__getpwuid_r() 1104 GetUserProfileDirectoryW(token, NULL, &bufsize); in uv__getpwuid_r() 1107 CloseHandle(token); in uv__getpwuid_r() 1113 CloseHandle(token); in uv__getpwuid_r() 1117 if (!GetUserProfileDirectoryW(token, path, &bufsize)) { in uv__getpwuid_r() 1119 CloseHandle(token); in uv__getpwuid_r() 1124 CloseHandle(token); in uv__getpwuid_r()
|
/libuv/src/unix/ |
H A D | core.c | 1812 char* token; in uv__search_path() local 1845 token = NULL; in uv__search_path() 1855 token = uv__strtok(cloned_path, ":", &itr); in uv__search_path() 1856 while (token != NULL) { in uv__search_path() 1857 snprintf(trypath, sizeof(trypath) - 1, "%s/%s", token, prog); in uv__search_path() 1874 token = uv__strtok(NULL, ":", &itr); in uv__search_path()
|
Completed in 11 milliseconds