Home
last modified time | relevance | path

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

/third_party/glib/glib/tests/
Dbytes.c110 GBytes *bytes2 = g_bytes_new_from_bytes (bytes1, 1, 12); in test_new_from_bytes_slice() local
111 GBytes *bytes3 = g_bytes_new_from_bytes (bytes2, 0, 6); in test_new_from_bytes_slice()
115 g_assert_cmpint (bytes2->ref_count, ==, 1); in test_new_from_bytes_slice()
120 g_assert (bytes2->user_data == bytes); in test_new_from_bytes_slice()
125 g_assert_cmpint (12, ==, g_bytes_get_size (bytes2)); in test_new_from_bytes_slice()
130 g_assert_cmpint (0, ==, strncmp ("stupid data", (gchar *)bytes2->data, 12)); in test_new_from_bytes_slice()
135 g_bytes_unref (bytes2); in test_new_from_bytes_slice()
187 GBytes *bytes2; in test_hash() local
192 bytes2 = g_bytes_new ("blah", 4); in test_hash()
195 hash2 = g_bytes_hash (bytes2); in test_hash()
[all …]
Dgvariant.c4734 GBytes *bytes2; in test_gbytes() local
4749 bytes2 = g_variant_get_data_as_bytes (a); in test_gbytes()
4753 g_assert_true (g_bytes_equal (bytes, bytes2)); in test_gbytes()
4755 g_bytes_unref (bytes2); in test_gbytes()
4760 bytes2 = g_variant_get_data_as_bytes (a); in test_gbytes()
4761 g_assert_false (g_bytes_equal (bytes, bytes2)); in test_gbytes()
4764 g_bytes_unref (bytes2); in test_gbytes()
/third_party/flutter/skia/third_party/externals/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_()
/third_party/skia/third_party/externals/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_()
/third_party/node/deps/zlib/
Dadler32_simd.c108 const __m128i bytes2 = _mm_loadu_si128((__m128i*)(buf + 16)); in adler32_simd_() local
123 v_s1 = _mm_add_epi32(v_s1, _mm_sad_epu8(bytes2, zero)); in adler32_simd_()
124 const __m128i mad2 = _mm_maddubs_epi16(bytes2, tap2); in adler32_simd_()
264 const uint8x16_t bytes2 = vld1q_u8((uint8_t*)(buf + 16)); in adler32_simd_() local
274 v_s1 = vpadalq_u16(v_s1, vpadalq_u8(vpaddlq_u8(bytes1), bytes2)); in adler32_simd_()
281 v_column_sum_3 = vaddw_u8(v_column_sum_3, vget_low_u8 (bytes2)); in adler32_simd_()
282 v_column_sum_4 = vaddw_u8(v_column_sum_4, vget_high_u8(bytes2)); in adler32_simd_()
/third_party/glib/glib/
Dgbytes.c359 gconstpointer bytes2) in g_bytes_equal() argument
362 const GBytes *b2 = bytes2; in g_bytes_equal()
365 g_return_val_if_fail (bytes2 != NULL, FALSE); in g_bytes_equal()
423 gconstpointer bytes2) in g_bytes_compare() argument
426 const GBytes *b2 = bytes2; in g_bytes_compare()
430 g_return_val_if_fail (bytes2 != NULL, 0); in g_bytes_compare()
Dgbytes.h82 gconstpointer bytes2);
86 gconstpointer bytes2);
/third_party/glib/gio/
Dgbytesicon.c196 GBytesIcon *bytes2 = G_BYTES_ICON (icon2); in g_bytes_icon_equal() local
198 return g_bytes_equal (bytes1->bytes, bytes2->bytes); in g_bytes_icon_equal()
/third_party/glib/gio/tests/
Dmemory-output-stream.c281 GBytes *bytes, *bytes2; in test_write_bytes() local
295 bytes2 = g_memory_output_stream_steal_as_bytes (G_MEMORY_OUTPUT_STREAM (mo)); in test_write_bytes()
297 g_assert (g_bytes_equal (bytes, bytes2)); in test_write_bytes()
300 g_bytes_unref (bytes2); in test_write_bytes()
Dg-icon.c575 GBytes *bytes2; in test_bytes_icon() local
590 g_object_get (icon, "bytes", &bytes2, NULL); in test_bytes_icon()
591 g_assert (bytes == bytes2); in test_bytes_icon()
592 g_bytes_unref (bytes2); in test_bytes_icon()
/third_party/protobuf/js/experimental/runtime/kernel/
Dkernel_repeated_test.js7045 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 …]
/third_party/openssl/test/
Dasn1_encode_test.c93 unsigned char *bytes2; member
610 if (custom_data->bytes2[i - 1] != '\0') in make_custom_der()
659 memcpy(p, custom_data->bytes2, custom_data->nbytes2); in make_custom_der()
/third_party/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);
/third_party/protobuf/js/
Dmessage_test.js488 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);
Dmessage.js1678 var bytes2 = /** @type {!Uint8Array} */(field2);
1679 if (bytes1.length != bytes2.length) return false;
1681 if (bytes1[i] != bytes2[i]) return false;
/third_party/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);
/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()
/third_party/skia/third_party/externals/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()
/third_party/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()
/third_party/icu/icu4c/source/test/cintltst/
Dudatatst.c1223 UDataInfo bytes2; member
/third_party/python/Objects/
Dunicodeobject.c5391 char *bytes2; in _Py_EncodeUTF8Ex() local
5393 bytes2 = PyMem_RawRealloc(bytes, final_size); in _Py_EncodeUTF8Ex()
5396 bytes2 = PyMem_Realloc(bytes, final_size); in _Py_EncodeUTF8Ex()
5398 if (bytes2 == NULL) { in _Py_EncodeUTF8Ex()
5410 *str = bytes2; in _Py_EncodeUTF8Ex()