Home
last modified time | relevance | path

Searched refs:const_reference (Results 1 – 25 of 480) sorted by relevance

12345678910>>...20

/third_party/boost/boost/numeric/ublas/
Dtraits.hpp168 typedef const T &const_reference; typedef
179 real_type real (const_reference t) { in real()
184 real_type imag (const_reference /*t*/) { in imag()
189 value_type conj (const_reference t) { in conj()
195 real_type type_abs (const_reference t) { in type_abs()
200 value_type type_sqrt (const_reference t) { in type_sqrt()
207 real_type norm_1 (const_reference t) { in norm_1()
212 real_type norm_2 (const_reference t) { in norm_2()
217 real_type norm_inf (const_reference t) { in norm_inf()
223 bool equals (const_reference t1, const_reference t2) { in equals()
[all …]
/third_party/boost/boost/proto/
Dargs.hpp38 typedef Expr const &const_reference; typedef
47 typedef Expr &const_reference; typedef
56 typedef Expr const &const_reference; typedef
65 typedef T const &const_reference; typedef
74 typedef T &const_reference; typedef
83 typedef T const &const_reference; typedef
92 typedef T (&const_reference)[N]; typedef
101 typedef T const (&const_reference)[N]; typedef
110 typedef T const (&const_reference)[N]; typedef
119 typedef T const (&const_reference)[N]; typedef
/third_party/boost/libs/utility/test/
Dcall_traits_test.cpp42 typedef typename boost::call_traits<T>::const_reference const_reference; typedef
56 const_reference const_get()const { return v_; } in const_get()
69 typedef typename boost::call_traits<T[N]>::const_reference const_reference; typedef
83 const_reference const_get()const { return v_; } in const_get()
245 BOOST_CHECK_TYPE(const comparible_UDT&, boost::call_traits<comparible_UDT>::const_reference); in main()
249 BOOST_CHECK_TYPE(const int&, boost::call_traits<int>::const_reference); in main()
253 BOOST_CHECK_TYPE(int*const&, boost::call_traits<int*>::const_reference); in main()
258 BOOST_CHECK_TYPE(const int&, boost::call_traits<int&>::const_reference); in main()
263 BOOST_CHECK_TYPE(const int&, boost::call_traits<cr_type>::const_reference); in main()
270 BOOST_CHECK_TYPE(const int&, boost::call_traits<const int&>::const_reference); in main()
[all …]
/third_party/boost/boost/histogram/accumulators/
Dweighted_mean.hpp30 using const_reference = const value_type&; typedef in boost::histogram::accumulators::weighted_mean
43 weighted_mean(const_reference wsum, const_reference wsum2, const_reference mean, in weighted_mean()
44 const_reference variance) in weighted_mean()
52 void operator()(const_reference x) { operator()(weight(1), x); } in operator ()()
55 void operator()(const weight_type<value_type>& w, const_reference x) { in operator ()()
80 weighted_mean& operator*=(const_reference s) { in operator *=()
96 const_reference sum_of_weights() const noexcept { return sum_of_weights_; } in sum_of_weights()
99 const_reference sum_of_weights_squared() const noexcept { in sum_of_weights_squared()
104 const_reference value() const noexcept { return weighted_mean_; } in value()
Dmean.hpp30 using const_reference = const value_type&; typedef in boost::histogram::accumulators::mean
40 mean(const_reference n, const_reference mean, const_reference variance) noexcept in mean()
44 void operator()(const_reference x) noexcept { in operator ()()
52 void operator()(const weight_type<value_type>& w, const_reference x) noexcept { in operator ()()
74 mean& operator*=(const_reference s) noexcept { in operator *=()
88 const_reference count() const noexcept { return sum_; } in count()
91 const_reference value() const noexcept { return mean_; } in value()
Dweighted_sum.hpp23 using const_reference = const value_type&; typedef in boost::histogram::accumulators::weighted_sum
28 weighted_sum(const_reference value) noexcept : weighted_sum(value, value) {} in weighted_sum()
36 weighted_sum(const_reference value, const_reference variance) noexcept in weighted_sum()
62 weighted_sum& operator*=(const_reference x) { in operator *=()
76 const_reference value() const noexcept { return sum_of_weights_; } in value()
79 const_reference variance() const noexcept { return sum_of_weights_squared_; } in variance()
82 explicit operator const_reference() const { return sum_of_weights_; } in operator const_reference()
Dsum.hpp37 using const_reference = const value_type&; typedef in boost::histogram::accumulators::sum
42 sum(const_reference value) noexcept : sum(value, 0) {} in sum()
49 sum(const_reference large, const_reference small) noexcept in sum()
56 sum& operator+=(const_reference value) noexcept { in operator +=()
83 sum& operator*=(const_reference value) noexcept { in operator *=()
99 const_reference large() const noexcept { return large_; } in large()
102 const_reference small() const noexcept { return small_; } in small()
Dcount.hpp35 using const_reference = const value_type&; typedef in boost::histogram::accumulators::count
40 count(const_reference value) noexcept : value_(value) {} in count()
53 count& operator+=(const_reference value) noexcept { in operator +=()
65 count& operator*=(const_reference value) noexcept { in operator *=()
75 const_reference value() const noexcept { return value_; } in value()
/third_party/boost/boost/range/detail/
Dany_iterator_interface.hpp59 >::type const_reference; typedef
71 virtual any_incrementable_iterator_interface<const_reference, Buffer>*
88 … typename any_incrementable_iterator_interface<Reference, Buffer>::const_reference const_reference; typedef
95 virtual any_single_pass_iterator_interface<const_reference, Buffer>*
114 …ef typename any_single_pass_iterator_interface<Reference, Buffer>::const_reference const_reference; typedef
121 virtual any_forward_iterator_interface<const_reference, Buffer>*
136 …ypedef typename any_forward_iterator_interface<Reference, Buffer>::const_reference const_reference; typedef
143 virtual any_bidirectional_iterator_interface<const_reference, Buffer>*
164 … typename any_bidirectional_iterator_interface<Reference, Buffer>::const_reference const_reference; typedef
172 virtual any_random_access_iterator_interface<const_reference, Difference, Buffer>*
Dany_iterator_wrapper.hpp82 , typename any_incrementable_iterator_wrapper::const_reference
90 , typename any_incrementable_iterator_wrapper::const_reference in clone_const_ref()
164 , typename any_single_pass_iterator_wrapper::const_reference
172 , typename any_single_pass_iterator_wrapper::const_reference in clone_const_ref()
256 , typename any_forward_iterator_wrapper::const_reference
264 , typename any_forward_iterator_wrapper::const_reference in clone_const_ref()
348 , typename any_bidirectional_iterator_wrapper::const_reference
356 , typename any_bidirectional_iterator_wrapper::const_reference in clone_const_ref()
450 , typename any_random_access_iterator_wrapper::const_reference
459 , typename any_random_access_iterator_wrapper::const_reference in clone_const_ref()
/third_party/boost/boost/iostreams/detail/
Ddouble_object.hpp42 typedef typename traits_type::const_reference const_reference; typedef in boost::iostreams::detail::single_object_holder
46 const_reference first() const { return first_; } in first()
48 const_reference second() const { return first_; } in second()
65 typedef typename traits_type::const_reference const_reference; typedef
70 const_reference first() const { return first_; } in first()
72 const_reference second() const { return second_; } in second()
105 typedef typename traits_type::const_reference const_reference; typedef in boost::iostreams::detail::double_object
/third_party/boost/boost/gil/extension/numeric/
Dchannel_numeric_operations.hpp36 using ChannelRef1 = typename channel_traits<Channel1>::const_reference;
37 using ChannelRef2 = typename channel_traits<Channel2>::const_reference;
57 using ChannelRef1 = typename channel_traits<Channel1>::const_reference;
58 using ChannelRef2 = typename channel_traits<Channel2>::const_reference;
78 using ChannelRef1 = typename channel_traits<Channel1>::const_reference;
79 using ChannelRef2 = typename channel_traits<Channel2>::const_reference;
99 using ChannelRef1 = typename channel_traits<Channel1>::const_reference;
100 using ChannelRef2 = typename channel_traits<Channel2>::const_reference;
120 using ChannelRef = typename channel_traits<Channel>::const_reference;
139 using ChannelRef = typename channel_traits<Channel>::const_reference;
[all …]
/third_party/boost/boost/numeric/ublas/tensor/
Dextents.hpp44 using const_reference = typename base_type::const_reference; typedef in boost::numeric::ublas::basic_extents
154 [](const_reference a){ return a == 1;}); in is_scalar()
171 auto greater_one = [](const_reference a){ return a > 1;}; in is_vector()
172 auto equal_one = [](const_reference a){ return a == 1;}; in is_vector()
190 auto greater_one = [](const_reference a){ return a > 1;}; in is_matrix()
191 auto equal_one = [](const_reference a){ return a == 1;}; in is_matrix()
208 auto greater_one = [](const_reference a){ return a > 1;}; in is_tensor()
218 const_reference operator[] (size_type p) const in operator []()
223 const_reference at (size_type p) const in at()
255 [](const_reference a){ return a == value_type(0); }); in valid()
Doperators_comparison.hpp123 bool operator==( typename T::const_reference lhs, boost::numeric::ublas::detail::tensor_expression<… in operator ==()
127 auto operator!=( typename T::const_reference lhs, boost::numeric::ublas::detail::tensor_expression<… in operator !=()
131 auto operator< ( typename T::const_reference lhs, boost::numeric::ublas::detail::tensor_expression<… in operator <()
135 auto operator<=( typename T::const_reference lhs, boost::numeric::ublas::detail::tensor_expression<… in operator <=()
139 auto operator> ( typename T::const_reference lhs, boost::numeric::ublas::detail::tensor_expression<… in operator >()
143 auto operator>=( typename T::const_reference lhs, boost::numeric::ublas::detail::tensor_expression<… in operator >=()
150 …oost::numeric::ublas::detail::tensor_expression<T,D> const& lhs, typename T::const_reference rhs) { in operator ==()
154 …oost::numeric::ublas::detail::tensor_expression<T,D> const& lhs, typename T::const_reference rhs) { in operator !=()
158 …oost::numeric::ublas::detail::tensor_expression<T,D> const& lhs, typename T::const_reference rhs) { in operator <()
162 …oost::numeric::ublas::detail::tensor_expression<T,D> const& lhs, typename T::const_reference rhs) { in operator <=()
[all …]
Doperators_arithmetic.hpp102 auto operator+(typename T::const_reference lhs, boost::numeric::ublas::detail::tensor_expression<T,… in operator +()
107 auto operator-(typename T::const_reference lhs, boost::numeric::ublas::detail::tensor_expression<T,… in operator -()
111 auto operator*(typename T::const_reference lhs, boost::numeric::ublas::detail::tensor_expression<T,… in operator *()
115 auto operator/(typename T::const_reference lhs, boost::numeric::ublas::detail::tensor_expression<T,… in operator /()
121 …oost::numeric::ublas::detail::tensor_expression<T,L> const& lhs, typename T::const_reference rhs) { in operator +()
125 …oost::numeric::ublas::detail::tensor_expression<T,L> const& lhs, typename T::const_reference rhs) { in operator -()
129 …oost::numeric::ublas::detail::tensor_expression<T,L> const& lhs, typename T::const_reference rhs) { in operator *()
133 …oost::numeric::ublas::detail::tensor_expression<T,L> const& lhs, typename T::const_reference rhs) { in operator /()
167 …ric::ublas::tensor<E,F,A>& lhs, typename boost::numeric::ublas::tensor<E,F,A>::const_reference r) { in operator +=()
173 …ric::ublas::tensor<E,F,A>& lhs, typename boost::numeric::ublas::tensor<E,F,A>::const_reference r) { in operator -=()
[all …]
/third_party/boost/boost/detail/
Dcall_traits.hpp79 typedef const T& const_reference; typedef
99 typedef const T& const_reference; typedef
113 typedef const T& const_reference; typedef
121 typedef const T& const_reference; typedef
129 typedef const T& const_reference; typedef
138 typedef T * const & const_reference; typedef
152 typedef const array_type& const_reference; typedef
165 typedef const array_type& const_reference; typedef
Dcompressed_pair.hpp114 typedef typename call_traits<first_type>::const_reference first_const_reference;
115 typedef typename call_traits<second_type>::const_reference second_const_reference;
157 typedef typename call_traits<first_type>::const_reference first_const_reference;
158 typedef typename call_traits<second_type>::const_reference second_const_reference;
199 typedef typename call_traits<first_type>::const_reference first_const_reference;
200 typedef typename call_traits<second_type>::const_reference second_const_reference;
243 typedef typename call_traits<first_type>::const_reference first_const_reference;
244 typedef typename call_traits<second_type>::const_reference second_const_reference;
285 typedef typename call_traits<first_type>::const_reference first_const_reference;
286 typedef typename call_traits<second_type>::const_reference second_const_reference;
[all …]
Dob_compressed_pair.hpp105 typedef typename call_traits<first_type>::const_reference first_const_reference;
106 typedef typename call_traits<second_type>::const_reference second_const_reference;
155 typedef typename call_traits<first_type>::const_reference first_const_reference;
156 typedef typename call_traits<second_type>::const_reference second_const_reference;
197 typedef typename call_traits<first_type>::const_reference first_const_reference;
198 typedef typename call_traits<second_type>::const_reference second_const_reference;
244 typedef typename call_traits<first_type>::const_reference first_const_reference;
245 typedef typename call_traits<second_type>::const_reference second_const_reference;
280 typedef typename call_traits<first_type>::const_reference first_const_reference;
281 typedef typename call_traits<second_type>::const_reference second_const_reference;
[all …]
/third_party/boost/boost/histogram/
Dunlimited_storage.hpp261 class const_reference class in boost::histogram::unlimited_storage
262 : detail::partially_ordered<const_reference, const_reference, void> {
264 const_reference(buffer_type& b, std::size_t i) noexcept : bref_(b), idx_(i) { in const_reference() function in boost::histogram::unlimited_storage::const_reference
268 const_reference(const const_reference&) noexcept = default;
271 const_reference& operator=(const const_reference&) = delete;
272 const_reference& operator=(const_reference&&) = delete;
279 bool operator<(const const_reference& o) const noexcept { in operator <()
283 bool operator==(const const_reference& o) const noexcept { in operator ==()
304 bool apply_binary(const const_reference& x) const noexcept { in apply_binary()
322 class reference : public const_reference,
[all …]
/third_party/boost/boost/histogram/detail/
Dsub_array.hpp28 using const_reference = const T&; typedef in boost::histogram::detail::sub_array
39 std::is_nothrow_assignable<T, const_reference>::value) in sub_array()
49 const_reference at(size_type pos) const noexcept { in at()
55 const_reference operator[](size_type pos) const noexcept { return data_[pos]; } in operator []()
58 const_reference front() const noexcept { return data_[0]; } in front()
61 const_reference back() const noexcept { return data_[size_ - 1]; } in back()
82 void fill(const_reference value) noexcept( in fill()
83 std::is_nothrow_assignable<T, const_reference>::value) { in fill()
/third_party/boost/tools/bcp/
Dfileview.hpp24 typedef reference const_reference; typedef in fileview
60 const_reference operator[](size_type n) const;
61 const_reference at(size_type n) const;
62 const_reference front() const;
63 const_reference back() const;
/third_party/boost/libs/pool/example/
Dsys_allocator.hpp28 typedef const T & const_reference; typedef
41 static const_pointer address(const_reference r) { return &r; } in address()
60 static void construct(const pointer p, const_reference t) in construct()
72 typedef const T & const_reference; typedef
85 static const_pointer address(const_reference r) { return &r; } in address()
99 static void construct(const pointer p, const_reference t) in construct()
/third_party/json/doc/examples/
Dat_json_pointer_const.cpp29 json::const_reference ref = j.at("/array/one"_json_pointer); in main()
40 json::const_reference ref = j.at("/array/4"_json_pointer); in main()
51 json::const_reference ref = j.at("/array/-"_json_pointer); in main()
62 json::const_reference ref = j.at("/foo"_json_pointer); in main()
73 json::const_reference ref = j.at("/number/foo"_json_pointer); in main()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/util/
DvktConstexprVectorUtil.hpp47 using const_reference = const value_type&; typedef in vkt::ConstexprVector
67 inline constexpr const_reference at(size_type pos) const noexcept { return values[pos]; } in at()
68 inline constexpr const_reference operator[](size_type pos) const noexcept { return values[pos]; } in operator []()
69 inline constexpr const_reference front() const noexcept { return values[0]; } in front()
70 inline constexpr const_reference back() const noexcept { return values[count - 1]; } in back()
/third_party/boost/boost/
Darray.hpp70 typedef const T& const_reference; typedef in boost::array
91 value_type, const_reference, const_iterator, difference_type> const_reverse_iterator;
120 /*BOOST_CONSTEXPR*/ const_reference operator[](size_type i) const in operator []()
127 … /*BOOST_CONSTEXPR*/ const_reference at(size_type i) const { return rangecheck(i), elems[i]; } in at()
135 BOOST_CONSTEXPR const_reference front() const in front()
145 BOOST_CONSTEXPR const_reference back() const in back()
199 typedef const T& const_reference; typedef in boost::array
220 value_type, const_reference, const_iterator, difference_type> const_reverse_iterator;
249 /*BOOST_CONSTEXPR*/ const_reference operator[](size_type /*i*/) const in operator []()
256 … /*BOOST_CONSTEXPR*/ const_reference at(size_type /*i*/) const { return failed_rangecheck(); } in at()
[all …]

12345678910>>...20