Searched refs:wbuf (Results 1 – 3 of 3) sorted by relevance
38 wchar_t wbuf[kMaxEnvVarSize]; in GetEnvironmentVariable() local44 auto sz = ::GetEnvironmentVariableW(wvar.data(), wbuf, sizeof(wbuf)); in GetEnvironmentVariable()50 if (!android::base::WideToUTF8(wbuf, &val)) { in GetEnvironmentVariable()80 wchar_t wbuf[MAX_COMPUTERNAME_LENGTH + 1]; in GetHostNameUTF8() local81 DWORD size = sizeof(wbuf); in GetHostNameUTF8()82 if (!GetComputerNameW(wbuf, &size) || size == 0) { in GetHostNameUTF8()87 if (!android::base::WideToUTF8(wbuf, &name)) { in GetHostNameUTF8()105 wchar_t wbuf[UNLEN + 1]; in GetLoginNameUTF8() local106 DWORD size = sizeof(wbuf); in GetLoginNameUTF8()107 if (!GetUserNameW(wbuf, &size) || size == 0) { in GetLoginNameUTF8()[all …]
267 unsigned wbuf = idx < WSIZE / 2 || idx >= WSIZE + WSIZE / 2; in Upsample() local268 auto w = win_[wbuf] + ((idx + wbuf * WSIZE / 2) % WSIZE) - WSIZE / 2; in Upsample()304 unsigned wbuf = idx < WSIZE / 2 || idx >= WSIZE + WSIZE / 2; in Downsample() local305 auto w = win_[wbuf] + ((idx + wbuf * WSIZE / 2) % WSIZE) - WSIZE / 2; in Downsample()
2991 wchar_t* wbuf = _wgetcwd(nullptr, 0); in adb_getcwd() local2992 if (wbuf == nullptr) { in adb_getcwd()2997 const bool narrow_result = android::base::WideToUTF8(wbuf, &buf_utf8); in adb_getcwd()2998 free(wbuf); in adb_getcwd()2999 wbuf = nullptr; in adb_getcwd()