Home
last modified time | relevance | path

Searched refs:cast_traits (Results 1 – 6 of 6) sorted by relevance

/external/stlport/stlport/stl/pointers/
D_vector.h58 typedef _STLP_PRIV _CastTraits<_StorageType, _Tp> cast_traits; typedef
79 iterator begin() { return cast_traits::to_value_type_ptr(_M_impl.begin()); } in begin()
80 const_iterator begin() const { return cast_traits::to_value_type_cptr(_M_impl.begin()); } in begin()
81 iterator end() { return cast_traits::to_value_type_ptr(_M_impl.end()); } in end()
82 const_iterator end() const { return cast_traits::to_value_type_cptr(_M_impl.end()); } in end()
95 reference operator[](size_type __n) { return cast_traits::to_value_type_ref(_M_impl[__n]); }
96 …const_reference operator[](size_type __n) const { return cast_traits::to_value_type_cref(_M_impl[_…
98 reference front() { return cast_traits::to_value_type_ref(_M_impl.front()); } in front()
99 const_reference front() const { return cast_traits::to_value_type_cref(_M_impl.front()); } in front()
100 reference back() { return cast_traits::to_value_type_ref(_M_impl.back()); } in back()
[all …]
D_deque.h39 typedef _CastTraits<_StorageT, _ValueT> cast_traits; typedef
43 tmp._M_cur = cast_traits::to_value_type_ptr(__ite._M_cur); in to_value_type_ite()
44 tmp._M_first = cast_traits::to_value_type_ptr(__ite._M_first); in to_value_type_ite()
45 tmp._M_last = cast_traits::to_value_type_ptr(__ite._M_last); in to_value_type_ite()
46 tmp._M_node = cast_traits::to_value_type_pptr(__ite._M_node); in to_value_type_ite()
51 tmp._M_cur = cast_traits::to_storage_type_ptr(__ite._M_cur); in to_storage_type_ite()
52 tmp._M_first = cast_traits::to_storage_type_ptr(__ite._M_first); in to_storage_type_ite()
53 tmp._M_last = cast_traits::to_storage_type_ptr(__ite._M_last); in to_storage_type_ite()
54 tmp._M_node = cast_traits::to_storage_type_pptr(__ite._M_node); in to_storage_type_ite()
60 tmp._M_cur = cast_traits::to_value_type_ptr(__ite._M_cur); in to_value_type_cite()
[all …]
D_set.h71 typedef _STLP_PRIV _CastTraits<_KeyStorageType, _Key> cast_traits;
172 _M_t.insert_unique(cast_traits::to_storage_type_cptr(__first),
173 cast_traits::to_storage_type_cptr(__last));
179 _M_t.insert_unique(cast_traits::to_storage_type_cptr(__first),
180 cast_traits::to_storage_type_cptr(__last));
229 pair<base_iterator, bool> ret = _M_t.insert_unique(cast_traits::to_storage_type_cref(__x));
233 …{ return _S_to_value_ite(_M_t.insert_unique(_S_to_storage_ite(__pos), cast_traits::to_storage_type…
249 _M_t.insert_unique(cast_traits::to_storage_type_cptr(__first),
250 cast_traits::to_storage_type_cptr(__last));
256 { return _M_t.erase_unique(cast_traits::to_storage_type_cref(__x)); }
[all …]
D_slist.h64 typedef _STLP_PRIV _CastTraits<_StorageType, _Tp> cast_traits; typedef
96 …: _M_impl(__n, cast_traits::to_storage_type_cref(__x), _STLP_CONVERT_ALLOCATOR(__a, _StorageType))… in _M_impl()
132 : _M_impl(cast_traits::to_storage_type_cptr(__first), cast_traits::to_storage_type_cptr(__last), in _M_impl()
146 { _M_impl.assign(__n, cast_traits::to_storage_type_cref(__val)); } in assign()
177 _M_impl.assign(cast_traits::to_storage_type_cptr(__first), in assign()
178 cast_traits::to_storage_type_cptr(__last)); in assign()
212 { _M_impl.push_front(cast_traits::to_storage_type_cref(__x)); }
231 cast_traits::to_storage_type_cref(__x))._M_node); }
239 { _M_impl.insert_after(_BaseIte(__pos._M_node), __n, cast_traits::to_storage_type_cref(__x)); } in insert_after()
281 cast_traits::to_storage_type_cptr(__first), in insert_after()
[all …]
D_list.h69 typedef _STLP_PRIV _CastTraits<_StorageType, _Tp> cast_traits; typedef
101 : _M_impl(__n, cast_traits::to_storage_type_cref(__val), in _M_impl()
135 : _M_impl(cast_traits::to_storage_type_cptr(__first), in _M_impl()
136 cast_traits::to_storage_type_cptr(__last), in _M_impl()
185 cast_traits::to_storage_type_cref(__x))._M_node); }
219 { _M_impl.insert(_BaseIte(__pos._M_node), cast_traits::to_storage_type_cptr(__first), in insert()
220 cast_traits::to_storage_type_cptr(__last)); } in insert()
226 { _M_impl.insert(_BaseIte(__pos._M_node), __n, cast_traits::to_storage_type_cref(__x)); } in insert()
228 …void push_front(const value_type& __x) { _M_impl.push_front(cast_traits::to_storage_type_cref(__x)… in push_front()
229 …void push_back(const value_type& __x) { _M_impl.push_back(cast_traits::to_storage_type_cref(__x))… in push_back()
[all …]
D_tools.h337 typedef _CastTraits<_StorageT, _ValueT> cast_traits;
354 const_reference operator*() const { return cast_traits::to_storage_type_cref(*_M_ite); }
435 typedef _CastTraits<_StorageT, _ValueT> cast_traits;
440 { return _M_pred(cast_traits::to_value_type_cref(__ref)); }
448 typedef _CastTraits<_StorageT, _ValueT> cast_traits;
456 …{ return _M_pred(cast_traits::to_value_type_cref(__fst), cast_traits::to_value_type_cref(__snd)); }