Lines Matching refs:mBuf
356 : mStart(0), mLength(0), mOffset(0), mFp(NULL), mFileName(NULL), mMap(NULL), mBuf(NULL) in _FileAsset()
450 if (mBuf == NULL) in read()
467 } else if (mBuf != NULL) { in read()
470 memcpy(buf, (char*)mBuf + mOffset, count); in read()
532 if (mBuf != NULL) { in close()
533 delete[] mBuf; in close()
534 mBuf = NULL; in close()
561 if (mBuf != NULL) in getBuffer()
562 return mBuf; in getBuffer()
602 mBuf = buf; in getBuffer()
603 return mBuf; in getBuffer()
665 mBuf = buf; in ensureAlignment()
680 mMap(NULL), mFd(-1), mZipInflater(NULL), mBuf(NULL) in _CompressedAsset()
717 assert(mBuf == NULL); in openChunk()
771 if (mBuf == NULL) { in read()
775 assert(mBuf != NULL); in read()
787 memcpy(buf, (char*)mBuf + mOffset, count); in read()
828 delete[] mBuf; in close()
829 mBuf = NULL; in close()
850 if (mBuf != NULL) in getBuffer()
851 return mBuf; in getBuffer()
890 mBuf = buf; in getBuffer()
895 return mBuf; in getBuffer()