Searched refs:difference_type (Results 1 - 25 of 53) sorted by relevance

123

/external/astl/tests/
H A Dtest_iterator.cpp41 typedef ptrdiff_t difference_type; typedef in struct:android::Input
49 typedef ptrdiff_t difference_type; typedef in struct:android::Forward
57 typedef ptrdiff_t difference_type; typedef in struct:android::Bidirectional
65 typedef ptrdiff_t difference_type; typedef in struct:android::Random
/external/astl/include/
H A Diterator55 typedef _Distance difference_type; // Distance between iterators.
67 typedef typename _Iterator::difference_type difference_type;
79 typedef ptrdiff_t difference_type;
89 typedef ptrdiff_t difference_type;
105 typedef typename iterator_traits<_Iterator>::difference_type
106 difference_type;
139 reference operator[](const difference_type& n) const {
143 __wrapper_iterator& operator+=(const difference_type& n) {
148 __wrapper_iterator operator+(const difference_type
[all...]
H A Dmemory86 difference_type difference_type;
87 const difference_type len = std::distance(begin, end);
88 const difference_type kMaxSize =
89 std::numeric_limits<difference_type>::max();
H A Dset73 typedef typename impl_type::difference_type difference_type;
H A Dalgorithm94 typedef typename iterator_traits<_InputIterator>::difference_type
95 difference_type;
97 for (difference_type n = last - first; n > 0; --n) {
H A Dvector75 typedef ptrdiff_t difference_type;
367 difference_type len = std::distance(first, last);
450 typedef typename iterator_traits<_Iterator>::difference_type difference_type;
451 const difference_type num = std::distance(first, last);
H A Dlist69 typedef ptrdiff_t difference_type;
110 typedef ptrdiff_t difference_type;
164 typedef ptrdiff_t difference_type;
/external/stlport/stlport/stl/
H A D_deque.c113 const_iterator __mid = __x.begin() + difference_type(__len);
210 difference_type __index = __pos - this->_M_start;
247 difference_type __index = __pos - this->_M_start;
262 difference_type __n = __last - __first;
263 difference_type __elems_before = __first - this->_M_start;
264 if (__elems_before <= difference_type(this->size() - __n) / 2) {
326 difference_type __n = __last - __first;
327 difference_type __elems_before = __first - this->_M_start;
328 if (__elems_before <= difference_type(this->size() - __n) / 2) {
467 const difference_type __elems_befor
[all...]
H A D_bvector.h104 typedef ptrdiff_t difference_type; typedef in struct:_Bit_iterator_base
131 void _M_advance (difference_type __i) {
132 difference_type __n = __i + _M_offset;
142 difference_type _M_subtract(const _Bit_iterator_base& __x) const {
175 typedef ptrdiff_t difference_type; typedef in struct:_Bit_iter
208 _Self& operator+=(difference_type __i) {
212 _Self& operator-=(difference_type __i) {
216 _Self operator+(difference_type __i) const {
220 _Self operator-(difference_type __i) const {
224 difference_type operato
368 typedef ptrdiff_t difference_type; typedef in class:__BVECTOR_QUALIFIED
[all...]
H A D_deque.h95 typedef ptrdiff_t difference_type; typedef in struct:_Deque_iterator_base
119 difference_type _M_subtract(const _Self& __x) const {
120 return difference_type(_S_buffer_size()) * (_M_node - __x._M_node - 1) +
139 void _M_advance(difference_type __n) {
141 difference_type __offset = __n + (_M_cur - _M_first);
142 if (__offset >= 0 && __offset < difference_type(buffersize))
145 difference_type __node_offset =
147 : -difference_type((-__offset - 1) / buffersize) - 1;
151 (__offset - __node_offset * difference_type(buffersize));
156 _M_last = (_M_first = *(_M_node = __new_node)) + difference_type(_S_buffer_siz
168 typedef ptrdiff_t difference_type; typedef in struct:_Deque_iterator
414 typedef ptrdiff_t difference_type; typedef in class:deque
[all...]
H A D_iterator.h50 typename iterator_traits<_Iterator>::difference_type,
57 typedef typename iterator_traits<_Iterator>::difference_type difference_type; typedef in class:reverse_iterator
99 _Self operator+(difference_type __n) const { return _Self(current - __n); }
100 _Self& operator+=(difference_type __n) {
104 _Self operator-(difference_type __n) const { return _Self(current + __n); }
105 _Self& operator-=(difference_type __n) {
109 reference operator[](difference_type __n) const { return *(*this + __n); }
148 inline typename reverse_iterator<_Iterator>::difference_type _STLP_CALL
H A D_raw_storage_iter.h49 typedef void difference_type; typedef in class:raw_storage_iterator
H A D_iterator_base.h62 typedef _Distance difference_type; typedef in struct:iterator
71 typedef void difference_type; typedef in struct:iterator
87 # define _STLP_DISTANCE_TYPE(_It, _Tp) (_STLP_TYPENAME _STLP_STD::iterator_traits< _Tp >::difference_type*)0
151 typedef typename _Iterator::difference_type difference_type; typedef in struct:iterator_traits::iterator_traits
157 # define _STLP_DIFFERENCE_TYPE(_Iterator) typename iterator_traits<_Iterator>::difference_type
169 typedef ptrdiff_t difference_type; typedef in struct:iterator_traits::iterator_traits
178 typedef ptrdiff_t difference_type; typedef in struct:iterator_traits::iterator_traits
188 typedef ptrdiff_t difference_type; typedef in struct:iterator_traits::iterator_traits
227 inline _STLP_TYPENAME_ON_RETURN_TYPE _STLP_STD::iterator_traits<_Iter>::difference_type*
[all...]
H A D_ostreambuf_iterator.h52 typedef void difference_type; typedef in class:ostreambuf_iterator
H A D_time_facets.c79 typedef ptrdiff_t difference_type; typedef
80 difference_type __n = __name_end - __name;
81 difference_type __i, __start = 0;
83 difference_type __check_count = __n;
90 difference_type __new_n = __n;
H A D_unordered_map.h61 typedef typename _Ht::difference_type difference_type; typedef in class:unordered_map
229 typedef typename _Ht::difference_type difference_type; typedef in class:unordered_multimap
391 typedef void difference_type; typedef in class:insert_iterator
418 typedef void difference_type; typedef in class:insert_iterator
H A D_unordered_set.h55 typedef typename _Ht::difference_type difference_type; typedef in class:unordered_set
205 typedef typename _Ht::difference_type difference_type; typedef in class:unordered_multiset
366 typedef void difference_type; typedef in class:insert_iterator
393 typedef void difference_type; typedef in class:insert_iterator
H A D_iterator_old.h73 typedef _Distance difference_type; typedef in class:reverse_bidirectional_iterator
167 typedef _Distance difference_type; typedef in class:reverse_iterator
181 _Reference operator*() const { return *(__current - (difference_type)1); }
H A D_pthread_alloc.h101 typedef ptrdiff_t difference_type; typedef in class:pthread_allocator
193 typedef ptrdiff_t difference_type; typedef in class:pthread_allocator
282 typedef ptrdiff_t difference_type; typedef in class:per_thread_allocator
376 typedef ptrdiff_t difference_type; typedef in class:per_thread_allocator
H A D_istreambuf_iterator.h57 typedef typename _Traits::off_type difference_type; typedef in class:istreambuf_iterator
H A D_map.h90 typedef typename _Rep_type::difference_type difference_type; typedef in class:map
283 typedef typename _Rep_type::difference_type difference_type; typedef in class:multimap
/external/protobuf/src/google/protobuf/
H A Drepeated_field.h937 typedef typename superclass::difference_type difference_type; typedef in class:google::protobuf::internal::RepeatedPtrIterator
974 iterator& operator+=(difference_type d) {
978 friend iterator operator+(iterator it, difference_type d) {
982 friend iterator operator+(difference_type d, iterator it) {
986 iterator& operator-=(difference_type d) {
990 friend iterator operator-(iterator it, difference_type d) {
996 reference operator[](difference_type d) const { return *(*this + d); }
999 difference_type operator-(const iterator& x) const { return it_ - x.it_; }
1025 typedef typename superclass::difference_type difference_typ typedef in class:google::protobuf::internal::RepeatedPtrOverPtrsIterator
[all...]
/external/stlport/stlport/stl/debug/
H A D_iterator.h124 typedef ptrdiff_t difference_type; typedef in struct:_DBG_iter_base
202 typedef typename _Base::difference_type difference_type; typedef in struct:_DBG_iter
269 _Self& operator+=(difference_type __n) {
274 _Self& operator-=(difference_type __n) {
278 _Self operator+(difference_type __n) const {
283 _Self operator-(difference_type __n) const {
288 reference operator[](difference_type __n) const { return *(*this + __n); }
/external/stlport/stlport/stl/config/
H A Dfeatures.h730 const_pointer, difference_type> const_reverse_iterator; \
731 typedef _STLP_STD::__reverse_iterator<iterator, value_type, reference, pointer, difference_type> \
736 difference_type> const_reverse_iterator; \
738 reference, difference_type> \
751 typedef typename _Super::difference_type difference_type; \
/external/stlport/stlport/stl/pointers/
H A D_tools.h342 typedef typename _IteTraits::difference_type difference_type; typedef in struct:_IteWrapper
371 _Self& operator += (difference_type __offset) {
375 difference_type operator -(_Self const& __other) const

Completed in 134 milliseconds

123