Lines Matching refs:bufsize
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()
1117 if (!GetUserProfileDirectoryW(token, path, &bufsize)) { in uv__getpwuid_r()
1127 bufsize = ARRAY_SIZE(username); in uv__getpwuid_r()
1128 if (!GetUserNameW(username, &bufsize)) { in uv__getpwuid_r()