Lines Matching refs:mMap
400 : mStart(0), mLength(0), mOffset(0), mFp(NULL), mFileName(NULL), mMap(NULL), mBuf(NULL) in _FileAsset()
427 assert(mMap == NULL); in openChunk()
473 assert(mMap == NULL); in openChunk()
476 mMap = dataMap; in openChunk()
513 if (mMap != NULL) { in read()
516 memcpy(buf, (char*)mMap->getDataPtr() + mOffset, count); in read()
579 if (mMap != NULL) { in close()
580 delete mMap; in close()
581 mMap = NULL; in close()
614 if (mMap != NULL) { in getBuffer()
616 return mMap->getDataPtr(); in getBuffer()
618 return ensureAlignment(mMap); in getBuffer()
666 mMap = map; in getBuffer()
668 return mMap->getDataPtr(); in getBuffer()
670 return ensureAlignment(mMap); in getBuffer()
676 if (mMap != NULL) { in openFileDescriptor()
677 const char* fname = mMap->getFileName(); in openFileDescriptor()
684 *outStart = mMap->getDataOffset(); in openFileDescriptor()
685 *outLength = mMap->getDataLength(); in openFileDescriptor()
731 mMap(NULL), mFd(-1), mZipInflater(NULL), mBuf(NULL) in _CompressedAsset()
760 assert(mMap == NULL); in openChunk()
792 assert(mMap == NULL); in openChunk()
795 mMap = dataMap; in openChunk()
875 if (mMap != NULL) { in close()
876 delete mMap; in close()
877 mMap = NULL; in close()
914 if (mMap != NULL) { in getBuffer()
915 if (!ZipUtils::inflateToBuffer(mMap->getDataPtr(), buf, in getBuffer()