Home
last modified time | relevance | path

Searched refs:byteBuf (Results 1 – 13 of 13) sorted by relevance

/external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/
DMacSpiTest.java95 ByteBuffer byteBuf = ByteBuffer.allocate(10); in testMacSpiTests01() local
96 byteBuf.put(bbb); in testMacSpiTests01()
97 byteBuf.position(5); in testMacSpiTests01()
98 int beforeUp = byteBuf.remaining(); in testMacSpiTests01()
99 mSpi1.engineUpdate(byteBuf); in testMacSpiTests01()
114 byteBuf = ByteBuffer.allocate(5); in testMacSpiTests01()
115 byteBuf.put(bbuf); in testMacSpiTests01()
116 byteBuf.position(5); in testMacSpiTests01()
117 if (!byteBuf.hasRemaining()) { in testMacSpiTests01()
118 mSpi2.engineUpdate(byteBuf); in testMacSpiTests01()
/external/jmonkeyengine/engine/src/desktop/com/jme3/system/awt/
DAwtPanel.java30 private ByteBuffer byteBuf; field in AwtPanel
126 byteBuf.clear(); in repaintInThread()
127 rm.getRenderer().readFrameBuffer(fb, byteBuf); in repaintInThread()
139 byteBuf.clear(); in drawFrameInThread()
140 rm.getRenderer().readFrameBuffer(fb, byteBuf); in drawFrameInThread()
207 byteBuf = BufferUtils.ensureLargeEnough(byteBuf, width * height * 4); in reshapeInThread()
208 intBuf = byteBuf.asIntBuffer(); in reshapeInThread()
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/dexbacked/
DBaseDexBufferTest.java216 ByteBuffer byteBuf = ByteBuffer.allocateDirect(4).order(ByteOrder.LITTLE_ENDIAN); in testReadRandom() local
222 byteBuf.putInt(0, val); in testReadRandom()
223 byteBuf.position(0); in testReadRandom()
224 byteBuf.get(buf); in testReadRandom()
250 ByteBuffer byteBuf = ByteBuffer.allocateDirect(8).order(ByteOrder.LITTLE_ENDIAN); in testReadLongRandom() local
256 byteBuf.putLong(0, val); in testReadLongRandom()
257 byteBuf.position(0); in testReadLongRandom()
258 byteBuf.get(buf); in testReadLongRandom()
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/asset/plugins/
DHttpZipLocator.java67 private static final ByteBuffer byteBuf = ByteBuffer.allocate(250); field in HttpZipLocator
130 int toRead = Math.min(len - read, byteBuf.capacity()); in getUTF8String()
132 boolean endOfInput = toRead < byteBuf.capacity(); in getUTF8String()
135 byteBuf.put(b, off + read, toRead); in getUTF8String()
139 byteBuf.flip(); in getUTF8String()
142 CoderResult result = utf8Decoder.decode(byteBuf, charBuf, endOfInput); in getUTF8String()
159 byteBuf.clear(); in getUTF8String()
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/
DNettyHttpClient.java179 ByteBuf byteBuf = content.content(); in receive() local
180 for (int toRead; (toRead = byteBuf.readableBytes()) > 0; ) { in receive()
181 byteBuf.readBytes(buffer, 0, Math.min(buffer.length, toRead)); in receive()
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/
DMacTest.java665 ByteBuffer byteBuf; in testUpdateByteBuffer02() local
669 byteBuf = ByteBuffer.allocate(5); in testUpdateByteBuffer02()
670 byteBuf.put(bbuf); in testUpdateByteBuffer02()
671 byteBuf.position(2); in testUpdateByteBuffer02()
673 macs[i].update(byteBuf); in testUpdateByteBuffer02()
/external/jmonkeyengine/engine/src/desktop/com/jme3/texture/plugins/
DAWTLoader.java70 DataBufferByte byteBuf = (DataBufferByte) buf; in extractImageData() local
71 return byteBuf.getData(); in extractImageData()
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/
DRenderer.java228 public void readFrameBuffer(FrameBuffer fb, ByteBuffer byteBuf); in readFrameBuffer() argument
/external/libmpeg2/decoder/
Dimpeg2d_bitstream.h140 UWORD8 *byteBuf,
/external/jmonkeyengine/engine/src/core/com/jme3/system/
DNullRenderer.java122 public void readFrameBuffer(FrameBuffer fb, ByteBuffer byteBuf) { in readFrameBuffer() argument
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/renderer/lwjgl/
DLwjglRenderer.java1607 public void readFrameBuffer(FrameBuffer fb, ByteBuffer byteBuf) { in readFrameBuffer() argument
1624 glReadPixels(vpX, vpY, vpW, vpH, /*GL_RGBA*/ GL_BGRA, GL_UNSIGNED_BYTE, byteBuf); in readFrameBuffer()
DLwjglGL1Renderer.java1158 public void readFrameBuffer(FrameBuffer fb, ByteBuffer byteBuf) { in readFrameBuffer() argument
/external/jmonkeyengine/engine/src/android/com/jme3/renderer/android/
DOGLESShaderRenderer.java1651 public void readFrameBuffer(FrameBuffer fb, ByteBuffer byteBuf) { in readFrameBuffer() argument