Lines Matching defs:pFile
73 FILE *pFile;
802 EAS_RESULT EAS_HWOpenFile (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_LOCATOR locator, EAS_FILE_HANDLE *pFile, EAS_FILE_MODE mode)
808 *pFile = NULL;
819 if (file->pFile == NULL)
824 file->pFile = fopen((const char*) locator, "rb");
825 if (file->pFile == NULL)
845 *pFile = file;
866 if (fseek(file->pFile, file->filePos, SEEK_SET) != 0)
870 file->bytesInBuffer = (EAS_I32) fread(file->buffer, 1, EAS_FILE_BUFFER_SIZE, file->pFile);
895 if (file->pFile == NULL)
932 if (fseek(file->pFile, file->filePos, SEEK_SET) != 0)
936 temp = (EAS_I32) fread(p, 1, (size_t) bytesLeft, file->pFile);
977 if (file->pFile == NULL)
1075 if (file->pFile == NULL)
1096 if (file->pFile == NULL)
1141 if (file->pFile == NULL)
1179 if (file->pFile == NULL)
1182 if ((pos = ftell(file->pFile)) == -1L)
1184 if (fseek(file->pFile, 0L, SEEK_END) != 0)
1186 if ((*pLength = ftell(file->pFile)) == -1L)
1188 if (fseek(file->pFile, pos, SEEK_SET) != 0)
1208 if (file->pFile == NULL)
1216 if (dupfile->pFile == NULL)
1221 dupfile->pFile = file->pFile;
1255 if (file1->pFile == NULL)
1266 if ((file1 != file2) && (file2->pFile == file1->pFile))
1272 file1->pFile = NULL;
1290 file1->pFile = NULL;
1295 if (fclose(file1->pFile) != 0)
1299 file1->pFile = NULL;
1311 EAS_RESULT EAS_HWOpenFile (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_LOCATOR locator, EAS_FILE_HANDLE *pFile, EAS_FILE_MODE mode)
1318 *pFile = NULL;
1369 *pFile = file;