HomeSort by relevance Sort by last modified time
    Searched refs:StrSize (Results 1 - 25 of 184) sorted by null

1 2 3 4 5 6 7 8

  /device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/
FilePaths.c 92 CopyMem (TempString, TempString + 2, StrSize (TempString + 2));
106 CopyMem (Path + StrLen (Path), TempString + 3, StrSize (TempString + 3));
113 CopyMem (TempString, TempString + 1, StrSize (TempString + 1));
String.c 207 StrSize (
252 ASSERT (StrSize (FirstString) != 0);
253 ASSERT (StrSize (SecondString) != 0);
310 ASSERT (StrSize (FirstString) != 0);
311 ASSERT (StrSize (SecondString) != 0);
378 ASSERT (StrSize (Destination) != 0);
440 ASSERT (StrSize (Destination) != 0);
485 ASSERT (StrSize (String) != 0);
486 ASSERT (StrSize (SearchString) != 0);
664 ASSERT (StrSize (String) != 0);
    [all...]
  /device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/
Cd.c 55 TotalSize = StrSize (Cwd) + StrSize (Splitter + 1);
140 *Path = AllocateCopyPool (StrSize (FullPath), FullPath);
146 *Drive = AllocateCopyPool (StrSize (FullPath), FullPath);
158 *Path = AllocateCopyPool (StrSize (Splitter + 1), Splitter + 1);
258 CopyMem (Walker, Walker + 1, StrSize(Walker) - sizeof(Walker[0]));
281 TotalSize = ((Splitter - Cwd + 1) * sizeof(CHAR16)) + StrSize(Param1Copy);
295 TotalSize = StrSize (Cwd) + StrSize (Param1Copy);
Mv.c 92 SrcPathBuffer = AllocateCopyPool (StrSize (SrcPath), SrcPath);
97 CwdPathBuffer = AllocateCopyPool (StrSize (CwdPath), CwdPath);
181 DestPathCopy = AllocateCopyPool(StrSize(DestPath), DestPath);
254 DestPath = AllocateZeroPool(StrSize(Cwd));
258 StrCpyS(DestPath, StrSize(Cwd) / sizeof(CHAR16), Cwd);
264 CurrentSize = StrSize(DestPath);
284 NewSize = StrSize(Cwd);
285 NewSize += StrSize(DestParameter);
322 DestPath = AllocateZeroPool(StrSize(Node->FullName)+sizeof(CHAR16));
327 StrCpyS(DestPath, (StrSize(Node->FullName)+sizeof(CHAR16)) / sizeof(CHAR16), Node->FullName);
    [all...]
Reset.c 122 gRT->ResetSystem(EfiResetWarm, EFI_SUCCESS, StrSize(String), (VOID*)String);
133 DEBUG_CODE(ShellPrintEx(-1,-1,L"Reset with %s (%d bytes)", String, String!=NULL?StrSize(String):0););
135 gRT->ResetSystem(EfiResetShutdown, EFI_SUCCESS, StrSize(String), (VOID*)String);
146 gRT->ResetSystem(EfiResetCold, EFI_SUCCESS, StrSize(String), (VOID*)String);
  /device/linaro/bootloader/edk2/FatPkg/EnhancedFatDxe/
UnicodeCollation.c 177 ASSERT (StrSize (S1) != 0);
178 ASSERT (StrSize (S2) != 0);
201 ASSERT (StrSize (String) != 0);
220 ASSERT (StrSize (String) != 0);
272 ASSERT (StrSize (String) != 0);
Hash.c 41 gBS->CalculateCrc32 (UpCasedLongFileName, StrSize (UpCasedLongFileName), &HashValue);
  /device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel3CommandsLib/
Alias.c 43 Alias = AllocateZeroPool(StrSize(ConstAllAliasList));
50 CopyMem(Alias, Walker, StrSize(Walker));
127 CleanParam2 = AllocateCopyPool (StrSize(Param2), Param2);
134 CopyMem (CleanParam2, CleanParam2 + 1, StrSize(CleanParam2) - sizeof(CleanParam2[0]));
  /device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Drivers/VersionInfoPeim/
VersionInfoPeim.c 98 StrSize (ReleaseString));
105 CopyMem (VersionInfo->String, ReleaseString, StrSize (ReleaseString));
  /device/linaro/bootloader/edk2/Nt32Pkg/WinNtSimpleFileSystemDxe/
WinNtSimpleFileSystem.c 360 Private->VolumeLabel = AllocatePool (StrSize (L"EFI_EMULATED"));
563 PrivateFile->FileName = AllocatePool (StrSize (Private->FilePath));
569 PrivateFile->FilePath = AllocatePool (StrSize (Private->FilePath));
617 Size = StrSize (PrivateFile->FilePath);
618 Size += StrSize (L"\\*");
741 Token = AllocateCopyPool (StrSize(*FileName), *FileName);
921 TempFileName = AllocatePool (StrSize (FileName));
970 NewPrivateFile->FilePath = AllocatePool (StrSize (PrivateFile->FileName));
982 Size = StrSize (NewPrivateFile->FilePath);
983 Size += StrSize (L"\\");
    [all...]
  /device/linaro/bootloader/edk2/ShellPkg/Application/Shell/
