Home
last modified time | relevance | path

Searched refs:__a (Results 1 – 25 of 45) sorted by relevance

12

/ndk/sources/cxx-stl/stlport/stlport/stl/
Dconcept_checks.h369 __assignment_operator_requirement_violation(_Type __a) {
370 __a = __a;
371 return __a;
375 __copy_constructor_requirement_violation(_Type __a) {
376 _Type __c(__a);
388 __const_parameter_required_for_assignment_operator(_Type __a,
390 __a = __b;
391 return __a;
395 __less_than_comparable_requirement_violation(_Type __a, _Type __b) {
396 if (__a < __b || __a > __b || __a <= __b || __a >= __b) return __a;
[all …]
D_algobase.h66 inline void __swap_aux(_Tp& __a, _Tp& __b, const __true_type& /*SwapImplemented*/) { in __swap_aux() argument
67 __a._M_swap_workaround(__b); in __swap_aux()
71 inline void __swap_aux(_Tp& __a, _Tp& __b, const __false_type& /*SwapImplemented*/) { in __swap_aux() argument
72 _Tp __tmp = __a; in __swap_aux()
73 __a = __b; in __swap_aux()
81 inline void swap(_Tp& __a, _Tp& __b) { in swap() argument
89 _STLP_PRIV __swap_aux(__a, __b, _Implemented()); in swap()
91 _Tp __tmp = __a; in swap()
92 __a = __b; in swap()
139 inline const _Tp& (min)(const _Tp& __a, const _Tp& __b) { return __b < __a ? __b : __a; }
[all …]
D_alloc.h181 # define _STLP_CONVERT_ALLOCATOR(__a, _Tp) __stl_alloc_create(__a,(_Tp*)0) argument
183 # define _STLP_CONVERT_ALLOCATOR(__a, _Tp) __a argument
188 # define _STLP_CONVERT_ALLOCATOR(__a, _Tp) __stl_alloc_create(__a,(_Tp*)0) argument
202 static allocator_type create_allocator(const _Orig& __a) in create_allocator()
203 { return allocator_type(_STLP_CONVERT_ALLOCATOR(__a, _Tp)); } in create_allocator()
445 static allocator_type create_allocator(const allocator<_Tp1 >& __a)
446 { return allocator_type(_STLP_CONVERT_ALLOCATOR(__a, _Tp)); }
453 __stl_alloc_create(const _Alloc& __a, const _Tp*) {
455 return _Rebound_type(__a);
462 __stl_alloc_rebind(allocator<_Tp1>& __a, const _Tp2*) { return (allocator<_Tp2>&)(__a); }
[all …]
D_rope.h81 # define _STLP_CREATE_ALLOCATOR(__atype,__a, _Tp) (_Alloc_traits<_Tp,__atype>::create_allocator(__… argument
83 # define _STLP_CREATE_ALLOCATOR(__atype,__a, _Tp) __stl_alloc_create(__a,(_Tp*)0) argument
379 allocator_type __a) :
381 _M_tag(__t), _M_is_balanced(__b), _M_depth(__d), _M_c_string(0), _M_size(__a, _p_size) {
412 allocator_type __a) {
416__a.deallocate(__s, _S_rounded_up_size(__len)); //*ty 03/24/2001 - restored not to use __stl_al…
418 __stl_alloc_rebind (__a, (_CharT*)0).deallocate(__s, _S_rounded_up_size(__len));
470 _Rope_RopeLeaf( _CharT* __d, size_t _p_size, allocator_type __a)
471 : _Rope_RopeRep<_CharT,_Alloc>(_RopeRep::_S_leaf, 0, true, _p_size, __a),
503 _Rope_RopeConcatenation(_RopeRep* __l, _RopeRep* __r, allocator_type __a)
[all …]
D_set.h90 const allocator_type& __a = allocator_type()) in _STLP_CREATE_ITERATOR_TRAITS()
96 set(const _Compare& __comp, const allocator_type& __a) in _STLP_CREATE_ITERATOR_TRAITS()
98 : _M_t(__comp, __a) {} in _STLP_CREATE_ITERATOR_TRAITS()
113 const allocator_type& __a _STLP_ALLOCATOR_TYPE_DFL) in _STLP_CREATE_ITERATOR_TRAITS()
114 : _M_t(__comp, __a) { _M_t.insert_unique(__first, __last); } in _STLP_CREATE_ITERATOR_TRAITS()
122 const allocator_type& __a = allocator_type()) in _STLP_CREATE_ITERATOR_TRAITS()
123 : _M_t(__comp, __a) { _M_t.insert_unique(__first, __last); } in _STLP_CREATE_ITERATOR_TRAITS()
130 const allocator_type& __a = allocator_type()) in _STLP_CREATE_ITERATOR_TRAITS()
131 : _M_t(__comp, __a) { _M_t.insert_unique(__first, __last); } in _STLP_CREATE_ITERATOR_TRAITS()
259 const allocator_type& __a = allocator_type()) in _STLP_CREATE_ITERATOR_TRAITS()
[all …]
D_map.h102 const allocator_type& __a = allocator_type()) in _STLP_CREATE_ITERATOR_TRAITS()
106 explicit map(const _Compare& __comp, const allocator_type& __a) in _STLP_CREATE_ITERATOR_TRAITS()
108 : _M_t(__comp, __a) {} in _STLP_CREATE_ITERATOR_TRAITS()
118 const allocator_type& __a _STLP_ALLOCATOR_TYPE_DFL) in _STLP_CREATE_ITERATOR_TRAITS()
119 : _M_t(__comp, __a) { _M_t.insert_unique(__first, __last); } in _STLP_CREATE_ITERATOR_TRAITS()
134 const allocator_type& __a = allocator_type()) in _STLP_CREATE_ITERATOR_TRAITS()
135 : _M_t(__comp, __a) { _M_t.insert_unique(__first, __last); } in _STLP_CREATE_ITERATOR_TRAITS()
142 const allocator_type& __a = allocator_type()) in _STLP_CREATE_ITERATOR_TRAITS()
143 : _M_t(__comp, __a) { _M_t.insert_unique(__first, __last); } in _STLP_CREATE_ITERATOR_TRAITS()
294 const allocator_type& __a = allocator_type()) in _STLP_CREATE_ITERATOR_TRAITS()
[all …]
D_unordered_set.h79 const allocator_type& __a = allocator_type()) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
80 : _M_ht(__n, __hf, __eql, __a) {} in _STLP_CREATE_HASH_ITERATOR_TRAITS()
92 const allocator_type& __a = allocator_type()) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
93 : _M_ht(__n, __hf, __eql, __a) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
99 const allocator_type& __a = allocator_type()) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
100 : _M_ht(__n, __hf, __eql, __a) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
106 const allocator_type& __a = allocator_type()) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
107 : _M_ht(__n, __hf, __eql, __a) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
229 const allocator_type& __a = allocator_type()) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
230 : _M_ht(__n, __hf, __eql, __a) {} in _STLP_CREATE_HASH_ITERATOR_TRAITS()
[all …]
D_unordered_map.h85 const allocator_type& __a = allocator_type()) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
86 : _M_ht(__n, __hf, __eql, __a) {} in _STLP_CREATE_HASH_ITERATOR_TRAITS()
98 const allocator_type& __a = allocator_type()) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
99 : _M_ht(__n, __hf, __eql, __a) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
105 const allocator_type& __a = allocator_type()) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
106 : _M_ht(__n, __hf, __eql, __a) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
112 const allocator_type& __a = allocator_type()) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
113 : _M_ht(__n, __hf, __eql, __a) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
253 const allocator_type& __a = allocator_type()) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
254 : _M_ht(__n, __hf, __eql, __a) {} in _STLP_CREATE_HASH_ITERATOR_TRAITS()
[all …]
D_hash_set.h91 const allocator_type& __a = allocator_type()) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
96 const allocator_type& __a) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
98 : _M_ht(__n, __hf, __eql, __a) {} in _STLP_CREATE_HASH_ITERATOR_TRAITS()
122 const allocator_type& __a _STLP_ALLOCATOR_TYPE_DFL) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
123 : _M_ht(__n, __hf, __eql, __a) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
145 const allocator_type& __a = allocator_type()) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
146 : _M_ht(__n, __hf, __eql, __a) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
161 const allocator_type& __a = allocator_type()) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
162 : _M_ht(__n, __hf, __eql, __a) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
278 const allocator_type& __a) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
[all …]
D_hash_map.h94 const allocator_type& __a = allocator_type()) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
95 : _M_ht(__n, __hf, __eql, __a) {} in _STLP_CREATE_HASH_ITERATOR_TRAITS()
127 const allocator_type& __a _STLP_ALLOCATOR_TYPE_DFL) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
128 : _M_ht(__n, __hf, __eql, __a) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
144 const allocator_type& __a = allocator_type()) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
145 : _M_ht(__n, __hf, __eql, __a) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
160 const allocator_type& __a = allocator_type()) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
161 : _M_ht(__n, __hf, __eql, __a) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
285 const allocator_type& __a = allocator_type()) in _STLP_CREATE_HASH_ITERATOR_TRAITS()
286 : _M_ht(__n, __hf, __eql, __a) {} in _STLP_CREATE_HASH_ITERATOR_TRAITS()
[all …]
D_string_base.h110 _String_base(const allocator_type& __a) in _String_base() argument
112 : _M_finish(_M_buffers._M_static_buf), _M_start_of_storage(__a, _M_buffers._M_static_buf) in _String_base()
114 : _M_end_of_storage(0), _M_finish(0), _M_start_of_storage(__a, (_Tp*)0) in _String_base()
118 _String_base(const allocator_type& __a, size_t __n) argument
120 : _M_finish(_M_buffers._M_static_buf), _M_start_of_storage(__a, _M_buffers._M_static_buf) {
122 : _M_end_of_storage(0), _M_finish(0), _M_start_of_storage(__a, (_Tp*)0) {
D_string_workaround.h48 explicit basic_string(const allocator_type& __a = allocator_type())
49 : _STLP_NO_MEM_T_STRING_BASE(__a) {} in _STLP_NO_MEM_T_STRING_BASE() argument
52 const allocator_type& __a = allocator_type())
53 : _STLP_NO_MEM_T_STRING_BASE(__r, __n, __a) {} in _STLP_NO_MEM_T_STRING_BASE() argument
59 const allocator_type& __a = allocator_type())
60 : _STLP_NO_MEM_T_STRING_BASE(__s, __pos, __n, __a) {} in _STLP_NO_MEM_T_STRING_BASE() argument
63 const allocator_type& __a = allocator_type())
64 : _STLP_NO_MEM_T_STRING_BASE(__s, __n, __a) {} in _STLP_NO_MEM_T_STRING_BASE() argument
67 const allocator_type& __a = allocator_type())
68 : _STLP_NO_MEM_T_STRING_BASE(__s, __a) {} in _STLP_NO_MEM_T_STRING_BASE() argument
[all …]
D_list.h188 _List_base(const allocator_type& __a) : _M_node(_STLP_CONVERT_ALLOCATOR(__a, _Node), _Node_base())
307 const allocator_type& __a = allocator_type())
315 list(size_type __n, const_reference __val, const allocator_type& __a)
317 : _STLP_PRIV _List_base<_Tp, _Alloc>(__a)
325 const allocator_type& __a _STLP_ALLOCATOR_TYPE_DFL)
326 : _STLP_PRIV _List_base<_Tp, _Alloc>(__a)
337 const allocator_type& __a = allocator_type())
338 : _STLP_PRIV _List_base<_Tp, _Alloc>(__a)
341 const allocator_type& __a = allocator_type())
342 : _STLP_PRIV _List_base<_Tp, _Alloc>(__a)
[all …]
/ndk/tests/device/test-stlport/unit/
Dstack_allocator.h177 __stl_alloc_rebind(StackAllocator<_Tp1>& __a, const _Tp2*) { return (StackAllocator<_Tp2>&)(__a); } in __stl_alloc_rebind() argument
180 __stl_alloc_create(const StackAllocator<_Tp1>& __a, const _Tp2*) { return StackAllocator<_Tp2>(__a.… in __stl_alloc_create() argument
185 inline void swap(StackAllocator<_Tp>& __a, StackAllocator<_Tp>& __b) in swap() argument
186 { __a.swap(__b); } in swap()
191 inline void swap(StackAllocator<int>& __a, StackAllocator<int>& __b) in swap() argument
192 { __a.swap(__b); } in swap()
193 inline void swap(StackAllocator<char>& __a, StackAllocator<char>& __b) in swap() argument
194 { __a.swap(__b); } in swap()
195 inline void swap(StackAllocator<pair<const int, int> >& __a, in swap() argument
197 { __a.swap(__b); } in swap()
/ndk/tests/device/test-gnustl-full/unit/
Dstack_allocator.h177 __stl_alloc_rebind(StackAllocator<_Tp1>& __a, const _Tp2*) { return (StackAllocator<_Tp2>&)(__a); } in __stl_alloc_rebind() argument
180 __stl_alloc_create(const StackAllocator<_Tp1>& __a, const _Tp2*) { return StackAllocator<_Tp2>(__a.… in __stl_alloc_create() argument
185 inline void swap(StackAllocator<_Tp>& __a, StackAllocator<_Tp>& __b) in swap() argument
186 { __a.swap(__b); } in swap()
191 inline void swap(StackAllocator<int>& __a, StackAllocator<int>& __b) in swap() argument
192 { __a.swap(__b); } in swap()
193 inline void swap(StackAllocator<char>& __a, StackAllocator<char>& __b) in swap() argument
194 { __a.swap(__b); } in swap()
195 inline void swap(StackAllocator<pair<const int, int> >& __a, in swap() argument
197 { __a.swap(__b); } in swap()
/ndk/sources/cxx-stl/stlport/src/
Dallocators.cpp842 static void * allocate(size_t& __n, __state_type* __a);
845 static void deallocate(void *__p, size_t __n, __state_type* __a);
935 …lloc_impl::_S_chunk_alloc(size_t __p_size, size_t &__nobjs, _Pthread_alloc_per_thread_state *__a) { in _S_chunk_alloc() argument
960 __obj * volatile * __my_free_list = __a->__free_list + _S_freelist_index(__bytes_left); in _S_chunk_alloc()
985 return _S_chunk_alloc(__p_size, __nobjs, __a); in _S_chunk_alloc()
994 __state_type* __a; in allocate() local
1001 __a = _S_get_per_thread_state(); in allocate()
1003 __my_free_list = __a->__free_list + _S_freelist_index(__n); in allocate()
1006 void *__r = __a->_M_refill(__n); in allocate()
1018 __state_type* __a; in deallocate() local
[all …]
/ndk/sources/cxx-stl/stlport/stlport/stl/pointers/
D_vector.h106 explicit vector(const allocator_type& __a = allocator_type())
107 : _M_impl(_STLP_CONVERT_ALLOCATOR(__a, _StorageType)) {} in _M_impl() argument
114 const allocator_type& __a = allocator_type())
116 _STLP_CONVERT_ALLOCATOR(__a, _StorageType)) {} in _M_impl() argument
134 const allocator_type& __a _STLP_ALLOCATOR_TYPE_DFL ) in vector()
136 _STLP_CONVERT_ALLOCATOR(__a, _StorageType)) {} in vector()
146 const allocator_type& __a = allocator_type())
148 _STLP_CONVERT_ALLOCATOR(__a, _StorageType)) {} in _M_impl() argument
D_list.h92 explicit list(const allocator_type& __a = allocator_type())
93 : _M_impl(_STLP_CONVERT_ALLOCATOR(__a, _StorageType)) {} in _M_impl() argument
100 const allocator_type& __a = allocator_type())
102 _STLP_CONVERT_ALLOCATOR(__a, _StorageType)) {} in _M_impl() argument
112 const allocator_type& __a _STLP_ALLOCATOR_TYPE_DFL) in list()
114 : _M_impl(__first, __last, _STLP_CONVERT_ALLOCATOR(__a, _StorageType)) {} in list()
116 : _M_impl(_STLP_CONVERT_ALLOCATOR(__a, _StorageType)) {
134 const allocator_type& __a = allocator_type())
137 _STLP_CONVERT_ALLOCATOR(__a, _StorageType)) {} in _M_impl() argument
139 const allocator_type& __a = allocator_type())
[all …]
D_set.h131 const allocator_type& __a = allocator_type())
132 : _M_t(__comp, _STLP_CONVERT_ALLOCATOR(__a, _KeyStorageType)) {}
160 const allocator_type& __a _STLP_ALLOCATOR_TYPE_DFL)
161 : _M_t(__comp, _STLP_CONVERT_ALLOCATOR(__a, _KeyStorageType)) {
177 const _Compare& __comp, const allocator_type& __a = allocator_type())
178 : _M_t(__comp, _STLP_CONVERT_ALLOCATOR(__a, _KeyStorageType)) {
188 const _Compare& __comp, const allocator_type& __a = allocator_type())
189 : _M_t(__comp, _STLP_CONVERT_ALLOCATOR(__a, _KeyStorageType))
378 const allocator_type& __a = allocator_type())
379 : _M_t(__comp, _STLP_CONVERT_ALLOCATOR(__a, _KeyStorageType)) {}
[all …]
D_deque.h159 explicit deque(const allocator_type& __a = allocator_type())
160 : _M_impl(_STLP_CONVERT_ALLOCATOR(__a, _StorageType)) {}
169 const allocator_type& __a = allocator_type())
170 …: _M_impl(__n, cast_traits::to_storage_type_cref(__val), _STLP_CONVERT_ALLOCATOR(__a, _StorageType…
179 const allocator_type& __a _STLP_ALLOCATOR_TYPE_DFL)
182 _STLP_CONVERT_ALLOCATOR(__a, _StorageType)) {
184 : _M_impl(_STLP_CONVERT_ALLOCATOR(__a, _StorageType)) {
203 const allocator_type& __a = allocator_type() )
206 _STLP_CONVERT_ALLOCATOR(__a, _StorageType)) {}
209 const allocator_type& __a = allocator_type() )
[all …]
D_slist.h87 explicit slist(const allocator_type& __a = allocator_type())
88 : _M_impl(_STLP_CONVERT_ALLOCATOR(__a, _StorageType)) {} in _M_impl() argument
95 const allocator_type& __a = allocator_type())
96 …: _M_impl(__n, cast_traits::to_storage_type_cref(__x), _STLP_CONVERT_ALLOCATOR(__a, _StorageType))… in _M_impl() argument
107 const allocator_type& __a _STLP_ALLOCATOR_TYPE_DFL) in slist()
109 : _M_impl(__first, __last, _STLP_CONVERT_ALLOCATOR(__a, _StorageType)) {} in slist()
111 : _M_impl(_STLP_CONVERT_ALLOCATOR(__a, _StorageType)) {
127 const allocator_type& __a = allocator_type() )
129 _STLP_CONVERT_ALLOCATOR(__a, _StorageType)) {}
131 const allocator_type& __a = allocator_type())
[all …]
/ndk/sources/cxx-stl/stlport/stlport/stl/debug/
D_deque.h129 explicit deque(const allocator_type& __a = allocator_type()) :
130 _M_non_dbg_impl(__a), _M_iter_list(&_M_non_dbg_impl) {} in _M_non_dbg_impl() argument
140 const allocator_type& __a = allocator_type()) :
141 _M_non_dbg_impl(__n, __x, __a), _M_iter_list(&_M_non_dbg_impl) {} in _M_non_dbg_impl() argument
162 const allocator_type& __a _STLP_ALLOCATOR_TYPE_DFL) in deque()
164 _M_non_dbg_impl(_STLP_PRIV _Non_Dbg_iter(__first), _STLP_PRIV _Non_Dbg_iter(__last), __a), in deque()
177 const allocator_type& __a = allocator_type())
179 _M_non_dbg_impl(__first, __last, __a), in _ConstructCheck()
184 const allocator_type& __a = allocator_type())
186 _M_non_dbg_impl(__first._M_iterator, __last._M_iterator, __a), in _ConstructCheck()
D_vector.h174 explicit vector(const allocator_type& __a = allocator_type())
175 : _M_non_dbg_impl(__a), _M_iter_list(&_M_non_dbg_impl) {}
182 const allocator_type& __a = allocator_type())
183 : _M_non_dbg_impl(__n, __x, __a), _M_iter_list(&_M_non_dbg_impl) {}
208 const allocator_type& __a _STLP_ALLOCATOR_TYPE_DFL)
210 _M_non_dbg_impl(_STLP_PRIV _Non_Dbg_iter(__first), _STLP_PRIV _Non_Dbg_iter(__last), __a),
222 const allocator_type& __a = allocator_type())
223 : _ConstructCheck(__first, __last), _M_non_dbg_impl(__first, __last, __a),
228 const allocator_type& __a = allocator_type())
230 _M_non_dbg_impl(__first._M_iterator, __last._M_iterator, __a),
D_list.h91 explicit list(const allocator_type& __a = allocator_type()) :
92 _M_non_dbg_impl(__a), _M_iter_list(&_M_non_dbg_impl) {} in _M_non_dbg_impl() argument
99 const allocator_type& __a = allocator_type())
100 : _M_non_dbg_impl(__n, __x, __a), _M_iter_list(&_M_non_dbg_impl) {} in _M_non_dbg_impl() argument
122 const allocator_type& __a _STLP_ALLOCATOR_TYPE_DFL) in list()
124 _M_non_dbg_impl(_STLP_PRIV _Non_Dbg_iter(__first), _STLP_PRIV _Non_Dbg_iter(__last), __a), in list()
136 const allocator_type& __a = allocator_type())
138 _M_non_dbg_impl(__first, __last, __a), in _ConstructCheck()
141 const allocator_type& __a = allocator_type())
143 _M_non_dbg_impl(__first._M_iterator, __last._M_iterator, __a), in _ConstructCheck()
D_string.h90 explicit basic_string(const allocator_type& __a = allocator_type())
91 : _M_non_dbg_impl(__a), _M_iter_list(&_M_non_dbg_impl) {} in _M_non_dbg_impl() argument
94 const allocator_type& __a = allocator_type())
95 : _M_non_dbg_impl(__r, __n, __a), _M_iter_list(&_M_non_dbg_impl) {} in _M_non_dbg_impl() argument
102 const allocator_type& __a = allocator_type())
103 : _M_non_dbg_impl(__s._M_non_dbg_impl, __pos, __n, __a),
107 const allocator_type& __a = allocator_type())
108 : _ConstructCheck(__s), _M_non_dbg_impl(__s, __n, __a), in _ConstructCheck()
112 const allocator_type& __a = allocator_type())
114 _M_non_dbg_impl(__s, __a), _M_iter_list(&_M_non_dbg_impl) {} in _ConstructCheck()
[all …]

12