Home
last modified time | relevance | path

Searched refs:mWriteIndex (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/util/proto/
DEncodedBuffer.java60 private int mWriteIndex; field in EncodedBuffer
122 mReadableSize = ((mWriteBufIndex) * mChunkSize) + mWriteIndex; in startEditing()
123 mReadLimit = mWriteIndex; in startEditing()
126 mWriteIndex = 0; in startEditing()
155 return ((mBufferCount - 1) * mChunkSize) + mWriteIndex; in getSize()
265 mWriteIndex = 0; in nextWriteBuffer()
272 if (mWriteIndex >= mChunkSize) { in writeRawByte()
275 mWriteBuffer[mWriteIndex++] = val; in writeRawByte()
408 int amt = length < (mChunkSize - mWriteIndex) ? length : (mChunkSize - mWriteIndex); in writeRawBuffer()
410 System.arraycopy(val, offset, mWriteBuffer, mWriteIndex, amt); in writeRawBuffer()
[all …]
/frameworks/av/media/libeffects/dynamicsproc/dsp/
DSHCircularBuffer.h27 SHCircularBuffer() : mReadIndex(0), mWriteIndex(0), mReadAvailable(0) { in SHCircularBuffer()
36 mWriteIndex = 0; in resize()
41 mBuffer[mWriteIndex++] = value; in write()
42 if (mWriteIndex >= getSize()) { in write()
43 mWriteIndex = 0; in write()
76 size_t mWriteIndex; variable
/frameworks/rs/
DrsFileA3D.cpp45 for (size_t i = 0; i < mWriteIndex.size(); i ++) { in ~FileA3D()
46 delete mWriteIndex[i]; in ~FileA3D()
319 uint32_t writeIndexSize = mWriteIndex.size(); in writeFile()
322 headerStream.addString(mWriteIndex[i]->mObjectName); in writeFile()
323 headerStream.addU32((uint32_t)mWriteIndex[i]->mType); in writeFile()
325 headerStream.addOffset(mWriteIndex[i]->mOffset); in writeFile()
326 headerStream.addOffset(mWriteIndex[i]->mLength); in writeFile()
328 uint32_t offset = (uint32_t)mWriteIndex[i]->mOffset; in writeFile()
330 offset = (uint32_t)mWriteIndex[i]->mLength; in writeFile()
374 mWriteIndex.push_back(indexEntry); in appendToFile()
DrsFileA3D.h91 std::vector<A3DIndexEntry*> mWriteIndex; variable
/frameworks/av/media/libaaudio/tests/
Dtest_atomic_fifo.cpp114 &mWriteIndex, in TestFifoBuffer()
334 fifo_counter_t mWriteIndex = 0; member in TestFifoBuffer
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt77382 Landroid/util/proto/EncodedBuffer;->mWriteIndex:I