Home
last modified time | relevance | path

Searched refs:bytesOut (Results 1 – 21 of 21) sorted by relevance

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DMockSpdyPeer.java46 private final Buffer bytesOut = new Buffer(); field in MockSpdyPeer
47 private FrameWriter frameWriter = variant.newWriter(bytesOut, client);
62 this.frameWriter = variant.newWriter(bytesOut, client); in setVariantAndClient()
80 outFrames.add(new OutFrame(frameCount++, bytesOut.size(), false)); in sendFrame()
89 outFrames.add(new OutFrame(frameCount++, bytesOut.size(), false)); in sendFrame()
90 bytesOut.write(frame); in sendFrame()
100 if (length >= bytesOut.size() - lastFrame.start) throw new IllegalArgumentException(); in truncateLastFrame()
104 bytesOut.read(fullBuffer, bytesOut.size()); in truncateLastFrame()
107 fullBuffer.read(bytesOut, lastFrame.start + length); in truncateLastFrame()
151 byte[] outBytes = bytesOut.readByteArray(); in readAndWriteFrames()
DHpackTest.java35 private Buffer bytesOut = new Buffer(); field in HpackTest
40 hpackWriter = new Hpack.Writer(bytesOut); in reset()
55 bytesIn.writeAll(bytesOut); in largeHeaderValue()
199 assertEquals(bytesIn, bytesOut); in literalHeaderFieldWithoutIndexingIndexedName()
219 assertEquals(bytesIn, bytesOut); in literalHeaderFieldWithoutIndexingNewName()
711 ByteString actual = bytesOut.readByteString(); in assertBytes()
/external/mockwebserver/src/main/java/com/google/mockwebserver/
DMockResponse.java191 ByteArrayOutputStream bytesOut = new ByteArrayOutputStream(); in setChunkedBody() local
195 bytesOut.write(Integer.toHexString(chunkSize).getBytes(US_ASCII)); in setChunkedBody()
196 bytesOut.write("\r\n".getBytes(US_ASCII)); in setChunkedBody()
197 bytesOut.write(body, pos, chunkSize); in setChunkedBody()
198 bytesOut.write("\r\n".getBytes(US_ASCII)); in setChunkedBody()
201 bytesOut.write("0\r\n\r\n".getBytes(US_ASCII)); // last chunk + empty trailer + crlf in setChunkedBody()
203 this.body = bytesOut.toByteArray(); in setChunkedBody()
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
DMockResponse.java164 Buffer bytesOut = new Buffer(); in setChunkedBody() local
167 bytesOut.writeHexadecimalUnsignedLong(chunkSize); in setChunkedBody()
168 bytesOut.writeUtf8("\r\n"); in setChunkedBody()
169 bytesOut.write(body, chunkSize); in setChunkedBody()
170 bytesOut.writeUtf8("\r\n"); in setChunkedBody()
172 bytesOut.writeUtf8("0\r\n\r\n"); // Last chunk + empty trailer + CRLF. in setChunkedBody()
174 this.body = bytesOut; in setChunkedBody()
/external/apache-commons-math/src/main/java/org/apache/commons/math/random/
DAbstractRandomGenerator.java107 int bytesOut = 0; in nextBytes() local
108 while (bytesOut < bytes.length) { in nextBytes()
114 bytes[bytesOut++] = (byte) randInt; in nextBytes()
115 if (bytesOut == bytes.length) { in nextBytes()
/external/okhttp/okhttp-hpacktests/src/test/java/com/squareup/okhttp/internal/spdy/
DHpackRoundTripTest.java44 private Buffer bytesOut = new Buffer(); field in HpackRoundTripTest
45 private Hpack.Writer hpackWriter = new Hpack.Writer(bytesOut);
57 caze.setWire(bytesOut.readByteString()); in testRoundTrip()
/external/apache-harmony/support/src/test/java/org/apache/harmony/testframework/
DWrapperTester.java92 return WrapperTester.this.decode(delegate.bytesOut.toByteArray()); in getBytes()
191 private final ByteArrayOutputStream bytesOut = new ByteArrayOutputStream(); field in WrapperTester.ClosableByteArrayOutputStream
204 bytesOut.write(oneByte); in write()
/external/webrtc/webrtc/modules/audio_coding/codecs/cng/
Dwebrtc_cng.c230 size_t* bytesOut, int16_t forceSID) { in WebRtcCng_Encode() argument
329 *bytesOut = 0; in WebRtcCng_Encode()
388 *bytesOut = inst->enc_nrOfCoefs + 1; in WebRtcCng_Encode()
396 *bytesOut = 0; in WebRtcCng_Encode()
Dwebrtc_cng.h108 size_t* bytesOut, int16_t forceSID);
/external/bzip2/
Dbzip2recover.c66 MaybeUInt64 bytesOut = 0; variable
185 bytesOut++; in bsPutBit()
229 bytesOut++; in bsClose()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DHttpOverSpdyTest.java435 Buffer bytesOut = new Buffer(); in gzip() local
436 BufferedSink sink = Okio.buffer(new GzipSink(bytesOut)); in gzip()
439 return bytesOut; in gzip()
/external/opencv3/modules/ts/src/
Dts_perf.cpp638 bytesOut = 0; in clear()
1294 metrics.bytesOut = getTotalOutputSize(); in calcMetrics()
1446 RecordProperty("bytesOut", (int)m.bytesOut); in reportMetrics()
1537 LOGD("bytesOut =%11lu", (unsigned long)m.bytesOut); in reportMetrics()
/external/opencv3/modules/ts/include/opencv2/ts/
Dts_perf.hpp227 size_t bytesOut; member
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.osgi_3.6.2.R36x_v20101103.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.osgi_3.6.1.R36x_v20100806.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/guice/extensions/struts2/lib/
Dant-1.6.5.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
Dant.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/dagger2/lib/
Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/robolectric/v3/runtime/
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...