Searched refs:mBufferPos (Results 1 – 6 of 6) sorted by relevance
/frameworks/libs/modules-utils/java/com/android/modules/utils/ |
D | FastDataInput.java | 47 protected int mBufferPos; field in FastDataInput 85 mBufferPos = 0; in release() 103 mBufferPos = 0; in setInput() 109 final int remain = mBufferLim - mBufferPos; in fill() 110 System.arraycopy(mBuffer, mBufferPos, mBuffer, 0, remain); in fill() 111 mBufferPos = 0; in fill() 142 if (mBufferLim - mBufferPos < len) fill(len); in readFully() 143 System.arraycopy(mBuffer, mBufferPos, b, off, len); in readFully() 144 mBufferPos += len; in readFully() 146 final int remain = mBufferLim - mBufferPos; in readFully() [all …]
|
D | FastDataOutput.java | 47 protected int mBufferPos; field in FastDataOutput 83 if (mBufferPos > 0) { in release() 88 mBufferPos = 0; in release() 105 mBufferPos = 0; in setOutput() 110 if (mBufferPos > 0) { in drain() 111 mOut.write(mBuffer, 0, mBufferPos); in drain() 112 mBufferPos = 0; in drain() 144 if (mBufferCap - mBufferPos < len) drain(); in write() 145 System.arraycopy(b, off, mBuffer, mBufferPos, len); in write() 146 mBufferPos += len; in write() [all …]
|
/frameworks/av/media/module/codecs/flac/dec/ |
D | FLACDecoder.cpp | 41 if (actual > mBufferDataSize - mBufferPos) { in readCallback() 42 actual = mBufferDataSize - mBufferPos; in readCallback() 44 memcpy(buffer, mBuffer + mBufferPos, actual); in readCallback() 45 mBufferPos += actual; in readCallback() 176 mBufferPos(0), in FLACDecoder() 264 mBufferPos = 0; in flush() 292 mBufferPos = 0; in parseMetadata() 331 mBufferPos = 0; in parseMetadata() 420 if (inBufferLen > SIZE_MAX - (mBufferDataSize - mBufferPos)) { in addDataToBuffer() 426 if (mBufferPos > 0) { in addDataToBuffer() [all …]
|
D | FLACDecoder.h | 75 size_t mBufferPos; // next byte to read in |mBuffer| variable
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ArtFastDataInput.java | 93 if (mBufferLim - mBufferPos < len) fill(len); in readUTF() 94 final String res = CharsetUtils.fromModifiedUtf8Bytes(mBufferPtr, mBufferPos, len); in readUTF() 95 mBufferPos += len; in readUTF()
|
D | ArtFastDataOutput.java | 87 if (mBufferCap - mBufferPos < 2 + s.length()) drain(); in writeUTF() 91 int len = CharsetUtils.toModifiedUtf8Bytes(s, mBufferPtr, mBufferPos + 2, mBufferCap); in writeUTF() 100 mBufferPos += len; in writeUTF()
|