Searched refs:bufsize (Results 1 – 2 of 2) sorted by relevance
/libuv/src/win/ |
H A D | util.c | 1040 int bufsize; in uv__convert_utf8_to_utf16() local 1046 bufsize = uv_wtf8_length_as_utf16(utf8); in uv__convert_utf8_to_utf16() 1047 if (bufsize < 0) in uv__convert_utf8_to_utf16() 1051 *utf16 = uv__malloc(sizeof(WCHAR) * bufsize); in uv__convert_utf8_to_utf16() 1057 uv_wtf8_to_utf16(utf8, *utf16, bufsize); in uv__convert_utf8_to_utf16() 1093 DWORD bufsize; in uv__getpwuid_r() local 1103 bufsize = 0; in uv__getpwuid_r() 1104 GetUserProfileDirectoryW(token, NULL, &bufsize); in uv__getpwuid_r() 1111 path = uv__malloc(bufsize * sizeof(wchar_t)); in uv__getpwuid_r() 1127 bufsize = ARRAY_SIZE(username); in uv__getpwuid_r() [all …]
|
/libuv/src/unix/ |
H A D | core.c | 1217 size_t bufsize; in uv__getpwuid_r() local 1229 for (bufsize = 2000;; bufsize *= 2) { in uv__getpwuid_r() 1230 buf = uv__malloc(bufsize); in uv__getpwuid_r() 1236 r = getpwuid_r(uid, &pw, buf, bufsize, &result); in uv__getpwuid_r() 1293 size_t bufsize; in uv_os_get_group() 1305 for (bufsize = 2000;; bufsize *= 2) { in uv_os_get_group() 1306 buf = uv__malloc(bufsize); in uv_os_get_group() 1312 r = getgrgid_r(gid, &gp, buf, bufsize, &result); in uv_os_get_group()
|
Completed in 12 milliseconds