Searched refs:mRemaining (Results 1 – 6 of 6) sorted by relevance
202 private long mRemaining; field in AssetFileDescriptor.AutoCloseInputStream207 mRemaining = (int)fd.getLength(); in AutoCloseInputStream()212 return mRemaining >= 0 in available()213 ? (mRemaining < 0x7fffffff ? (int)mRemaining : 0x7fffffff) in available()226 if (mRemaining >= 0) { in read()227 if (mRemaining == 0) return -1; in read()228 if (count > mRemaining) count = (int)mRemaining; in read()230 if (res >= 0) mRemaining -= res; in read()244 if (mRemaining >= 0) { in skip()245 if (mRemaining == 0) return -1; in skip()[all …]
28 mAllocated(NULL), mSize(0), mOffset(0), mRemaining(0), mGetCount(0), mFramesReleased(0) in SourceAudioBufferProvider()52 if (mRemaining > 0) { in getNextBuffer()53 ALOG_ASSERT(mOffset + mRemaining <= mSize); in getNextBuffer()54 if (mRemaining < buffer->frameCount) { in getNextBuffer()55 buffer->frameCount = mRemaining; in getNextBuffer()72 mRemaining = actual; in getNextBuffer()89 (mGetCount <= mRemaining) && in releaseBuffer()90 (mOffset + mRemaining <= mSize)); in releaseBuffer()92 mRemaining -= buffer->frameCount; in releaseBuffer()
45 mRemaining(size) {} in MemoryStream()52 size_t mRemaining; variable
83 size = min(size, mRemaining); in doRead()86 mRemaining -= size; in doRead()
48 size_t mRemaining; // frame count within mAllocated of valid data variable
783 mRemaining = 0; in BufferHelper()788 mData = getPointer(mEnv, mBuffer, &mRemaining); in checkPointer()804 return mRemaining; in remaining()811 jint mRemaining; member in android::BufferHelper