Home
last modified time | relevance | path

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

123456

/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.c126 float32_t *ptr1; in arm_radix4_butterfly_f32() local
412 ptr1 = &pSrc[0]; in arm_radix4_butterfly_f32()
417 xaIn = ptr1[0]; in arm_radix4_butterfly_f32()
418 yaIn = ptr1[1]; in arm_radix4_butterfly_f32()
419 xbIn = ptr1[2]; in arm_radix4_butterfly_f32()
420 ybIn = ptr1[3]; in arm_radix4_butterfly_f32()
421 xcIn = ptr1[4]; in arm_radix4_butterfly_f32()
422 ycIn = ptr1[5]; in arm_radix4_butterfly_f32()
423 xdIn = ptr1[6]; in arm_radix4_butterfly_f32()
424 ydIn = ptr1[7]; in arm_radix4_butterfly_f32()
[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/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/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/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/ffmpeg/libavcodec/
Dtruespeech.c168 int16_t tmp[146 + 60], *ptr0, *ptr1; in truespeech_apply_twopoint_filter() local
182 ptr1 = tmp + 146; in truespeech_apply_twopoint_filter()
188 ptr1[i] = t; in truespeech_apply_twopoint_filter()
196 const int16_t *ptr1; in truespeech_place_pulses() local
208 ptr1 = ts_pulse_values + 30; in truespeech_place_pulses()
211 t = *ptr1++; in truespeech_place_pulses()
216 ptr1 += 30; in truespeech_place_pulses()
221 ptr1 = ts_pulse_values; in truespeech_place_pulses()
223 t = *ptr1++; in truespeech_place_pulses()
228 ptr1 += 30; in truespeech_place_pulses()
[all …]
/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/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()
Djson_pointer__empty.cpp10 json::json_pointer ptr1(""); in main() local
17 << ptr1 << ": " << ptr1.empty() << '\n' in main()
/third_party/boost/libs/core/test/swap/
Dswap_std_typeinfo_ptr.cpp23 const std::type_info * ptr1 = initial_value1; in main() local
26 boost::swap(ptr1,ptr2); in main()
28 BOOST_CHECK_EQUAL(ptr1,initial_value2); in main()
Dstd_typeinfo_ptr.cpp23 const std::type_info * ptr1 = initial_value1; in main() local
26 boost::swap(ptr1,ptr2); in main()
28 BOOST_CHECK_EQUAL(ptr1,initial_value2); in main()
Darray_of_array_of_int.cpp26 int* const ptr1 = array1[0]; in main() local
31 ptr1[i] = static_cast<int>(i); in main()
39 BOOST_CHECK_EQUAL(ptr1[i], static_cast<int>(i + number_of_elements) ); in main()
Dswap_array_of_array_of_int.cpp26 int* const ptr1 = array1[0]; in main() local
31 ptr1[i] = static_cast<int>(i); in main()
39 BOOST_CHECK_EQUAL(ptr1[i], static_cast<int>(i + number_of_elements) ); in main()
/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()
/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 …]

123456