Home | History | Annotate | Download | only in androidfw

Lines Matching refs:off64_t

74      * lseek/fseek.  Returns the new position on success, or (off64_t) -1
77 virtual off64_t seek(off64_t offset, int whence) = 0;
92 virtual off64_t getLength(void) const = 0;
97 virtual off64_t getRemainingLength(void) const = 0;
104 virtual int openFileDescriptor(off64_t* outStart, off64_t* outLength) const = 0;
125 off64_t handleSeek(off64_t offset, int whence, off64_t curPosn, off64_t maxPosn);
158 static Asset* createFromFileSegment(int fd, off64_t offset, size_t length,
171 static Asset* createFromCompressedData(int fd, off64_t offset,
226 status_t openChunk(const char* fileName, int fd, off64_t offset, size_t length);
239 virtual off64_t seek(off64_t offset, int whence);
242 virtual off64_t getLength(void) const { return mLength; }
243 virtual off64_t getRemainingLength(void) const { return mLength-mOffset; }
244 virtual int openFileDescriptor(off64_t* outStart, off64_t* outLength) const;
248 off64_t mStart; // absolute file offset of start of chunk
249 off64_t mLength; // length of the chunk
250 off64_t mOffset; // current local offset, 0 == mStart
281 status_t openChunk(int fd, off64_t offset, int compressionMethod,
296 virtual off64_t seek(off64_t offset, int whence);
299 virtual off64_t getLength(void) const { return mUncompressedLen; }
300 virtual off64_t getRemainingLength(void) const { return mUncompressedLen-mOffset; }
301 virtual int openFileDescriptor(off64_t* outStart, off64_t* outLength) const { return -1; }
305 off64_t mStart; // offset to start of compressed data
306 off64_t mCompressedLen; // length of the compressed data
307 off64_t mUncompressedLen; // length of the uncompressed data
308 off64_t mOffset; // current offset, 0 == start of uncomp data