Lines Matching refs:FILE
5 * you may not use this file except in compliance with the License.
116 * Create a new Asset from a file on disk. There is a fair chance that
117 * the file doesn't actually exist.
134 * be correct we should test the file type explicitly, but since we
172 * Create a new Asset from a compressed file on disk. There is a fair chance
173 * that the file doesn't actually exist.
200 /* want buffered I/O for the file scan; must dup so fclose() is safe */
201 FILE* fp = fdopen(dup(fd), "rb");
213 ALOGD("File '%s' is not in gzip format\n", fileName);
233 * Create a new Asset from part of an open file.
251 * Create a new Asset from compressed data in an open file.
369 * Operate on a chunk of an uncompressed file.
381 * Seek to end to get file length.
386 // probably a bad file descriptor
406 /* seek the FILE* to the start of chunk */
445 * On first access, read or map the entire file. The caller has
473 /* read from the file */
474 //printf("file read\n");
485 * file, so if we don't read the full amount we know something is
554 * the source file. Ideally a map would be established at a higher
693 * Open a chunk of compressed data inside a file.
696 * read, we expand the entire file into a buffer and return data from it.
854 * Allocate a buffer and read the file into it.