Lines Matching refs:file
37 the cache. It will load the data into a file before loading it in order to
56 FILE* file = fopen(temporaryFilePathStr, "rb");
58 if (file == NULL) {
59 HDERROR("unable to open the screenshot file for read at [%s]", temporaryFilePathStr);
64 BFileIO fileIo(file, true); // takes ownership
69 // even if the temporary file cannot be deleted, still return that it was OK.
72 HDERROR("unable to delete the temporary file [%s]", temporaryFilePathStr);
189 FILE* file = fopen(pathStr, "wb");
191 if (file == NULL) {
192 HDERROR("unable to open the screenshot file for writing at [%s]", pathStr);
196 BFileIO outputDataStream(file, true); // takes ownership
225 FILE* file = fopen(pathStr, "rb");
227 if (file == NULL) {
228 HDERROR("unable to open the screenshot file for read at [%s]", pathStr);
233 *data = new BFileIO(file, true); // takes ownership