/libcore/ojluni/src/main/java/sun/security/util/ |
ByteArrayTagOrder.java | 45 * @param bytes1 first byte array to compare. 47 * @return negative number if bytes1 < bytes2, 0 if bytes1 == bytes2, 48 * positive number if bytes1 > bytes2. 54 public final int compare(byte[] bytes1, byte[] bytes2) { 57 return (bytes1[0] | 0x20) - (bytes2[0] | 0x20);
|
ByteArrayLexOrder.java | 45 * @param bytes1 first byte array to compare. 47 * @return negative number if bytes1 < bytes2, 0 if bytes1 == bytes2, 48 * positive number if bytes1 > bytes2. 53 public final int compare( byte[] bytes1, byte[] bytes2) { 55 for (int i = 0; i < bytes1.length && i < bytes2.length; i++) { 56 diff = (bytes1[i] & 0xFF) - (bytes2[i] & 0xFF); 63 return bytes1.length - bytes2.length;
|
/libcore/luni/src/test/java/libcore/java/text/ |
OldCollationKeyTest.java | 50 byte[] bytes1 = collator.getCollationKey("12").toByteArray(); 57 compareUnsignedByteArrays(bytes1, bytes2) < 0); 70 private int compareUnsignedByteArrays(byte[] bytes1, byte[] bytes2) { 71 int commonLength = Math.min(bytes1.length, bytes2.length); 74 int keyA = bytes1[i] & 0xFF; 84 if (bytes1.length < bytes2.length) { 86 } else if (bytes1.length > bytes2.length) {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/ |
OldSHA1PRNGSecureRandomTest.java | 151 byte[][] bytes1 = new byte[10][n1]; 154 for (int k = 0; k < bytes1.length; k++) { 155 sr.nextBytes(bytes1[k]); 167 bytes1[i1][i2] == bytes2[i3][i4]); 282 byte[][] bytes1 = new byte[2][n]; 291 sr1.nextBytes(bytes1[0]); 292 sr1.nextBytes(bytes1[1]); 300 assertTrue("non-equality: k=" + k + " j=" + j + " bytes1[k][j]=" + bytes1[k][j] 301 + " 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/harmony-tests/src/test/java/org/apache/harmony/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);
|
/packages/services/Telephony/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);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
StringTest.java | 694 boolean bytesEquals(byte[] bytes1, byte[] bytes2) { 695 return Arrays.toString(bytes1).equals(Arrays.toString(bytes2));
|
/external/libxml2/ |
runtest.c | 610 char bytes1[4096]; local 622 res1 = read(fd1, bytes1, 4096); 631 if (memcmp(bytes1, bytes2, res1) != 0) { [all...] |
/prebuilts/go/darwin-x86/src/reflect/ |
all_test.go | [all...] |
/prebuilts/go/linux-x86/src/reflect/ |
all_test.go | [all...] |
/external/icu/icu4c/source/test/cintltst/ |
udatatst.c | 1217 MappedData bytes1; member in struct:__anon13563 [all...] |
/external/protobuf/java/src/test/java/com/google/protobuf/ |
NanoTest.java | [all...] |
/prebuilts/tools/common/m2/repository/io/netty/netty-common/4.1.0.CR3/ |
netty-common-4.1.0.CR3.jar | |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.team.core_3.5.100.R36x_v20100825-0800.jar | |
/prebuilts/tools/linux-x86_64/kythe/extractors/ |
javac_extractor.jar | |
/prebuilts/tools/linux-x86_64/kythe/indexers/ |
java_indexer.jar | |