Home
last modified time | relevance | path

Searched refs:mFvLength (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
DFvLib.c26 UINT32 mFvLength = 0; variable
63 mFvLength = FvLength; in InitializeFvLib()
95 if (mFvHeader == NULL || mFvLength == 0) { in GetFvHeader()
106 *FvLength = mFvLength; in GetFvHeader()
141 if (mFvHeader == NULL || mFvLength == 0) { in GetNextFile()
177 if ((UINTN) CurrentFile + GetFfsFileLength(CurrentFile) > (UINTN) mFvHeader + mFvLength) { in GetNextFile()
190 ((UINTN) CurrentFile + GetFfsFileLength(CurrentFile) > (UINTN) mFvHeader + mFvLength) in GetNextFile()
202 if (((UINTN) *NextFile + GetFfsHeaderLength(*NextFile) >= (UINTN) mFvHeader + mFvLength) || in GetNextFile()
203 ((UINTN) *NextFile + GetFfsFileLength (*NextFile) > (UINTN) mFvHeader + mFvLength) in GetNextFile()
254 if (mFvHeader == NULL || mFvLength == 0) { in GetFileByName()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Common/
DFvLib.c33 UINT32 mFvLength = 0; variable
70 mFvLength = FvLength; in InitializeFvLib()
102 if (mFvHeader == NULL || mFvLength == 0) { in GetFvHeader()
147 if (mFvHeader == NULL || mFvLength == 0) { in GetNextFile()
183 if ((UINTN) CurrentFile + GetLength (CurrentFile->Size) > (UINTN) mFvHeader + mFvLength) { in GetNextFile()
196 ((UINTN) CurrentFile + GetLength (CurrentFile->Size) > (UINTN) mFvHeader + mFvLength) in GetNextFile()
208 if (((UINTN) *NextFile + sizeof (EFI_FFS_FILE_HEADER) >= (UINTN) mFvHeader + mFvLength) || in GetNextFile()
209 ((UINTN) *NextFile + GetLength ((*NextFile)->Size) > (UINTN) mFvHeader + mFvLength) in GetNextFile()
259 if (mFvHeader == NULL || mFvLength == 0) { in GetFileByName()
340 if (mFvHeader == NULL || mFvLength == 0) { in GetFileByType()
[all …]