Searched refs:bytesAvailable (Results 1 – 2 of 2) sorted by relevance
270 int64_t bytesAvailable = mCachedOffset + mCachedSize - offset; in readAt() local271 if (bytesAvailable <= 0) { in readAt()274 if (bytesAvailable < (int64_t)size) { in readAt()275 size = bytesAvailable; in readAt()
161 size_t bytesAvailable = mMemCapacity - mBytesUsedSoFar; in fillBuffer() local162 while (bytesAvailable > 0) { in fillBuffer()167 size_t bytesToCopy = std::min(bytesAvailable, trackBuffer.size()); in fillBuffer()173 bytesAvailable = mMemCapacity - mBytesUsedSoFar; in fillBuffer()