Lines Matching refs:offset
74 * Read data from the current offset. Returns the actual number of
80 * Seek to the specified offset. "whence" uses the same values as
84 virtual off_t seek(off_t offset, int whence) = 0;
132 off_t handleSeek(off_t offset, int whence, off_t curPosn, off_t maxPosn);
161 * if "offset" and "length" don't fit within the bounds of the file.
165 static Asset* createFromFileSegment(int fd, off_t offset, size_t length,
178 static Asset* createFromCompressedData(int fd, off_t offset,
233 status_t openChunk(const char* fileName, int fd, off_t offset, size_t length);
246 virtual off_t seek(off_t offset, int whence);
255 off_t mStart; // absolute file offset of start of chunk
257 off_t mOffset; // current local offset, 0 == mStart
288 status_t openChunk(int fd, off_t offset, int compressionMethod,
303 virtual off_t seek(off_t offset, int whence);
312 off_t mStart; // offset to start of compressed data
315 off_t mOffset; // current offset, 0 == start of uncomp data