Home | History | Annotate | Download | only in androidfw

Lines Matching full:read

18 // Class providing access to a read-only asset.  Asset objects are NOT
35 * Instances of this class provide read-only operations on a byte stream.
56 /* read chunks, and seek forward and backward */
59 /* read sequentially, with an occasional forward seek */
62 /* caller plans to ask for a read-only buffer with all data */
67 * Read data from the current offset. Returns the actual number of
68 * bytes read, 0 on EOF, or -1 on error.
70 virtual ssize_t read(void* buf, size_t count) = 0;
90 * Get the total amount of data that can be read.
95 * Get the total amount of data that can be read from the current position.
100 * Open a new file descriptor that can be used to read this asset.
238 virtual ssize_t read(void* buf, size_t count);
251 FILE* mFp; // for read/seek
255 * To support getBuffer() we either need to read the entire thing into
257 * just read them in.
262 unsigned char* mBuf; // for read
295 virtual ssize_t read(void* buf, size_t count);