Home
last modified time | relevance | path

Searched refs:cref (Results 1 – 25 of 120) sorted by relevance

12345

/third_party/boost/libs/statechart/test/
DFifoSchedulerTest.cpp236 boost::cref( refArg1 ) ), in test_main()
247 boost::cref( refArg1 ), boost::cref( refArg2 ) ), in test_main()
258 boost::cref( refArg1 ), boost::cref( refArg2 ), in test_main()
259 boost::cref( refArg3 ) ), in test_main()
270 boost::cref( refArg1 ), boost::cref( refArg2 ), in test_main()
271 boost::cref( refArg3 ), boost::cref( refArg4 ) ), in test_main()
282 boost::cref( refArg1 ), boost::cref( refArg2 ), in test_main()
283 boost::cref( refArg3 ), boost::cref( refArg4 ), in test_main()
284 boost::cref( refArg5 ) ), in test_main()
295 boost::cref( refArg1 ), boost::cref( refArg2 ), in test_main()
[all …]
/third_party/boost/libs/core/test/
Dref_ct_test.cpp65 ref_test<int const>(boost::cref(i)); in main()
66 ref_test<int const>(boost::cref(ri)); in main()
67 ref_test<int const>(boost::cref(ci)); in main()
68 ref_test<int const>(boost::cref(rci)); in main()
73 assignable_test(boost::cref(i)); in main()
74 assignable_test(boost::cref(ci)); in main()
75 assignable_test(boost::cref(rci)); in main()
80 is_reference_wrapper_test<true>(boost::cref(i)); in main()
81 is_reference_wrapper_test<true>(boost::cref(ci)); in main()
82 is_reference_wrapper_test<true>(boost::cref(rci)); in main()
[all …]
Dref_ref_test.cpp25 boost::reference_wrapper< T const > r = boost::cref( t ); in test()
38 boost::reference_wrapper< T const > r = boost::cref( t ); in test_nonconst()
49 test( boost::cref( x ) ); in main()
59 boost::reference_wrapper< int const > r = boost::cref( x ); in main()
Dref_test.cpp46 BOOST_TEST(cref_passthru(cref(x)) == &x); in test()
47 BOOST_TEST(&cref(x).get() == &x); in test()
81 do_unwrap(cref(ci)); in unwrap_test()
89 do_unwrap(cref(cc)); in unwrap_test()
/third_party/boost/boost/algorithm/
Dminmax.hpp37 return (b<a) ? make_tuple(cref(b),cref(a)) : make_tuple(cref(a),cref(b)); in minmax()
43 return comp(b,a) ? make_tuple(cref(b),cref(a)) : make_tuple(cref(a),cref(b)); in minmax()
/third_party/boost/libs/numeric/odeint/test/
Drunge_kutta_controlled_concepts.cpp101 check_controlled_stepper_concept( controlled_stepper , boost::cref( sys ) , x ); in operator ()()
103 check_controlled_stepper_concept( controlled_stepper , boost::cref( sys ) , x ); in operator ()()
125 check_controlled_stepper_concept( controlled_stepper , boost::cref( sys ) , x ); in operator ()()
127 check_controlled_stepper_concept( controlled_stepper , boost::cref( sys ) , x ); in operator ()()
149 check_controlled_stepper_concept( controlled_stepper , boost::cref( sys ) , x ); in operator ()()
151 check_controlled_stepper_concept( controlled_stepper , boost::cref( sys ) , x ); in operator ()()
171 check_controlled_stepper_concept( controlled_stepper , boost::cref( sys ) , x ); in operator ()()
173 check_controlled_stepper_concept( controlled_stepper , boost::cref( sys ) , x ); in operator ()()
Drunge_kutta_error_concepts.cpp98 check_error_stepper_concept( stepper , boost::cref( sys ) , x , xerr ); in operator ()()
100 check_error_stepper_concept( stepper , boost::cref( sys ) , x , xerr ); in operator ()()
120 check_error_stepper_concept( stepper , boost::cref( sys ) , x , xerr ); in operator ()()
122 check_error_stepper_concept( stepper , boost::cref( sys ) , x , xerr ); in operator ()()
143 check_error_stepper_concept( stepper , boost::cref( sys ) , x , xerr ); in operator ()()
145 check_error_stepper_concept( stepper , boost::cref( sys ) , x , xerr ); in operator ()()
Drunge_kutta_concepts.cpp100 check_stepper_concept( stepper , boost::cref( sys ) , x ); in operator ()()
102 check_stepper_concept( stepper , boost::cref( sys ) , x ); in operator ()()
122 check_stepper_concept( stepper , boost::cref( sys ) , x ); in operator ()()
124 check_stepper_concept( stepper , boost::cref( sys ) , x ); in operator ()()
145 check_stepper_concept( stepper , boost::cref( sys ) , x ); in operator ()()
147 check_stepper_concept( stepper , boost::cref( sys ) , x ); in operator ()()
/third_party/boost/libs/contract/example/features/
Dno_lambdas.cpp24 boost::cref(max), in iarray()
25 boost::cref(count), in iarray()
26 boost::cref(old_instances) in iarray()
41 boost::cref(old_instances))) in ~iarray()
52 .old(boost::bind(&iarray::push_back_old, this, boost::cref(v), in push_back()
55 boost::cref(old_size))) in push_back()
/third_party/boost/libs/hana/test/tuple/
Dissue_90.cpp17 T const& cref(T& t) { return t; } in cref() function
40 RefOnly const& r3 = hana::at_c<0>(cref(t)); in main()
49 RefOnly const& r3 = hana::front(cref(t)); in main()
58 RefOnly const& r3 = hana::back(cref(t)); in main()
67 RefOnly_i<3> const& r2 = hana::at_key(cref(t), RefOnly_i<3>{}); in main()
/third_party/boost/libs/hana/test/ext/std/tuple/
Dissue_90.cpp18 T const& cref(T& t) { return t; } in cref() function
41 RefOnly const& r3 = hana::at_c<0>(cref(t)); in main()
50 RefOnly const& r3 = hana::front(cref(t)); in main()
59 RefOnly const& r3 = hana::back(cref(t)); in main()
68 RefOnly_i<3> const& r2 = hana::at_key(cref(t), RefOnly_i<3>{}); in main()
/third_party/boost/libs/hana/test/type/
Dunary_plus.cpp21 auto const& cref = hana::type_c<T>; in main() local
27 BOOST_HANA_CONSTANT_CHECK(hana::equal(val, +cref)); in main()
32 static_assert(!std::is_reference<decltype(+cref)>{}, ""); in main()
37 using T3 = decltype(+cref)::type; in main()
/third_party/boost/libs/histogram/test/
Daxis_boolean_test.cpp29 const auto& cref = a; in main() local
30 BOOST_TEST_EQ(cref.metadata(), "bar"); in main()
31 cref.metadata() = "foo"; in main()
32 BOOST_TEST_EQ(cref.metadata(), "foo"); in main()
/third_party/boost/boost/regex/
Dconcepts.hpp1005 out = regex_format(out, m_cresults, boost::cref(func3b), f); in constraints()
1006 out = regex_format(out, m_cresults, boost::cref(func3b)); in constraints()
1007 out = regex_format(out, m_cresults, boost::cref(func2b), f); in constraints()
1008 out = regex_format(out, m_cresults, boost::cref(func2b)); in constraints()
1009 out = regex_format(out, m_cresults, boost::cref(func1b), f); in constraints()
1010 out = regex_format(out, m_cresults, boost::cref(func1b)); in constraints()
1024 m_string += regex_format(m_cresults, boost::cref(func3b), f); in constraints()
1025 m_string += regex_format(m_cresults, boost::cref(func3b)); in constraints()
1026 m_string += regex_format(m_cresults, boost::cref(func2b), f); in constraints()
1027 m_string += regex_format(m_cresults, boost::cref(func2b)); in constraints()
[all …]
/third_party/boost/libs/contract/example/n1962/
Dvector.cpp110 boost::cref(value)) in vector()
125 boost::cref(value)) in vector()
161 boost::cref(*this), boost::cref(other)) in vector()
175 boost::cref(*this), boost::cref(other)) in operator =()
181 boost::cref(*result), boost::cref(*this)) in operator =()
298 end(), boost::cref(value)) in resize()
433 boost::bind(std::equal_to<T>(), boost::cref(back()), in push_back()
434 boost::cref(value)) in push_back()
483 boost::cref(value)) in assign()
507 boost::bind(std::equal_to<T>(), boost::cref(*result), in insert()
[all …]
/third_party/boost/libs/hana/test/pair/
Dissue_90.cpp14 T const& cref(T& t) { return t; } in cref() function
31 RefOnly const& r3 = hana::first(cref(p)); in main()
39 RefOnly const& r3 = hana::second(cref(p)); in main()
/third_party/boost/libs/hana/test/ext/std/pair/
Dissue_90.cpp14 T const& cref(T& t) { return t; } in cref() function
32 RefOnly<0> const& r3 = hana::first(cref(p)); in main()
40 RefOnly<1> const& r3 = hana::second(cref(p)); in main()
/third_party/boost/libs/hana/test/map/
Dat_key.ref.cpp16 T const& cref(T& t) { return t; } in cref() function
40 int const& ca = hana::at_key(cref(xs), hana::int_c<0>); in main()
41 char const& cb = hana::at_key(cref(xs), hana::int_c<1>); in main()
42 double const& cc = hana::at_key(cref(xs), hana::int_c<2>); in main()
/third_party/boost/boost/fusion/functional/adapter/detail/
Daccess.hpp15 template <typename T> struct cref { typedef T const& type; }; struct
16 template <typename T> struct cref<T&> { typedef T const& type; }; struct
17 template <typename T> struct cref<T const> { typedef T const& type; }; struct
/third_party/boost/libs/phoenix/test/bll_compatibility/
Dbind_tests_advanced.cpp275 ((phoenix::ref(k) += 1) += phoenix::lambda[phoenix::cref(2)])(); in test_protect()
330 using phoenix::cref; in test_lambda_functors_as_arguments_to_lambda_functors()
341 (_1 + _2)(_1, cref(7)); in test_lambda_functors_as_arguments_to_lambda_functors()
342 (_1 + _2)(bind(&sum_0), cref(7)); in test_lambda_functors_as_arguments_to_lambda_functors()
348 BOOST_TEST_EQ((_1 + _2)(bind(&sum_0), cref(7))(), 7); in test_lambda_functors_as_arguments_to_lambda_functors()
/third_party/boost/libs/phoenix/test/core/
Dprimitives_tests.cpp15 using boost::phoenix::cref;
64 BOOST_TEST(cref(i)() == ref(i)()); in main()
65 BOOST_TEST(cref(i)() == 4); in main()
/third_party/boost/libs/spirit/classic/test/
Dswitch_problem.cpp52 using boost::cref; in definition()
72 limit_d(cref(index), cref(index))[uint_p] >> in definition()
/third_party/boost/boost/histogram/detail/
Dindex_translator.hpp32 using cref = const A&; typedef
34 cref dst, src;
37 index_translator(cref d, cref s) : dst{d}, src{s} { init(dst, src); } in index_translator()
/third_party/libdrm/radeon/
Dradeon_bo.c41 op, bo, bo->handle, boi->size, boi->cref); in radeon_bo_debug()
56 boi->cref++; in radeon_bo_ref()
66 boi->cref--; in radeon_bo_unref()
124 return boi->cref > 1; in radeon_bo_is_referenced_by_cs()
/third_party/boost/libs/convert/example/
Dalgorithms.cpp33 boost::cnv::apply<int>(boost::cref(cnv)).value_or(-1)); in introduction()
105 boost::cnv::apply<int>(boost::cref(cnv(std::hex)(std::skipws)))); in example3()
131 boost::cnv::apply<int>(boost::cref(cnv(std::hex)(std::skipws))).value_or(-1)); in example4()
166 boost::cnv::apply<string>(boost::cref(cnv))); in example5()

12345