Home
last modified time | relevance | path

Searched refs:fsize (Results 1 – 3 of 3) sorted by relevance

/device/linaro/hikey/l-loader/
Dgen_loader.py103 fsize = os.path.getsize(fname)
108 blocks = (fsize + self.block_size - 1) / self.block_size
132 if fsize > 2048:
133 print 'loader size exceeds 2KB. file size: ', fsize
136 left_bytes = 2048 - fsize
138 left_bytes = fsize % self.block_size
154 …print 'p_file: ', self.p_file, 'last block is ', fsize % self.block_size, 'bytes', ' tell: ', sel…
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
DFirmwareVolumeBuffer.c587 UINTN fsize; in FvBufAddFile() local
619 fsize = FvBufGetFfsFileSize (fhdr); in FvBufAddFile()
620 if (fsize == 0 || (offset + fsize > fvSize)) { in FvBufAddFile()
624 offset = offset + fsize; in FvBufAddFile()
960 UINTN fsize; in FvBufFindNextFile() local
987 fsize = FvBufGetFfsFileSize (fhdr); in FvBufFindNextFile()
1014 *Key = *Key + fsize; in FvBufFindNextFile()
1023 *Key = *Key + fsize; in FvBufFindNextFile()
/device/linaro/bootloader/edk2/IntelFspPkg/Tools/
DPatchFv.py29 fsize = os.path.getsize(binfile)
32 offval = fsize - (0xFFFFFFFF - offval + 1)
84 fsize = os.path.getsize(binfile)
87 offval = fsize - (0xFFFFFFFF - offval + 1)