Home
last modified time | relevance | path

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

12

/ndk/sources/cxx-stl/stlport/stlport/stl/
D_deque.c113 const_iterator __mid = __x.begin() + difference_type(__len);
210 difference_type __index = __pos - this->_M_start; in _M_erase()
247 difference_type __index = __pos - this->_M_start; in _M_erase()
262 difference_type __n = __last - __first; in _M_erase()
263 difference_type __elems_before = __first - this->_M_start; in _M_erase()
264 if (__elems_before <= difference_type(this->size() - __n) / 2) { in _M_erase()
326 difference_type __n = __last - __first; in _M_erase()
327 difference_type __elems_before = __first - this->_M_start; in _M_erase()
328 if (__elems_before <= difference_type(this->size() - __n) / 2) { in _M_erase()
467 const difference_type __elems_before = __pos - this->_M_start; in _M_fill_insert_aux()
[all …]
D_bvector.h104 typedef ptrdiff_t difference_type;
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;
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 operator-(const _Self& __x) const {
[all …]
D_deque.h95 typedef ptrdiff_t difference_type; typedef
119 difference_type _M_subtract(const _Self& __x) const { in _M_subtract()
120 return difference_type(_S_buffer_size()) * (_M_node - __x._M_node - 1) + in _M_subtract()
139 void _M_advance(difference_type __n) { in _M_advance()
141 difference_type __offset = __n + (_M_cur - _M_first); in _M_advance()
142 if (__offset >= 0 && __offset < difference_type(buffersize)) in _M_advance()
145 difference_type __node_offset = in _M_advance()
147 : -difference_type((-__offset - 1) / buffersize) - 1; in _M_advance()
151 (__offset - __node_offset * difference_type(buffersize)); in _M_advance()
156 _M_last = (_M_first = *(_M_node = __new_node)) + difference_type(_S_buffer_size()); in _M_set_node()
[all …]
D_iterator.h50 typename iterator_traits<_Iterator>::difference_type,
57 typedef typename iterator_traits<_Iterator>::difference_type difference_type; typedef
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
D_iterator_base.h62 typedef _Distance difference_type; typedef
71 typedef void difference_type;
87 …P_DISTANCE_TYPE(_It, _Tp) (_STLP_TYPENAME _STLP_STD::iterator_traits< _Tp >::difference_type*)0
151 typedef typename _Iterator::difference_type difference_type;
157 # define _STLP_DIFFERENCE_TYPE(_Iterator) typename iterator_traits<_Iterator>::difference_type
169 typedef ptrdiff_t difference_type;
178 typedef ptrdiff_t difference_type;
188 typedef ptrdiff_t difference_type;
227 inline _STLP_TYPENAME_ON_RETURN_TYPE _STLP_STD::iterator_traits<_Iter>::difference_type*
229 typedef _STLP_TYPENAME _STLP_STD::iterator_traits<_Iter>::difference_type _diff_type;
D_time_facets.c79 typedef ptrdiff_t difference_type; in __match() typedef
80 difference_type __n = __name_end - __name; in __match()
81 difference_type __i, __start = 0; in __match()
83 difference_type __check_count = __n; in __match()
90 difference_type __new_n = __n; in __match()
D_unordered_set.h55 typedef typename _Ht::difference_type difference_type; in _STLP_CREATE_HASH_ITERATOR_TRAITS() typedef
205 typedef typename _Ht::difference_type difference_type; in _STLP_CREATE_HASH_ITERATOR_TRAITS() typedef
366 typedef void difference_type;
393 typedef void difference_type;
D_pthread_alloc.h101 typedef ptrdiff_t difference_type; typedef
193 typedef ptrdiff_t difference_type; typedef
282 typedef ptrdiff_t difference_type;
376 typedef ptrdiff_t difference_type;
D_unordered_map.h61 typedef typename _Ht::difference_type difference_type; in _STLP_CREATE_HASH_ITERATOR_TRAITS() typedef
229 typedef typename _Ht::difference_type difference_type; in _STLP_CREATE_HASH_ITERATOR_TRAITS() typedef
391 typedef void difference_type;
418 typedef void difference_type;
D_iterator_old.h73 typedef _Distance difference_type; typedef
167 typedef _Distance difference_type; typedef
181 _Reference operator*() const { return *(__current - (difference_type)1); }
D_hash_map.h69 typedef typename _Ht::difference_type difference_type; in _STLP_CREATE_HASH_ITERATOR_TRAITS() typedef
260 typedef typename _Ht::difference_type difference_type; in _STLP_CREATE_HASH_ITERATOR_TRAITS() typedef
449 typedef void difference_type;
476 typedef void difference_type;
D_hash_set.h63 typedef typename _Ht::difference_type difference_type; in _STLP_CREATE_HASH_ITERATOR_TRAITS() typedef
249 typedef typename _Ht::difference_type difference_type; in _STLP_CREATE_HASH_ITERATOR_TRAITS() typedef
444 typedef void difference_type;
471 typedef void difference_type;
D_raw_storage_iter.h49 typedef void difference_type; typedef
Dconcept_checks.h504 typedef typename __STD::iterator_traits<_Iter>::difference_type
505 difference_type;
717 ::difference_type
756 ::difference_type
773 _STLP_TYPEDEF_REQUIREMENT(difference_type);
D_map.h90 typedef typename _Rep_type::difference_type difference_type; in _STLP_CREATE_ITERATOR_TRAITS() typedef
283 typedef typename _Rep_type::difference_type difference_type; in _STLP_CREATE_ITERATOR_TRAITS() typedef
D_set.h78 typedef typename _Rep_type::difference_type difference_type; in _STLP_CREATE_ITERATOR_TRAITS() typedef
249 typedef typename _Rep_type::difference_type difference_type; in _STLP_CREATE_ITERATOR_TRAITS() typedef
D_ostreambuf_iterator.h52 typedef void difference_type; typedef
D_istreambuf_iterator.h57 typedef typename _Traits::off_type difference_type; typedef
D_alloc.h283 typedef ptrdiff_t difference_type; typedef
367 typedef ptrdiff_t difference_type; typedef
D_slist.h67 typedef ptrdiff_t difference_type; typedef
87 typedef ptrdiff_t difference_type; typedef
236 typedef ptrdiff_t difference_type;
884 typedef void difference_type;
/ndk/sources/cxx-stl/stlport/stlport/stl/debug/
D_iterator.h124 typedef ptrdiff_t difference_type; typedef
202 typedef typename _Base::difference_type difference_type; typedef
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); }
/ndk/sources/cxx-stl/stlport/stlport/stl/config/
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; \
/ndk/sources/cxx-stl/stlport/stlport/stl/pointers/
D_tools.h342 typedef typename _IteTraits::difference_type difference_type;
371 _Self& operator += (difference_type __offset) {
375 difference_type operator -(_Self const& __other) const
D_set.h109 typedef typename _Priv_Rep_type::difference_type difference_type;
356 typedef typename _Priv_Rep_type::difference_type difference_type;
/ndk/tests/device/test-stlport/unit/
Dstack_allocator.h62 typedef ptrdiff_t difference_type; typedef

12