Home
last modified time | relevance | path

Searched refs:bytes2 (Results 1 – 5 of 5) sorted by relevance

/aosp12/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
H A DNameDistance.java64 public float getDistance(byte bytes1[], byte bytes2[]) { in getDistance() argument
67 if (bytes1.length > bytes2.length) { in getDistance()
69 array1 = bytes2; in getDistance()
71 array2 = bytes2; in getDistance()
161 if (bytes1[i] != bytes2[i]) { in getDistance()
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
H A DUtilsTest.java134 byte[] bytes2 = new byte[] {4, 5, 6}; in testConcatByteArrays()
137 assertThat(Utils.concatByteArrays(bytes1, bytes2)).asList() in testConcatByteArrays()
/aosp12/system/core/debuggerd/libdebuggerd/
H A Dutility.cpp178 size_t bytes2 = memory->Read(*addr + bytes, static_cast<uint8_t*>(out) + bytes, len - bytes); in dump_memory() local
179 bytes += bytes2; in dump_memory()
180 if (bytes2 > 0 && bytes % sizeof(uintptr_t) != 0) { in dump_memory()
/aosp12/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/
H A DStringUtilsTests.java417 final byte[] bytes2 = StringUtils.hexStringToByteArray(bytesStr); in testHexStringUtils()
419 assertTrue(bytes[i] == bytes2[i]); in testHexStringUtils()
421 final String bytesStr2 = StringUtils.byteArrayToHexString(bytes2); in testHexStringUtils()
/aosp12/art/runtime/interpreter/
H A Dinterpreter_intrinsics.cc309 void* bytes2; in MterpStringEquals() local
313 bytes2 = str2->GetValueCompressed(); in MterpStringEquals()
317 bytes2 = str2->GetValue(); in MterpStringEquals()
319 res = (memcmp(bytes1, bytes2, len) == 0); in MterpStringEquals()