/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | IoUtilsTest.java | 36 byte[] bytes2 = IoUtils.toByteArray(is); in testRoundTrip() 38 assertNotSame(bytes2, bytes); in testRoundTrip() 39 assertEquals(bytes.length, bytes2.length); in testRoundTrip() 41 assertEquals(bytes[i], bytes2[i]); in testRoundTrip()
|
/external/tflite-support/third_party/zlib/ |
D | adler32_simd.c | 104 const __m128i bytes2 = _mm_loadu_si128((__m128i*)(buf + 16)); in adler32_simd_() local 119 v_s1 = _mm_add_epi32(v_s1, _mm_sad_epu8(bytes2, zero)); in adler32_simd_() 120 const __m128i mad2 = _mm_maddubs_epi16(bytes2, tap2); in adler32_simd_() 260 const uint8x16_t bytes2 = vld1q_u8((uint8_t*)(buf + 16)); in adler32_simd_() local 270 v_s1 = vpadalq_u16(v_s1, vpadalq_u8(vpaddlq_u8(bytes1), bytes2)); in adler32_simd_() 277 v_column_sum_3 = vaddw_u8(v_column_sum_3, vget_low_u8 (bytes2)); in adler32_simd_() 278 v_column_sum_4 = vaddw_u8(v_column_sum_4, vget_high_u8(bytes2)); in adler32_simd_()
|
/external/zlib/ |
D | adler32_simd.c | 104 const __m128i bytes2 = _mm_loadu_si128((__m128i*)(buf + 16)); in adler32_simd_() local 119 v_s1 = _mm_add_epi32(v_s1, _mm_sad_epu8(bytes2, zero)); in adler32_simd_() 120 const __m128i mad2 = _mm_maddubs_epi16(bytes2, tap2); in adler32_simd_() 260 const uint8x16_t bytes2 = vld1q_u8((uint8_t*)(buf + 16)); in adler32_simd_() local 270 v_s1 = vpadalq_u16(v_s1, vpadalq_u8(vpaddlq_u8(bytes1), bytes2)); in adler32_simd_() 277 v_column_sum_3 = vaddw_u8(v_column_sum_3, vget_low_u8 (bytes2)); in adler32_simd_() 278 v_column_sum_4 = vaddw_u8(v_column_sum_4, vget_high_u8(bytes2)); in adler32_simd_()
|
/external/rust/crates/serde_cbor/tests/ |
D | tags.rs | 43 let bytes2 = to_vec(&value1).unwrap(); in tagged_cbor_roundtrip() localVariable 44 let value2: Value = from_slice(&bytes2).unwrap(); in tagged_cbor_roundtrip() 45 assert_eq!(bytes1, bytes2); in tagged_cbor_roundtrip()
|
/external/rust/crates/serde_cbor/examples/ |
D | tags.rs | 68 let bytes2 = serde_cbor::to_vec(&value1)?; in main() localVariable 70 let value2: Value = serde_cbor::from_slice(&bytes2)?; in main() 73 let result: Bookmark = serde_cbor::from_slice(&bytes2)?; in main()
|
/external/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/unittest/ |
D | TestStringByteConverter.java | 118 byte[] bytes2 = new byte[4]; in testString() 132 int byteCount = byteString.toBytes(test.charAt(i), bytes2, 0); in testString() 136 if (bytes2[j] != bytes[lastPosition + j]) { in testString() 140 + bytes2[j] + ">"); in testString()
|
/external/webrtc/api/transport/ |
D | stun_unittest.cc | 1504 auto bytes2 = StunAttribute::CreateByteString(STUN_ATTR_USERNAME); in TEST_F() local 1505 bytes2->CopyBytes("abcdefghijkl"); in TEST_F() 1506 msg2.AddAttribute(std::move(bytes2)); in TEST_F() 1522 bytes2 = StunAttribute::CreateByteString(STUN_ATTR_MAGIC_COOKIE); in TEST_F() 1523 bytes2->CopyBytes(reinterpret_cast<const char*>(TURN_MAGIC_COOKIE_VALUE), in TEST_F() 1525 msg2.AddAttribute(std::move(bytes2)); in TEST_F() 1562 bytes2 = StunAttribute::CreateByteString(STUN_ATTR_DATA); in TEST_F() 1563 bytes2->CopyBytes("abcdefg"); in TEST_F() 1564 msg2.AddAttribute(std::move(bytes2)); in TEST_F() 1713 auto bytes2 = StunAttribute::CreateByteString(STUN_ATTR_USERNAME); in TEST_F() local [all …]
|
/external/google-smali/third_party/dexlib2/src/test/java/com/android/tools/smali/util/ |
D | HexTest.java | 126 byte[] bytes2 = new byte[]{1, 1, 1, 1, 1, 1, 1, 0, 1, 1}; in testDump() 130 Hex.dump(bytes2, 5, 5, 186, 3, 2)); in testDump()
|
/external/zucchini/ |
D | rel32_utils_unittest.cc | 53 const std::vector<uint8_t>& bytes2, in CheckCopy() argument 67 run_test(bytes_exp_1_to_2, bytes1, bytes2); in CheckCopy() 68 run_test(bytes_exp_2_to_1, bytes2, bytes1); in CheckCopy()
|
D | buffer_view_unittest.cc | 237 std::vector<uint8_t> bytes2 = ParseHexString("10 32 54 76 98 AB CD FE 10 00"); in TEST_F() local 239 ConstBufferView view2(&bytes2[0], bytes2.size()); in TEST_F()
|
/external/cronet/base/ |
D | uuid_unittest.cc | 219 static constexpr uint64_t bytes2[] = {0xfffffffffffffffdull, in TEST() local 229 Uuid::FormatRandomDataAsV4ForTesting(as_bytes(make_span(bytes2))); in TEST()
|
/external/cronet/third_party/protobuf/js/experimental/runtime/kernel/ |
D | kernel_repeated_test.js | 7045 const bytes2 = createArrayBuffer(0x08, 0x00); constant 7047 const msg2 = new TestMessage(Kernel.fromArrayBuffer(bytes2)); 7152 const bytes2 = createArrayBuffer(0x08, 0x00); constant 7153 const msg2 = new TestMessage(Kernel.fromArrayBuffer(bytes2)); 7167 const bytes2 = createArrayBuffer(0x08, 0x00); constant 7168 const msg2 = new TestMessage(Kernel.fromArrayBuffer(bytes2)); 7222 const bytes2 = createArrayBuffer(0x08, 0x00); constant 7223 const msg2 = new TestMessage(Kernel.fromArrayBuffer(bytes2)); 7238 const bytes2 = createArrayBuffer(0x08, 0x00); constant 7239 const msg2 = new TestMessage(Kernel.fromArrayBuffer(bytes2)); [all …]
|
/external/flatbuffers/python/flatbuffers/ |
D | builder.py | 292 bytes2 = bytearray(newSize) 293 bytes2[newSize-len(self.Bytes):] = self.Bytes 294 self.Bytes = bytes2
|
/external/cronet/third_party/protobuf/js/ |
D | message_test.js | 488 var bytes2 = supportsUint8Array ? new Uint8Array([4, 5, 6]) : '456'; 489 clone.setBytesField(bytes2); 496 [['a2', ['b2', 'c2']], ['a3', ['b3', 'c3']]], bytes2, , 527 var bytes2 = supportsUint8Array ? new Uint8Array([4, 5, 6]) : '456'; 529 dest.setBytesField(bytes2);
|
D | message.js | 1679 var bytes2 = /** @type {!Uint8Array} */(field2); 1680 if (bytes1.length != bytes2.length) return false; 1682 if (bytes1[i] != bytes2[i]) return false;
|
/external/cronet/third_party/protobuf/js/compatibility_tests/v3.1.0/ |
D | message_test.js | 450 var bytes2 = supportsUint8Array ? new Uint8Array([4, 5, 6]) : '456'; 451 clone.setBytesField(bytes2); 458 [['a2', ['b2', 'c2']], ['a3', ['b3', 'c3']]], bytes2, , 489 var bytes2 = supportsUint8Array ? new Uint8Array([4, 5, 6]) : '456'; 491 dest.setBytesField(bytes2);
|
/external/cronet/third_party/protobuf/js/compatibility_tests/v3.0.0/ |
D | message_test.js | 494 var bytes2 = supportsUint8Array ? new Uint8Array([4, 5, 6]) : '456'; 495 clone.setBytesField(bytes2); 500 [['a2', ['b2', 'c2']], ['a3', ['b3', 'c3']]], bytes2,, { 100: [, 'e2'] }], 525 var bytes2 = supportsUint8Array ? new Uint8Array([4, 5, 6]) : '456'; 527 dest.setBytesField(bytes2);
|
/external/rust/crates/bytes/tests/ |
D | test_bytes.rs | 709 let bytes2 = Bytes::from(&b"Jumped over the lazy brown dog"[..]); in partial_eq_bytesmut() localVariable 710 assert!(bytes2 != bytesmut); in partial_eq_bytesmut() 711 assert!(bytesmut != bytes2); in partial_eq_bytesmut()
|
/external/llvm/test/CodeGen/SystemZ/ |
D | 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,
|
/external/rust/crates/der-parser/tests/ |
D | der_parser.rs | 402 let bytes2 = [0x30, 0x05, 0x02, 0x03, 0x01, 0x00, 0x01]; in test_der_optional() localVariable 426 assert_eq!(parser(&bytes2), Ok((empty, expected2))); in test_der_optional()
|
/external/libtextclassifier/abseil-cpp/absl/container/ |
D | btree_test.cc | 673 int64_t bytes1 = 0, bytes2 = 0; in BtreeAllocatorTest() local 675 PropagatingCountingAlloc<T> allocator2(&bytes2); in BtreeAllocatorTest() 703 EXPECT_GT(bytes2, bytes1); in BtreeAllocatorTest() 725 EXPECT_GT(bytes2, bytes1); in BtreeAllocatorTest() 748 EXPECT_GT(bytes2, bytes1); in BtreeAllocatorTest() 2265 int64_t bytes1 = 0, bytes2 = 0; in TEST() local 2267 PropagatingCountingAlloc<MovableOnlyInstance> allocator2(&bytes2); in TEST()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/ |
D | btree_test.cc | 674 int64_t bytes1 = 0, bytes2 = 0; in BtreeAllocatorTest() local 676 PropagatingCountingAlloc<T> allocator2(&bytes2); in BtreeAllocatorTest() 704 EXPECT_GT(bytes2, bytes1); in BtreeAllocatorTest() 726 EXPECT_GT(bytes2, bytes1); in BtreeAllocatorTest() 749 EXPECT_GT(bytes2, bytes1); in BtreeAllocatorTest() 2384 int64_t bytes1 = 0, bytes2 = 0; in TEST() local 2386 PropagatingCountingAlloc<MovableOnlyInstance> allocator2(&bytes2); in TEST()
|
/external/openscreen/third_party/abseil/src/absl/container/ |
D | btree_test.cc | 674 int64_t bytes1 = 0, bytes2 = 0; in BtreeAllocatorTest() local 676 PropagatingCountingAlloc<T> allocator2(&bytes2); in BtreeAllocatorTest() 704 EXPECT_GT(bytes2, bytes1); in BtreeAllocatorTest() 726 EXPECT_GT(bytes2, bytes1); in BtreeAllocatorTest() 749 EXPECT_GT(bytes2, bytes1); in BtreeAllocatorTest() 2360 int64_t bytes1 = 0, bytes2 = 0; in TEST() local 2362 PropagatingCountingAlloc<MovableOnlyInstance> allocator2(&bytes2); in TEST()
|
/external/tensorflow/third_party/absl/abseil-cpp/absl/container/ |
D | btree_test.cc | 678 int64_t bytes1 = 0, bytes2 = 0; in BtreeAllocatorTest() local 680 PropagatingCountingAlloc<T> allocator2(&bytes2); in BtreeAllocatorTest() 708 EXPECT_GT(bytes2, bytes1); in BtreeAllocatorTest() 730 EXPECT_GT(bytes2, bytes1); in BtreeAllocatorTest() 753 EXPECT_GT(bytes2, bytes1); in BtreeAllocatorTest() 2434 int64_t bytes1 = 0, bytes2 = 0; in TEST() local 2436 PropagatingCountingAlloc<MovableOnlyInstance> allocator2(&bytes2); in TEST()
|
/external/webrtc/third_party/abseil-cpp/absl/container/ |
D | btree_test.cc | 681 int64_t bytes1 = 0, bytes2 = 0; in BtreeAllocatorTest() local 683 PropagatingCountingAlloc<T> allocator2(&bytes2); in BtreeAllocatorTest() 711 EXPECT_GT(bytes2, bytes1); in BtreeAllocatorTest() 733 EXPECT_GT(bytes2, bytes1); in BtreeAllocatorTest() 756 EXPECT_GT(bytes2, bytes1); in BtreeAllocatorTest() 2437 int64_t bytes1 = 0, bytes2 = 0; in TEST() local 2439 PropagatingCountingAlloc<MovableOnlyInstance> allocator2(&bytes2); in TEST()
|