/device/linaro/bootloader/edk2/IntelFrameworkPkg/Library/DxeSmmDriverEntryPoint/ |
D | DriverEntryPoint.c | 89 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/ |
D | Vol.c | 43 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/ |
D | DevicePath.c | 281 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/ |
D | UefiDevicePathLib.c | 136 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/ |
D | RtDevicePath.c | 378 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/ |
D | EdkIIGlueSmmDriverEntryPoint.c | 215 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/ |
D | SafeString.c | 48 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/ |
D | PciHotPlugSupport.c | 60 UINTN Size2; in EfiCompareDevicePath() local 63 Size2 = GetDevicePathSize (DevicePath2); in EfiCompareDevicePath() 65 if (Size1 != Size2) { in EfiCompareDevicePath()
|
/device/linaro/bootloader/edk2/MdePkg/Library/UefiDevicePathLib/ |
D | DevicePathUtilities.c | 456 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/ |
D | Comp.c | 40 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/ |
D | FvImage.py | 891 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/ |
D | FileExplorer.c | 614 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/ |
D | BootMonFsEntryPoint.c | 239 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/ |
D | MemIscp.h | 77 UINT64 Size2; ///< Size of memory range 2 member
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenVtf/ |
D | GenVtf.h | 254 IN UINT64 Size2,
|
D | GenVtf.c | 1985 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/ |
D | PiSmmCore.c | 402 IN UINTN Size2 in InternalIsBufferOverlapped() argument 409 if (((Buff1 + Size1) <= Buff2) || (Buff1 >= (Buff2 + Size2))) { in InternalIsBufferOverlapped()
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/ |
D | EfiDevice.c | 887 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/ |
D | CapsuleCoalesce.c | 121 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/ |
D | BootOption.c | 1089 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/ |
D | Shell.c | 1668 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()
|