Lines Matching defs:pFile
71 FILE *pFile;
497 EAS_RESULT EAS_HWOpenFile (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_LOCATOR locator, EAS_FILE_HANDLE *pFile, EAS_FILE_MODE mode)
503 *pFile = NULL;
514 if (file->pFile == NULL)
519 file->pFile = fopen((const char*) locator, "rb");
520 if (file->pFile == NULL)
540 *pFile = file;
561 if (fseek(file->pFile, file->filePos, SEEK_SET) != 0)
565 file->bytesInBuffer = (EAS_I32) fread(file->buffer, 1, EAS_FILE_BUFFER_SIZE, file->pFile);
590 if (file->pFile == NULL)
627 if (fseek(file->pFile, file->filePos, SEEK_SET) != 0)
631 pFile);
672 if (file->pFile == NULL)
770 if (file->pFile == NULL)
791 if (file->pFile == NULL)
836 if (file->pFile == NULL)
874 if (file->pFile == NULL)
877 if ((pos = ftell(file->pFile)) == -1L)
879 if (fseek(file->pFile, 0L, SEEK_END) != 0)
881 if ((*pLength = ftell(file->pFile)) == -1L)
883 if (fseek(file->pFile, pos, SEEK_SET) != 0)
903 if (file->pFile == NULL)
911 if (dupfile->pFile == NULL)
916 dupfile->pFile = file->pFile;
950 if (file1->pFile == NULL)
961 if ((file1 != file2) && (file2->pFile == file1->pFile))
967 file1->pFile = NULL;
985 file1->pFile = NULL;
990 if (fclose(file1->pFile) != 0)
994 file1->pFile = NULL;
1006 EAS_RESULT EAS_HWOpenFile (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_LOCATOR locator, EAS_FILE_HANDLE *pFile, EAS_FILE_MODE mode)
1013 *pFile = NULL;
1064 *pFile = file;