Home
last modified time | relevance | path

Searched refs:bytesAvailable (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libheif/
DHeifDecoderImpl.cpp270 int64_t bytesAvailable = mCachedOffset + mCachedSize - offset; in readAt() local
271 if (bytesAvailable <= 0) { in readAt()
274 if (bytesAvailable < (int64_t)size) { in readAt()
275 size = bytesAvailable; in readAt()
/frameworks/av/media/libaudioclient/tests/
Daudio_test_utils.cpp161 size_t bytesAvailable = mMemCapacity - mBytesUsedSoFar; in fillBuffer() local
162 while (bytesAvailable > 0) { in fillBuffer()
167 size_t bytesToCopy = std::min(bytesAvailable, trackBuffer.size()); in fillBuffer()
173 bytesAvailable = mMemCapacity - mBytesUsedSoFar; in fillBuffer()