Home
last modified time | relevance | path

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

12

/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DIoUtilsTest.java36 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/zlib/
Dadler32_simd.c104 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/angle/third_party/zlib/
Dadler32_simd.c104 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/
Dtags.rs43 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/
Dtags.rs68 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-unittest/src/org/unicode/cldr/unittest/
DTestStringByteConverter.java118 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/
Dstun_unittest.cc1555 auto bytes2 = StunAttribute::CreateByteString(STUN_ATTR_USERNAME); in TEST_F() local
1556 bytes2->CopyBytes("abcdefghijkl"); in TEST_F()
1557 msg2.AddAttribute(std::move(bytes2)); in TEST_F()
1573 bytes2 = StunAttribute::CreateByteString(STUN_ATTR_MAGIC_COOKIE); in TEST_F()
1574 bytes2->CopyBytes(reinterpret_cast<const char*>(TURN_MAGIC_COOKIE_VALUE), in TEST_F()
1576 msg2.AddAttribute(std::move(bytes2)); in TEST_F()
1613 bytes2 = StunAttribute::CreateByteString(STUN_ATTR_DATA); in TEST_F()
1614 bytes2->CopyBytes("abcdefg"); in TEST_F()
1615 msg2.AddAttribute(std::move(bytes2)); in TEST_F()
1764 auto bytes2 = StunAttribute::CreateByteString(STUN_ATTR_USERNAME); in TEST_F() local
[all …]
/external/golang-protobuf/proto/
Dequal_test.go97 bytes2 := []byte{
102 SetRawExtension(messageWithExtension3c, 200, bytes2)
/external/flatbuffers/python/flatbuffers/
Dbuilder.py283 bytes2 = bytearray(newSize)
284 bytes2[newSize-len(self.Bytes):] = self.Bytes
285 self.Bytes = bytes2
/external/rust/crates/bytes/tests/
Dtest_bytes.rs654 let bytes2 = Bytes::from(&b"Jumped over the lazy brown dog"[..]); in partial_eq_bytesmut() localVariable
655 assert!(bytes2 != bytesmut); in partial_eq_bytesmut()
656 assert!(bytesmut != bytes2); in partial_eq_bytesmut()
/external/protobuf/js/
Dmessage_test.js486 var bytes2 = supportsUint8Array ? new Uint8Array([4, 5, 6]) : '456';
487 clone.setBytesField(bytes2);
494 [['a2', ['b2', 'c2']], ['a3', ['b3', 'c3']]], bytes2, ,
525 var bytes2 = supportsUint8Array ? new Uint8Array([4, 5, 6]) : '456';
527 dest.setBytesField(bytes2);
Dmessage.js1629 var bytes2 = /** @type {!Uint8Array} */(field2);
1630 if (bytes1.length != bytes2.length) return false;
1632 if (bytes1[i] != bytes2[i]) return false;
/external/protobuf/js/compatibility_tests/v3.1.0/
Dmessage_test.js450 var bytes2 = supportsUint8Array ? new Uint8Array([4, 5, 6]) : '456';
451 clone.setBytesField(bytes2);
456 [['a2', ['b2', 'c2']], ['a3', ['b3', 'c3']]], bytes2,, { 100: [, 'e2'] }],
481 var bytes2 = supportsUint8Array ? new Uint8Array([4, 5, 6]) : '456';
483 dest.setBytesField(bytes2);
/external/protobuf/js/compatibility_tests/v3.0.0/
Dmessage_test.js494 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/llvm-project/llvm/test/CodeGen/SystemZ/
Dvec-combine-02.ll244 %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/llvm/test/CodeGen/SystemZ/
Dvec-combine-02.ll244 %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/webrtc/third_party/abseil-cpp/absl/container/
Dbtree_test.cc671 int64_t bytes1 = 0, bytes2 = 0; in BtreeAllocatorTest() local
673 PropagatingCountingAlloc<T> allocator2(&bytes2); in BtreeAllocatorTest()
701 EXPECT_GT(bytes2, bytes1); in BtreeAllocatorTest()
723 EXPECT_GT(bytes2, bytes1); in BtreeAllocatorTest()
746 EXPECT_GT(bytes2, bytes1); in BtreeAllocatorTest()
2251 int64_t bytes1 = 0, bytes2 = 0; in TEST() local
2253 PropagatingCountingAlloc<MovableOnlyInstance> allocator2(&bytes2); in TEST()
/external/abseil-cpp/absl/container/
Dbtree_test.cc671 int64_t bytes1 = 0, bytes2 = 0; in BtreeAllocatorTest() local
673 PropagatingCountingAlloc<T> allocator2(&bytes2); in BtreeAllocatorTest()
701 EXPECT_GT(bytes2, bytes1); in BtreeAllocatorTest()
723 EXPECT_GT(bytes2, bytes1); in BtreeAllocatorTest()
746 EXPECT_GT(bytes2, bytes1); in BtreeAllocatorTest()
2251 int64_t bytes1 = 0, bytes2 = 0; in TEST() local
2253 PropagatingCountingAlloc<MovableOnlyInstance> allocator2(&bytes2); in TEST()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/
Dbtree_test.cc673 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/libtextclassifier/abseil-cpp/absl/container/
Dbtree_test.cc673 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/angle/third_party/abseil-cpp/absl/container/
Dbtree_test.cc674 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()
2399 int64_t bytes1 = 0, bytes2 = 0; in TEST() local
2401 PropagatingCountingAlloc<MovableOnlyInstance> allocator2(&bytes2); in TEST()
/external/openscreen/third_party/abseil/src/absl/container/
Dbtree_test.cc674 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/mesa3d/prebuilt-intermediates/bifrost/
Dbi_generated_pack.h249 unsigned bytes2 = 0; in pan_pack_fma_rrot_double_i32() local
261 …return 0x33a000 | (src0 << 0) | (src1 << 3) | (src2 << 6) | (bytes2 << 9) | (lane2 << 10) | (resul… in pan_pack_fma_rrot_double_i32()
766 unsigned bytes2 = 0; in pan_pack_fma_arshift_double_i32() local
778 …return 0x33e000 | (src0 << 0) | (src1 << 3) | (src2 << 6) | (bytes2 << 9) | (lane2 << 10) | (resul… in pan_pack_fma_arshift_double_i32()
2484 unsigned bytes2 = 0; in pan_pack_fma_lshift_double_i32() local
2496 …return 0x33c000 | (src0 << 0) | (src1 << 3) | (src2 << 6) | (bytes2 << 9) | (lane2 << 10) | (resul… in pan_pack_fma_lshift_double_i32()
6261 unsigned bytes2 = 0; in pan_pack_fma_rshift_double_i32() local
6273 …return 0x33d000 | (src0 << 0) | (src1 << 3) | (src2 << 6) | (bytes2 << 9) | (lane2 << 10) | (resul… in pan_pack_fma_rshift_double_i32()
6820 unsigned bytes2 = 0; in pan_pack_fma_frshift_double_i32() local
6830 return 0x33f000 | (src0 << 0) | (src1 << 3) | (src2 << 6) | (bytes2 << 9) | (lane2 << 10); in pan_pack_fma_frshift_double_i32()
[all …]
Dbifrost_gen_disasm.c1630 const char *bytes2 = bytes2_table[_BITS(bits, 9, 1)]; in bi_disasm_fma_rrot_double_i32() local
1656 fputs(bytes2, fp); in bi_disasm_fma_rrot_double_i32()
1960 const char *bytes2 = bytes2_table[_BITS(bits, 9, 1)]; in bi_disasm_fma_lshift_double_i32() local
1986 fputs(bytes2, fp); in bi_disasm_fma_lshift_double_i32()
3838 const char *bytes2 = bytes2_table[_BITS(bits, 9, 1)]; in bi_disasm_fma_frshift_double_i32() local
3857 fputs(bytes2, fp); in bi_disasm_fma_frshift_double_i32()
4107 const char *bytes2 = bytes2_table[_BITS(bits, 9, 1)]; in bi_disasm_fma_lrot_double_i32() local
4133 fputs(bytes2, fp); in bi_disasm_fma_lrot_double_i32()
7315 const char *bytes2 = bytes2_table[_BITS(bits, 9, 1)]; in bi_disasm_fma_rshift_double_i32() local
7341 fputs(bytes2, fp); in bi_disasm_fma_rshift_double_i32()
[all …]
/external/libxml2/
Druntest.c617 char bytes2[4096]; in compareFiles() local
651 res2 = read(fd2, bytes2, 4096); in compareFiles()
659 if (memcmp(bytes1, bytes2, res1) != 0) { in compareFiles()

12