Searched defs:StringSize (Results 1 - 11 of 11) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Library/UefiHiiLib/
H A DHiiString.c224 UINTN StringSize; local
281 StringSize = 0;
288 &StringSize,
304 String = AllocateZeroPool (StringSize);
318 &StringSize,
/vbox/src/VBox/Devices/EFI/Firmware/PerformancePkg/Dp_App/
H A DDpUtilities.c220 UINTN StringSize; local
312 StringSize = 0;
318 &StringSize
/vbox/src/VBox/Devices/EFI/Firmware/ShellPkg/Library/UefiShellDebug1CommandsLib/
H A DEditInputBar.c20 UINTN StringSize; // Size of mReturnString space size. variable
33 StringSize = 0;
228 if (Size >= StringSize) {
308 StringSize = Size;
309 mReturnString = AllocateZeroPool ((StringSize + 1) * sizeof(mReturnString[0]));
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/SetupBrowserDxe/
H A DIfrParse.c371 UINTN StringSize; local
423 StringSize = (Storage->ConfigRequest != NULL) ? StrSize (Storage->ConfigRequest) : sizeof (CHAR16);
424 NewStr = AllocateZeroPool (StringSize + CONFIG_REQUEST_STRING_INCREMENTAL * sizeof (CHAR16));
427 CopyMem (NewStr, Storage->ConfigRequest, StringSize);
472 StringSize = (ConfigInfo->ConfigRequest != NULL) ? StrSize (ConfigInfo->ConfigRequest) : sizeof (CHAR16);
473 NewStr = AllocateZeroPool (StringSize + CONFIG_REQUEST_STRING_INCREMENTAL * sizeof (CHAR16));
476 CopyMem (NewStr, ConfigInfo->ConfigRequest, StringSize);
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Library/GenericBdsLib/
H A DDevicePath.c41 UINTN StringSize; local
52 StringSize = StrSize (AppendStr);
53 Str->Str = AllocateZeroPool (StringSize);
56 StringSize = StrSize (AppendStr);
57 StringSize += (StrSize (Str->Str) - sizeof (UINT16));
61 StringSize,
68 if (StringSize < Str->Maxlen) {
70 Str->Len = StringSize - sizeof (UINT16);
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/
H A DBootOption.c873 UINTN StringSize; local
1015 StringSize = StrSize((UINT16*)LoadOptionPtr);
1024 LoadOptionPtr += StringSize;
1049 StringSize -
1483 UINTN StringSize; local
1563 StringSize = StrSize ((UINT16 *) LoadOptionPtr);
1564 NewLoadContext->Description = AllocateZeroPool (StringSize);
1569 StringSize
1573 LoadOptionPtr += StringSize;
1598 StringSize
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/HiiDatabaseDxe/
H A DString.c121 UINTN StringSize; local
126 StringSize = AsciiStrSize (StringSrc) * 2;
127 if (*BufferSize < StringSize || StringDest == NULL) {
128 *BufferSize = StringSize;
165 UINTN StringSize; local
170 StringSize = sizeof (CHAR16);
173 StringSize += sizeof (CHAR16);
177 if (*BufferSize < StringSize) {
178 *BufferSize = StringSize;
182 CopyMem (StringDest, StringSrc, StringSize);
291 UINTN StringSize; local
614 GetStringWorker( IN HII_DATABASE_PRIVATE_DATA *Private, IN HII_STRING_PACKAGE_INSTANCE *StringPackage, IN EFI_STRING_ID StringId, OUT EFI_STRING String, IN OUT UINTN *StringSize, OPTIONAL OUT EFI_FONT_INFO **StringFontInfo OPTIONAL ) argument
897 UINTN StringSize; local
1599 HiiGetString( IN CONST EFI_HII_STRING_PROTOCOL *This, IN CONST CHAR8 *Language, IN EFI_HII_HANDLE PackageList, IN EFI_STRING_ID StringId, OUT EFI_STRING String, IN OUT UINTN *StringSize, OUT EFI_FONT_INFO **StringFontInfo OPTIONAL ) argument
[all...]
H A DFont.c2305 UINTN StringSize; local
2385 StringSize = MAX_STRING_LENGTH;
2386 String = (EFI_STRING) AllocateZeroPool (StringSize);
2398 &StringSize,
2403 String = (EFI_STRING) AllocateZeroPool (StringSize);
2414 &StringSize,
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/
H A DSecureBootConfigDevicePath.c40 UINTN StringSize; local
51 StringSize = StrSize (AppendStr);
52 Str->Str = AllocateZeroPool (StringSize);
55 StringSize = StrSize (AppendStr);
56 StringSize += (StrSize (Str->Str) - sizeof (UINT16));
60 StringSize,
67 if (StringSize < Str->Maxlen) {
69 Str->Len = StringSize - sizeof (UINT16);
/vbox/src/VBox/Devices/EFI/Firmware/ShellPkg/Library/UefiShellCommandLib/
H A DConsistMapping.c74 UINTN StringSize; local
86 StringSize = StrSize (AppendStr);
87 Str->Str = AllocateZeroPool (StringSize);
90 StringSize = StrSize (AppendStr);
91 StringSize += (StrSize (Str->Str) - sizeof (UINT16));
95 StringSize,
102 Str->Len = StringSize;
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/VfrCompile/
H A DVfrUtilityLib.cpp3281 UINT32 StringSize; local
3349 // Use StringSize to store the size of the specified string, including the NULL
3352 StringSize = GetUnicodeStringTextSize (StringTextPtr);
3353 BlockSize += Offset + StringSize;
3364 StringSize = GetUnicodeStringTextSize (StringTextPtr);
3365 BlockSize += Offset + StringSize;
3375 StringSize = GetUnicodeStringTextSize (StringTextPtr);
3376 BlockSize += StringSize;
3382 StringTextPtr = StringTextPtr + StringSize;
3397 StringSize
3499 UINT32 StringSize; local
[all...]

Completed in 61 milliseconds