/libcore/luni/src/main/java/java/text/ |
H A D | CollationKey.java | 111 public abstract byte[] toByteArray(); method in class:CollationKey
|
/libcore/luni/src/test/java/libcore/java/text/ |
H A D | OldCollationKeyTest.java | 28 // Test for method byte [] java.text.CollationKey.toByteArray() 32 byte[] bytes = key1.toByteArray(); 52 // bytes = collator.getCollationKey("1234567").toByteArray(); 55 byte[] bytes1 = collator.getCollationKey("12").toByteArray(); 56 byte[] bytes2 = collator.getCollationKey("123").toByteArray(); 57 byte[] bytes3 = collator.getCollationKey("124").toByteArray(); 58 byte[] bytes4 = collator.getCollationKey("1245").toByteArray(); 59 byte[] bytes5 = collator.getCollationKey("1245").toByteArray();
|
/libcore/luni/src/test/java/libcore/java/io/ |
H A D | DataOutputStreamTest.java | 32 assertEquals("[01, 00]", toHexString(bytes.toByteArray())); 42 assertEquals("[ff, 00, 01, 81, 34]", toHexString(bytes.toByteArray())); 48 assertEquals("[30, 34, 31]", toHexString(bytes.toByteArray())); 55 assertEquals("[00, 30, 12, 34]", toHexString(bytes.toByteArray())); 61 assertEquals("[00, 30, 12, 34, 00, 31]", toHexString(bytes.toByteArray())); 66 assertEquals("[01, 23, 45, 67, 89, ab, cd, ef]", toHexString(bytes.toByteArray())); 71 assertEquals("[01, 23, 45, 67]", toHexString(bytes.toByteArray())); 76 assertEquals("[01, 23, 45, 67]", toHexString(bytes.toByteArray())); 81 assertEquals("[01, 23, 45, 67, 89, ab, cd, ef]", toHexString(bytes.toByteArray())); 87 assertEquals("[45, 67]", toHexString(bytes.toByteArray())); [all...] |
H A D | OldAndroidSerializationTest.java | 40 ByteArrayInputStream bin = new ByteArrayInputStream(bout.toByteArray());
|
/libcore/crypto/src/main/java/org/conscrypt/ |
H A D | OpenSSLDSAPrivateKey.java | 49 dsaKeySpec.getP().toByteArray(), 50 dsaKeySpec.getQ().toByteArray(), 51 dsaKeySpec.getG().toByteArray(), 53 dsaKeySpec.getX().toByteArray())); 69 dsaParams.getP().toByteArray(), 70 dsaParams.getQ().toByteArray(), 71 dsaParams.getG().toByteArray(), 73 dsaPrivateKey.getX().toByteArray())); 214 p.toByteArray(), 215 q.toByteArray(), [all...] |
H A D | OpenSSLDSAPublicKey.java | 49 dsaKeySpec.getP().toByteArray(), 50 dsaKeySpec.getQ().toByteArray(), 51 dsaKeySpec.getG().toByteArray(), 52 dsaKeySpec.getY().toByteArray(), 69 dsaParams.getP().toByteArray(), 70 dsaParams.getQ().toByteArray(), 71 dsaParams.getG().toByteArray(), 72 dsaPublicKey.getY().toByteArray(), 174 p.toByteArray(), 175 q.toByteArray(), [all...] |
H A D | OpenSSLRSAPrivateCrtKey.java | 82 modulus.toByteArray(), 83 publicExponent == null ? null : publicExponent.toByteArray(), 84 privateExponent.toByteArray(), 85 primeP == null ? null : primeP.toByteArray(), 86 primeQ == null ? null : primeQ.toByteArray(), 87 primeExponentP == null ? null : primeExponentP.toByteArray(), 88 primeExponentQ == null ? null : primeExponentQ.toByteArray(), 89 crtCoefficient == null ? null : crtCoefficient.toByteArray())); 120 modulus.toByteArray(), 121 publicExponent == null ? null : publicExponent.toByteArray(), [all...] |
H A D | OpenSSLRSAPublicKey.java | 51 spec.getModulus().toByteArray(), 52 spec.getPublicExponent().toByteArray(), 67 rsaPublicKey.getModulus().toByteArray(), 68 rsaPublicKey.getPublicExponent().toByteArray(), 174 modulus.toByteArray(), 175 publicExponent.toByteArray(),
|
H A D | OpenSSLDSAKeyPairGenerator.java | 74 g = gInt.toByteArray(); 79 p = pInt.toByteArray(); 84 q = qInt.toByteArray();
|
H A D | OpenSSLECGroupContext.java | 59 final long ctx = NativeCrypto.EC_GROUP_new_curve(type, p.toByteArray(), a.toByteArray(), 60 b.toByteArray()); 74 x.toByteArray(), y.toByteArray()); 76 NativeCrypto.EC_GROUP_set_generator(ctx, generator.getContext(), n.toByteArray(), 77 h.toByteArray());
|
H A D | OpenSSLRSAPrivateKey.java | 71 modulus.toByteArray(), 73 privateExponent.toByteArray(), 104 modulus.toByteArray(), 106 privateExponent.toByteArray(), 252 modulus.toByteArray(), 254 privateExponent.toByteArray(),
|
H A D | OpenSSLECPointContext.java | 79 point.getContext(), javaPoint.getAffineX().toByteArray(), 80 javaPoint.getAffineY().toByteArray());
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
H A D | BigIntegerConstructorsTest.java | 55 resBytes = aNumber.toByteArray(); 71 resBytes = aNumber.toByteArray(); 87 resBytes = aNumber.toByteArray(); 103 resBytes = aNumber.toByteArray(); 119 resBytes = aNumber.toByteArray(); 135 resBytes = aNumber.toByteArray(); 151 resBytes = aNumber.toByteArray(); 167 resBytes = aNumber.toByteArray(); 182 resBytes = aNumber.toByteArray(); 229 resBytes = aNumber.toByteArray(); [all...] |
H A D | BigIntegerAddTest.java | 44 resBytes = result.toByteArray(); 64 resBytes = result.toByteArray(); 86 resBytes = result.toByteArray(); 108 resBytes = result.toByteArray(); 130 resBytes = result.toByteArray(); 152 resBytes = result.toByteArray(); 173 resBytes = result.toByteArray(); 192 resBytes = result.toByteArray(); 213 resBytes = result.toByteArray(); 234 resBytes = result.toByteArray(); [all...] |
H A D | BigIntegerDivideTest.java | 76 resBytes = result.toByteArray(); 96 resBytes = result.toByteArray(); 117 resBytes = result.toByteArray(); 138 resBytes = result.toByteArray(); 158 resBytes = result.toByteArray(); 178 resBytes = result.toByteArray(); 198 resBytes = result.toByteArray(); 218 resBytes = result.toByteArray(); 238 resBytes = result.toByteArray(); 256 resBytes = result.toByteArray(); [all...] |
H A D | BigIntegerAndTest.java | 44 resBytes = result.toByteArray(); 64 resBytes = result.toByteArray(); 84 resBytes = result.toByteArray(); 104 resBytes = result.toByteArray(); 124 resBytes = result.toByteArray(); 166 resBytes = result.toByteArray(); 186 resBytes = result.toByteArray(); 206 resBytes = result.toByteArray(); 226 resBytes = result.toByteArray(); 246 resBytes = result.toByteArray(); [all...] |
H A D | BigIntegerOrTest.java | 44 resBytes = result.toByteArray(); 64 resBytes = result.toByteArray(); 84 resBytes = result.toByteArray(); 104 resBytes = result.toByteArray(); 124 resBytes = result.toByteArray(); 144 resBytes = result.toByteArray(); 164 resBytes = result.toByteArray(); 184 resBytes = result.toByteArray(); 204 resBytes = result.toByteArray(); 224 resBytes = result.toByteArray(); [all...] |
H A D | BigIntegerOperateBitsTest.java | 150 resBytes = result.toByteArray(); 168 resBytes = result.toByteArray(); 186 resBytes = result.toByteArray(); 204 resBytes = result.toByteArray(); 261 resBytes = result.toByteArray(); 279 resBytes = result.toByteArray(); 297 resBytes = result.toByteArray(); 315 resBytes = result.toByteArray(); 333 resBytes = result.toByteArray(); 351 resBytes = result.toByteArray(); [all...] |
H A D | BigIntegerSubtractTest.java | 45 resBytes = result.toByteArray(); 66 resBytes = result.toByteArray(); 88 resBytes = result.toByteArray(); 110 resBytes = result.toByteArray(); 131 resBytes = result.toByteArray(); 152 resBytes = result.toByteArray(); 174 resBytes = result.toByteArray(); 196 resBytes = result.toByteArray(); 217 resBytes = result.toByteArray(); 238 resBytes = result.toByteArray(); [all...] |
H A D | BigIntegerMultiplyTest.java | 44 resBytes = result.toByteArray(); 65 resBytes = result.toByteArray(); 87 resBytes = result.toByteArray(); 109 resBytes = result.toByteArray(); 132 resBytes = result.toByteArray(); 155 resBytes = result.toByteArray(); 175 resBytes = result.toByteArray(); 193 resBytes = result.toByteArray(); 211 resBytes = result.toByteArray(); 229 resBytes = result.toByteArray(); [all...] |
H A D | BigIntegerModPowTest.java | 74 resBytes = result.toByteArray(); 97 resBytes = result.toByteArray(); 174 resBytes = result.toByteArray(); 194 resBytes = result.toByteArray(); 214 resBytes = result.toByteArray(); 232 resBytes = result.toByteArray(); 252 resBytes = result.toByteArray(); 272 resBytes = result.toByteArray(); 290 resBytes = result.toByteArray(); 305 byte resBytes[] = result.toByteArray(); [all...] |
H A D | BigIntegerNotTest.java | 44 resBytes = result.toByteArray(); 64 resBytes = result.toByteArray(); 84 resBytes = result.toByteArray(); 104 resBytes = result.toByteArray(); 119 resBytes = result.toByteArray(); 134 resBytes = result.toByteArray(); 151 resBytes = result.toByteArray(); 168 resBytes = result.toByteArray(); 186 resBytes = result.toByteArray();
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
H A D | CipherOutputStream1Test.java | 70 byte[] result = tos.toByteArray(); 88 byte[] result = tos.toByteArray(); 104 byte[] result = tos.toByteArray(); 128 byte[] result = tos.toByteArray(); 169 byte[] result = tos.toByteArray(); 185 byte[] result = tos.toByteArray();
|
/libcore/luni/src/test/java/tests/api/java/io/ |
H A D | ObjectInputStreamTest.java | 59 Support_ASimpleInputStream sis = new Support_ASimpleInputStream(bao.toByteArray()); 79 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); 92 Support_ASimpleInputStream sis = new Support_ASimpleInputStream(bao.toByteArray()); 102 Support_ASimpleInputStream sis = new Support_ASimpleInputStream(bao.toByteArray()); 120 Support_ASimpleInputStream sis = new Support_ASimpleInputStream(bao.toByteArray()); 147 Support_ASimpleInputStream sis = new Support_ASimpleInputStream(bao.toByteArray()); 165 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 176 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 198 Support_ASimpleInputStream sis = new Support_ASimpleInputStream(bao.toByteArray()); 215 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); [all...] |
/libcore/luni/src/main/java/libcore/icu/ |
H A D | CollationKeyICU.java | 40 rhsBytes = other.toByteArray(); 111 @Override public byte[] toByteArray() { method in class:CollationKeyICU
|