Lines Matching refs:mOffset
417 : mStart(0), mLength(0), mOffset(0), mFp(NULL), mFileName(NULL), mFd(-1), mMap(NULL), mBuf(NULL) in _FileAsset()
472 assert(mOffset == 0); in openChunk()
497 assert(mOffset == 0); in openChunk()
510 assert(mOffset >= 0 && mOffset <= mLength); in read()
524 maxLen = mLength - mOffset; in read()
534 memcpy(buf, (char*)mMap->getDataPtr() + mOffset, count); in read()
539 memcpy(buf, (char*)mBuf + mOffset, count); in read()
544 if (ftell(mFp) != mStart + mOffset) { in read()
546 ftell(mFp), (long) mStart, (long) mOffset); in read()
564 mOffset += actual; in read()
577 newPosn = handleSeek(offset, whence, mOffset, mLength); in seek()
588 mOffset = actualOffset - mStart; in seek()
589 return mOffset; in seek()
759 : mStart(0), mCompressedLen(0), mUncompressedLen(0), mOffset(0), in _CompressedAsset()
802 assert(mOffset == 0); in openChunk()
828 assert(mOffset == 0); in openChunk()
846 assert(mOffset >= 0 && mOffset <= mUncompressedLen); in read()
859 maxLen = mUncompressedLen - mOffset; in read()
868 memcpy(buf, (char*)mBuf + mOffset, count); in read()
872 mOffset += actual; in read()
888 newPosn = handleSeek(offset, whence, mOffset, mUncompressedLen); in seek()
895 mOffset = newPosn; in seek()
896 return mOffset; in seek()