Home
last modified time | relevance | path

Searched refs:Size2 (Results 1 – 21 of 21) sorted by relevance

/device/linaro/bootloader/edk2/IntelFrameworkPkg/Library/DxeSmmDriverEntryPoint/
DDriverEntryPoint.c89 UINTN Size2; in SmmAppendDevicePath() local
100 Size2 = SmmGetDevicePathSize (SecondDevicePath); in SmmAppendDevicePath()
101 Size = Size1 + Size2 - sizeof (EFI_DEVICE_PATH_PROTOCOL); in SmmAppendDevicePath()
115 gBS->CopyMem ((VOID *) DevicePath2, (VOID *) SecondDevicePath, Size2); in SmmAppendDevicePath()
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/
DVol.c43 UINTN Size2; in HandleVol() local
113 Size2 = StrSize(SysInfo->VolumeLabel); in HandleVol()
114 if (Size1 > Size2) { in HandleVol()
115 SysInfo = ReallocatePool((UINTN)SysInfo->Size, (UINTN)SysInfo->Size + Size1 - Size2, SysInfo); in HandleVol()
123 (Size1>Size2? Size1/sizeof(CHAR16) : Size2/sizeof(CHAR16)), in HandleVol()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/
DDevicePath.c281 UINTN Size2; in EfiAppendDevicePath() local
303 Size2 = EfiDevicePathSize (Src2); in EfiAppendDevicePath()
304 Size = Size1 + Size2 - sizeof (EFI_DEVICE_PATH_PROTOCOL); in EfiAppendDevicePath()
314 EfiCopyMem (SecondDevicePath, Src2, Size2); in EfiAppendDevicePath()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiDevicePathLib/
DUefiDevicePathLib.c136 UINTN Size2; in GlueAppendDevicePath() local
156 Size2 = GetDevicePathSize (SecondDevicePath); in GlueAppendDevicePath()
157 Size = Size1 + Size2 - sizeof (EFI_DEVICE_PATH_PROTOCOL); in GlueAppendDevicePath()
168 CopyMem (DevicePath2, SecondDevicePath, Size2); in GlueAppendDevicePath()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/
DRtDevicePath.c378 UINTN Size2; in RtEfiAppendDevicePath() local
400 Size2 = RtEfiDevicePathSize (Src2); in RtEfiAppendDevicePath()
401 Size = Size1 + Size2 - sizeof (EFI_DEVICE_PATH_PROTOCOL); in RtEfiAppendDevicePath()
411 EfiCopyMem (SecondDevicePath, Src2, Size2); in RtEfiAppendDevicePath()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/EntryPoints/
DEdkIIGlueSmmDriverEntryPoint.c215 UINTN Size2; in SmmAppendDevicePath() local
226 Size2 = SmmGetDevicePathSize (SecondDevicePath); in SmmAppendDevicePath()
227 Size = Size1 + Size2 - sizeof (EFI_DEVICE_PATH_PROTOCOL); in SmmAppendDevicePath()
237 (mBS->CopyMem) ((VOID *) DevicePath2, (VOID *) SecondDevicePath, Size2); in SmmAppendDevicePath()
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/
DSafeString.c48 IN UINTN Size2 in InternalSafeStringIsOverlap() argument
51 if ((((UINTN)Base1 >= (UINTN)Base2) && ((UINTN)Base1 < (UINTN)Base2 + Size2)) || in InternalSafeStringIsOverlap()
76 IN UINTN Size2 in InternalSafeStringNoStrOverlap() argument
79 return !InternalSafeStringIsOverlap (Str1, Size1 * sizeof(CHAR16), Str2, Size2 * sizeof(CHAR16)); in InternalSafeStringNoStrOverlap()
100 IN UINTN Size2 in InternalSafeStringNoAsciiStrOverlap() argument
103 return !InternalSafeStringIsOverlap (Str1, Size1, Str2, Size2); in InternalSafeStringNoAsciiStrOverlap()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/
DPciHotPlugSupport.c60 UINTN Size2; in EfiCompareDevicePath() local
63 Size2 = GetDevicePathSize (DevicePath2); in EfiCompareDevicePath()
65 if (Size1 != Size2) { in EfiCompareDevicePath()
/device/linaro/bootloader/edk2/MdePkg/Library/UefiDevicePathLib/
DDevicePathUtilities.c456 UINTN Size2; in UefiDevicePathLibAppendDevicePath() local
480 Size2 = GetDevicePathSize (SecondDevicePath); in UefiDevicePathLibAppendDevicePath()
481 Size = Size1 + Size2 - END_DEVICE_PATH_LENGTH; in UefiDevicePathLibAppendDevicePath()
492 CopyMem (DevicePath2, SecondDevicePath, Size2); in UefiDevicePathLibAppendDevicePath()
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/
DComp.c40 UINT64 Size2; in ShellCommandRunComp() local
124 Status = gEfiShellProtocol->GetFileSize(FileHandle2, &Size2); in ShellCommandRunComp()
126 if (Size1 != Size2) { in ShellCommandRunComp()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/
DFvImage.py891 Size1, Size2, Size3 = m._SIZE_.unpack_from(m._BUF_, m._OFF_)
892 Size = Size1 + (Size2 << 8) + (Size3 << 16)
914 Size2 = (Size & 0xFF00) >> 8
916 m.SetField(m._SIZE_, 0, Size1, Size2, Size3)
919 Size1, Size2, Size3 = m.GetField(m._SIZE_)
920 return Size1 + (Size2 << 8) + (Size3 << 16)
1038 Size1, Size2, Size3 = self._SIZE_.unpack_from(self._BUF_, self._OFF_)
1039 Size = Size1 + (Size2 << 8) + (Size3 << 16)
1083 Size2 = (Size & 0xFF00) >> 8
1085 m.SetField(m._SIZE_, 0, Size1, Size2, Size3)
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Library/FileExplorerLib/
DFileExplorer.c614 UINTN Size2; in LibAppendFileName() local
622 Size2 = StrSize (Str2); in LibAppendFileName()
627 if (((MAX_UINTN - Size1) < Size2) || ((MAX_UINTN - Size1 - Size2) < sizeof(CHAR16))) { in LibAppendFileName()
631 MaxLen = (Size1 + Size2 + sizeof (CHAR16))/ sizeof (CHAR16); in LibAppendFileName()
632 Str = AllocateZeroPool (Size1 + Size2 + sizeof (CHAR16)); in LibAppendFileName()
635 TmpStr = AllocateZeroPool (Size1 + Size2 + sizeof (CHAR16)); in LibAppendFileName()
/device/linaro/bootloader/edk2/ArmPlatformPkg/FileSystem/BootMonFs/
DBootMonFsEntryPoint.c239 UINTN Size2; in BootMonFsDriverSupported() local
299 SupportedDevicePath = GetNextDevicePathInstance (&SupportedDevicePaths, &Size2); in BootMonFsDriverSupported()
301 if ((Size1 == Size2) && (CompareMem (DevicePathProtocol, SupportedDevicePath, Size1) == 0)) { in BootMonFsDriverSupported()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/AMD/Styx/Binary/AmdModulePkg/Common/
DMemIscp.h77 UINT64 Size2; ///< Size of memory range 2 member
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenVtf/
DGenVtf.h254 IN UINT64 Size2,
DGenVtf.c1985 IN UINT64 Size2, in GenerateVtfImage() argument
2054 Fv2EndAddress = Fv2BaseAddress + Size2; in GenerateVtfImage()
2068 Vtf2Buffer = malloc ((UINTN) Size2); in GenerateVtfImage()
2073 memset (Vtf2Buffer, 0x00, (UINTN) Size2); in GenerateVtfImage()
2074 Vtf2EndBuffer = (UINT8 *) Vtf2Buffer + Size2; in GenerateVtfImage()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/
DPiSmmCore.c402 IN UINTN Size2 in InternalIsBufferOverlapped() argument
409 if (((Buff1 + Size1) <= Buff2) || (Buff1 >= (Buff2 + Size2))) { in InternalIsBufferOverlapped()
/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/
DEfiDevice.c887 UINTN Size2; in EblFileDiffCmd() local
908 Size2 = EfiTell(File2, NULL); in EblFileDiffCmd()
910 if (Size1 != Size2) { in EblFileDiffCmd()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/CapsulePei/Common/
DCapsuleCoalesce.c121 UINTN Size2
612 UINTN Size2 in IsOverlapped() argument
619 if (((Buff1 + Size1) <= Buff2) || (Buff1 >= (Buff2 + Size2))) { in IsOverlapped()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/
DBootOption.c1089 UINTN Size2; in BOpt_AppendFileName() local
1097 Size2 = StrSize (Str2); in BOpt_AppendFileName()
1098 MaxLen = (Size1 + Size2 + sizeof (CHAR16)) / sizeof (CHAR16); in BOpt_AppendFileName()
/device/linaro/bootloader/edk2/ShellPkg/Application/Shell/
DShell.c1668 UINTN Size2; in RunSplitCommand() local
1681 Size2 = 0; in RunSplitCommand()
1684 …OurCommandLine = StrnCatGrow(&OurCommandLine , &Size2, CmdLine , StrStr(CmdLine, L… in RunSplitCommand()
1690 } else if (StrStr(OurCommandLine, L"|") != NULL || Size1 == 0 || Size2 == 0) { in RunSplitCommand()