OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:byteBuf
(Results
1 - 20
of
20
) sorted by null
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/
NettyHttpClient.java
21
import io.netty.buffer.
ByteBuf
;
179
ByteBuf
byteBuf
= content.content();
180
for (int toRead; (toRead =
byteBuf
.readableBytes()) > 0; ) {
181
byteBuf
.readBytes(buffer, 0, Math.min(buffer.length, toRead));
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/dexbacked/
BaseDexBufferTest.java
216
ByteBuffer
byteBuf
= ByteBuffer.allocateDirect(4).order(ByteOrder.LITTLE_ENDIAN);
222
byteBuf
.putInt(0, val);
223
byteBuf
.position(0);
224
byteBuf
.get(buf);
250
ByteBuffer
byteBuf
= ByteBuffer.allocateDirect(8).order(ByteOrder.LITTLE_ENDIAN);
256
byteBuf
.putLong(0, val);
257
byteBuf
.position(0);
258
byteBuf
.get(buf);
/external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/
MacSpiTest.java
95
ByteBuffer
byteBuf
= ByteBuffer.allocate(10);
96
byteBuf
.put(bbb);
97
byteBuf
.position(5);
98
int beforeUp =
byteBuf
.remaining();
99
mSpi1.engineUpdate(
byteBuf
);
114
byteBuf
= ByteBuffer.allocate(5);
115
byteBuf
.put(bbuf);
116
byteBuf
.position(5);
117
if (!
byteBuf
.hasRemaining()) {
118
mSpi2.engineUpdate(
byteBuf
);
[
all
...]
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
MacSpiTest.java
198
ByteBuffer
byteBuf
= ByteBuffer.allocate(10);
199
byteBuf
.put(bbb);
200
byteBuf
.position(5);
201
int beforeUp =
byteBuf
.remaining();
202
mSpi1.engineUpdate(
byteBuf
);
217
byteBuf
= ByteBuffer.allocate(5);
218
byteBuf
.put(bbuf);
219
byteBuf
.position(5);
220
if (!
byteBuf
.hasRemaining()) {
221
mSpi2.engineUpdate(
byteBuf
);
[
all
...]
MacTest.java
663
ByteBuffer
byteBuf
;
667
byteBuf
= ByteBuffer.allocate(5);
668
byteBuf
.put(bbuf);
669
byteBuf
.position(2);
671
macs[i].update(
byteBuf
);
[
all
...]
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/
MacTest.java
665
ByteBuffer
byteBuf
;
669
byteBuf
= ByteBuffer.allocate(5);
670
byteBuf
.put(bbuf);
671
byteBuf
.position(2);
673
macs[i].update(
byteBuf
);
/cts/tests/tests/graphics/src/android/graphics/cts/
BitmapTest.java
133
ByteBuffer
byteBuf
= ByteBuffer.allocate(pixSize);
134
assertEquals(0,
byteBuf
.position());
135
mBitmap.copyPixelsToBuffer(
byteBuf
);
136
assertEquals(pixSize,
byteBuf
.position());
[
all
...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
ChannelsTest.java
112
ByteBuffer
byteBuf
= ByteBuffer.allocate(this.testNum);
118
readres = rbChannel.read(
byteBuf
);
127
ByteBuffer
byteBuf
= ByteBuffer.allocate(this.testNum);
141
readres = rbChannel.read(
byteBuf
);
155
ByteBuffer
byteBuf
= ByteBuffer.allocate(bufSize);
170
readres = rbChannel.read(
byteBuf
);
SocketChannelTest.java
227
java.nio.ByteBuffer[]
byteBuf
= null;
234
this.channel1.read(
byteBuf
);
239
byteBuf
= new java.nio.ByteBuffer[CAPACITY_NORMAL];
241
this.channel1.read(
byteBuf
);
246
long readNum = testMSChannel.read(
byteBuf
);
249
readNum = testMSChannelnull.read(
byteBuf
);
260
java.nio.ByteBuffer[]
byteBuf
= null;
265
this.channel1.read(
byteBuf
);
271
testMSChannel.read(
byteBuf
);
277
testMSChannelnull.read(
byteBuf
);
[
all
...]
/prebuilts/devtools/tools/lib/
jobb.jar
/external/owasp/sanitizer/lib/htmlparser-1.3/
htmlparser-1.3-with-transitions.jar
htmlparser-1.3.jar
/external/robolectric/lib/main/
sqlite-jdbc-3.7.2.jar
android.jar
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.pde.core_3.6.1.v20100902_r361.jar
/external/chromium_org/third_party/android_platform/webview/
frameworks.jar
/prebuilts/sdk/18/
android.jar
/prebuilts/sdk/19/
android.jar
/prebuilts/sdk/20/
android.jar
/prebuilts/sdk/current/
android.jar
Completed in 273 milliseconds