/external/valgrind/VEX/orig_amd64/ |
SortedToOrig.hs | 18 bytes2 = foo bytes 24 ". " ++ bytes2 ++ "C3"
|
/libcore/ojluni/src/main/java/sun/security/util/ |
ByteArrayLexOrder.java | 46 * @param bytes2 second 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;
|
ByteArrayTagOrder.java | 46 * @param bytes2 second 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);
|
/libcore/luni/src/test/java/libcore/java/text/ |
OldCollationKeyTest.java | 51 byte[] bytes2 = collator.getCollationKey("123").toByteArray(); 57 compareUnsignedByteArrays(bytes1, bytes2) < 0); 60 compareUnsignedByteArrays(bytes2, bytes3) < 0); 70 private int compareUnsignedByteArrays(byte[] bytes1, byte[] bytes2) { 71 int commonLength = Math.min(bytes1.length, bytes2.length); 75 int keyB = bytes2[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 | 152 byte[][] bytes2 = new byte[5][n2]; 157 for (int k = 0; k < bytes2.length; k++) { 158 sr2.nextBytes(bytes2[k]); 167 bytes1[i1][i2] == bytes2[i3][i4]); 283 byte[][] bytes2 = new byte[2][n]; 294 sr2.nextBytes(bytes2[0]); 296 sr2.nextBytes(bytes2[1]); 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) { 69 array1 = bytes2; 71 array2 = bytes2; 161 if (bytes1[i] != bytes2[i]) {
|
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/stub/command/ |
AlloCommandHandlerTest.java | 35 private static final int BYTES2 = 555;
59 BYTES2), AlloCommandHandler.RECORD_SIZE_KEY, new Integer(RECORD_SIZE));
120 command2 = new Command(CommandNames.ALLO, array(Integer.toString(BYTES2) + " R " + Integer.toString(RECORD_SIZE)));
|
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/command/ |
AlloCommandHandlerTest.java | 35 private static final int BYTES2 = 555;
59 BYTES2), AlloCommandHandler.RECORD_SIZE_KEY, new Integer(RECORD_SIZE));
120 command2 = new Command(CommandNames.ALLO, array(Integer.toString(BYTES2) + " R " + Integer.toString(RECORD_SIZE)));
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
InflaterOutputStreamTest.java | 175 byte[] bytes2 = { 100, 90, 80, 70, 60 }; 177 bestDeflater.setInput(bytes2); 201 for (int i = 0; i < bytes2.length; i++) { 202 assertEquals(bytes2[i], result[bytes1.length + i]);
|
/system/core/debuggerd/ |
utility.cpp | 163 size_t bytes2 = backtrace->Read(addr + start + bytes, reinterpret_cast<uint8_t*>(data) + bytes, local 165 bytes += bytes2; 166 if (bytes2 > 0 && bytes % sizeof(uintptr_t) != 0) {
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
ParcelTest.java | 373 final byte[] bytes2 = new byte[bytes.length]; 374 parcel.readByteArray(bytes2); 375 assertTrue(Arrays.equals(bytes, bytes2)); 412 final byte[] bytes2 = parcel.createByteArray(); 413 assertTrue(Arrays.equals(bytes, bytes2));
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/codec/ |
EncoderUtil.java | 529 byte[] bytes2 = encode(part2, charset); 530 String word2 = encodeB(prefix, part2, 0, charset, bytes2); 557 byte[] bytes2 = encode(part2, charset); 558 String word2 = encodeQ(prefix, part2, usage, 0, charset, bytes2);
|
/packages/services/Telephony/src/org/apache/james/mime4j/codec/ |
EncoderUtil.java | 529 byte[] bytes2 = encode(part2, charset); 530 String word2 = encodeB(prefix, part2, 0, charset, bytes2); 557 byte[] bytes2 = encode(part2, charset); 558 String word2 = encodeQ(prefix, part2, usage, 0, charset, bytes2);
|
/external/webrtc/webrtc/p2p/base/ |
stun_unittest.cc | 1365 StunByteStringAttribute* bytes2 = local [all...] |
/external/llvm/test/CodeGen/SystemZ/ |
vec-combine-02.ll | 244 %bytes2 = bitcast <2 x i16> %low2 to <4 x i8> 252 %blow1 = shufflevector <4 x i8> %bytes2, <4 x i8> %bytes3, 352 %bytes2 = bitcast <4 x i16> %hlow2 to <8 x i8> 357 %join1 = shufflevector <8 x i8> %bytes2, <8 x i8> %bytes3,
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/ |
StringUtilsTests.java | 396 final byte[] bytes2 = StringUtils.hexStringToByteArray(bytesStr); 398 assertTrue(bytes[i] == bytes2[i]); 400 final String bytesStr2 = StringUtils.byteArrayToHexString(bytes2);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
String2Test.java | 476 byte[] bytes2 = "-".getBytes("UTF-16LE"); 477 assertEquals(bytes2[0], bytes[2]); 478 assertEquals(bytes2[1], bytes[3]); [all...] |
StringTest.java | 694 boolean bytesEquals(byte[] bytes1, byte[] bytes2) { 695 return Arrays.toString(bytes1).equals(Arrays.toString(bytes2));
|
/external/opencv3/modules/core/misc/java/test/ |
MatTest.java | 693 byte[] bytes2 = new byte[] { 10, 20, 30, 40, 50 }; 694 m.put(2, 2, bytes2);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
ObjectOutputStreamTest.java | [all...] |
SerializationStressTest.java | 626 byte[] bytes2 = (byte[]) ois.readObject(); 627 assertTrue("Wrong byte[]", Arrays.equals(bytes, bytes2)); [all...] |
/prebuilts/go/darwin-x86/src/reflect/ |
all_test.go | [all...] |
/prebuilts/go/linux-x86/src/reflect/ |
all_test.go | [all...] |
/external/libxml2/ |
runtest.c | 611 char bytes2[4096]; local 623 res2 = read(fd2, bytes2, 4096); 631 if (memcmp(bytes1, bytes2, res1) != 0) { [all...] |
/external/protobuf/java/src/test/java/com/google/protobuf/ |
NanoTest.java | [all...] |