Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/EmulatorPkg/Library/SecPeiServicesLib/
DFwVol.c134 UINT32 FileLength; in SecFfsFindNextFile() local
166 FileLength = *(UINT32 *) (*FileHeader)->Size & 0x00FFFFFF; in SecFfsFindNextFile()
167 FileOccupiedSize = GET_OCCUPIED_SIZE (FileLength, 8); in SecFfsFindNextFile()
189 FileLength = *(UINT32 *) (FfsFileHeader->Size) & 0x00FFFFFF; in SecFfsFindNextFile()
190 FileOccupiedSize = GET_OCCUPIED_SIZE (FileLength, 8); in SecFfsFindNextFile()
207 FileLength = *(UINT32 *) (FfsFileHeader->Size) & 0x00FFFFFF; in SecFfsFindNextFile()
208 FileOccupiedSize = GET_OCCUPIED_SIZE (FileLength, 8); in SecFfsFindNextFile()
/device/linaro/bootloader/edk2/Nt32Pkg/Sec/
DFwVol.c138 UINT32 FileLength; in SecFfsFindNextFile() local
162 FileLength = *(UINT32 *) (*FileHeader)->Size & 0x00FFFFFF; in SecFfsFindNextFile()
163 FileOccupiedSize = GET_OCCUPIED_SIZE (FileLength, 8); in SecFfsFindNextFile()
185 FileLength = *(UINT32 *) (FfsFileHeader->Size) & 0x00FFFFFF; in SecFfsFindNextFile()
186 FileOccupiedSize = GET_OCCUPIED_SIZE (FileLength, 8); in SecFfsFindNextFile()
203 FileLength = *(UINT32 *) (FfsFileHeader->Size) & 0x00FFFFFF; in SecFfsFindNextFile()
204 FileOccupiedSize = GET_OCCUPIED_SIZE (FileLength, 8); in SecFfsFindNextFile()
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFw/
DGenFw.c538 UINT32 *FileLength in PeCoffConvertImageToXip() argument
570 FirstSectionOffset = *FileLength; in PeCoffConvertImageToXip()
598 if (FirstSectionOffset == *FileLength) { in PeCoffConvertImageToXip()
661 *FileLength = XipLength; in PeCoffConvertImageToXip()
1075 UINT32 FileLength; in main() local
1136 FileLength = 0; in main()
1640 FileLength = _filelength (fileno (fpIn)); in main()
1643 if (HiiPackageHeader.Length != FileLength) { in main()
1654 HiiPackageListHeader.PackageLength += FileLength; in main()
1688 FileLength = _filelength (fileno (fpIn)); in main()
[all …]
DElfConvert.c165 UINT32 *FileLength in ConvertElf() argument
226 *FileLength = mCoffOffset; in ConvertElf()
DGenFw.h53 UINT32 *FileLength
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/
DRegion.py126 FileLength = os.stat(FileName)[ST_SIZE]
127 if FileLength > Size:
134 Size = Size - FileLength
185 FileLength = os.stat(FileName)[ST_SIZE]
186 if FileLength > Size:
189 % (FileLength, RegionData, Size))
193 Size = Size - FileLength
222 FileLength = os.stat(RegionData)[ST_SIZE]
223 if FileLength > Size:
231 Size = Size - FileLength
/device/linaro/bootloader/edk2/BaseTools/Source/C/EfiLdrImage/
DEfiLdrImage.c42 UINT32 FileLength; member
275 EfiLdrHeader.FileLength = sizeof(EFILDR_HEADER) + sizeof(EFILDR_IMAGE)*(InputFileCount); in main()
280 fseek (fpOut, EfiLdrHeader.FileLength, SEEK_SET); in main()
301 EfiLdrImage[i].Offset = EfiLdrHeader.FileLength; in main()
304 EfiLdrHeader.FileLength += (UINT32) filesize; in main()
/device/linaro/bootloader/edk2/ArmPkg/Library/DebugAgentSymbolsBaseLib/
DDebugAgentSymbolsBaseLib.c115 UINT32 FileLength; in GetFfsFile() local
153 FileLength = *(UINT32 *)(FfsFileHeader->Size) & 0x00FFFFFF; in GetFfsFile()
154 FileOccupiedSize = GET_OCCUPIED_SIZE(FileLength, 8); in GetFfsFile()
161 FileLength = *(UINT32 *)(FfsFileHeader->Size) & 0x00FFFFFF; in GetFfsFile()
162 FileOccupiedSize = GET_OCCUPIED_SIZE(FileLength, 8); in GetFfsFile()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/FwImage/
Dfwimage.c195 IN OUT UINTN *FileLength, in StripZeroPendingReloc() argument
234 *FileLength = Optional32->SizeOfImage; in StripZeroPendingReloc()
268 *FileLength = Optional64->SizeOfImage; in StripZeroPendingReloc()
318 UINTN FileLength; in main() local
461 FReadFile (fpIn, (VOID **)&FileBuffer, &FileLength); in main()
558 StripZeroPendingReloc (FileBuffer, &FileLength, DosHdr, PeHdr); in main()
586 StripZeroPendingReloc (FileBuffer, &FileLength, DosHdr, PeHdr); in main()
602 FWriteFile (fpOut, FileBuffer, FileLength); in main()
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/PrePiLib/
DFwVol.c174 UINT32 FileLength; in FindFileEx() local
207 FileLength = *(UINT32 *)(*FileHeader)->Size & 0x00FFFFFF; in FindFileEx()
208 FileOccupiedSize = GET_OCCUPIED_SIZE (FileLength, 8); in FindFileEx()
239 FileLength = *(UINT32 *)(FfsFileHeader->Size) & 0x00FFFFFF; in FindFileEx()
240 FileOccupiedSize = GET_OCCUPIED_SIZE(FileLength, 8); in FindFileEx()
258 FileLength = *(UINT32 *)(FfsFileHeader->Size) & 0x00FFFFFF; in FindFileEx()
259 FileOccupiedSize = GET_OCCUPIED_SIZE(FileLength, 8); in FindFileEx()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Common/
DFvLib.c635 UINT32 FileLength; in VerifyFfsFile() local
708 FileLength = GetLength (FfsHeader->Size); in VerifyFfsFile()
709 OccupiedFileLength = (FileLength + 0x07) & (-1 << 3); in VerifyFfsFile()
711 Checksum = CalculateSum8 ((UINT8 *) FfsHeader, FileLength - TailSize); in VerifyFfsFile()
714 …lateSum8 ((UINT8 *) ((UINTN)FfsHeader + sizeof (EFI_FFS_FILE_HEADER)), FileLength - TailSize - siz… in VerifyFfsFile()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/
DFfs.c389 UINT32 FileLength; in GetNextPossibleFileHeader() local
404 FileLength = FFS_FILE2_SIZE (FfsHeader); in GetNextPossibleFileHeader()
406 FileLength = FFS_FILE_SIZE (FfsHeader); in GetNextPossibleFileHeader()
413 SkipLength = FileLength; in GetNextPossibleFileHeader()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/PatchPcdValue/
DPatchPcdValue.py53 FileLength = FileHandle.tell()
82 if ValueOffset + ValueLength > FileLength:
89 ByteArray.fromfile(FileHandle, FileLength)
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/FwVol/
DFwVol.c270 UINT32 FileLength; in FindFileEx() local
315 FileLength = FFS_FILE2_SIZE (*FileHeader); in FindFileEx()
316 ASSERT (FileLength > 0x00FFFFFF); in FindFileEx()
318 FileLength = FFS_FILE_SIZE (*FileHeader); in FindFileEx()
323 FileOccupiedSize = GET_OCCUPIED_SIZE (FileLength, 8); in FindFileEx()
360 FileLength = FFS_FILE2_SIZE (FfsFileHeader); in FindFileEx()
361 ASSERT (FileLength > 0x00FFFFFF); in FindFileEx()
362 FileOccupiedSize = GET_OCCUPIED_SIZE (FileLength, 8); in FindFileEx()
370 FileLength = FFS_FILE_SIZE (FfsFileHeader); in FindFileEx()
371 FileOccupiedSize = GET_OCCUPIED_SIZE (FileLength, 8); in FindFileEx()
[all …]
/device/linaro/bootloader/edk2/DuetPkg/Include/
DEfiLdrHandoff.h55 UINT32 FileLength; member
/device/linaro/bootloader/edk2/DuetPkg/EfiLdr/
DEfiLdrHandoff.h52 UINT32 FileLength; member
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/ProcessDsc/
DCommon.h65 int FileLength; // Previous file string length member
DProcessDsc.c4742 SmartFile->FileLength = fread (SmartFile->FileContent, sizeof(char), FileSize, Fptr); in SmartOpen()
4772 if ((StrLen > SmartFile->FileLength - SmartFile->FilePosition) || in SmartWrite()
4797 if ((SmartFile->FilePtr == NULL) && (SmartFile->FilePosition < SmartFile->FileLength)) { in SmartClose()
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
DFvLib.c648 UINT32 FileLength; in VerifyFfsFile() local
714 FileLength = GetFfsFileLength (FfsHeader); in VerifyFfsFile()
715 …Checksum = CalculateSum8 ((UINT8 *) ((UINT8 *)FfsHeader + FfsHeaderSize), FileLength - … in VerifyFfsFile()
/device/linaro/bootloader/edk2/BaseTools/Source/C/VolInfo/
DVolInfo.c971 UINT32 FileLength; in PrintFileInfo() local
1009 FileLength = FvBufGetFfsFileSize (FileHeader); in PrintFileInfo()
1011 printf ("File Length: 0x%08X\n", (unsigned) FileLength); in PrintFileInfo()
1062 FileLength = FvBufGetFfsFileSize (FileHeader); in PrintFileInfo()
1068 Checksum = CalculateSum8 ((UINT8 *)FileHeader + HeaderSize, FileLength - HeaderSize); in PrintFileInfo()
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFv/
DGenFvInternalLib.c3649 UINT32 FileLength; in FindApResetVectorPosition() local
3665 FileLength = GetFfsFileLength(PadFile); in FindApResetVectorPosition()
3666FileLength = (FileLength + EFI_FFS_FILE_HEADER_ALIGNMENT - 1) & ~(EFI_FFS_FILE_HEADER_ALIGNMENT - … in FindApResetVectorPosition()
3675 while (((UINTN) FixPoint + SIZEOF_STARTUP_DATA_ARRAY - (UINTN) PadFile) <= FileLength) { in FindApResetVectorPosition()