Home
last modified time | relevance | path

Searched refs:difference_type (Results 1 – 25 of 855) sorted by relevance

12345678910>>...35

/third_party/boost/boost/numeric/ublas/detail/
Diterator.hpp316 typedef typename I::difference_type difference_type; typedef in boost::numeric::ublas::reverse_iterator_base
349 reverse_iterator_base &operator += (difference_type n) { in operator +=()
353 reverse_iterator_base &operator -= (difference_type n) { in operator -=()
358 … friend reverse_iterator_base operator + (const reverse_iterator_base &it, difference_type n) { in operator +()
363 … friend reverse_iterator_base operator + (difference_type n, const reverse_iterator_base &it) { in operator +()
368 … friend reverse_iterator_base operator - (const reverse_iterator_base &it, difference_type n) { in operator -()
373 …friend difference_type operator - (const reverse_iterator_base &it1, const reverse_iterator_base &… in operator -()
410 typedef typename I::difference_type difference_type; typedef in boost::numeric::ublas::reverse_iterator_base1
445 reverse_iterator_base1 &operator += (difference_type n) { in operator +=()
449 reverse_iterator_base1 &operator -= (difference_type n) { in operator -=()
[all …]
Dvector_assign.hpp52 typedef typename V::difference_type difference_type; in make_conformant() typedef
63 difference_type compare = it_index - ite_index; in make_conformant()
106 typedef typename V::difference_type difference_type; in iterating_vector_assign_scalar() typedef
107 difference_type size (v.size ()); in iterating_vector_assign_scalar()
155 typedef typename V::difference_type difference_type; in vector_assign_scalar() typedef
157 difference_type size (v.end () - it); in vector_assign_scalar()
243 typedef typename V::difference_type difference_type; in iterating_vector_assign() typedef
244 difference_type size (BOOST_UBLAS_SAME (v.size (), e ().size ())); in iterating_vector_assign()
295 typedef typename V::difference_type difference_type; in vector_assign() typedef
306 difference_type it_size (it_end - it); in vector_assign()
[all …]
Dmatrix_assign.hpp53 typedef typename M::difference_type difference_type; in make_conformant() typedef
62 difference_type compare = it1.index1 () - it1e.index1 (); in make_conformant()
78 difference_type compare2 = it2_index - it2e_index; in make_conformant()
157 typedef typename M::difference_type difference_type; in make_conformant() typedef
165 difference_type compare = it2.index2 () - it2e.index2 (); in make_conformant()
181 difference_type compare2 = it1_index - it1e_index; in make_conformant()
262 typedef typename M::difference_type difference_type; in iterating_matrix_assign_scalar() typedef
263 difference_type size1 (m.size1 ()); in iterating_matrix_assign_scalar()
264 difference_type size2 (m.size2 ()); in iterating_matrix_assign_scalar()
274 difference_type temp_size2 (size2); in iterating_matrix_assign_scalar()
[all …]
/third_party/boost/libs/detail/test/
Dnumeric_traits_test.cpp243 typedef typename boost::detail::numeric_traits<Number>::difference_type difference_type; in test_aux() typedef
247 | (boost::is_same<difference_type, boost::intmax_t>::value)); in test_aux()
268 std::cout << "difference_type = " << typeid(difference_type).name() << "..." in test_aux()
271 difference_type d1 = boost::detail::numeric_distance(Number(0), test_max); in test_aux()
272 difference_type d2 = boost::detail::numeric_distance(test_max, Number(0)); in test_aux()
277 assert(d1 == difference_type(test_max)); in test_aux()
278 assert(d2 == -difference_type(test_max)); in test_aux()
292 typedef typename boost::detail::numeric_traits<Number>::difference_type difference_type; in signed_test() typedef
296 difference_type d1 = boost::detail::numeric_distance(min, max); in signed_test()
297 difference_type d2 = boost::detail::numeric_distance(max, min); in signed_test()
[all …]
/third_party/boost/libs/core/test/
Dpointer_traits_difference_type_test.cpp17 typedef long difference_type; typedef
23 boost::pointer_traits<int*>::difference_type>)); in main()
25 boost::pointer_traits<P<int> >::difference_type>)); in main()
27 boost::pointer_traits<E<int> >::difference_type>)); in main()
29 boost::pointer_traits<void*>::difference_type>)); in main()
31 boost::pointer_traits<P<void> >::difference_type>)); in main()
33 boost::pointer_traits<E<void> >::difference_type>)); in main()
35 boost::pointer_traits<const int*>::difference_type>)); in main()
37 boost::pointer_traits<P<const int> >::difference_type>)); in main()
39 boost::pointer_traits<E<const int> >::difference_type>)); in main()
/third_party/boost/libs/compute/include/boost/compute/iterator/
Dstrided_iterator.hpp128 typedef typename super_type::difference_type difference_type; typedef in boost::compute::strided_iterator
130 strided_iterator(Iterator iterator, difference_type stride) in strided_iterator()
132 m_stride(static_cast<difference_type>(stride)) in strided_iterator()
171 detail::strided_iterator_index_expr<Iterator, difference_type, IndexExpression>
176 difference_type, in operator []()
206 void advance(typename super_type::difference_type n) in advance()
211 difference_type distance_to(const strided_iterator<Iterator> &other) const in distance_to()
217 difference_type m_stride;
235 typename std::iterator_traits<Iterator>::difference_type stride) in make_strided_iterator()
274 typename std::iterator_traits<Iterator>::difference_type stride) in make_strided_iterator_end()
[all …]
/third_party/boost/boost/compute/iterator/
Dstrided_iterator.hpp128 typedef typename super_type::difference_type difference_type; typedef in boost::compute::strided_iterator
130 strided_iterator(Iterator iterator, difference_type stride) in strided_iterator()
132 m_stride(static_cast<difference_type>(stride)) in strided_iterator()
171 detail::strided_iterator_index_expr<Iterator, difference_type, IndexExpression>
176 difference_type, in operator []()
206 void advance(typename super_type::difference_type n) in advance()
211 difference_type distance_to(const strided_iterator<Iterator> &other) const in distance_to()
217 difference_type m_stride;
235 typename std::iterator_traits<Iterator>::difference_type stride) in make_strided_iterator()
274 typename std::iterator_traits<Iterator>::difference_type stride) in make_strided_iterator_end()
[all …]
/third_party/boost/boost/range/adaptor/
Dstrided.hpp45 typedef typename super_t::difference_type difference_type; typedef in boost::range_detail::strided_iterator
59 difference_type stride) in strided_iterator()
90 difference_type get_stride() const in get_stride()
98 for (difference_type i = 0; in increment()
123 difference_type m_stride;
147 typedef typename super_t::difference_type difference_type; typedef in boost::range_detail::strided_iterator
150 typedef typename boost::make_unsigned<difference_type>::type
164 difference_type stride) in strided_iterator()
197 difference_type get_offset() const in get_offset()
207 difference_type get_stride() const in get_stride()
[all …]
/third_party/json/include/nlohmann/detail/iterators/
Dprimitive_iterator.hpp22 using difference_type = std::ptrdiff_t; typedef in nlohmann::detail::primitive_iterator_t
23 static constexpr difference_type begin_value = 0;
24 static constexpr difference_type end_value = begin_value + 1;
27 difference_type m_it = (std::numeric_limits<std::ptrdiff_t>::min)();
30 constexpr difference_type get_value() const noexcept in get_value()
69 primitive_iterator_t operator+(difference_type n) noexcept in operator +()
76 …friend constexpr difference_type operator-(primitive_iterator_t lhs, primitive_iterator_t rhs) noe… in operator -()
107 primitive_iterator_t& operator+=(difference_type n) noexcept in operator +=()
113 primitive_iterator_t& operator-=(difference_type n) noexcept in operator -=()
/third_party/boost/boost/range/
Dirange.hpp52 typedef typename base_t::difference_type difference_type; typedef in boost::range_detail::integer_iterator
70 void advance(difference_type offset) in advance()
75 difference_type distance_to(const integer_iterator& other) const in distance_to()
80 ? static_cast<difference_type>(other.m_value - m_value) in distance_to()
81 : -static_cast<difference_type>(m_value - other.m_value); in distance_to()
129 typedef typename base_t::difference_type difference_type; typedef in boost::range_detail::integer_iterator_with_step
133 integer_iterator_with_step(value_type first, difference_type step, value_type step_size) in integer_iterator_with_step()
151 void advance(difference_type offset) in advance()
156 difference_type distance_to(const integer_iterator_with_step& other) const in distance_to()
173 difference_type m_step;
[all …]
/third_party/boost/boost/detail/
Dnumeric_traits.hpp123 >::type difference_type; typedef
141 >::type::type difference_type;
149 typedef typename integer_traits<Number>::difference_type difference_type; typedef
153 …inline BOOST_CONSTEXPR typename numeric_traits<Number>::difference_type numeric_distance(Number x,… in numeric_distance()
155 typedef typename numeric_traits<Number>::difference_type difference_type; in numeric_distance() typedef
156 return difference_type(y) - difference_type(x); in numeric_distance()
/third_party/boost/libs/iterator/test/
Diterator_traits_test.cpp62 typedef long difference_type; typedef
83 typedef int difference_type; typedef
108 class value_type, class difference_type, class pointer, class reference, class category>
118 class value_type, class difference_type, class pointer, class reference, class category>
121 typedef typename std::iterator_traits<Iterator>::difference_type test_dt;
123 typedef typename assert_same<test_dt, difference_type>::type a1;
129 class value_type, class difference_type, class pointer, class reference, class category>
131 : portable_tests<Iterator,value_type,difference_type,pointer,reference,category>
138 class value_type, class difference_type, class pointer, class reference, class category>
140 : input_iterator_test<Iterator,value_type,difference_type,pointer,reference,category>
[all …]
/third_party/boost/boost/
Dconcept_archetype.hpp424 typedef std::ptrdiff_t difference_type; typedef in boost::input_iterator_archetype
443 typedef std::ptrdiff_t difference_type; typedef in boost::input_iterator_archetype_no_proxy
467 typedef void difference_type; typedef in boost::output_iterator_archetype
494 typedef std::ptrdiff_t difference_type; typedef in boost::input_output_iterator_archetype
514 typedef std::ptrdiff_t difference_type; typedef in boost::forward_iterator_archetype
534 typedef std::ptrdiff_t difference_type; typedef in boost::mutable_forward_iterator_archetype
554 typedef std::ptrdiff_t difference_type; typedef in boost::bidirectional_iterator_archetype
576 typedef std::ptrdiff_t difference_type; typedef in boost::mutable_bidirectional_iterator_archetype
598 typedef std::ptrdiff_t difference_type; typedef in boost::random_access_iterator_archetype
608 reference operator[](difference_type) const in operator []()
[all …]
/third_party/boost/boost/move/
Diterator.hpp58 …typedef typename boost::movelib::iterator_traits<iterator_type>::difference_type difference_type; typedef in boost::move_iterator
98 move_iterator<iterator_type> operator+ (difference_type n) const in operator +()
101 BOOST_MOVE_FORCEINLINE move_iterator& operator+=(difference_type n) in operator +=()
104 BOOST_MOVE_FORCEINLINE move_iterator<iterator_type> operator- (difference_type n) const in operator -()
107 BOOST_MOVE_FORCEINLINE move_iterator& operator-=(difference_type n) in operator -=()
110 BOOST_MOVE_FORCEINLINE reference operator[](difference_type n) const in operator []()
137 …BOOST_MOVE_FORCEINLINE friend difference_type operator-(const move_iterator& x, const move_iterato… in operator -()
140 BOOST_MOVE_FORCEINLINE friend move_iterator operator+(difference_type n, const move_iterator& x) in operator +()
195 typedef typename C::difference_type difference_type; typedef in boost::back_move_insert_iterator
237 typedef typename C::difference_type difference_type; typedef in boost::front_move_insert_iterator
[all …]
/third_party/boost/libs/unordered/test/helpers/
Dinput_iterator.hpp32 typedef std::ptrdiff_t difference_type; typedef
69 typename std::iterator_traits<Iterator>::difference_type difference_type; typedef
79 value_type operator[](difference_type d) { return base_[d]; } in operator []()
102 copy_iterator_adaptor operator+=(difference_type x) in operator +=()
107 copy_iterator_adaptor operator-=(difference_type x) in operator -=()
112 copy_iterator_adaptor operator+(difference_type n) in operator +()
116 copy_iterator_adaptor operator-(difference_type n) in operator -()
121 difference_type n, copy_iterator_adaptor x) in operator +()
125 difference_type operator-(copy_iterator_adaptor const& other) in operator -()
/third_party/boost/boost/move/detail/
Diterator_traits.hpp45 typedef typename Iterator::difference_type difference_type; typedef
50 typedef typename boost::move_detail::make_unsigned<difference_type>::type size_type;
56 typedef std::ptrdiff_t difference_type; typedef
61 typedef typename boost::move_detail::make_unsigned<difference_type>::type size_type;
67 typedef std::ptrdiff_t difference_type; typedef
72 typedef typename boost::move_detail::make_unsigned<difference_type>::type size_type;
/third_party/mesa3d/src/gallium/frontends/clover/util/
Dadaptor.hpp52 typedef std::ptrdiff_t difference_type; typedef in clover::detail::iterator_adaptor
108 operator+=(difference_type n) { in operator +=()
114 operator-=(difference_type n) { in operator -=()
120 operator+(difference_type n) const { in operator +()
127 operator-(difference_type n) const { in operator -()
133 difference_type
139 operator[](difference_type n) const { in operator []()
170 operator+(typename iterator_adaptor<F, Is...>::difference_type n, in operator +()
177 operator-(typename iterator_adaptor<F, Is...>::difference_type n, in operator -()
/third_party/boost/boost/intrusive/detail/
Dtransform_iterator.hpp67 …typedef typename Iterator::difference_type difference_… typedef in boost::intrusive::detail::transform_iterator
99 …BOOST_INTRUSIVE_FORCEINLINE friend typename Iterator::difference_type operator- (const transform_i… in operator -()
103 transform_iterator& operator+=(typename Iterator::difference_type off) in operator +=()
106 …BOOST_INTRUSIVE_FORCEINLINE transform_iterator operator+(typename Iterator::difference_type off) c… in operator +()
113 …E_FORCEINLINE friend transform_iterator operator+(typename Iterator::difference_type off, const tr… in operator +()
116 … BOOST_INTRUSIVE_FORCEINLINE transform_iterator& operator-=(typename Iterator::difference_type off) in operator -=()
119 …BOOST_INTRUSIVE_FORCEINLINE transform_iterator operator-(typename Iterator::difference_type off) c… in operator -()
159 void advance(typename Iterator::difference_type n) in advance()
162 typename Iterator::difference_type distance_to(const transform_iterator &other)const in distance_to()
/third_party/boost/boost/gil/
Dlocator.hpp119 …using coord_t = typename std::iterator_traits<x_iterator>::difference_type; // 1D difference …
120 using difference_type = point<coord_t>; // result of operator-(locator,locator) typedef in boost::gil::pixel_2d_locator_base
121 using point_t = difference_type;
135 …x_iterator x_at(const difference_type& d) const { Loc tmp=concrete(); tmp+=d; … in x_at()
137 …y_iterator y_at(const difference_type& d) const { Loc tmp=concrete(); tmp+=d; … in y_at()
139 …Loc xy_at(const difference_type& d) const { Loc tmp=concrete(); tmp+=d; … in xy_at()
146 reference operator[](const difference_type& d) const { return *x_at(d.x,d.y); } in operator []()
150 …Loc& operator+=(const difference_type& d) { concrete().x()+=d.x; concrete().y… in operator +=()
151 …Loc& operator-=(const difference_type& d) { concrete().x()-=d.x; concrete().y… in operator -=()
153 Loc operator+(const difference_type& d) const { return xy_at(d); } in operator +()
[all …]
Dstep_iterator.hpp41 …or_adaptor<Derived, Iterator, use_default, use_default, use_default, typename SFn::difference_type>
44 …r_adaptor<Derived, Iterator, use_default, use_default, use_default, typename SFn::difference_type>;
45 using base_difference_type = typename std::iterator_traits<Iterator>::difference_type;
46 using difference_type = typename SFn::difference_type; typedef in boost::gil::detail::step_iterator_adaptor
52 difference_type step() const { return _step_fn.step(); } in step()
62difference_type distance_to(const step_iterator_adaptor& it) const { return _step_fn.difference(th… in distance_to()
123 using difference_type = std::ptrdiff_t; typedef
125 memunit_step_fn(difference_type step=memunit_step(Iterator())) : _step(step) {} in memunit_step_fn()
127difference_type difference(const Iterator& it1, const Iterator& it2) const { return memunit_distan… in difference()
128 …void advance(Iterator& it, difference_type d) const { memunit_advance(it,d*… in advance()
[all …]
/third_party/boost/boost/numeric/ublas/
Dvector_proxy.hpp45 typedef typename V::difference_type difference_type; typedef in boost::numeric::ublas::vector_range
54 typedef basic_range<size_type, difference_type> range_type;
268 typedef typename const_subiterator_type::difference_type difference_type; typedef in boost::numeric::ublas::vector_range::const_iterator
296 const_iterator &operator += (difference_type n) { in operator +=()
301 const_iterator &operator -= (difference_type n) { in operator -=()
306 difference_type operator - (const const_iterator &it) const { in operator -()
318 const_reference operator [] (difference_type n) const { in operator []()
376 typedef typename subiterator_type::difference_type difference_type; typedef in boost::numeric::ublas::vector_range::iterator
401 iterator &operator += (difference_type n) { in operator +=()
406 iterator &operator -= (difference_type n) { in operator -=()
[all …]
/third_party/boost/libs/stl_interfaces/
DREADME.md15 using difference_type = std::ptrdiff_t;
27 difference_type size,
28 difference_type n) noexcept :
39 constexpr value_type operator[](difference_type n) const noexcept
55 constexpr repeated_chars_iterator & operator+=(difference_type n) noexcept
72 constexpr repeated_chars_iterator & operator-=(difference_type n) noexcept
110 operator+(repeated_chars_iterator lhs, difference_type rhs) noexcept
115 operator+(difference_type lhs, repeated_chars_iterator rhs) noexcept
120 operator-(repeated_chars_iterator lhs, difference_type rhs) noexcept
124 friend constexpr difference_type operator-(
[all …]
/third_party/boost/boost/container/detail/
Dtransform_iterator.hpp67 , typename Iterator::difference_type
107 …friend typename Iterator::difference_type operator- (const transform_iterator& i, const transform_… in operator -()
111 transform_iterator& operator+=(typename Iterator::difference_type off) in operator +=()
114 transform_iterator operator+(typename Iterator::difference_type off) const in operator +()
121 …friend transform_iterator operator+(typename Iterator::difference_type off, const transform_iterat… in operator +()
124 transform_iterator& operator-=(typename Iterator::difference_type off) in operator -=()
127 transform_iterator operator-(typename Iterator::difference_type off) const in operator -()
161 void advance(typename Iterator::difference_type n) in advance()
164 typename Iterator::difference_type distance_to(const transform_iterator &other)const in distance_to()
/third_party/boost/libs/algorithm/test/
Diterator_test.hpp29 typedef typename std::iterator_traits<It>::difference_type difference_type; typedef in input_iterator
78 typedef typename std::iterator_traits<It>::difference_type difference_type; typedef in forward_iterator
126 typedef typename std::iterator_traits<It>::difference_type difference_type; typedef in bidirectional_iterator
171 typedef typename std::iterator_traits<It>::difference_type difference_type; typedef in random_access_iterator
191 …BOOST_CXX14_CONSTEXPR random_access_iterator& operator+=(difference_type n) {it_ += n; retur… in operator +=()
192 …BOOST_CXX14_CONSTEXPR random_access_iterator operator+ (difference_type n) const {random_access_i… in operator +()
193 …BOOST_CXX14_CONSTEXPR friend random_access_iterator operator+(difference_type n, random_access_ite… in operator +()
195 …BOOST_CXX14_CONSTEXPR random_access_iterator& operator-=(difference_type n) {return *this +=… in operator -=()
196 …BOOST_CXX14_CONSTEXPR random_access_iterator operator- (difference_type n) const {random_access_i… in operator -()
198 BOOST_CXX14_CONSTEXPR reference operator[](difference_type n) const {return it_[n];} in operator []()
[all …]
/third_party/boost/boost/algorithm/searching/
Dknuth_morris_pratt.hpp47 typedef typename std::iterator_traits<patIter>::difference_type difference_type; typedef in boost::algorithm::knuth_morris_pratt
82 const difference_type k_corpus_length = std::distance ( corpus_first, corpus_last ); in operator ()()
99 const difference_type k_pattern_length;
100 std::vector <difference_type> skip_;
112 difference_type k_corpus_length ) const { in do_search()
113 difference_type match_start = 0; // position in the corpus that we're matching in do_search()
137 const difference_type last_match = k_corpus_length - k_pattern_length; in do_search()
138 difference_type idx = 0; // position in the pattern we're comparing in do_search()
159 const difference_type count = std::distance ( first, last ); in preKmp()
161 difference_type i, j; in preKmp()
[all …]

12345678910>>...35