Home
last modified time | relevance | path

Searched refs:mByteBuffer (Results 1 – 3 of 3) sorted by relevance

/external/archive-patcher/generator/src/main/java/com/google/archivepatcher/generator/bsdiff/
DRandomAccessObject.java130 protected ByteBuffer mByteBuffer; field in RandomAccessObject.RandomAccessByteArrayObject
138 mByteBuffer = ByteBuffer.wrap(byteArray); in RandomAccessByteArrayObject()
147 mByteBuffer = ByteBuffer.allocate(length); in RandomAccessByteArrayObject()
156 return mByteBuffer.capacity(); in length()
161 return mByteBuffer.get(); in readByte()
169 return mByteBuffer.getInt(); in readInt()
173 mByteBuffer.put(b); in writeByte()
178 mByteBuffer.putInt(i); in writeInt()
194 mByteBuffer.position((int) pos); in seek()
214 return mByteBuffer.getChar(); in readChar()
[all …]
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DPipeByteBuffer.java37 private final ByteBuffer mByteBuffer; field in PipeByteBuffer
60 mByteBuffer = ByteBuffer.allocateDirect(numberOfShorts * Constant.BYTES_PER_SHORT); in PipeByteBuffer()
61 mByteBuffer.order(ByteOrder.LITTLE_ENDIAN); in PipeByteBuffer()
73 synchronized (mByteBuffer) { in read()
74 rear = mByteBuffer.getInt(mMaxValues * Constant.BYTES_PER_SHORT); in read()
121 buffer[i] = mByteBuffer.getShort(byteBufferFront); in byteBufferToArray()
147 synchronized (mByteBuffer) { in availableToRead()
148 rear = mByteBuffer.getInt(mMaxValues * Constant.BYTES_PER_SHORT); in availableToRead()
157 return mByteBuffer; in getByteBuffer()
165 synchronized (mByteBuffer) { in flush()
[all …]
/external/drrickorang/LoopbackApp/app/src/main/cpp/lb2/
Dtest_context.h103 mByteBuffer(byteBuffer), in GlitchTestContext()
110 const AudioBufferView<sample_t>& getByteBuffer() const { return mByteBuffer; } in getByteBuffer()
116 const AudioBufferView<sample_t> mByteBuffer; variable