Home
last modified time | relevance | path

Searched refs:FileSize (Results 1 – 13 of 13) sorted by relevance

/acpica-latest/source/tools/acpidump/
Dapfiles.c354 UINT32 FileSize; in ApGetTableFromFile() local
369 FileSize = CmGetFileSize (File); in ApGetTableFromFile()
370 if (FileSize == ACPI_UINT32_MAX) in ApGetTableFromFile()
379 Buffer = ACPI_ALLOCATE_ZEROED (FileSize); in ApGetTableFromFile()
383 "Could not allocate file buffer of size: %u\n", FileSize); in ApGetTableFromFile()
389 Actual = fread (Buffer, 1, FileSize, File); in ApGetTableFromFile()
390 if (Actual != FileSize) in ApGetTableFromFile()
398 *OutFileSize = FileSize; in ApGetTableFromFile()
Dapdump.c565 UINT32 FileSize = 0; in ApDumpTableFromFile() local
571 Table = ApGetTableFromFile (Pathname, &FileSize); in ApDumpTableFromFile()
586 if (Table->Length > FileSize) in ApDumpTableFromFile()
590 Table->Length, FileSize, Pathname); in ApDumpTableFromFile()
598 Pathname, Table->Signature, FileSize, FileSize); in ApDumpTableFromFile()
Dapmain.c474 UINT32 FileSize; in main() local
541 FileSize = CmGetFileSize (Gbl_OutputFile); in main()
543 Gbl_OutputFilename, FileSize, FileSize); in main()
Dacpidump.h252 UINT32 *FileSize);
/acpica-latest/source/common/
Dacfileio.c231 UINT32 FileSize; in AcGetAllTablesFromFile() local
249 FileSize = CmGetFileSize (File); in AcGetAllTablesFromFile()
250 if (FileSize == ACPI_UINT32_MAX) in AcGetAllTablesFromFile()
258 Filename, FileSize, FileSize); in AcGetAllTablesFromFile()
262 if (FileSize < sizeof (ACPI_TABLE_HEADER)) in AcGetAllTablesFromFile()
583 UINT32 FileSize; in AcValidateTableHeader() local
643 FileSize = CmGetFileSize (File); in AcValidateTableHeader()
648 if (TableHeader.Length > (UINT32) (FileSize - TableOffset)) in AcValidateTableHeader()
653 (UINT32) (FileSize - TableOffset)); in AcValidateTableHeader()
657 else if (CdatTableHeader->Length > (UINT32) (FileSize - TableOffset)) in AcValidateTableHeader()
[all …]
Dcmfsize.c177 long FileSize; in CmGetFileSize() local
196 FileSize = ftell (File); in CmGetFileSize()
197 if (FileSize < 0) in CmGetFileSize()
210 return ((UINT32) FileSize); in CmGetFileSize()
/acpica-latest/source/tools/acpibin/
Dabcompare.c176 UINT32 *FileSize);
618 UINT32 *FileSize) in AbGetFile() argument
664 *FileSize = Size; in AbGetFile()
687 UINT32 FileSize = 0; in AbDumpAmlFile() local
693 FileBuffer = AbGetFile (File1Path, &FileSize); in AbDumpAmlFile()
700 File1Path, FileSize, FileSize); in AbDumpAmlFile()
722 AcpiUtDumpBuffer ((UINT8 *) FileBuffer, FileSize, DB_BYTE_DISPLAY, 0); in AbDumpAmlFile()
726 FileSize = CmGetFileSize (FileOutHandle); in AbDumpAmlFile()
728 File2Path, FileSize, FileSize); in AbDumpAmlFile()
/acpica-latest/source/tools/acpisrc/
Dasfile.c173 UINT32 FileSize);
667 UINT32 FileSize) in AsCheckForNonPrintableChars() argument
676 for (i = 0; i < FileSize; i++) in AsCheckForNonPrintableChars()
882 UINT32 *FileSize) in AsGetFile() argument
958 *FileSize = Size; in AsGetFile()
986 UINT32 FileSize; in AsPutFile() local
1010 FileSize = strlen (FileBuffer); in AsPutFile()
1011 Actual = fwrite (FileBuffer, 1, FileSize, File); in AsPutFile()
1012 if (Actual != FileSize) in AsPutFile()
Dacpisrc.h456 UINT32 *FileSize);
/acpica-latest/source/compiler/
Daslfileio.c241 UINT32 FileSize; in FlGetFileSize() local
244 FileSize = CmGetFileSize (AslGbl_Files[FileId].Handle); in FlGetFileSize()
245 if (FileSize == ACPI_UINT32_MAX) in FlGetFileSize()
250 return (FileSize); in FlGetFileSize()
Daslerror.c471 long FileSize; in AePrintErrorSourceLine() local
493 FileSize = ftell (SourceFile); in AePrintErrorSourceLine()
495 if ((long) Enode->LogicalByteOffset >= FileSize) in AePrintErrorSourceLine()
/acpica-latest/source/os_specific/efi/
Doseficlib.c929 Size = (ACPI_SIZE) (Info->FileSize); in fseek()
/acpica-latest/source/include/platform/
Dacefiex.h505 UINT64 FileSize; member