OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:bytesOut
(Results
1 - 17
of
17
) 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
44
ByteArrayOutputStream
bytesOut
= new ByteArrayOutputStream();
45
OutputStream gzippedOut = new GZIPOutputStream(
bytesOut
);
48
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
);
/external/mockwebserver/src/main/java/com/google/mockwebserver/
MockResponse.java
115
ByteArrayOutputStream
bytesOut
= new ByteArrayOutputStream();
119
bytesOut
.write(Integer.toHexString(chunkSize).getBytes(ASCII));
120
bytesOut
.write("\r\n".getBytes(ASCII));
121
bytesOut
.write(body, pos, chunkSize);
122
bytesOut
.write("\r\n".getBytes(ASCII));
125
bytesOut
.write("0\r\n\r\n".getBytes(ASCII)); // last chunk + empty trailer + crlf
126
this.body =
bytesOut
.toByteArray();
/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();
/packages/providers/DownloadProvider/tests/src/tests/http/
MockResponse.java
106
ByteArrayOutputStream
bytesOut
= new ByteArrayOutputStream();
110
bytesOut
.write(Integer.toHexString(chunkSize).getBytes(ASCII));
111
bytesOut
.write("\r\n".getBytes(ASCII));
112
bytesOut
.write(body, pos, chunkSize);
113
bytesOut
.write("\r\n".getBytes(ASCII));
116
bytesOut
.write("0\r\n".getBytes(ASCII));
117
this.body =
bytesOut
.toByteArray();
/frameworks/base/core/tests/utillib/src/coretestutils/http/
MockResponse.java
142
ByteArrayOutputStream
bytesOut
= new ByteArrayOutputStream();
146
bytesOut
.write(Integer.toHexString(chunkSize).getBytes(ASCII));
147
bytesOut
.write("\r\n".getBytes(ASCII));
148
bytesOut
.write(body, pos, chunkSize);
149
bytesOut
.write("\r\n".getBytes(ASCII));
152
bytesOut
.write("0\r\n".getBytes(ASCII));
153
this.body =
bytesOut
.toByteArray();
/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/xml/src/test/java/org/kxml2/io/
KXmlSerializerTest.java
40
ByteArrayOutputStream
bytesOut
= new ByteArrayOutputStream();
42
serializer.setOutput(
bytesOut
, "UTF-8");
/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());
/external/bzip2/
bzip2recover.c
66
MaybeUInt64
bytesOut
= 0;
185
bytesOut
++;
229
bytesOut
++;
/dalvik/dx/src/com/android/dx/io/
DexBuffer.java
164
ByteArrayOutputStream
bytesOut
= new ByteArrayOutputStream();
169
bytesOut
.write(buffer, 0, count);
173
this.data =
bytesOut
.toByteArray();
/dalvik/dx/src/com/android/dx/command/dexer/
Main.java
279
ByteArrayOutputStream
bytesOut
= new ByteArrayOutputStream();
280
result.writeTo(
bytesOut
);
281
return
bytesOut
.toByteArray();
[
all
...]
/libcore/luni/src/test/java/libcore/java/net/
URLConnectionTest.java
523
ByteArrayOutputStream
bytesOut
= new ByteArrayOutputStream();
524
bytesOut
.write(mockResponse.getBody());
525
bytesOut
.write("\r\nYOU SHOULD NOT SEE THIS".getBytes());
526
mockResponse.setBody(
bytesOut
.toByteArray());
[
all
...]
/libcore/luni/src/test/java/libcore/net/http/
HttpResponseCacheTest.java
[
all
...]
Completed in 525 milliseconds