Home | History | Annotate | Download | only in androidfw

Lines Matching defs:read

18 // Provide access to a read-only asset.
135 * always open things read-only it doesn't really matter, so there's
434 * Read a chunk of data.
436 ssize_t _FileAsset::read(void* buf, size_t count)
445 * On first access, read or map the entire file. The caller has
464 //printf("map read\n");
469 //printf("buf read\n");
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
551 * Return a read-only pointer to a buffer.
553 * We can either read the whole thing in or map the relevant piece of
696 * read, we expand the entire file into a buffer and return data from it.
729 * Nothing is expanded until the first read call.
756 * Read data from a chunk of compressed data.
760 ssize_t _CompressedAsset::read(void* buf, size_t count)
769 actual = mZipInflater->read(buf, count);
786 //printf("comp buf read\n");
841 * Get a pointer to a read-only buffer of data.
854 * Allocate a buffer and read the file into it.