ShellManParser.c 95 Buffer = AllocateCopyPool(StrSize(NameString), NameString);
97 Buffer = AllocateCopyPool(StrSize(NameString), NameString);
100 StrnCpyS (SuffixStr, StrSize(L".man")/sizeof(CHAR16), L".efi", StrLen(L".efi"));
103 Buffer = AllocateZeroPool(StrSize(NameString) + StrLen(L".efi")*sizeof(CHAR16));
106 (StrSize(NameString) + StrLen(L".efi")*sizeof(CHAR16))/sizeof(CHAR16),
111 (StrSize(NameString) + StrLen(L".efi")*sizeof(CHAR16))/sizeof(CHAR16),
145 Buffer = AllocateCopyPool(StrSize(ManFileName), ManFileName);
147 Buffer = AllocateZeroPool(StrSize(ManFileName) + 4*sizeof(CHAR16));
150 (StrSize(ManFileName) + 4*sizeof(CHAR16))/sizeof(CHAR16),
155 (StrSize(ManFileName) + 4*sizeof(CHAR16))/sizeof(CHAR16),
    [all...]
ShellEnvVar.c 208 VarList->Key = AllocateCopyPool(StrSize(VariableName), VariableName);
281 Size = StrSize (Node->Val) - sizeof (CHAR16);
360 Node->Val = AllocateCopyPool(StrSize(CurrentString) - StrSize(Node->Key), CurrentString + StrLen(Node->Key) + 1);
426 *Value = AllocateCopyPool(StrSize(Node->Val), Node->Val);
427 *ValueSize = StrSize(Node->Val);
491 LocalKey = AllocateCopyPool (StrSize(Key), Key);
  /device/linaro/bootloader/edk2/EmbeddedPkg/Library/HalRuntimeServicesExampleLib/
Variable.c 53 SizeOfString = StrSize (VariableName);
91 Size = StrSize ((CHAR16 *)(Entry + 1)) + sizeof (VARIABLE_ARRAY_ENTRY) + Entry->DataSize;
131 Size = StrSize ((CHAR16 *)(Entry + 1));
139 Size = StrSize ((CHAR16 *)(Entry + 1)) + sizeof (VARIABLE_ARRAY_ENTRY) + Entry->DataSize;
207 StringSize = StrSize ((CHAR16 *)(Entry + 1));
  /device/linaro/bootloader/edk2/ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/
ArmFvpDxe.c 179 TextDevicePathSize = StrSize (TextDevicePath);
183 TextDevicePathSize = StrSize ((CHAR16*)PcdGetPtr (PcdFvpFdtDevicePathsBase)) - sizeof (CHAR16);
184 TextDevicePathSize += StrSize (Platform->FdtName);
  /device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDriver1CommandsLib/
DevTree.c 94 FormatString = AllocateZeroPool(StrSize(HiiString) + (10)*sizeof(FormatString[0]));
105 UnicodeSPrint(FormatString, StrSize(HiiString) + (10)*sizeof(FormatString[0]), L"%%%ds %s", IndentCharCount, HiiString);
201 Language = AllocateZeroPool(StrSize(Lang));
202 AsciiSPrint(Language, StrSize(Lang), "%S", Lang);
  /device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformInitPei/
BootMode.c 412 StrSize (NORMAL_SETUP_NAME));
420 StrSize (NORMAL_SETUP_NAME));
429 StrSize (MANUFACTURE_SETUP_NAME));
438 StrSize (NORMAL_SETUP_NAME));
  /device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/
SetVar.c 228 Buffer = AllocateZeroPool(StrSize(Data) / 2);
232 AsciiSPrint(Buffer, StrSize(Data) / 2, "%s", Data);
248 Buffer = AllocateZeroPool(StrSize(Data));
253 UnicodeSPrint(Buffer, StrSize(Data), L"%s", Data);
256 Status = gRT->SetVariable((CHAR16*)VariableName, &Guid, Attributes, StrSize(Buffer)-sizeof(CHAR16), Buffer);
  /device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiBootManagerLib/
BmBootDescription.c 312 DescMaxSize = StrSize (Manufacturer) + StrSize (Product) + StrSize (SerialNumber);
497 return AllocateCopyPool (StrSize (Description), Description);
562 return AllocateCopyPool (StrSize (Description), Description);
642 Temp = AllocatePool (StrSize (DefaultDescription) + sizeof (mBmUefiPrefix));
644 StrCpyS (Temp, (StrSize (DefaultDescription) + sizeof (mBmUefiPrefix)) / sizeof (CHAR16), mBmUefiPrefix);
645 StrCatS (Temp, (StrSize (DefaultDescription) + sizeof (mBmUefiPrefix)) / sizeof (CHAR16), DefaultDescription);
711 DescriptionSize = StrSize (BootOptions[Base].Description);
  /device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/
