Home
last modified time | relevance | path

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

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/io/
DMemoryDeferredOutputStream.java17 private byte[] currentBuffer; field in MemoryDeferredOutputStream
25 currentBuffer = new byte[bufferSize]; in MemoryDeferredOutputStream()
33 output.write(currentBuffer, 0, currentPosition); in writeTo()
41 buffers.add(currentBuffer); in write()
42 currentBuffer = new byte[currentBuffer.length]; in write()
45 currentBuffer[currentPosition++] = (byte)i; in write()
57 System.arraycopy(bytes, offset + written, currentBuffer, currentPosition, toWrite); in write()
63 buffers.add(currentBuffer); in write()
64 currentBuffer = new byte[currentBuffer.length]; in write()
66 remaining = currentBuffer.length; in write()
[all …]
/external/nist-sip/java/gov/nist/javax/sip/parser/
DPipeline.java46 private Buffer currentBuffer; field in Pipeline
165 if (currentBuffer != null in read()
166 && currentBuffer.ptr < currentBuffer.length) { in read()
167 int retval = currentBuffer.getNextByte(); in read()
168 if (currentBuffer.ptr == currentBuffer.length) in read()
169 this.currentBuffer = null; in read()
182 currentBuffer = (Buffer) this.buffList.removeFirst(); in read()
183 int retval = currentBuffer.getNextByte(); in read()
184 if (currentBuffer.ptr == currentBuffer.length) in read()
185 this.currentBuffer = null; in read()
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DCapturingAudioSink.java47 @Nullable private ByteBuffer currentBuffer; field in CapturingAudioSink
90 if (buffer != currentBuffer) { in handleBuffer()
92 currentBuffer = buffer; in handleBuffer()
96 currentBuffer = null; in handleBuffer()
103 currentBuffer = null; in flush()
109 currentBuffer = null; in reset()
/external/deqp/modules/egl/
DteglPartialUpdateTests.cpp512 tcu::Surface currentBuffer (width, height); in iterate() local
579 readPixels(m_gl, &currentBuffer); in iterate()
581 if (!compareToReference(log, refBuffer, currentBuffer, frameNdx, frameNdx)) in iterate()
694 tcu::Surface currentBuffer (width, height); in iterate() local
723 readPixels(m_gl, &currentBuffer); in iterate()
725 if (!compareToReference(log, refBuffer, currentBuffer, 0, 0)) in iterate()
756 tcu::Surface currentBuffer (width, height); in iterate() local
784 readPixels(m_gl, &currentBuffer); in iterate()
786 if (!compareToReference(log, refBuffer, currentBuffer, 0, 0)) in iterate()
DteglBufferAgeTests.cpp514 tcu::Surface currentBuffer (width, height); in iterate() local
580 readPixels(m_gl, &currentBuffer); in iterate()
586 …if (compareToReference(log, refBuffer, currentBuffer, frameNdx, frameNdx-currentBufferAge) == fals… in iterate()
601 readPixels(m_gl, &currentBuffer); in iterate()
603 if (compareToReference(log, refBuffer, currentBuffer, frameNdx, frameNdx) == false) in iterate()
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_helpers.cpp5520 BufferHelper *currentBuffer = stagingBuffer->getCurrentBuffer(); in stageSubresourceUpdateImpl() local
5552 appendSubresourceUpdate(gl::LevelIndex(0), SubresourceUpdate(currentBuffer, copy)); in stageSubresourceUpdateImpl()
5612 appendSubresourceUpdate(updateLevelGL, SubresourceUpdate(currentBuffer, stencilCopy)); in stageSubresourceUpdateImpl()
5635 appendSubresourceUpdate(updateLevelGL, SubresourceUpdate(currentBuffer, copy)); in stageSubresourceUpdateImpl()
5903 BufferHelper *currentBuffer = stagingBuffer->getCurrentBuffer(); in stageSubresourceUpdateFromFramebuffer() local
5955 appendSubresourceUpdate(updateLevelGL, SubresourceUpdate(currentBuffer, copyToImage)); in stageSubresourceUpdateFromFramebuffer()
6414 BufferHelper *currentBuffer = bufferUpdate.bufferHelper; in flushStagedUpdates() local
6415 ASSERT(currentBuffer && currentBuffer->valid()); in flushStagedUpdates()
6418 bufferAccess.onBufferTransferRead(currentBuffer); in flushStagedUpdates()
6422 commandBuffer->copyBufferToImage(currentBuffer->getBuffer().getHandle(), mImage, in flushStagedUpdates()