HomeSort by relevance Sort by last modified time
    Searched refs:bytesOut (Results 1 - 24 of 24) sorted by null

  /libcore/luni/src/test/java/libcore/java/util/zip/
OldAndroidZipStreamTest.java 33 ByteArrayOutputStream bytesOut = new ByteArrayOutputStream();
34 createCompressedZip(bytesOut);
36 byte[] zipData = bytesOut.toByteArray();
56 bytesOut = new ByteArrayOutputStream();
57 createUncompressedZip(bytesOut);
59 zipData = bytesOut.toByteArray();
90 private static void createCompressedZip(ByteArrayOutputStream bytesOut) throws IOException {
91 ZipOutputStream out = new ZipOutputStream(bytesOut);
112 private static void createUncompressedZip(ByteArrayOutputStream bytesOut) throws IOException {
113 ZipOutputStream out = new ZipOutputStream(bytesOut);
    [all...]
OldAndroidGZIPStreamTest.java 33 ByteArrayOutputStream bytesOut = new ByteArrayOutputStream();
34 createGZIP(bytesOut);
37 zipData = bytesOut.toByteArray();
83 static void createGZIP(ByteArrayOutputStream bytesOut) throws IOException {
84 GZIPOutputStream out = new GZIPOutputStream(bytesOut);
GZIPOutputStreamTest.java 45 ByteArrayOutputStream bytesOut = new ByteArrayOutputStream();
46 OutputStream gzippedOut = new GZIPOutputStream(bytesOut);
49 return bytesOut.toByteArray();
ZipOutputStreamTest.java 52 ByteArrayOutputStream bytesOut = new ByteArrayOutputStream();
53 ZipOutputStream zippedOut = new ZipOutputStream(bytesOut);
61 return bytesOut.toByteArray();
OldAndroidZipFileTest.java 77 static void createCompressedZip(OutputStream bytesOut) throws IOException {
78 ZipOutputStream out = new ZipOutputStream(bytesOut);
  /libcore/support/src/test/java/tests/http/
MockResponse.java 116 ByteArrayOutputStream bytesOut = new ByteArrayOutputStream();
120 bytesOut.write(Integer.toHexString(chunkSize).getBytes(ASCII));
121 bytesOut.write("\r\n".getBytes(ASCII));
122 bytesOut.write(body, pos, chunkSize);
123 bytesOut.write("\r\n".getBytes(ASCII));
126 bytesOut.write("0\r\n\r\n".getBytes(ASCII)); // last chunk + empty trailer + crlf
127 this.body = bytesOut.toByteArray();
  /external/mockwebserver/src/main/java/com/google/mockwebserver/
MockResponse.java 184 ByteArrayOutputStream bytesOut = new ByteArrayOutputStream();
188 bytesOut.write(Integer.toHexString(chunkSize).getBytes(ASCII));
189 bytesOut.write("\r\n".getBytes(ASCII));
190 bytesOut.write(body, pos, chunkSize);
191 bytesOut.write("\r\n".getBytes(ASCII));
194 bytesOut.write("0\r\n\r\n".getBytes(ASCII)); // last chunk + empty trailer + crlf
196 this.body = bytesOut.toByteArray();
  /external/okhttp/src/test/java/com/squareup/okhttp/internal/spdy/
MockSpdyPeer.java 40 private final ByteArrayOutputStream bytesOut = new ByteArrayOutputStream();
41 private final SpdyWriter spdyWriter = new SpdyWriter(bytesOut);
54 outFrames.add(new OutFrame(frameCount++, bytesOut.size(), Integer.MAX_VALUE));
64 outFrames.add(new OutFrame(frameCount++, bytesOut.size(), truncateToLength));
100 byte[] outBytes = bytesOut.toByteArray();
HttpOverSpdyTest.java 288 ByteArrayOutputStream bytesOut = new ByteArrayOutputStream();
289 OutputStream gzippedOut = new GZIPOutputStream(bytesOut);
292 return bytesOut.toByteArray();
SpdyConnectionTest.java     [all...]
  /external/apache-harmony/support/src/test/java/org/apache/harmony/testframework/
WrapperTester.java 89 return WrapperTester.this.decode(delegate.bytesOut.toByteArray());
186 private final ByteArrayOutputStream bytesOut = new ByteArrayOutputStream();
197 bytesOut.write(oneByte);
  /libcore/benchmarks/src/benchmarks/
XmlParseBenchmark.java 75 ByteArrayOutputStream bytesOut = new ByteArrayOutputStream();
79 bytesOut.write(buffer, 0, count);
82 return bytesOut.toByteArray();
  /libcore/luni/src/test/java/libcore/java/io/
OldOutputStreamWriterTest.java 300 ByteArrayOutputStream bytesOut = new ByteArrayOutputStream();
301 OutputStreamWriter charsOut = new OutputStreamWriter(bytesOut, charset);
306 ByteArrayInputStream bytesIn = new ByteArrayInputStream(bytesOut.toByteArray());
314 bytesIn = new ByteArrayInputStream(bytesOut.toByteArray());
  /libcore/luni/src/test/java/libcore/xml/
KxmlSerializerTest.java 83 ByteArrayOutputStream bytesOut = new ByteArrayOutputStream();
85 serializer.setOutput(bytesOut, "UTF-8");
  /external/bzip2/
bzip2recover.c 66 MaybeUInt64 bytesOut = 0;
185 bytesOut++;
229 bytesOut++;
  /dalvik/dx/src/com/android/dx/command/dexer/
Main.java 421 ByteArrayOutputStream bytesOut = new ByteArrayOutputStream();
422 result.writeTo(bytesOut);
423 return bytesOut.toByteArray();
    [all...]
  /libcore/dex/src/main/java/com/android/dex/
Dex.java 145 ByteArrayOutputStream bytesOut = new ByteArrayOutputStream();
150 bytesOut.write(buffer, 0, count);
154 this.data = ByteBuffer.wrap(bytesOut.toByteArray());
    [all...]
  /libcore/luni/src/test/java/libcore/java/net/
URLConnectionTest.java 606 ByteArrayOutputStream bytesOut = new ByteArrayOutputStream();
607 bytesOut.write(mockResponse.getBody());
608 bytesOut.write("\r\nYOU SHOULD NOT SEE THIS".getBytes());
609 mockResponse.setBody(bytesOut.toByteArray());
    [all...]
  /external/okhttp/src/test/java/com/squareup/okhttp/internal/http/
URLConnectionTest.java 642 ByteArrayOutputStream bytesOut = new ByteArrayOutputStream();
643 bytesOut.write(mockResponse.getBody());
644 bytesOut.write("\r\nYOU SHOULD NOT SEE THIS".getBytes("UTF-8"));
645 mockResponse.setBody(bytesOut.toByteArray());
    [all...]
HttpResponseCacheTest.java     [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.osgi_3.6.1.R36x_v20100806.jar 
org.eclipse.osgi_3.6.2.R36x_v20101103.jar 
  /prebuilts/tools/common/eclipse/
org.eclipse.osgi_3.6.2.R36x_v20110210.jar 
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
ant.jar 

Completed in 417 milliseconds