Searched defs:cwcValue (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/Runtime/r3/win/
H A Denv-win.cpp173 size_t cwcValue; local
174 rc = RTStrCalcUtf16LenEx(pszVar, RTSTR_MAX, &cwcValue);
177 PRTUTF16 pwszTmp = (PRTUTF16)RTMemTmpAlloc((cwcVar + 1 + cwcValue + 1) * sizeof(RTUTF16));
185 rc = RTStrToUtf16Ex(pszValue, RTSTR_MAX, &pwszTmpValue, cwcValue + 1, NULL);
/vbox/src/VBox/Devices/EFI/
H A DDevEFI.cpp988 size_t cwcValue = pEfiVar->cbValue / sizeof(RTUTF16); local
989 *pfZeroTerm = pwcValue[cwcValue - 1] == 0;
990 if (!*pfZeroTerm && RTUtf16IsHighSurrogate(pwcValue[cwcValue - 1]))
992 cwcValue -= *pfZeroTerm;
993 if (cwcValue < 2)
1000 while ((uintptr_t)(pwcCur - pwcValue) < cwcValue)

Completed in 52 milliseconds