HomeSort by relevance Sort by last modified time
    Searched refs:FileSize (Results 1 - 25 of 188) sorted by null

1 2 3 4 5 6 7 8

  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Strip/
strip.c 97 int FileSize;
120 FileSize = ftell (InFile);
122 if (FileSize < 0x200) {
123 printf ("%d is not a legal size, exit\n", FileSize);
129 Buffer = malloc (FileSize);
135 fread (Buffer, 1, FileSize, InFile);
139 Index = FileSize - 0x200;
  /external/swiftshader/third_party/LLVM/include/llvm/Support/
MemoryBuffer.h 63 /// MemoryBuffer if successful, otherwise returning null. If FileSize is
67 int64_t FileSize = -1,
71 int64_t FileSize = -1,
78 uint64_t FileSize = -1,
118 int64_t FileSize = -1);
121 int64_t FileSize = -1);
  /external/swiftshader/third_party/LLVM/lib/Support/
MemoryBuffer.cpp 160 int64_t FileSize) {
163 return getFile(Filename, result, FileSize);
168 int64_t FileSize) {
171 return getFile(Filename, result, FileSize);
207 int64_t FileSize,
211 return MemoryBuffer::getFile(PathBuf.c_str(), result, FileSize,
217 int64_t FileSize,
227 error_code ret = getOpenFile(FD, Filename, result, FileSize, FileSize,
234 size_t FileSize,
    [all...]
  /external/llvm/lib/Support/
MemoryBuffer.cpp 105 getFileAux(const Twine &Filename, int64_t FileSize, uint64_t MapSize,
169 MemoryBuffer::getFileOrSTDIN(const Twine &Filename, int64_t FileSize,
176 return getFile(Filename, FileSize, RequiresNullTerminator);
256 MemoryBuffer::getFile(const Twine &Filename, int64_t FileSize,
258 return getFileAux(Filename, FileSize, FileSize, 0,
263 getOpenFileImpl(int FD, const Twine &Filename, uint64_t FileSize,
268 getFileAux(const Twine &Filename, int64_t FileSize, uint64_t MapSize,
276 getOpenFileImpl(FD, Filename, FileSize, MapSize, Offset,
283 size_t FileSize,
    [all...]
  /external/swiftshader/third_party/llvm-subzero/lib/Support/
MemoryBuffer.cpp 105 getFileAux(const Twine &Filename, int64_t FileSize, uint64_t MapSize,
169 MemoryBuffer::getFileOrSTDIN(const Twine &Filename, int64_t FileSize,
176 return getFile(Filename, FileSize, RequiresNullTerminator);
256 MemoryBuffer::getFile(const Twine &Filename, int64_t FileSize,
258 return getFileAux(Filename, FileSize, FileSize, 0,
263 getOpenFileImpl(int FD, const Twine &Filename, uint64_t FileSize,
268 getFileAux(const Twine &Filename, int64_t FileSize, uint64_t MapSize,
276 getOpenFileImpl(FD, Filename, FileSize, MapSize, Offset,
283 size_t FileSize,
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
MemoryBuffer.cpp 109 getFileAux(const Twine &Filename, int64_t FileSize, uint64_t MapSize,
144 MemoryBuffer::getFileOrSTDIN(const Twine &Filename, int64_t FileSize,
151 return getFile(Filename, FileSize, RequiresNullTerminator);
230 MemoryBuffer::getFile(const Twine &Filename, int64_t FileSize,
232 return getFileAux<MemoryBuffer>(Filename, FileSize, FileSize, 0,
238 getOpenFileImpl(int FD, const Twine &Filename, uint64_t FileSize,
244 getFileAux(const Twine &Filename, int64_t FileSize, uint64_t MapSize,
252 auto Ret = getOpenFileImpl<MB>(FD, Filename, FileSize, MapSize, Offset,
259 WritableMemoryBuffer::getFile(const Twine &Filename, int64_t FileSize,
    [all...]
  /device/google/cuttlefish_common/common/libs/utils/
files.h 26 off_t FileSize(const std::string& path);
files.cpp 37 return FileSize(path) > 0;
68 off_t FileSize(const std::string& path) {
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/FileInfo/
FileInfo.h 38 UINT64 FileSize;
  /device/linaro/bootloader/edk2/MdePkg/Include/Guid/
FileInfo.h 33 UINT64 FileSize;
  /device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
Security2.h 50 image in FileBuffer of length FileSize . The origin of the image will be DevicePath in
59 @param FileSize The size of the file.
91 IN UINTN FileSize,
  /device/linaro/bootloader/edk2/MdeModulePkg/Include/Library/
SecurityManagementLib.h 62 FileBuffer will be NULL and FileSize will be 0 if the handler being called
71 @param[in] FileSize The size of File buffer matches the input file device path.
92 IN UINTN FileSize
165 @param[in] FileSize The size of File buffer.
197 IN UINTN FileSize,
238 @param[in] FileSize The size of File buffer.
272 IN UINTN FileSize,
  /device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/
FwVolRead.c 324 UINTN FileSize;
371 &FileSize
395 FileSize = FFS_FILE2_SIZE (FfsHeader) - sizeof (EFI_FFS_FILE_HEADER2);
397 FileSize = FFS_FILE_SIZE (FfsHeader) - sizeof (EFI_FFS_FILE_HEADER);
417 *BufferSize = FileSize;
433 while (FileSize >= 4) {
437 FileSize -= 4;
447 FileBuffer = AllocateCopyPool (FileSize, SrcPtr);
452 *BufferSize = FileSize;
461 if (FileSize > *BufferSize) {
    [all...]
  /device/linaro/bootloader/edk2/BaseTools/Source/C/GenCrc32/
GenCrc32.c 132 UINT32 FileSize;
286 FileSize = ftell (InFile);
289 FileBuffer = (UINT8 *) malloc (FileSize);
296 fread (FileBuffer, 1, FileSize, InFile);
298 VerboseMsg ("the size of the input file is %u bytes", (unsigned) FileSize);
313 Status = CalculateCrc32 (FileBuffer, FileSize, &Crc32Value);
323 fwrite (FileBuffer, 1, FileSize, OutFile);
324 VerboseMsg ("the size of the encoded file is %u bytes", (unsigned) FileSize + sizeof (UINT32));
329 Status = CalculateCrc32 (FileBuffer + sizeof (UINT32), FileSize - sizeof (UINT32), &Crc32Value);
343 fwrite (FileBuffer + sizeof (UINT32), 1, FileSize - sizeof (UINT32), OutFile);
    [all...]
  /device/linaro/bootloader/edk2/BaseTools/Source/C/GenFfs/
GenFfs.c 279 UINT32 FileSize;
318 FileSize = ftell (InFile);
321 "the input section name is %s and the size is %u bytes", InputFileName[Index], (unsigned) FileSize);
327 if (FileSize >= MAX_FFS_SIZE) {
343 if (FileSize >= MAX_SECTION_SIZE) {
426 if ((FileSize > 0) && (FileBuffer != NULL) && ((Size + FileSize) <= *BufferLength)) {
427 if (fread (FileBuffer + Size, (size_t) FileSize, 1, InFile) != 1) {
435 Size += FileSize;
484 UINT32 FileSize;
    [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/FwVol/
FwVolRead.c 279 UINTN FileSize;
305 &FileSize
354 *BufferSize = FileSize;
377 *Buffer = AllocatePool (FileSize);
381 } else if (FileSize > InputBufferSize) {
386 FileSize = InputBufferSize;
392 CopyMem (*Buffer, SrcPtr, FileSize);
443 UINTN FileSize;
460 &FileSize,
491 FileSize,
    [all...]
  /device/linaro/bootloader/edk2/ArmPlatformPkg/FileSystem/BootMonFs/
BootMonFsReadWrite.c 76 if (File->Position >= File->Info->FileSize) {
80 if (File->Position > File->Info->FileSize) {
88 RemainingFileSize = File->Info->FileSize - File->Position;
175 if (File->Position > File->Info->FileSize) {
176 File->Info->FileSize = File->Position;
216 Position = File->Info->FileSize;
  /device/linaro/bootloader/edk2/SecurityPkg/Library/DxeImageAuthenticationStatusLib/
DxeImageAuthenticationStatusLib.c 27 @param[in] FileSize Size of File buffer matches the input file device path.
43 IN UINTN FileSize,
  /external/tensorflow/tensorflow/core/lib/io/
table_builder.h 80 uint64 FileSize() const;
  /device/linaro/bootloader/edk2/OvmfPkg/Library/NvVarsFileLib/
FsAccess.c 120 *Size = (UINTN) FileInfo->FileSize;
163 if (FileInfo->FileSize == 0) {
171 FileInfo->FileSize = 0;
233 UINTN FileSize;
244 NvVarsFileReadCheckup (File, &FileExists, &FileSize);
245 if (FileSize == 0) {
250 FileContents = FileHandleReadToNewBuffer (File, FileSize);
259 (UINT64)FileSize
265 FileSize
  /device/linaro/bootloader/edk2/MdeModulePkg/Application/CapsuleApp/
CapsuleApp.c 188 UINTN FileSize;
219 FileSize = 0;
223 Status = ReadFileToBuffer(BmpName, &FileSize, &BmpBuffer);
229 FullCapsuleBufferSize = sizeof(EFI_DISPLAY_CAPSULE) + FileSize;
251 CopyMem((DisplayCapsule + 1), BmpBuffer, FileSize);
344 UINTN FileSize;
365 FileSize = 0;
369 Status = ReadFileToBuffer(CapsuleName, &FileSize, &CapsuleBuffer);
386 FullCapsuleBufferSize = NESTED_CAPSULE_HEADER_SIZE + FileSize;
401 CopyMem((UINT8 *)NestedCapsuleHeader + NestedCapsuleHeader->HeaderSize, CapsuleBuffer, FileSize);
    [all...]
  /build/soong/symbol_inject/
elf_symboldata_test.go 33 elf.SectionHeader{Name: "", Type: elf.SHT_NULL, Flags: 0x0, Addr: 0x0, Offset: 0x0, Size: 0x0, Link: 0x0, Info: 0x0, Addralign: 0x0, Entsize: 0x0, FileSize: 0x0},
34 elf.SectionHeader{Name: ".interp", Type: elf.SHT_PROGBITS, Flags: elf.SHF_ALLOC, Addr: 0x400238, Offset: 0x238, Size: 0x1c, Link: 0x0, Info: 0x0, Addralign: 0x1, Entsize: 0x0, FileSize: 0x1c},
35 elf.SectionHeader{Name: ".note.ABI-tag", Type: elf.SHT_NOTE, Flags: elf.SHF_ALLOC, Addr: 0x400254, Offset: 0x254, Size: 0x20, Link: 0x0, Info: 0x0, Addralign: 0x4, Entsize: 0x0, FileSize: 0x20},
36 elf.SectionHeader{Name: ".hash", Type: elf.SHT_HASH, Flags: elf.SHF_ALLOC, Addr: 0x400278, Offset: 0x278, Size: 0x24, Link: 0x4, Info: 0x0, Addralign: 0x8, Entsize: 0x4, FileSize: 0x24},
37 elf.SectionHeader{Name: ".dynsym", Type: elf.SHT_DYNSYM, Flags: elf.SHF_ALLOC, Addr: 0x4002a0, Offset: 0x2a0, Size: 0x60, Link: 0x5, Info: 0x1, Addralign: 0x8, Entsize: 0x18, FileSize: 0x60},
38 elf.SectionHeader{Name: ".dynstr", Type: elf.SHT_STRTAB, Flags: elf.SHF_ALLOC, Addr: 0x400300, Offset: 0x300, Size: 0x3e, Link: 0x0, Info: 0x0, Addralign: 0x1, Entsize: 0x0, FileSize: 0x3e},
39 elf.SectionHeader{Name: ".gnu.version", Type: elf.SHT_GNU_VERSYM, Flags: elf.SHF_ALLOC, Addr: 0x40033e, Offset: 0x33e, Size: 0x8, Link: 0x4, Info: 0x0, Addralign: 0x2, Entsize: 0x2, FileSize: 0x8},
40 elf.SectionHeader{Name: ".gnu.version_r", Type: elf.SHT_GNU_VERNEED, Flags: elf.SHF_ALLOC, Addr: 0x400348, Offset: 0x348, Size: 0x20, Link: 0x5, Info: 0x1, Addralign: 0x8, Entsize: 0x0, FileSize: 0x20},
41 elf.SectionHeader{Name: ".rela.dyn", Type: elf.SHT_RELA, Flags: elf.SHF_ALLOC, Addr: 0x400368, Offset: 0x368, Size: 0x30, Link: 0x4, Info: 0x0, Addralign: 0x8, Entsize: 0x18, FileSize: 0x30},
42 elf.SectionHeader{Name: ".rela.plt", Type: elf.SHT_RELA, Flags: elf.SHF_ALLOC + elf.SHF_INFO_LINK, Addr: 0x400398, Offset: 0x398, Size: 0x18, Link: 0x4, Info: 0x16, Addralign: 0x8, Entsize: 0x18, FileSize: 0x18}
    [all...]
  /device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellTftpCommandLib/
Tftp.c 141 @param[out] FileSize Address where to store the file size in number of
155 OUT UINTN *FileSize
165 @param[in] FileSize Size of the file in number of bytes
183 IN UINTN FileSize,
286 UINTN FileSize;
296 FileSize = 0;
502 Status = GetFileSize (Mtftp4, AsciiRemoteFilePath, &FileSize);
511 Status = DownloadFile (Mtftp4, RemoteFilePath, AsciiRemoteFilePath, FileSize, BlockSize, &Data);
540 Status = ShellWriteFile (FileHandle, &FileSize, Data);
554 gBS->FreePages ((EFI_PHYSICAL_ADDRESS)(UINTN)Data, EFI_SIZE_TO_PAGES (FileSize));
    [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeSecurityManagementLib/
DxeSecurityManagementLib.c 224 UINTN FileSize;
242 FileSize = 0;
259 FileBuffer = GetFileBufferByFilePath (FALSE, FilePath, &FileSize, &AuthenticationStatus);
264 FileBuffer = GetFileBufferByFilePath (TRUE, FilePath, &FileSize, &AuthenticationStatus);
278 FileSize
449 @param[in] FileSize The size of File buffer.
482 IN UINTN FileSize,
522 FileSize,
  /external/llvm/include/llvm/Support/
MemoryBuffer.h 64 /// if successful, otherwise returning null. If FileSize is specified, this
72 getFile(const Twine &Filename, int64_t FileSize = -1,
89 getOpenFile(int FD, const Twine &Filename, uint64_t FileSize,
124 getFileOrSTDIN(const Twine &Filename, int64_t FileSize = -1,

Completed in 850 milliseconds

1 2 3 4 5 6 7 8