Searched refs:mBufferPos (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/com/android/internal/util/ |
D | FastDataInput.java | 51 private int mBufferPos; field in FastDataInput 73 final int remain = mBufferLim - mBufferPos; in fill() 74 System.arraycopy(mBuffer, mBufferPos, mBuffer, 0, remain); in fill() 75 mBufferPos = 0; in fill() 105 if (mBufferLim - mBufferPos < len) fill(len); in readFully() 106 System.arraycopy(mBuffer, mBufferPos, b, off, len); in readFully() 107 mBufferPos += len; in readFully() 109 final int remain = mBufferLim - mBufferPos; in readFully() 110 System.arraycopy(mBuffer, mBufferPos, b, off, remain); in readFully() 111 mBufferPos += remain; in readFully() [all …]
|
D | FastDataOutput.java | 51 private int mBufferPos; field in FastDataOutput 71 if (mBufferPos > 0) { in drain() 72 mOut.write(mBuffer, 0, mBufferPos); in drain() 73 mBufferPos = 0; in drain() 104 if (mBufferCap - mBufferPos < len) drain(); in write() 105 System.arraycopy(b, off, mBuffer, mBufferPos, len); in write() 106 mBufferPos += len; in write() 114 if (mBufferCap - mBufferPos < 2 + s.length()) drain(); in writeUTF() 118 int len = CharsetUtils.toModifiedUtf8Bytes(s, mBufferPtr, mBufferPos + 2, mBufferCap); in writeUTF() 127 mBufferPos += len; in writeUTF() [all …]
|
/frameworks/av/media/libstagefright/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
|