Searched refs:toByteArray (Results 1 - 25 of 198) sorted by relevance

12345678

/dalvik/libcore/security/src/main/java/org/bouncycastle/util/
H A DBigIntegers.java19 byte[] bytes = value.toByteArray();
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/
H A DASN1Encodable.java20 return bOut.toByteArray();
34 return bOut.toByteArray();
H A DDERConstructedSequence.java49 byte[] bytes = bOut.toByteArray();
H A DDEREnumerated.java56 bytes = BigInteger.valueOf(value).toByteArray();
62 bytes = value.toByteArray();
H A DDERInteger.java56 bytes = BigInteger.valueOf(value).toByteArray();
62 bytes = value.toByteArray();
/dalvik/libcore/text/src/main/java/java/text/
H A DCollationKey.java157 public byte[] toByteArray() { method in class:CollationKey
158 return icuKey.toByteArray();
/dalvik/libcore/security/src/main/java/org/bouncycastle/util/encoders/
H A DBase64.java30 return bOut.toByteArray();
80 return bOut.toByteArray();
102 return bOut.toByteArray();
H A DHex.java43 return bOut.toByteArray();
93 return bOut.toByteArray();
115 return bOut.toByteArray();
H A DUrlBase64.java42 return bOut.toByteArray();
77 return bOut.toByteArray();
113 return bOut.toByteArray();
/dalvik/libcore/math/src/test/java/org/apache/harmony/math/tests/java/math/
H A DBigIntegerSubtractTest.java58 resBytes = result.toByteArray();
85 resBytes = result.toByteArray();
113 resBytes = result.toByteArray();
141 resBytes = result.toByteArray();
168 resBytes = result.toByteArray();
195 resBytes = result.toByteArray();
223 resBytes = result.toByteArray();
251 resBytes = result.toByteArray();
278 resBytes = result.toByteArray();
305 resBytes = result.toByteArray();
[all...]
H A DBigIntegerMultiplyTest.java57 resBytes = result.toByteArray();
84 resBytes = result.toByteArray();
112 resBytes = result.toByteArray();
140 resBytes = result.toByteArray();
169 resBytes = result.toByteArray();
198 resBytes = result.toByteArray();
224 resBytes = result.toByteArray();
248 resBytes = result.toByteArray();
272 resBytes = result.toByteArray();
296 resBytes = result.toByteArray();
[all...]
H A DBigIntegerConstructorsTest.java75 resBytes = aNumber.toByteArray();
97 resBytes = aNumber.toByteArray();
119 resBytes = aNumber.toByteArray();
141 resBytes = aNumber.toByteArray();
163 resBytes = aNumber.toByteArray();
185 resBytes = aNumber.toByteArray();
207 resBytes = aNumber.toByteArray();
229 resBytes = aNumber.toByteArray();
250 resBytes = aNumber.toByteArray();
316 resBytes = aNumber.toByteArray();
[all...]
H A DBigIntegerNotTest.java57 resBytes = result.toByteArray();
83 resBytes = result.toByteArray();
109 resBytes = result.toByteArray();
135 resBytes = result.toByteArray();
156 resBytes = result.toByteArray();
177 resBytes = result.toByteArray();
200 resBytes = result.toByteArray();
223 resBytes = result.toByteArray();
247 resBytes = result.toByteArray();
H A DBigIntegerAddTest.java57 resBytes = result.toByteArray();
83 resBytes = result.toByteArray();
111 resBytes = result.toByteArray();
139 resBytes = result.toByteArray();
167 resBytes = result.toByteArray();
195 resBytes = result.toByteArray();
222 resBytes = result.toByteArray();
247 resBytes = result.toByteArray();
274 resBytes = result.toByteArray();
301 resBytes = result.toByteArray();
[all...]
H A DBigIntegerOperateBitsTest.java230 resBytes = result.toByteArray();
254 resBytes = result.toByteArray();
278 resBytes = result.toByteArray();
302 resBytes = result.toByteArray();
383 resBytes = result.toByteArray();
407 resBytes = result.toByteArray();
431 resBytes = result.toByteArray();
455 resBytes = result.toByteArray();
479 resBytes = result.toByteArray();
503 resBytes = result.toByteArray();
[all...]
H A DBigIntegerAndTest.java57 resBytes = result.toByteArray();
83 resBytes = result.toByteArray();
109 resBytes = result.toByteArray();
135 resBytes = result.toByteArray();
161 resBytes = result.toByteArray();
221 resBytes = result.toByteArray();
247 resBytes = result.toByteArray();
273 resBytes = result.toByteArray();
299 resBytes = result.toByteArray();
325 resBytes = result.toByteArray();
[all...]
H A DBigIntegerOrTest.java58 resBytes = result.toByteArray();
84 resBytes = result.toByteArray();
110 resBytes = result.toByteArray();
136 resBytes = result.toByteArray();
162 resBytes = result.toByteArray();
188 resBytes = result.toByteArray();
214 resBytes = result.toByteArray();
240 resBytes = result.toByteArray();
266 resBytes = result.toByteArray();
292 resBytes = result.toByteArray();
[all...]
H A DBigIntegerDivideTest.java103 resBytes = result.toByteArray();
129 resBytes = result.toByteArray();
156 resBytes = result.toByteArray();
183 resBytes = result.toByteArray();
209 resBytes = result.toByteArray();
235 resBytes = result.toByteArray();
261 resBytes = result.toByteArray();
287 resBytes = result.toByteArray();
313 resBytes = result.toByteArray();
337 resBytes = result.toByteArray();
[all...]
H A DBigIntegerModPowTest.java87 resBytes = result.toByteArray();
116 resBytes = result.toByteArray();
190 resBytes = result.toByteArray();
216 resBytes = result.toByteArray();
242 resBytes = result.toByteArray();
266 resBytes = result.toByteArray();
292 resBytes = result.toByteArray();
318 resBytes = result.toByteArray();
342 resBytes = result.toByteArray();
363 byte resBytes[] = result.toByteArray();
[all...]
/dalvik/libcore/text/src/test/java/org/apache/harmony/text/tests/java/text/
H A DCollationKeyTest.java122 * @tests java.text.CollationKey#toByteArray()
126 method = "toByteArray",
130 // Test for method byte [] java.text.CollationKey.toByteArray()
134 byte[] bytes = key1.toByteArray();
154 // bytes = collator.getCollationKey("1234567").toByteArray();
157 byte[] bytes1 = collator.getCollationKey("12").toByteArray();
158 byte[] bytes2 = collator.getCollationKey("123").toByteArray();
159 byte[] bytes3 = collator.getCollationKey("124").toByteArray();
160 byte[] bytes4 = collator.getCollationKey("1245").toByteArray();
161 byte[] bytes5 = collator.getCollationKey("1245").toByteArray();
[all...]
/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DOpenSSLSignature.java145 dsa = NativeCrypto.EVP_PKEY_new_DSA(dsaParams.getP().toByteArray(),
146 dsaParams.getQ().toByteArray(), dsaParams.getG().toByteArray(),
147 dsaPublicKey.getY().toByteArray(), null);
155 rsa = NativeCrypto.EVP_PKEY_new_RSA(rsaPublicKey.getModulus().toByteArray(),
156 rsaPublicKey.getPublicExponent().toByteArray(), null, null, null);
/dalvik/libcore/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/util/
H A DEnvironmentHelper.java41 return new ByteArrayInputStream(bos.toByteArray());
/dalvik/libcore/luni/src/test/java/tests/api/java/io/
H A DPrintStreamTest.java380 ByteArrayInputStream bis = new ByteArrayInputStream(baos.toByteArray());
402 ByteArrayInputStream bis = new ByteArrayInputStream(baos.toByteArray());
420 ByteArrayInputStream bis = new ByteArrayInputStream(baos.toByteArray());
441 ByteArrayInputStream bis = new ByteArrayInputStream(baos.toByteArray());
462 ByteArrayInputStream bis = new ByteArrayInputStream(baos.toByteArray());
483 ByteArrayInputStream bis = new ByteArrayInputStream(baos.toByteArray());
503 ByteArrayInputStream bis = new ByteArrayInputStream(baos.toByteArray());
516 bis = new ByteArrayInputStream(bos1.toByteArray());
535 ByteArrayInputStream bis = new ByteArrayInputStream(baos.toByteArray());
548 bis = new ByteArrayInputStream(bos1.toByteArray());
[all...]
H A DObjectInputStreamTest.java104 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray()));
127 Support_ASimpleInputStream sis = new Support_ASimpleInputStream(bao.toByteArray());
161 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
182 Support_ASimpleInputStream sis = new Support_ASimpleInputStream(bao.toByteArray());
201 Support_ASimpleInputStream sis = new Support_ASimpleInputStream(bao.toByteArray());
227 Support_ASimpleInputStream sis = new Support_ASimpleInputStream(bao.toByteArray());
256 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray()));
298 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray()));
316 Support_ASimpleInputStream sis = new Support_ASimpleInputStream(bao.toByteArray());
342 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray()));
[all...]
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/util/
H A DNYITest.java50 String message = new String(bos.toByteArray(), "UTF-8");

Completed in 350 milliseconds

12345678