Lines Matching refs:FILE
6 * you may not use this file except in compliance with the License.
147 // We should know enough to read the file in at this point.
154 bool FileA3D::load(FILE *f) {
158 ALOGV("file open 1");
194 ALOGV("file open size = %lli", mDataSize);
196 // We should know enough to read the file in at this point.
299 FILE *writeHandle = fopen(filename, "wb");
301 ALOGE("Couldn't open the file for writing\n");
328 // Write our magic string so we know we are reading the right file
339 // Now write the size of the data part of the file for easier parsing later
348 ALOGE("Couldn't close file\n");
374 RsObjectBase rsaFileA3DGetEntryByIndex(RsContext con, uint32_t index, RsFile file) {
375 FileA3D *fa3d = static_cast<FileA3D *>(file);
377 ALOGE("Can't load entry. No valid file");
388 void rsaFileA3DGetNumIndexEntries(RsContext con, int32_t *numEntries, RsFile file) {
389 FileA3D *fa3d = static_cast<FileA3D *>(file);
398 void rsaFileA3DGetIndexEntries(RsContext con, RsFileIndexEntry *fileEntries, uint32_t numEntries, RsFile file) {
399 FileA3D *fa3d = static_cast<FileA3D *>(file);
402 ALOGE("Can't load index entries. No valid file");
421 ALOGE("File load failed. Asset stream is NULL");
449 ALOGE("File load failed. Path is NULL");
456 FILE *f = fopen(path, "rb");
463 ALOGE("Could not open file %s", path);