Searched defs:OutputFile (Results 1 - 7 of 7) sorted by relevance

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenCRC32Section/
H A DGenCRC32Section.c225 FILE *OutputFile; local
234 OutputFile = NULL;
278 OutputFile = fopen (OutputFileName, "wb");
279 if (OutputFile == NULL) {
298 fclose (OutputFile);
302 ContentSize = fwrite (FileBuffer, sizeof (UINT8), BufferSize, OutputFile);
311 fclose (OutputFile);
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
H A DCommonLib.c283 FILE *OutputFile; local
298 OutputFile = fopen (LongFilePath (OutputFileName), "wb");
299 if (OutputFile == NULL) {
307 BytesWrote = fwrite (OutputFileImage, sizeof (UINT8), BytesToWrite, OutputFile);
310 fclose (OutputFile);
316 fclose (OutputFile);
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenPage/
H A DGenPage.c302 CHAR8 *OutputFile = NULL; local
333 OutputFile = argv[1];
432 result = GenBinPage (BaseMemory, InputFile, OutputFile);
/device/linaro/bootloader/edk2/BaseTools/Source/C/GnuGenBootSector/
H A DGnuGenBootSector.c205 FILE *OutputFile; local
232 OutputFile = fopen (LongFilePath (OutputInfo->PhysicalPath), "r+");
233 if (OutputFile == NULL) {
234 OutputFile = fopen (LongFilePath (OutputInfo->PhysicalPath), "w");
235 if (OutputFile == NULL) {
245 if (0x200 != fread (FirstSectorBackup, 1, 0x200, OutputFile)) {
246 fclose(OutputFile);
252 if(0x200 != fwrite(FirstSector, 1, 0x200, OutputFile)) {
253 fclose(OutputFile);
257 fclose(OutputFile);
[all...]
/device/linaro/bootloader/edk2/BeagleBoardPkg/Tools/
H A Dgenerate_image.c317 FILE *OutputFile; local
333 OutputFile = fopen(gOutputImageFile, "wb");
334 if (OutputFile == NULL) {
340 fwrite(gConfigurationHeader, 1, sizeof(gConfigurationHeader), OutputFile);
343 fwrite(&InputImageFileSize, 1, 4, OutputFile);
344 fwrite(&gImageExecutionAddress, 1, 4, OutputFile);
349 fwrite(&Ch, 1, 1, OutputFile);
353 fclose(OutputFile);
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenFfsFile/
H A DGenFfsFile.c107 UINT8 *OutputFile
211 " -o OutputFile Specifies the file name of output file. Optional.",
1133 FILE *OutputFile; local
1145 OutputFile = NULL;
1300 OutputFile = fopen (OutputFileName, "rb");
1301 if (OutputFile == NULL) {
1310 fread (&Temp, sizeof (UINT8), 1, OutputFile);
1311 while (!feof (OutputFile)) {
1313 fread (&Temp, sizeof (UINT8), 1, OutputFile);
1323 fclose (OutputFile);
[all...]
/device/linaro/bootloader/edk2/BaseTools/Source/C/TianoCompress/
H A DTianoCompress.c1744 FILE *OutputFile; local
1768 OutputFile = NULL;
1929 OutputFile = fopen (LongFilePath (OutputFileName), "wb");
1930 if (OutputFile == NULL) {
1963 fwrite(OutBuffer,(size_t)DstSize, 1, OutputFile);
1964 fclose(OutputFile);
2002 fwrite(OutBuffer, (size_t)(Scratch->mOrigSize), 1, OutputFile);
2003 fclose(OutputFile);
2027 if (OutputFile != NULL) {
2028 fclose(OutputFile);
[all...]

Completed in 32 milliseconds