/external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/ |
D | MacSpiTest.java | 96 ByteBuffer byteBuf = ByteBuffer.allocate(10); in testMacSpiTests01() local 97 byteBuf.put(bbb); in testMacSpiTests01() 98 byteBuf.position(5); in testMacSpiTests01() 99 int beforeUp = byteBuf.remaining(); in testMacSpiTests01() 100 mSpi1.engineUpdate(byteBuf); in testMacSpiTests01() 115 byteBuf = ByteBuffer.allocate(5); in testMacSpiTests01() 116 byteBuf.put(bbuf); in testMacSpiTests01() 117 byteBuf.position(5); in testMacSpiTests01() 118 if (!byteBuf.hasRemaining()) { in testMacSpiTests01() 119 mSpi2.engineUpdate(byteBuf); in testMacSpiTests01()
|
/external/jmonkeyengine/engine/src/desktop/com/jme3/system/awt/ |
D | AwtPanel.java | 30 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/jmonkeyengine/engine/src/core-plugins/com/jme3/asset/plugins/ |
D | HttpZipLocator.java | 67 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/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/ |
D | ChannelsTest.java | 116 ByteBuffer byteBuf = ByteBuffer.allocate(this.testNum); in testNewChannelInputStream_InputNull() local 122 readres = rbChannel.read(byteBuf); in testNewChannelInputStream_InputNull() 131 ByteBuffer byteBuf = ByteBuffer.allocate(this.testNum); in testNewChannelInputStream_BufferNull() local 145 readres = rbChannel.read(byteBuf); in testNewChannelInputStream_BufferNull() 159 ByteBuffer byteBuf = ByteBuffer.allocate(bufSize); in testNewChannelInputStream() local 174 readres = rbChannel.read(byteBuf); in testNewChannelInputStream()
|
D | SocketChannelTest.java | 165 java.nio.ByteBuffer[] byteBuf = null; in testReadByteBufferArray() local 173 this.channel1.read(byteBuf); in testReadByteBufferArray() 178 byteBuf = new java.nio.ByteBuffer[CAPACITY_NORMAL]; in testReadByteBufferArray() 180 this.channel1.read(byteBuf); in testReadByteBufferArray() 186 readNum = testMSChannel.read(byteBuf); in testReadByteBufferArray() 189 readNum = testMSChannelnull.read(byteBuf); in testReadByteBufferArray() 200 java.nio.ByteBuffer[] byteBuf = null; in testReadByteBufferArray_BufNull() local 205 this.channel1.read(byteBuf); in testReadByteBufferArray_BufNull() 211 testMSChannel.read(byteBuf); in testReadByteBufferArray_BufNull() 217 testMSChannelnull.read(byteBuf); in testReadByteBufferArray_BufNull() [all …]
|
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | MacTest.java | 656 ByteBuffer byteBuf; in testUpdateByteBuffer02() local 660 byteBuf = ByteBuffer.allocate(5); in testUpdateByteBuffer02() 661 byteBuf.put(bbuf); in testUpdateByteBuffer02() 662 byteBuf.position(2); in testUpdateByteBuffer02() 664 macs[i].update(byteBuf); in testUpdateByteBuffer02()
|
/external/jmonkeyengine/engine/src/desktop/com/jme3/texture/plugins/ |
D | AWTLoader.java | 70 DataBufferByte byteBuf = (DataBufferByte) buf; in extractImageData() local 71 return byteBuf.getData(); in extractImageData()
|
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/ |
D | Renderer.java | 228 public void readFrameBuffer(FrameBuffer fb, ByteBuffer byteBuf); in readFrameBuffer() argument
|
/external/jmonkeyengine/engine/src/core/com/jme3/system/ |
D | NullRenderer.java | 122 public void readFrameBuffer(FrameBuffer fb, ByteBuffer byteBuf) { in readFrameBuffer() argument
|
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/renderer/lwjgl/ |
D | LwjglGL1Renderer.java | 1158 public void readFrameBuffer(FrameBuffer fb, ByteBuffer byteBuf) { in readFrameBuffer() argument
|
D | LwjglRenderer.java | 1607 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()
|
/external/jmonkeyengine/engine/src/android/com/jme3/renderer/android/ |
D | OGLESShaderRenderer.java | 1651 public void readFrameBuffer(FrameBuffer fb, ByteBuffer byteBuf) { in readFrameBuffer() argument
|