/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
D | MockSpdyPeer.java | 46 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()
|
D | HpackTest.java | 35 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()
|
D | HttpOverSpdyTest.java | 435 Buffer bytesOut = new Buffer(); in gzip() local 436 BufferedSink sink = Okio.buffer(new GzipSink(bytesOut)); in gzip() 439 return bytesOut; in gzip()
|
/external/mockwebserver/src/main/java/com/google/mockwebserver/ |
D | MockResponse.java | 191 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/ |
D | MockResponse.java | 166 Buffer bytesOut = new Buffer(); in setChunkedBody() local 169 bytesOut.writeHexadecimalUnsignedLong(chunkSize); in setChunkedBody() 170 bytesOut.writeUtf8("\r\n"); in setChunkedBody() 171 bytesOut.write(body, chunkSize); in setChunkedBody() 172 bytesOut.writeUtf8("\r\n"); in setChunkedBody() 174 bytesOut.writeUtf8("0\r\n\r\n"); // Last chunk + empty trailer + CRLF. in setChunkedBody() 176 this.body = bytesOut; in setChunkedBody()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/random/ |
D | AbstractRandomGenerator.java | 107 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/ |
D | HpackRoundTripTest.java | 44 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/ |
D | WrapperTester.java | 92 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/ |
D | webrtc_cng.c | 230 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()
|
D | webrtc_cng.h | 108 size_t* bytesOut, int16_t forceSID);
|
/external/bzip2/ |
D | bzip2recover.c | 66 MaybeUInt64 bytesOut = 0; variable 185 bytesOut++; in bsPutBit() 229 bytesOut++; in bsClose()
|