Lines Matching defs:File
207 FILE *File;
210 File = fopen (FilePath, "rb");
211 if (!File)
217 Actual = fread (&Header1, 1, sizeof (ACPI_TABLE_HEADER), File);
218 fclose (File);
222 printf ("File %s does not contain a valid ACPI table header\n", FilePath);
250 FILE *File;
253 File = fopen (FilePath, "rb");
254 if (!File)
260 Actual = fread (&Header1, 1, sizeof (ACPI_TABLE_HEADER), File);
263 printf ("File %s does not contain a valid ACPI table header\n", FilePath);
288 fseek (File, 0, SEEK_SET);
289 Actual = fread (Table, 1, Header1.Length, File);
311 fclose (File);
312 File = fopen (FilePath, "r+b");
313 if (!File)
323 Actual = fwrite (&Header1, 1, sizeof (ACPI_TABLE_HEADER), File);
336 if (File)
338 fclose (File);
388 printf ("File %s does not contain an ACPI table header\n", File1Path);
395 printf ("File %s does not contain an ACPI table header\n", File2Path);
512 FILE *File;
520 File = fopen (Filename, "rb");
521 if (!File)
529 Size = CmGetFileSize (File);
547 Actual = fread (DataBuffer, 1, Size, File);
559 fclose (File);