OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:toByteArray
(Results
301 - 325
of
1795
) sorted by null
<<
11
12
13
14
15
16
17
18
19
20
>>
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/serializable/
SerializableChecker.java
135
writeFile(className, byteOut.
toByteArray
());
138
ByteArrayInputStream byteIn = new ByteArrayInputStream(byteOut.
toByteArray
());
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/validation/
ResizeInstructionsTest.java
78
final byte[] bytes = instrumenter.instrument(cw.
toByteArray
(), "");
119
final byte[] original = cw.
toByteArray
();
/external/javassist/src/test/test/javassist/proxy/
ProxySerializationTest.java
40
byte[] bytes = bos.
toByteArray
();
67
byte[] bytes = bos.
toByteArray
();
/external/ksoap2/kobjects/org/ksoap2/kobjects/mime/
Decoder.java
165
? new String(bos.
toByteArray
())
166
: new String(bos.
toByteArray
(), characterEncoding);
/external/okhttp/okio/okio/src/test/java/okio/
TestUtil.java
66
byte[] b2Bytes = b2.
toByteArray
();
71
assertByteArraysEquals(b1.
toByteArray
(), b2Bytes);
/external/protobuf/java/core/src/test/java/com/google/protobuf/
IsValidUtf8Test.java
135
private byte[]
toByteArray
(int... bytes) {
144
byte[] realBytes =
toByteArray
(bytes);
/external/turbine/java/com/google/turbine/bytecode/
ClassWriter.java
121
result.write(body.
toByteArray
());
122
return result.
toByteArray
();
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
IpConfigStoreTest.java
60
InputStream in = new ByteArrayInputStream(byteStream.
toByteArray
());
99
InputStream in = new ByteArrayInputStream(writer.byteStream.
toByteArray
());
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
OutputStreamTesterTest.java
110
return stream.
toByteArray
();
133
return bytes.
toByteArray
();
/libcore/luni/src/main/java/libcore/io/
IoUtils.java
107
return new FileReader(absolutePath).readFully().
toByteArray
();
187
* {@link #
toByteArray
} will then return the internal array and <b>not</b> a copy.
262
public byte[]
toByteArray
() {
/libcore/luni/src/test/java/libcore/java/util/zip/
InflaterTest.java
84
assertEquals(expected, new String(inflatedBytes.
toByteArray
(), "UTF-8"));
127
return deflatedBytes.
toByteArray
();
ZipInputStreamTest.java
68
return out.
toByteArray
();
158
return bytesOut.
toByteArray
();
ZipOutputStreamTest.java
71
return bytesOut.
toByteArray
();
127
try (ZipInputStream zis = new ZipInputStream(new ByteArrayInputStream(bos.
toByteArray
()))) {
/libcore/ojluni/src/main/java/sun/security/util/
BitArray.java
169
public byte[]
toByteArray
() {
262
return new String(out.
toByteArray
());
/libcore/ojluni/src/main/java/sun/security/x509/
BasicConstraintsExtension.java
84
this.extensionValue = out.
toByteArray
();
203
out.write(tmp.
toByteArray
());
CRLDistributionPointsExtension.java
220
out.write(tmp.
toByteArray
());
290
this.extensionValue = seq.
toByteArray
();
CRLNumberExtension.java
71
this.extensionValue = os.
toByteArray
();
216
out.write(tmp.
toByteArray
());
CertificateValidity.java
80
DerInputStream derIn = new DerInputStream(derVal.
toByteArray
());
170
out.write(seq.
toByteArray
());
PolicyConstraintsExtension.java
101
this.extensionValue = seq.
toByteArray
();
209
out.write(tmp.
toByteArray
());
/libcore/ojluni/src/test/java/time/tck/java/time/serial/
TCKZoneIdSerialization.java
95
byte[] bytes = baos.
toByteArray
();
179
try (ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(baos.
toByteArray
()))) {
/system/timezone/distro/tools/src/main/com/android/timezone/distro/tools/
TimeZoneDistroBuilder.java
131
return baos.
toByteArray
();
177
return baos.
toByteArray
();
/art/test/121-modifiers/src-java/
Asm.java
97
byte[] b = cw.
toByteArray
();
/dalvik/dexgen/src/com/android/dexgen/dex/file/
EncodedArrayItem.java
108
encodedForm = out.
toByteArray
();
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/util/
SecurityHelper.java
50
byte[] cert = signatures[0].
toByteArray
();
/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/
CountingOutputStreamTest.java
76
Assert.assertArrayEquals(expected, outBuffer.
toByteArray
());
Completed in 1186 milliseconds
<<
11
12
13
14
15
16
17
18
19
20
>>