Home
last modified time | relevance | path

Searched refs:ptr1 (Results 1 – 25 of 123) sorted by relevance

12345

/third_party/boost/libs/container_hash/test/
Dhash_std_smart_ptr_test.cpp32 std::shared_ptr<int> ptr1(new int(10)); in shared_ptr_tests() local
36 BOOST_TEST(x1(x) != x2(ptr1)); in shared_ptr_tests()
38 BOOST_TEST(x1(ptr1) == x2(ptr1)); in shared_ptr_tests()
39 BOOST_TEST(x1(ptr1) != x2(ptr2)); in shared_ptr_tests()
40 ptr2 = ptr1; in shared_ptr_tests()
41 BOOST_TEST(x1(ptr1) == x2(ptr2)); in shared_ptr_tests()
44 BOOST_TEST(x1(ptr1) == BOOST_HASH_TEST_NAMESPACE::hash_value(ptr2)); in shared_ptr_tests()
56 std::unique_ptr<int> ptr1(new int(10)); in unique_ptr_tests() local
60 BOOST_TEST(x1(x) != x2(ptr1)); in unique_ptr_tests()
62 BOOST_TEST(x1(ptr1) == x2(ptr1)); in unique_ptr_tests()
[all …]
/third_party/cmsis/CMSIS/DSP/Source/TransformFunctions/
Darm_cfft_radix4_q31.c159 q31_t *ptr1; in arm_radix4_butterfly_q31() local
400 ptr1 = &pSrc[0]; in arm_radix4_butterfly_q31()
406 xa = *ptr1++; in arm_radix4_butterfly_q31()
407 ya = *ptr1++; in arm_radix4_butterfly_q31()
410 xb = *ptr1++; in arm_radix4_butterfly_q31()
411 yb = *ptr1++; in arm_radix4_butterfly_q31()
414 xc = *ptr1++; in arm_radix4_butterfly_q31()
415 yc = *ptr1++; in arm_radix4_butterfly_q31()
418 xd = *ptr1++; in arm_radix4_butterfly_q31()
419 yd = *ptr1++; in arm_radix4_butterfly_q31()
[all …]
Darm_cfft_radix4_f32.c129 float32_t *ptr1; in arm_radix4_butterfly_f32() local
415 ptr1 = &pSrc[0]; in arm_radix4_butterfly_f32()
420 xaIn = ptr1[0]; in arm_radix4_butterfly_f32()
421 yaIn = ptr1[1]; in arm_radix4_butterfly_f32()
422 xbIn = ptr1[2]; in arm_radix4_butterfly_f32()
423 ybIn = ptr1[3]; in arm_radix4_butterfly_f32()
424 xcIn = ptr1[4]; in arm_radix4_butterfly_f32()
425 ycIn = ptr1[5]; in arm_radix4_butterfly_f32()
426 xdIn = ptr1[6]; in arm_radix4_butterfly_f32()
427 ydIn = ptr1[7]; in arm_radix4_butterfly_f32()
[all …]
Darm_cfft_radix4_f16.c194 float16_t *ptr1; in arm_radix4_butterfly_f16() local
480 ptr1 = &pSrc[0]; in arm_radix4_butterfly_f16()
485 xaIn = ptr1[0]; in arm_radix4_butterfly_f16()
486 yaIn = ptr1[1]; in arm_radix4_butterfly_f16()
487 xbIn = ptr1[2]; in arm_radix4_butterfly_f16()
488 ybIn = ptr1[3]; in arm_radix4_butterfly_f16()
489 xcIn = ptr1[4]; in arm_radix4_butterfly_f16()
490 ycIn = ptr1[5]; in arm_radix4_butterfly_f16()
491 xdIn = ptr1[6]; in arm_radix4_butterfly_f16()
492 ydIn = ptr1[7]; in arm_radix4_butterfly_f16()
[all …]
Darm_cfft_radix4_q15.c160 q15_t *ptr1; in arm_radix4_butterfly_q15() local
490 ptr1 = &pSrc16[0]; in arm_radix4_butterfly_q15()
498 xaya = read_q15x2_ia ((q15_t **) &ptr1); in arm_radix4_butterfly_q15()
501 xbyb = read_q15x2_ia ((q15_t **) &ptr1); in arm_radix4_butterfly_q15()
504 xcyc = read_q15x2_ia ((q15_t **) &ptr1); in arm_radix4_butterfly_q15()
507 xdyd = read_q15x2_ia ((q15_t **) &ptr1); in arm_radix4_butterfly_q15()
516 ptr1 = ptr1 - 8U; in arm_radix4_butterfly_q15()
521 write_q15x2_ia (&ptr1, __SHADD16(R, T)); in arm_radix4_butterfly_q15()
528 write_q15x2_ia (&ptr1, __SHSUB16(R, T)); in arm_radix4_butterfly_q15()
540 write_q15x2_ia (&ptr1, __SHSAX(S, U)); in arm_radix4_butterfly_q15()
[all …]
/third_party/cmsis/CMSIS/DSP/Source/FilteringFunctions/
Darm_fir_interpolate_f32.c145 const float32_t *ptr1, *ptr2; /* Temporary pointers for state and coefficient buffers */ in arm_fir_interpolate2_f32_mve() local
175 ptr1 = pState; in arm_fir_interpolate2_f32_mve()
189 vecState = vldrwq_f32(ptr1); in arm_fir_interpolate2_f32_mve()
198 ptr1 += 4; in arm_fir_interpolate2_f32_mve()
211 vecState = vldrwq_z_f32(ptr1, p0); in arm_fir_interpolate2_f32_mve()
268 const float32_t *ptr1, *ptr2; /* Temporary pointers for state and coefficient buffers */ in arm_fir_interpolate_f32() local
313 ptr1 = pState; in arm_fir_interpolate_f32()
328 state0 = ptr1[0]; in arm_fir_interpolate_f32()
329 state1 = ptr1[1]; in arm_fir_interpolate_f32()
330 state2 = ptr1[2]; in arm_fir_interpolate_f32()
[all …]
Darm_fir_interpolate_q31.c69 const q31_t *ptr1, *ptr2; /* Temporary pointers for state and coefficient buffers */ in arm_fir_interpolate_q31() local
107 ptr1 = pState; in arm_fir_interpolate_q31()
123 vecState = vldrwq_s32(ptr1); in arm_fir_interpolate_q31()
137 ptr1 += 4; in arm_fir_interpolate_q31()
146 vecState = vldrwq_z_s32(ptr1, p0); in arm_fir_interpolate_q31()
186 vecState = vldrwq_s32(ptr1); in arm_fir_interpolate_q31()
197 ptr1 += 4; in arm_fir_interpolate_q31()
206 vecState = vldrwq_z_s32(ptr1, p0); in arm_fir_interpolate_q31()
240 vecState = vldrwq_s32(ptr1); in arm_fir_interpolate_q31()
248 ptr1 += 4; in arm_fir_interpolate_q31()
[all …]
Darm_fir_interpolate_q15.c69 const q15_t *ptr1, *ptr2; /* Temporary pointers for state and coefficient buffers */ in arm_fir_interpolate_q15() local
110 ptr1 = pState; in arm_fir_interpolate_q15()
126 vecState = vldrhq_s16(ptr1); in arm_fir_interpolate_q15()
140 ptr1 += 8; in arm_fir_interpolate_q15()
149 vecState = vldrhq_z_s16(ptr1, p0); in arm_fir_interpolate_q15()
189 vecState = vldrhq_s16(ptr1); in arm_fir_interpolate_q15()
200 ptr1 += 8; in arm_fir_interpolate_q15()
209 vecState = vldrhq_z_s16(ptr1, p0); in arm_fir_interpolate_q15()
243 vecState = vldrhq_s16(ptr1); in arm_fir_interpolate_q15()
251 ptr1 += 8; in arm_fir_interpolate_q15()
[all …]
/third_party/gettext/gettext-tools/src/
Dmsgl-equal.c44 const char *ptr1; in msgstr_equal_ignoring_potcdate() local
50 for (ptr1 = msgstr1;;) in msgstr_equal_ignoring_potcdate()
52 if (msgstr1_end - ptr1 < fieldlen) in msgstr_equal_ignoring_potcdate()
54 ptr1 = NULL; in msgstr_equal_ignoring_potcdate()
57 if (memcmp (ptr1, field, fieldlen) == 0) in msgstr_equal_ignoring_potcdate()
59 ptr1 = (const char *) memchr (ptr1, '\n', msgstr1_end - ptr1); in msgstr_equal_ignoring_potcdate()
60 if (ptr1 == NULL) in msgstr_equal_ignoring_potcdate()
62 ptr1++; in msgstr_equal_ignoring_potcdate()
81 if (ptr1 == NULL) in msgstr_equal_ignoring_potcdate()
91 if (msgstr_equal (msgstr1, ptr1 - msgstr1, msgstr2, ptr2 - msgstr2)) in msgstr_equal_ignoring_potcdate()
[all …]
Dmsgl-fsearch.c378 struct mult_index *ptr1; in mult_index_list_accumulate() local
398 ptr1 = accu->item; in mult_index_list_accumulate()
399 ptr1_end = ptr1 + len1; in mult_index_list_accumulate()
403 while (ptr1 < ptr1_end && ptr2 < ptr2_end) in mult_index_list_accumulate()
405 if (ptr1->index < *ptr2) in mult_index_list_accumulate()
407 *destptr = *ptr1; in mult_index_list_accumulate()
408 ptr1++; in mult_index_list_accumulate()
410 else if (ptr1->index > *ptr2) in mult_index_list_accumulate()
418 destptr->index = ptr1->index; in mult_index_list_accumulate()
419 destptr->count = ptr1->count + 1; in mult_index_list_accumulate()
[all …]
/third_party/unity/test/tests/
Dtest_unity_core.c198 char* ptr1 = NULL; in testIsNull() local
201 TEST_ASSERT_NULL(ptr1); in testIsNull()
207 const char* ptr1 = "hello"; in testIsNullShouldFailIfNot() local
210 TEST_ASSERT_NULL(ptr1); in testIsNullShouldFailIfNot()
216 char* ptr1 = NULL; in testNotNullShouldFailIfNULL() local
219 TEST_ASSERT_NOT_NULL(ptr1); in testNotNullShouldFailIfNULL()
225 const char* ptr1 = "\0"; in testIsEmpty() local
228 TEST_ASSERT_EMPTY(ptr1); in testIsEmpty()
234 const char* ptr1 = "hello"; in testIsEmptyShouldFailIfNot() local
237 TEST_ASSERT_EMPTY(ptr1); in testIsEmptyShouldFailIfNot()
[all …]
/third_party/pulseaudio/src/pulsecore/
Dmix_neon.c86 const int16_t *ptr1 = streams[1].ptr; in pa_mix2_ch1_s16ne_neon() local
109 : [ptr0] "+r" (ptr0), [ptr1] "+r" (ptr1), [data] "+r" (data) in pa_mix2_ch1_s16ne_neon()
117 sum += pa_mult_s16_volume(*ptr1++, streams[1].linear[0].i); in pa_mix2_ch1_s16ne_neon()
125 const int16_t *ptr1 = streams[1].ptr; in pa_mix2_ch2_s16ne_neon() local
152 : [ptr0] "+r" (ptr0), [ptr1] "+r" (ptr1), [data] "+r" (data) in pa_mix2_ch2_s16ne_neon()
162 sum += pa_mult_s16_volume(*ptr1++, streams[1].linear[0].i); in pa_mix2_ch2_s16ne_neon()
166 sum += pa_mult_s16_volume(*ptr1++, streams[1].linear[1].i); in pa_mix2_ch2_s16ne_neon()
174 const int16_t *ptr1 = streams[1].ptr; in pa_mix2_ch4_s16ne_neon() local
198 : [ptr0] "+r" (ptr0), [ptr1] "+r" (ptr1), [data] "+r" (data) in pa_mix2_ch4_s16ne_neon()
/third_party/boost/libs/iterator/test/
Ddistance_test.cpp25 int* ptr1 = array; in main() local
29 test_distance(ptr1, ptr2, 3); in main()
30 test_distance(ptr2, ptr1, -3); in main()
33 boost::make_transform_iterator(ptr1, twice) in main()
39 , boost::make_transform_iterator(ptr1, twice) in main()
45 std::vector<int> ints(ptr1, ptr2); in main()
62 std::list<int> ints(ptr1, ptr2); in main()
73 boost::container::slist<int> ints(ptr1, ptr2); in main()
Dadvance_test.cpp26 int* ptr1 = array; in main() local
30 test_advance(ptr1, ptr2, 3); in main()
31 test_advance(ptr2, ptr1, -3); in main()
34 boost::make_transform_iterator(ptr1, twice) in main()
40 , boost::make_transform_iterator(ptr1, twice) in main()
46 std::vector<int> ints(ptr1, ptr2); in main()
63 std::list<int> ints(ptr1, ptr2); in main()
80 boost::container::slist<int> ints(ptr1, ptr2); in main()
/third_party/vk-gl-cts/framework/delibs/decpp/
DdeUniquePtr.cpp166 MovePtr<Object> ptr1(new Object(exists1)); in UniquePtr_selfTest() local
168 ptr1 = ptr2; in UniquePtr_selfTest()
178 MovePtr<Object> ptr1(new Object(exists)); in UniquePtr_selfTest() local
179 raw = ptr1.release(); in UniquePtr_selfTest()
181 DE_TEST_ASSERT(ptr1.get() == DE_NULL); in UniquePtr_selfTest()
193 MovePtr<Object> ptr1; in UniquePtr_selfTest() local
194 DE_TEST_ASSERT(ptr1.get() == DE_NULL); in UniquePtr_selfTest()
196 ptr1 = ptr2; in UniquePtr_selfTest()
198 DE_TEST_ASSERT(ptr1.get() != DE_NULL); in UniquePtr_selfTest()
/third_party/boost/libs/interprocess/test/
Dunique_ptr_test.cpp66 offset_ptr<MyClass> ptr1 = my_ptr.get(); in main() local
83 assert(list.begin()->get() == ptr1); in main()
100 if(ptr1 < ptr2){ in main()
101 assert(set.begin()->get() == ptr1); in main()
105 assert(set.rbegin()->get() == ptr1); in main()
113 if(ptr1 < ptr2){ in main()
125 assert(vector.begin()->get() == ptr1); in main()
131 assert(vector.begin()->get() == ptr1); in main()
/third_party/ffmpeg/libavcodec/
Dtruespeech.c170 int16_t tmp[146 + 60], *ptr0, *ptr1; in truespeech_apply_twopoint_filter() local
184 ptr1 = tmp + 146; in truespeech_apply_twopoint_filter()
190 ptr1[i] = t; in truespeech_apply_twopoint_filter()
198 const int16_t *ptr1; in truespeech_place_pulses() local
210 ptr1 = ts_pulse_values + 30; in truespeech_place_pulses()
213 t = *ptr1++; in truespeech_place_pulses()
218 ptr1 += 30; in truespeech_place_pulses()
223 ptr1 = ts_pulse_values; in truespeech_place_pulses()
225 t = *ptr1++; in truespeech_place_pulses()
230 ptr1 += 30; in truespeech_place_pulses()
[all …]
Dphotocd.c80 uint8_t *ptr, *ptr1, *ptr2; in interp_lowres() local
85 ptr1 = picture->data[1]; in interp_lowres()
115 dst = ptr1; in interp_lowres()
125 ptr1 += picture->linesize[1] << 1; in interp_lowres()
301 uint8_t *ptr, *ptr1, *ptr2; in photocd_decode_frame() local
340 ptr1 = p->data[1]; in photocd_decode_frame()
355 bytestream2_get_buffer(gb, ptr1, avctx->width >> 1); in photocd_decode_frame()
356 ptr1 += p->linesize[1]; in photocd_decode_frame()
364 ptr1 = p->data[1]; in photocd_decode_frame()
369 interp_lines(ptr1, p->linesize[1], img_info[2].width, img_info[2].height); in photocd_decode_frame()
[all …]
/third_party/boost/libs/asio/test/windows/
Doverlapped_ptr.cpp61 win::overlapped_ptr ptr1; in test() local
77 ptr1.reset(); in test()
91 OVERLAPPED* ov1 = ptr1.get(); in test()
94 const win::overlapped_ptr& ptr10(ptr1); in test()
98 OVERLAPPED* ov3 = ptr1.release(); in test()
103 ptr1.complete(ec, bytes_transferred); in test()
/third_party/boost/libs/unordered/test/unordered/
Dminimal_allocator.cpp68 T* ptr1 = traits::allocate(a, 1); in test_simple_allocator() local
71 traits::construct(a, ptr1, T(10)); in test_simple_allocator()
74 BOOST_TEST(*ptr1 == T(10)); in test_simple_allocator()
77 traits::destroy(a, ptr1); in test_simple_allocator()
81 traits::deallocate(a, ptr1, 1); in test_simple_allocator()
/third_party/musl/libc-test/src/regression/
Dmalloc-uaf-check.c37 char *ptr1[MALLOC_TIME]; in child() local
60 ptr1[j] = (char *)malloc(ALIGNED_SIZE - 1); in child()
61 if (!ptr1[j]) { in child()
73 free(ptr1[j]); in child()
74 ptr1[j][POINTER_USAGE] = (char)(UAF_VAL - j); in child()
/third_party/json/doc/examples/
Djson_pointer__back.cpp9 json::json_pointer ptr1("/foo"); in main() local
13 std::cout << "last reference token of " << ptr1 << " is " << ptr1.back() << '\n' in main()
Djson_pointer__parent_pointer.cpp9 json::json_pointer ptr1(""); in main() local
15 << "parent of " << ptr1 << " is " << ptr1.parent_pointer() << '\n' in main()
/third_party/ffmpeg/libavcodec/x86/
Dsynth_filter.asm48 ; reading backwards: ptr1 = synth_buf + j + i; ptr2 = synth_buf + j - i
52 mova m6, [ptr1 + j]
55 mova m12, [ptr1 + j + mmsize]
81 mova m5, [ptr1 + j + 16 * 4]
84 mova m11, [ptr1 + j + mmsize + 16 * 4]
158 %define ptr1 r0q
163 mov ptr1, synth_bufm
166 add ptr1, i
169 %define ptr1 r6q
178 lea ptr1, [synth_bufq + i]
[all …]
/third_party/boost/libs/variant/test/
Djobs.h256 const S* ptr1 = 0; variable
261 ptr1 = &r;
278 BOOST_TEST(ptr1 != 0 && ptr2 == ptr1);
305 const S* ptr1 = 0; in verify_not() local
312 ptr1 = &r; in verify_not()
331 BOOST_TEST(ptr1 == 0 && ptr2 == 0); in verify_not()

12345