Lines Matching defs:pFile
87 FILE *pFile;
231 EAS_RESULT EAS_HWOpenFile (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_LOCATOR locator, EAS_FILE_HANDLE *pFile, EAS_FILE_MODE mode)
237 *pFile = NULL;
248 if (file->pFile == NULL)
252 file->pFile = fopen((const char*) locator->path, "rb");
253 if (file->pFile == NULL)
266 *pFile = file;
287 if (fseek(file->pFile, file->filePos, SEEK_SET) != 0)
291 file->bytesInBuffer = (EAS_I32) fread(file->buffer, 1, EAS_FILE_BUFFER_SIZE, file->pFile);
316 if (file->pFile == NULL)
353 if (fseek(file->pFile, file->filePos, SEEK_SET) != 0)
358 temp = (EAS_I32) fread(p, 1, (size_t) bytesLeft, file->pFile);
399 if (file->pFile == NULL)
497 if (file->pFile == NULL)
518 if (file->pFile == NULL)
559 if (file->pFile == NULL)
592 if (file->pFile == NULL)
595 if ((pos = ftell(file->pFile)) == -1L)
597 if (fseek(file->pFile, 0L, SEEK_END) != 0)
599 if ((*pLength = ftell(file->pFile)) == -1L)
601 if (fseek(file->pFile, pos, SEEK_SET) != 0)
621 if (file->pFile == NULL)
629 if (dupfile->pFile == NULL)
634 dupfile->pFile = file->pFile;
667 if (file1->pFile == NULL)
678 if ((file1 != file2) && (file2->pFile == file1->pFile))
684 file1->pFile = NULL;
702 file1->pFile = NULL;
707 if (fclose(file1->pFile) != 0)
711 file1->pFile = NULL;