Searched refs:homedir (Results 1 – 11 of 11) sorted by relevance
/libuv/test/ |
H A D | test-homedir.c | 29 TEST_IMPL(homedir) { in TEST_IMPL() argument 30 char homedir[PATHMAX]; in TEST_IMPL() local 35 len = sizeof homedir; in TEST_IMPL() 36 homedir[0] = '\0'; in TEST_IMPL() 37 ASSERT_OK(strlen(homedir)); in TEST_IMPL() 38 r = uv_os_homedir(homedir, &len); in TEST_IMPL() 40 ASSERT_EQ(strlen(homedir), len); in TEST_IMPL() 42 ASSERT_EQ(homedir[len], '\0'); in TEST_IMPL() 46 ASSERT_EQ(homedir[2], '\\'); in TEST_IMPL() 51 ASSERT_EQ(homedir[0], '/'); in TEST_IMPL() [all …]
|
H A D | test-get-passwd.c | 55 len = strlen(pwd.homedir); in TEST_IMPL() 59 if (len == 3 && pwd.homedir[1] == ':') in TEST_IMPL() 60 ASSERT_EQ(pwd.homedir[2], '\\'); in TEST_IMPL() 62 ASSERT_NE(pwd.homedir[len - 1], '\\'); in TEST_IMPL() 65 ASSERT_EQ(pwd.homedir[0], '/'); in TEST_IMPL() 67 ASSERT_NE(pwd.homedir[len - 1], '/'); in TEST_IMPL() 87 ASSERT_NULL(pwd.homedir); in TEST_IMPL() 94 ASSERT_NULL(pwd.homedir); in TEST_IMPL() 130 ASSERT_STR_EQ(pwd.homedir, pwd2.homedir); in TEST_IMPL() 144 len = strlen(pwd2.homedir); in TEST_IMPL()
|
H A D | test-platform-output.c | 218 printf(" home directory: %s\n", pwd.homedir); in TEST_IMPL()
|
H A D | test-list.h | 295 TEST_DECLARE (homedir) 946 TEST_ENTRY (homedir)
|
/libuv/src/win/ |
H A D | util.c | 958 len = strlen(pwd.homedir); in uv_os_homedir() 966 memcpy(buffer, pwd.homedir, len + 1); in uv_os_homedir() 1139 pwd->homedir = NULL; in uv__getpwuid_r() 1140 r = uv__convert_utf16_to_utf8(path, -1, &pwd->homedir); in uv__getpwuid_r() 1150 uv__free(pwd->homedir); in uv__getpwuid_r()
|
/libuv/src/unix/ |
H A D | core.c | 1146 len = strlen(pwd.homedir); in uv_os_homedir() 1154 memcpy(buffer, pwd.homedir, len + 1); in uv_os_homedir() 1267 pwd->homedir = pwd->username + name_size; in uv__getpwuid_r() 1268 memcpy(pwd->homedir, pw.pw_dir, homedir_size); in uv__getpwuid_r() 1271 pwd->shell = pwd->homedir + homedir_size; in uv__getpwuid_r()
|
/libuv/src/ |
H A D | uv-common.c | 142 uv__free(pwd->homedir); in uv_os_free_passwd() 146 pwd->homedir = NULL; in uv_os_free_passwd()
|
/libuv/ |
H A D | Makefile.am | 197 test/test-homedir.c \
|
H A D | CMakeLists.txt | 571 test/test-homedir.c
|
/libuv/include/ |
H A D | uv.h | 1218 char* homedir; member
|
/libuv/docs/src/ |
H A D | misc.rst | 199 char* homedir;
|
Completed in 37 milliseconds