Variable.c 585 BufferSize = sizeof (UINT32) + sizeof (UINT16) + StrSize (DescriptionData);
590 BufferSize += StrSize (OptionalData);
622 StrSize (DescriptionData)
625 NewLoadContext->Description = AllocateZeroPool (StrSize (DescriptionData));
631 StrSize (DescriptionData)
634 Ptr += StrSize (DescriptionData);
670 StrSize (OptionalData)
773 BufferSize = sizeof (UINT32) + sizeof (UINT16) + StrSize (NvRamMap->BootDescriptionData);
778 BufferSize += StrSize (NvRamMap->BootOptionalData);
809 StrSize (NvRamMap->BootDescriptionData)
    [all...]
  /device/linaro/bootloader/edk2/NetworkPkg/HttpBootDxe/
HttpBootSupport.c 571 UINTN StrSize;
588 StrSize = AsciiStrSize (FieldName);
589 Header->FieldName = AllocatePool (StrSize);
593 CopyMem (Header->FieldName, FieldName, StrSize);
594 Header->FieldName[StrSize -1] = '\0';
596 StrSize = AsciiStrSize (FieldValue);
597 Header->FieldValue = AllocatePool (StrSize);
602 CopyMem (Header->FieldValue, FieldValue, StrSize);
603 Header->FieldValue[StrSize -1] = '\0';
610 StrSize = AsciiStrSize (FieldValue);
    [all...]
  /device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel1CommandsLib/
For.c 409 NewSize = StrSize(ArgSet);
410 NewSize += sizeof(SHELL_FOR_INFO)+StrSize(gEfiShellParametersProtocol->Argv[1]);
417 CopyMem(Info->Set, ArgSet, StrSize(ArgSet));
418 NewSize = StrSize(gEfiShellParametersProtocol->Argv[1]);
419 CopyMem(Info->Set+(StrSize(ArgSet)/sizeof(Info->Set[0])), gEfiShellParametersProtocol->Argv[1], NewSize);
420 Info->ReplacementName = Info->Set+StrSize(ArgSet)/sizeof(Info->Set[0]);
458 Info = AllocateZeroPool(sizeof(SHELL_FOR_INFO)+StrSize(gEfiShellParametersProtocol->Argv[1]));
464 CopyMem(Info->Set, gEfiShellParametersProtocol->Argv[1], StrSize(gEfiShellParametersProtocol->Argv[1]));
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/
UefiIfrDefault.c 269 Node->Name = AllocateCopyPool (StrSize (Storage->Name), Storage->Name);
437 Size += StrSize (Node->Name);
468 Pack->VariableNameLength = (UINT32) StrSize (Node->Name);
479 CopyMem ((UINT8 *) Pack + sizeof (EFI_HII_VARIABLE_PACK), Node->Name, StrSize (Node->Name));
  /device/linaro/bootloader/edk2/EmulatorPkg/Library/ThunkProtocolList/
ThunkProtocolList.c 56 StartString = AllocatePool (StrSize (ConfigString));
  /device/linaro/bootloader/edk2/MdeModulePkg/Universal/HiiDatabaseDxe/
String.c 396 // Use StrSize to store the size of the specified string, including the NULL
    [all...]
  /device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/
PosixFileSystem.c 1003 if (*BufferSize < SIZE_OF_EFI_FILE_SYSTEM_INFO + StrSize (PrivateRoot->VolumeLabel)) {
1004 *BufferSize = SIZE_OF_EFI_FILE_SYSTEM_INFO + StrSize (PrivateRoot->VolumeLabel);
1014 FileSystemInfoBuffer->Size = SIZE_OF_EFI_FILE_SYSTEM_INFO + StrSize (PrivateRoot->VolumeLabel);
1026 *BufferSize = SIZE_OF_EFI_FILE_SYSTEM_INFO + StrSize (PrivateRoot->VolumeLabel);
1029 if (*BufferSize < StrSize (PrivateRoot->VolumeLabel)) {
1030 *BufferSize = StrSize (PrivateRoot->VolumeLabel);
1035 *BufferSize = StrSize (PrivateRoot->VolumeLabel);
1104 if (BufferSize < (SIZE_OF_EFI_FILE_SYSTEM_INFO + StrSize (PrivateRoot->VolumeLabel))) {
1113 PrivateRoot->VolumeLabel = malloc (StrSize (NewFileSystemInfo->VolumeLabel));
1128 if (BufferSize < StrSize (PrivateRoot->VolumeLabel))
    [all...]

Completed in 812 milliseconds

1 2 3 4 5 6 7 8