Home
last modified time | relevance | path

Searched refs:fseek (Results 1 – 25 of 54) sorted by relevance

123

/device/linaro/bootloader/edk2/BeagleBoardPkg/Tools/
Dreplace.c66 fseek (In, 0, SEEK_END); in main()
72 fseek (In, 0, SEEK_SET); in main()
114 fseek (In, InFilePos, SEEK_SET); in main()
135 fseek (In, InFilePos, SEEK_SET); in main()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Strip/
Dstrip.c119 fseek (InFile, 0, SEEK_END); in main()
127 fseek (InFile, 0, SEEK_SET); in main()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenTEImage/
DGenTEImage.c281 fseek (InFptr, 0, SEEK_END); in ProcessFile()
283 fseek (InFptr, 0, SEEK_SET); in ProcessFile()
292 if (fseek (InFptr, 0x3C, SEEK_SET) != 0) { in ProcessFile()
302 if (fseek (InFptr, PESigOffset + 4, SEEK_SET) != 0) { in ProcessFile()
391 fseek (InFptr, SaveFilePosition, SEEK_SET); in ProcessFile()
480 fseek (InFptr, BytesStripped, SEEK_SET); in ProcessFile()
580 fseek (Fptr, 0, SEEK_SET); in CheckPE32File()
598 fseek (Fptr, (long) DosHeader.e_lfanew, SEEK_SET); in CheckPE32File()
634 fseek (Fptr, 0, SEEK_SET); in CheckPE32File()
/device/linaro/bootloader/edk2/BaseTools/Source/C/EfiLdrImage/
DEfiLdrImage.c129 fseek (in, 0, SEEK_END); in FCopyFile()
132 fseek (in, 0, SEEK_SET); in FCopyFile()
280 fseek (fpOut, EfiLdrHeader.FileLength, SEEK_SET); in main()
311 fseek (fpOut, 0, SEEK_SET); in main()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/SetStamp/
DSetStamp.c113 if (fseek (fp, 0, SEEK_SET) != 0) { in GetDateTime()
201 if (fseek (fp, offset, SEEK_SET) != 0) { in ReadFromFile()
241 if (fseek (fp, offset, SEEK_SET) != 0) { in WriteToFile()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/HiiPack/
DHiiPack.c378 fseek (InFptr, 0, SEEK_END); in MergeHiiExports()
380 fseek (InFptr, 0, SEEK_SET); in MergeHiiExports()
593 fseek (OutFptr, DataTableHeaderOffset, SEEK_SET); in MergeHiiExports()
599 fseek (OutFptr, 0, SEEK_END); in MergeHiiExports()
819 fseek (InFptr, 0, SEEK_END); in CreateHiiExport()
821 fseek (InFptr, 0, SEEK_SET); in CreateHiiExport()
958 fseek (OutFptr, DataTableHeaderOffset, SEEK_SET); in CreateHiiExport()
968 fseek (OutFptr, 0, SEEK_END); in CreateHiiExport()
1030 fseek (OutFptr, DataTableHeaderOffset, SEEK_SET); in CreateHiiExport()
1036 fseek (OutFptr, 0, SEEK_END); in CreateHiiExport()
[all …]
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
Drewind.c61 (void) fseek(fp, 0L, SEEK_SET); in rewind()
Dfseek.c65 fseek(FILE *fp, long l_offset, int whence) in fseek() function
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenPage/
DGenPage.c262 fseek (NoPageFile, 0, SEEK_END); in GenBinPage()
264 fseek (NoPageFile, 0, SEEK_SET); in GenBinPage()
282 fseek (PageFile, gPageTableOffsetInFile, SEEK_SET); in GenBinPage()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/EfiRom/
DEfiRom.c455 fseek (InFptr, 0, SEEK_END); in ProcessBinFile()
461 fseek (InFptr, 0, SEEK_SET); in ProcessBinFile()
653 fseek (InFptr, 0, SEEK_END); in ProcessEfiFile()
681 fseek (InFptr, 0, SEEK_SET); in ProcessEfiFile()
926 fseek (Fptr, 0, SEEK_SET); in CheckPE32File()
945 fseek (Fptr, (long) DosHeader.e_lfanew, SEEK_SET); in CheckPE32File()
1424 if (fseek (InFptr, ImageStart + PciRomHdr.PcirOffset, SEEK_SET)) { in DumpImage()
1518 if (fseek (InFptr, ImageStart + PciRomHdr.PcirOffset + PciDs.DeviceListOffset, SEEK_SET)) { in DumpImage()
1553 if (fseek (InFptr, ImageStart + (PciDs.ImageLength * 512), SEEK_SET)) { in DumpImage()
/device/linaro/bootloader/edk2/BaseTools/Source/C/EfiRom/
DEfiRom.c252 fseek (InFptr, 0, SEEK_END); in ProcessBinFile()
258 fseek (InFptr, 0, SEEK_SET); in ProcessBinFile()
478 fseek (InFptr, 0, SEEK_END); in ProcessEfiFile()
514 fseek (InFptr, 0, SEEK_SET); in ProcessEfiFile()
794 fseek (Fptr, 0, SEEK_SET); in CheckPE32File()
813 fseek (Fptr, (long) DosHeader.e_lfanew, SEEK_SET); in CheckPE32File()
1369 if (fseek (InFptr, ImageStart + PciRomHdr.PcirOffset, SEEK_SET)) { in DumpImage()
1463 if (fseek (InFptr, ImageStart, SEEK_SET)) { in DumpImage()
1527 if (fseek (InFptr, ImageStart + (PciDs23.ImageLength * 512), SEEK_SET)) { in DumpImage()
1532 if (fseek (InFptr, ImageStart + (PciDs30.ImageLength * 512), SEEK_SET)) { in DumpImage()
/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/C/
D7zFile.c205 res = fseek(p->file, (long)*pos, moveMethod); in File_Seek()
230 int res = fseek(p->file, 0, SEEK_END); in File_GetLength()
232 fseek(p->file, pos, SEEK_SET); in File_GetLength()
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenCrc32/
DGenCrc32.c285 fseek (InFile, 0, SEEK_END); in main()
287 fseek (InFile, 0, SEEK_SET); in main()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Common/
DCommonLib.c206 if (fseek (InputFile, 0, SEEK_END)) { in GetFileImage()
231 if (fseek (InputFile, 0, SEEK_SET)) { in GetFileImage()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dzipimport.c712 fseek(fp, -22, SEEK_END); in read_directory()
746 fseek(fp, header_offset, 0); /* Start of file header */ in read_directory()
750 fseek(fp, header_offset + 10, 0); in read_directory()
761 fseek(fp, header_offset + 42, 0); in read_directory()
860 fseek(fp, file_offset, 0); in get_data()
870 fseek(fp, file_offset + 26, 0); in get_data()
883 err = fseek(fp, file_offset, 0); in get_data()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Dzipimport.c713 if (fseek(fp, -22, SEEK_END) == -1) { in read_directory()
751 if (fseek(fp, header_offset, 0) == -1) /* Start of file header */ in read_directory()
756 if (fseek(fp, header_offset + 10, 0) == -1) in read_directory()
768 if (fseek(fp, header_offset + 42, 0) == -1) in read_directory()
873 if (fseek(fp, file_offset, 0) == -1) { in get_data()
888 if (fseek(fp, file_offset + 26, 0) == -1) { in get_data()
906 err = fseek(fp, file_offset, 0); in get_data()
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFfs/
DGenFfs.c317 fseek (InFile, 0, SEEK_END); in GetSectionContents()
319 fseek (InFile, 0, SEEK_SET); in GetSectionContents()
342 fseek (InFile, 0, SEEK_SET); in GetSectionContents()
363 fseek (InFile, 0, SEEK_SET); in GetSectionContents()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenSection/
DGenSection.c227 fseek (InFile, 0, SEEK_END); in GenSectionCommonLeafSection()
229 fseek (InFile, 0, SEEK_SET); in GenSectionCommonLeafSection()
339 fseek (InFile, 0, SEEK_END); in GetSectionContents()
341 fseek (InFile, 0, SEEK_SET); in GetSectionContents()
/device/linaro/hikey/hifi/xaf/host-apf/playback/
Dxa_playback.c129 fseek(file, chunk_header.sz - sizeof(chunk_fmt), SEEK_CUR);
137 fseek(file, chunk_header.sz, SEEK_CUR);
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/FwImage/
Dfwimage.c82 fseek (in, 0, SEEK_END); in FReadFile()
85 fseek (in, 0, SEEK_SET); in FReadFile()
98 fseek (out, 0, SEEK_SET); in FWriteFile()
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenSec/
DGenSec.c290 fseek (InFile, 0, SEEK_END); in GenSectionCommonLeafSection()
292 fseek (InFile, 0, SEEK_SET); in GenSectionCommonLeafSection()
475 fseek (InFile, 0, SEEK_END); in GetSectionContents()
477 fseek (InFile, 0, SEEK_SET); in GetSectionContents()
503 fseek (InFile, 0, SEEK_SET); in GetSectionContents()
517 fseek (InFile, 0, SEEK_SET); in GetSectionContents()
/device/google/cuttlefish/host/frontend/gcastv2/https/
DHTTPServer.cpp328 fseek(file.get(), 0, SEEK_END); in handleStaticFileRequest()
330 fseek(file.get(), 0, SEEK_SET); in handleStaticFileRequest()
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
DCommonLib.c205 if (fseek (InputFile, 0, SEEK_END)) { in GetFileImage()
230 if (fseek (InputFile, 0, SEEK_SET)) { in GetFileImage()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/UefiHiiPack/
DHiiPack.c522 fseek (InFptr, 0, SEEK_END); in LoadPackage()
524 fseek (InFptr, 0, SEEK_SET); in LoadPackage()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenDepex/
DGenDepex.c359 Results = (UINTN) fseek (InFile, 0, SEEK_END); in GenerateDependencyExpression()
392 Results = (UINTN) fseek (InFile, 0, SEEK_SET); in GenerateDependencyExpression()

123