Lines Matching refs:off64_t
112 off64_t size = (cur->getLength()+512)/1024; in getAssetAllocations()
153 off64_t length; in createFromFd()
205 off64_t fileLen; in createFromCompressedFile()
258 /*static*/ Asset* Asset::createFromFileSegment(int fd, off64_t offset,
278 /*static*/ Asset* Asset::createFromCompressedData(int fd, off64_t offset,
343 off64_t Asset::handleSeek(off64_t offset, int whence, off64_t curPosn, off64_t maxPosn) in handleSeek()
345 off64_t newOffset; in handleSeek()
361 return (off64_t) -1; in handleSeek()
367 return (off64_t) -1; in handleSeek()
408 status_t _FileAsset::openChunk(const char* fileName, int fd, off64_t offset, size_t length) in openChunk()
418 off64_t fileLength; in openChunk()
420 if (fileLength == (off64_t) -1) { in openChunk()
426 if ((off64_t) (offset + length) > fileLength) { in openChunk()
543 off64_t _FileAsset::seek(off64_t offset, int whence) in seek()
545 off64_t newPosn; in seek()
546 off64_t actualOffset; in seek()
550 if (newPosn == (off64_t) -1) in seek()
557 return (off64_t) -1; in seek()
667 int _FileAsset::openFileDescriptor(off64_t* outStart, off64_t* outLength) const in openFileDescriptor()
766 status_t _CompressedAsset::openChunk(int fd, off64_t offset, in openChunk()
864 off64_t _CompressedAsset::seek(off64_t offset, int whence) in seek()
866 off64_t newPosn; in seek()
870 if (newPosn == (off64_t) -1) in seek()