/libcore/luni/src/test/java/libcore/java/text/ |
OldCollationKeyTest.java | 55 byte[] bytes1 = collator.getCollationKey("12").toByteArray(); 62 compareUnsignedByteArrays(bytes1, bytes2) < 0); 75 private int compareUnsignedByteArrays(byte[] bytes1, byte[] bytes2) { 76 int commonLength = Math.min(bytes1.length, bytes2.length); 79 int keyA = bytes1[i] & 0xFF; 89 if (bytes1.length < bytes2.length) { 91 } else if (bytes1.length > bytes2.length) {
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/crypto/ |
SHA1PRNG_SecureRandomTest.java | 163 byte[][] bytes1 = new byte[10][n1]; 166 for ( int k = 0; k < bytes1.length; k++ ) { 167 sr.nextBytes(bytes1[k]); 179 bytes1[i1][i2] == bytes2[i3][i4]); 292 byte[][] bytes1 = new byte[2][n]; 301 sr1.nextBytes(bytes1[0]); 302 sr1.nextBytes(bytes1[1]); 311 " bytes1[k][j]="+bytes1[k][j] +" bytes2[k][j]=" +bytes2[k][j], 312 bytes1[k][j] == bytes2[k][j] ) [all...] |
SHA1withDSA_SignatureTest.java | 100 private static byte bytes1[] = new byte[1000]; field in class:SHA1withDSA_SignatureTest 129 mySecureRandom.nextBytes(bytes1); typedefs 346 signingSigns[i].update(bytes1, 0, bytes1.length); 382 signingSigns[i].update(bytes1, 0, bytes1.length); 448 signingSigns[0].update(bytes1, 0, bytes1.length); 452 verifyingSign.update(bytes1, 0, bytes1.length) [all...] |
SHA1_MessageDigestTest.java | 227 byte[] bytes1 = null; 238 bytes1 = md.digest(); 243 assertEquals("bytes1.length != bytes2.length", bytes1.length, bytes2.length); 245 assertEquals("no equality for i=" +i + " j=" +j, bytes1[j], bytes2[j]); 345 byte[] bytes1 = new byte[DIGESTLENGTH]; 355 md.digest(bytes1, 0, DIGESTLENGTH); 360 assertEquals("bytes1.length != bytes2.length", bytes1.length, bytes2.length); 362 assertEquals("no equality for j=" + j, bytes1[j], bytes2[j]) [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/provider/crypto/ |
SHA1PRNG_SecureRandomTest.java | 155 byte[][] bytes1 = new byte[10][n1]; 158 for (int k = 0; k < bytes1.length; k++) { 159 sr.nextBytes(bytes1[k]); 171 bytes1[i1][i2] == bytes2[i3][i4]); 286 byte[][] bytes1 = new byte[2][n]; 295 sr1.nextBytes(bytes1[0]); 296 sr1.nextBytes(bytes1[1]); 304 assertTrue("non-equality: k=" + k + " j=" + j + " bytes1[k][j]=" + bytes1[k][j] 305 + " bytes2[k][j]=" + bytes2[k][j], bytes1[k][j] == bytes2[k][j]) [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/ |
NameDistance.java | 64 public float getDistance(byte bytes1[], byte bytes2[]) { 67 if (bytes1.length > bytes2.length) { 68 array2 = bytes1; 72 array1 = bytes1; 161 if (bytes1[i] != bytes2[i]) {
|
/libcore/crypto/src/main/java/org/conscrypt/ |
ServerKeyExchange.java | 37 final byte[] bytes1; field in class:ServerKeyExchange 66 bytes1 = toUnsignedByteArray(this.par1); 70 length = 4 + bytes1.length + bytes2.length; 166 bytes1 = in.read(size); 167 par1 = new BigInteger(1, bytes1); 168 this.length = 2 + bytes1.length; 202 out.writeUint16(bytes1.length); 203 out.write(bytes1);
|
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
InflaterOutputStreamTest.java | 169 byte[] bytes1 = {10,20,30,40,50}; 171 defaultDeflater.setInput(bytes1); 189 for(int i =0;i<bytes1.length; i++){ 190 assertEquals(bytes1[i],result[i]); 202 assertEquals(bytes2[i],result[bytes1.length+i]);
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/codec/ |
EncoderUtil.java | 524 byte[] bytes1 = encode(part1, charset); 526 bytes1); 552 byte[] bytes1 = encode(part1, charset); 554 charset, bytes1);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
StringTest.java | 742 boolean bytesEquals(byte[] bytes1, byte[] bytes2){ 743 return Arrays.toString(bytes1).equals(Arrays.toString(bytes2));
|
/external/chromium_org/third_party/libxml/src/ |
runtest.c | 614 char bytes1[4096]; local 626 res1 = read(fd1, bytes1, 4096); 635 if (memcmp(bytes1, bytes2, res1) != 0) { [all...] |
/external/chromium_org/third_party/icu/source/test/cintltst/ |
udatatst.c | 1178 MappedData bytes1; member in struct:__anon14261 [all...] |
/external/icu4c/test/cintltst/ |
udatatst.c | 1181 MappedData bytes1; member in struct:__anon21774 [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.team.core_3.5.100.R36x_v20100825-0800.jar | |