Home
last modified time | relevance | path

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

/external/jetty/src/java/org/eclipse/jetty/io/nio/
DSslConnection.java445 ByteBuffer bbuf=extractByteBuffer(buffer); in wrap() local
448 synchronized(bbuf) in wrap()
456 bbuf.position(buffer.getIndex()); in wrap()
457 bbuf.limit(buffer.putIndex()); in wrap()
460 result=_engine.wrap(bbuf,out_buffer); in wrap()
483 bbuf.position(0); in wrap()
484 bbuf.limit(bbuf.capacity()); in wrap()
521 ByteBuffer bbuf=extractByteBuffer(buffer); in unwrap()
524 synchronized(bbuf) in unwrap()
531 bbuf.position(buffer.putIndex()); in unwrap()
[all …]
DChannelEndPoint.java225 final ByteBuffer bbuf=nbuf.getByteBuffer(); in fill() local
230 synchronized(bbuf) in fill()
234 bbuf.position(buffer.putIndex()); in fill()
235 len=_channel.read(bbuf); in fill()
239 buffer.setPutIndex(bbuf.position()); in fill()
240 bbuf.position(0); in fill()
288 final ByteBuffer bbuf=nbuf.getByteBuffer().asReadOnlyBuffer(); in flush() local
291 bbuf.position(buffer.getIndex()); in flush()
292 bbuf.limit(buffer.putIndex()); in flush()
293 len=_channel.write(bbuf); in flush()
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/
DHullCollisionShape.java69 ByteBuffer bbuf=BufferUtils.createByteBuffer(points.length * 4); in createShape() local
75 bbuf.putFloat(f); in createShape()
77 bbuf.rewind(); in createShape()
78 objectId = createShape(bbuf); in createShape()
DHeightfieldCollisionShape.java41 protected ByteBuffer bbuf; field in HeightfieldCollisionShape
97 bbuf = BufferUtils.createByteBuffer(heightfieldData.length * 4); in createShape()
103 bbuf.putFloat(f); in createShape()
106 …objectId = createShape(heightStickWidth, heightStickLength, bbuf, heightScale, minHeight, maxHeigh… in createShape()
/external/apache-harmony/security/src/test/api/java.injected/java/security/
DSecureClassLoaderTest.java203 ByteBuffer bbuf = ByteBuffer.wrap(klassData); in testDefineClassStringByteBufferCodeSource() local
204 Class klass = ldr.defineClass(null, bbuf, null); in testDefineClassStringByteBufferCodeSource()
/external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/
DCipherSpiTest.java181 byte[] bbuf = new byte[len]; in testCipherSpi06()
182 for (int i = 0; i < bbuf.length; i++) { in testCipherSpi06()
183 bbuf[i] = (byte) i; in testCipherSpi06()
185 ByteBuffer bb1 = ByteBuffer.wrap(bbuf); in testCipherSpi06()
DMacSpiTest.java113 byte[] bbuf = { (byte) 5, (byte) 4, (byte) 3, (byte) 2, (byte) 1 }; in testMacSpiTests01()
115 byteBuf.put(bbuf); in testMacSpiTests01()
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/
DMacTest.java664 byte[] bbuf = { (byte) 5, (byte) 4, (byte) 3, (byte) 2, (byte) 1 }; in testUpdateByteBuffer02()
670 byteBuf.put(bbuf); in testUpdateByteBuffer02()
677 macs[i].update(bbuf, 2, 3); in testUpdateByteBuffer02()
736 byte[] bbuf = { (byte) 5, (byte) 4, (byte) 3, (byte) 2, (byte) 1 }; in testReset()
749 macs[i].update(bbuf); in testReset()
752 macs[i].update(bbuf, 0, bbuf.length); in testReset()
/external/libvncserver/libvncserver/
Dwebsockets.c188 char bbuf[4], *scheme; in webSocketsCheck() local
191 ret = rfbPeekExactTimeout(cl, bbuf, 4, in webSocketsCheck()
201 if (strncmp(bbuf, "<", 1) == 0) { in webSocketsCheck()
208 } else if (strncmp(bbuf, "\x16", 1) == 0 || strncmp(bbuf, "\x80", 1) == 0) { in webSocketsCheck()
214 ret = rfbPeekExactTimeout(cl, bbuf, 4, WEBSOCKETS_CLIENT_CONNECT_WAIT_MS); in webSocketsCheck()
220 if (strncmp(bbuf, "GET ", 4) != 0) { in webSocketsCheck()
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
DVertexBuffer.java630 ByteBuffer bbuf = (ByteBuffer) data; in compact() local
631 bbuf.limit(total); in compact()
633 bnewBuf.put(bbuf); in compact()
/external/icu/icu4c/source/test/cintltst/
Dcnumtst.c2524 char bbuf[kUBufMax*2]; in TestContext() local
2525 u_austrncpy(bbuf, ubufResult, sizeof(bbuf)); in TestContext()
2528 itemPtr->expectedResult, ulenRes, bbuf); in TestContext()
/external/libvncserver/webclients/java-applet/ssl/
Dultravnc-102-JavaViewer-ssl-etc.patch1456 + ByteBuffer bbuf = encoder.encode(CharBuffer.wrap(f1.toCharArray()));
1458 + CharBuffer cbuf = decoder.decode(bbuf);
1461 +System.out.println("did bbuf: " + f1);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.mortbay.jetty.server_6.1.23.v201004211559.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...