/external/stlport/stlport/stl/pointers/ |
D | _tools.h | 271 typedef _ValueT value_type; 277 static value_type * to_value_type_ptr(void_type *__ptr) 278 { return __REINTERPRET_CAST(value_type *, cv_traits::cv_ptr(__ptr)); } 279 static value_type const* to_value_type_cptr(void_type const*__ptr) 280 { return __REINTERPRET_CAST(value_type const*, cv_traits::cv_cptr(__ptr)); } 281 static value_type ** to_value_type_pptr(void_type **__ptr) 282 { return __REINTERPRET_CAST(value_type **, cv_traits::cv_pptr(__ptr)); } 283 static value_type & to_value_type_ref(void_type &__ref) 284 { return __REINTERPRET_CAST(value_type &, cv_traits::cv_ref(__ref)); } 285 static value_type const& to_value_type_cref(void_type const& __ptr) [all …]
|
D | _slist.h | 68 typedef _Tp value_type; typedef 69 typedef value_type* pointer; 70 typedef const value_type* const_pointer; 71 typedef value_type& reference; 72 typedef const value_type& const_reference; 77 typedef _STLP_PRIV _Slist_iterator<value_type, _Nonconst_traits<value_type> > iterator; 78 typedef _STLP_PRIV _Slist_iterator<value_type, _Const_traits<value_type> > const_iterator; 80 _STLP_FORCE_ALLOCATORS(value_type, _Alloc) 81 typedef typename _Alloc_traits<value_type, _Alloc>::allocator_type allocator_type; 85 { return _STLP_CONVERT_ALLOCATOR(_M_impl.get_allocator(), value_type); } in get_allocator() [all …]
|
D | _vector.h | 61 typedef _Tp value_type; typedef 62 typedef value_type* pointer; 63 typedef const value_type* const_pointer; 64 typedef value_type* iterator; 65 typedef const value_type* const_iterator; 66 typedef value_type& reference; 67 typedef const value_type& const_reference; 73 _STLP_FORCE_ALLOCATORS(value_type, _Alloc) 74 typedef typename _Alloc_traits<value_type, _Alloc>::allocator_type allocator_type; 77 { return _STLP_CONVERT_ALLOCATOR(_M_impl.get_allocator(), value_type); } in get_allocator() [all …]
|
D | _list.h | 73 typedef _Tp value_type; typedef 74 typedef value_type* pointer; 75 typedef const value_type* const_pointer; 76 typedef value_type& reference; 77 typedef const value_type& const_reference; 80 _STLP_FORCE_ALLOCATORS(value_type, _Alloc) 81 typedef typename _Alloc_traits<value_type, _Alloc>::allocator_type allocator_type; 84 typedef _STLP_PRIV _List_iterator<value_type, _Nonconst_traits<value_type> > iterator; 85 typedef _STLP_PRIV _List_iterator<value_type, _Const_traits<value_type> > const_iterator; 90 { return _STLP_CONVERT_ALLOCATOR(_M_impl.get_allocator(), value_type); } in get_allocator() [all …]
|
D | _deque.h | 111 typedef _Tp value_type; 112 typedef value_type* pointer; 113 typedef const value_type* const_pointer; 114 typedef value_type& reference; 115 typedef const value_type& const_reference; 119 _STLP_FORCE_ALLOCATORS(value_type, _Alloc) 120 typedef typename _Alloc_traits<value_type, _Alloc>::allocator_type allocator_type; 121 typedef _STLP_PRIV _Deque_iterator<value_type, _Nonconst_traits<value_type> > iterator; 122 typedef _STLP_PRIV _Deque_iterator<value_type, _Const_traits<value_type> > const_iterator; 157 …type get_allocator() const { return _STLP_CONVERT_ALLOCATOR(_M_impl.get_allocator(), value_type); } [all …]
|
/external/stlport/stlport/stl/ |
D | _complex.h | 37 typedef _Tp value_type; typedef 42 complex(const value_type& __x) in complex() 44 complex(const value_type& __x, const value_type& __y) in complex() 69 value_type real() const { return _M_re; } in real() 70 value_type imag() const { return _M_im; } in imag() 74 _Self& operator= (const value_type& __x) { 79 _Self& operator+= (const value_type& __x) { 83 _Self& operator-= (const value_type& __x) { 87 _Self& operator*= (const value_type& __x) { 92 _Self& operator/= (const value_type& __x) { [all …]
|
D | _map.h | 57 typedef pair<_STLP_CONST _Key, _Tp> value_type; in _STLP_CREATE_ITERATOR_TRAITS() typedef 61 : public binary_function<value_type, value_type, bool> { in _STLP_CREATE_ITERATOR_TRAITS() 68 bool operator()(const value_type& __x, const value_type& __y) const in _STLP_CREATE_ITERATOR_TRAITS() 73 typedef _STLP_PRIV _MapTraitsT<value_type> _MapTraits; in _STLP_CREATE_ITERATOR_TRAITS() 78 value_type, _STLP_SELECT1ST(value_type, _Key), in _STLP_CREATE_ITERATOR_TRAITS() 128 map(const value_type* __first, const value_type* __last) in _STLP_CREATE_ITERATOR_TRAITS() 132 map(const value_type* __first, in _STLP_CREATE_ITERATOR_TRAITS() 133 const value_type* __last, const _Compare& __comp, in _STLP_CREATE_ITERATOR_TRAITS() 179 __i = insert(__i, value_type(__k, _STLP_DEFAULT_CONSTRUCTED(_Tp))); in _STLP_CREATE_ITERATOR_TRAITS() 188 pair<iterator,bool> insert(const value_type& __x) in _STLP_CREATE_ITERATOR_TRAITS() [all …]
|
D | _hash_map.h | 56 typedef pair<_STLP_CONST key_type, data_type> value_type; in _STLP_CREATE_HASH_ITERATOR_TRAITS() typedef 59 typedef _STLP_PRIV _HashMapTraitsT<value_type> _HashMapTraits; in _STLP_CREATE_HASH_ITERATOR_TRAITS() 62 typedef hashtable<value_type, key_type, _HashFcn, _HashMapTraits, in _STLP_CREATE_HASH_ITERATOR_TRAITS() 63 _STLP_SELECT1ST(value_type, _Key), _EqualKey, _Alloc > _Ht; in _STLP_CREATE_HASH_ITERATOR_TRAITS() 132 hash_map(const value_type* __f, const value_type* __l) in _STLP_CREATE_HASH_ITERATOR_TRAITS() 135 hash_map(const value_type* __f, const value_type* __l, size_type __n) in _STLP_CREATE_HASH_ITERATOR_TRAITS() 138 hash_map(const value_type* __f, const value_type* __l, size_type __n, in _STLP_CREATE_HASH_ITERATOR_TRAITS() 142 hash_map(const value_type* __f, const value_type* __l, size_type __n, in _STLP_CREATE_HASH_ITERATOR_TRAITS() 179 pair<iterator,bool> insert(const value_type& __obj) in _STLP_CREATE_HASH_ITERATOR_TRAITS() 186 void insert(const value_type* __f, const value_type* __l) in _STLP_CREATE_HASH_ITERATOR_TRAITS() [all …]
|
D | _deque.h | 93 typedef _Tp value_type; typedef 97 typedef value_type** _Map_pointer; 101 value_type* _M_cur; 102 value_type* _M_first; 103 value_type* _M_last; 106 _Deque_iterator_base(value_type* __x, _Map_pointer __y) in _Deque_iterator_base() 164 typedef _Tp value_type; typedef 169 typedef value_type** _Map_pointer; 178 _Deque_iterator(value_type* __x, _Map_pointer __y) : in _Deque_iterator() 179 _Deque_iterator_base<value_type>(__x,__y) {} in _Deque_iterator() [all …]
|
D | _slist.h | 82 typedef typename _Traits::value_type value_type; typedef 95 typedef _Slist_node<value_type> _Node; 140 inline _Tp* _STLP_CALL value_type(const _STLP_PRIV _Slist_iterator<_Tp, _Traits>&) { return __STATI… 229 typedef _Tp value_type; 231 typedef value_type* pointer; 232 typedef const value_type* const_pointer; 233 typedef value_type& reference; 234 typedef const value_type& const_reference; 250 _Node* _M_create_node(const value_type& __x = _Tp()) { 252 _Node* _M_create_node(const value_type& __x) { [all …]
|
D | _pthread_alloc.h | 69 typedef char value_type; typedef 106 typedef _Tp value_type; typedef 134 size_type __buf_size = __n * sizeof(value_type); 135 _Tp* __ret = __REINTERPRET_CAST(value_type*, _S_Alloc::allocate(__buf_size)); 149 memset((char*)__p, _STLP_SHRED_BYTE, __n * sizeof(value_type)); in deallocate() 151 _S_Alloc::deallocate(__p, __n * sizeof(value_type)); in deallocate() 173 size_type __buf_size = __n * sizeof(value_type); in allocate() 174 _Tp* __ret = __REINTERPRET_CAST(value_type*, _S_Alloc::allocate(__buf_size)); in allocate() 178 __allocated_n = __buf_size / sizeof(value_type); in allocate() 196 typedef void value_type; typedef [all …]
|
D | _hash_set.h | 58 typedef typename _Ht::value_type value_type; in _STLP_CREATE_HASH_ITERATOR_TRAITS() typedef 133 hash_set(const value_type* __f, const value_type* __l) in _STLP_CREATE_HASH_ITERATOR_TRAITS() 136 hash_set(const value_type* __f, const value_type* __l, size_type __n) in _STLP_CREATE_HASH_ITERATOR_TRAITS() 139 hash_set(const value_type* __f, const value_type* __l, size_type __n, in _STLP_CREATE_HASH_ITERATOR_TRAITS() 143 hash_set(const value_type* __f, const value_type* __l, size_type __n, in _STLP_CREATE_HASH_ITERATOR_TRAITS() 181 pair<iterator, bool> insert(const value_type& __obj) in _STLP_CREATE_HASH_ITERATOR_TRAITS() 189 void insert(const value_type* __f, const value_type* __l) in _STLP_CREATE_HASH_ITERATOR_TRAITS() 193 pair<iterator, bool> insert_noresize(const value_type& __obj) in _STLP_CREATE_HASH_ITERATOR_TRAITS() 244 typedef typename _Ht::value_type value_type; in _STLP_CREATE_HASH_ITERATOR_TRAITS() typedef 315 hash_multiset(const value_type* __f, const value_type* __l) in _STLP_CREATE_HASH_ITERATOR_TRAITS() [all …]
|
D | _set.h | 55 typedef _Key value_type; in _STLP_CREATE_ITERATOR_TRAITS() typedef 61 typedef _STLP_PRIV _SetTraitsT<value_type> _SetTraits; in _STLP_CREATE_ITERATOR_TRAITS() 66 value_type, _STLP_PRIV _Identity<value_type>, in _STLP_CREATE_ITERATOR_TRAITS() 116 set(const value_type* __first, const value_type* __last) in _STLP_CREATE_ITERATOR_TRAITS() 120 set(const value_type* __first, in _STLP_CREATE_ITERATOR_TRAITS() 121 const value_type* __last, const _Compare& __comp, in _STLP_CREATE_ITERATOR_TRAITS() 168 pair<iterator,bool> insert(const value_type& __x) in _STLP_CREATE_ITERATOR_TRAITS() 170 iterator insert(iterator __pos, const value_type& __x) in _STLP_CREATE_ITERATOR_TRAITS() 179 void insert(const value_type* __first, const value_type* __last) in _STLP_CREATE_ITERATOR_TRAITS() 226 typedef _Key value_type; in _STLP_CREATE_ITERATOR_TRAITS() typedef [all …]
|
D | _queue.h | 75 typedef typename _Sequence::value_type value_type; typedef 100 void push(const value_type& __x) { c.push_back(__x); } in push() 136 class _Compare = less<_STLP_HEADER_TYPENAME _Sequence::value_type> > in _STLP_RELOPS_OPERATORS() 153 typedef less< typename vector<_Tp>::value_type> _Compare; in _STLP_RELOPS_OPERATORS() 159 typedef typename _Sequence::value_type value_type; in _STLP_RELOPS_OPERATORS() typedef 203 priority_queue(const value_type* __first, const value_type* __last) in _STLP_RELOPS_OPERATORS() 206 priority_queue(const value_type* __first, const value_type* __last, in _STLP_RELOPS_OPERATORS() 211 priority_queue(const value_type* __first, const value_type* __last, in _STLP_RELOPS_OPERATORS() 223 void push(const value_type& __x) { in _STLP_RELOPS_OPERATORS()
|
D | _unordered_map.h | 48 typedef pair<_STLP_CONST key_type, data_type> value_type; in _STLP_CREATE_HASH_ITERATOR_TRAITS() typedef 51 typedef _STLP_PRIV _UnorderedMapTraitsT<value_type> _UnorderedMapTraits; in _STLP_CREATE_HASH_ITERATOR_TRAITS() 54 typedef hashtable<value_type, key_type, _HashFcn, _UnorderedMapTraits, in _STLP_CREATE_HASH_ITERATOR_TRAITS() 55 _STLP_SELECT1ST(value_type, _Key), _EqualKey, _Alloc > _Ht; in _STLP_CREATE_HASH_ITERATOR_TRAITS() 102 unordered_map(const value_type* __f, const value_type* __l, in _STLP_CREATE_HASH_ITERATOR_TRAITS() 133 pair<iterator,bool> insert(const value_type& __obj) in _STLP_CREATE_HASH_ITERATOR_TRAITS() 135 iterator insert(const_iterator /*__hint*/, const value_type& __obj) in _STLP_CREATE_HASH_ITERATOR_TRAITS() 141 void insert(const value_type* __f, const value_type* __l) in _STLP_CREATE_HASH_ITERATOR_TRAITS() 156 _M_ht._M_insert(value_type(__key, _STLP_DEFAULT_CONSTRUCTED(_Tp))).second : in _STLP_CREATE_HASH_ITERATOR_TRAITS() 216 typedef pair<_STLP_CONST key_type, data_type> value_type; in _STLP_CREATE_HASH_ITERATOR_TRAITS() typedef [all …]
|
D | _alloc.h | 66 typedef char value_type; typedef 91 typedef char value_type; typedef 107 typedef typename _Alloc::value_type value_type; typedef 123 return (long)__extra_before / sizeof(value_type) + in __extra_before_chunk() 124 (size_t)((long)__extra_before % sizeof(value_type) > 0); in __extra_before_chunk() 127 return (long)__extra_after / sizeof(value_type) + in __extra_after_chunk() 128 (size_t)((long)__extra_after % sizeof(value_type) > 0); in __extra_after_chunk() 155 typedef char value_type; typedef 277 typedef _Tp value_type; typedef 306 size_type __buf_size = __n * sizeof(value_type); [all …]
|
D | _hashtable.h | 114 typedef typename _Traits::value_type value_type; typedef 171 _STLP_TYPENAME_ON_RETURN_TYPE _Traits::value_type * 173 _STLP_TYPENAME_ON_RETURN_TYPE _STLP_PRIV _Ht_iterator<_BaseIte,_Traits>::value_type * 175 value_type(const _STLP_PRIV _Ht_iterator<_BaseIte,_Traits>&) { 176 typedef _STLP_TYPENAME _STLP_PRIV _Ht_iterator<_BaseIte,_Traits>::value_type _Val; 234 typedef _Val value_type; 241 typedef const value_type* const_pointer; 243 typedef const value_type& const_reference; 252 typedef _STLP_PRIV _STLP_NON_DBG_NAME(slist)<value_type, _All> _ElemsCont; 254 typedef slist<value_type, _All> _ElemsCont; [all …]
|
/external/astl/src/ |
D | string.cpp | 75 value_type *oldData = mData; in SafeMalloc() 77 mData = static_cast<value_type *>(::malloc(n + 1)); in SafeMalloc() 107 value_type *oldData = mData; in SafeRealloc() 120 void string::SafeFree(value_type *buffer) in SafeFree() 130 void string::ResetTo(value_type *str) in ResetTo() 143 void string::Constructor(const value_type *str, size_type n) in Constructor() 149 void string::Constructor(const value_type *str, size_type pos, size_type n) in Constructor() 213 string::string(const value_type *str) in string() 225 string::string(const value_type *str, size_type n) in string() 236 string::string(const value_type *begin, const value_type *end) in string() [all …]
|
/external/protobuf/src/google/protobuf/stubs/ |
D | map-util.h | 46 const typename Collection::value_type::second_type& 48 const typename Collection::value_type::first_type& key, in FindWithDefault() 49 const typename Collection::value_type::second_type& value) { in FindWithDefault() 61 const typename Collection::value_type::second_type* 63 const typename Collection::value_type::first_type& key) { in FindOrNull() 77 const typename Collection::value_type::second_type 79 const typename Collection::value_type::first_type& key) { in FindPtrOrNull() 95 collection->insert(typename Collection::value_type(key, value)); in InsertOrUpdate() 112 collection->insert(typename Collection::value_type(key, value)); in InsertIfNotPresent()
|
/external/stlport/stlport/stl/debug/ |
D | _deque.h | 43 inline _Tp* value_type(const _STLP_PRIV _DBG_iter_base< _STLP_NON_DBG_DEQUE >&) in value_type() function 69 …typedef _STLP_PRIV _DBG_iter<_Base, _STLP_PRIV _DbgTraits<_Nonconst_traits<value_type> > > iterato… 70 …typedef _STLP_PRIV _DBG_iter<_Base, _STLP_PRIV _DbgTraits<_Const_traits<value_type> > > const_i… 136 explicit deque(size_type __n, const value_type& __x = _Tp(), 138 deque(size_type __n, const value_type& __x, 176 deque(const value_type* __first, const value_type* __last, 230 void assign(const value_type *__first, const value_type *__last) { in assign() 240 void push_back(const value_type& __t = _Tp()) { 242 void push_back(const value_type& __t) { 256 void push_front(const value_type& __t = _Tp()) { [all …]
|
/external/chromium/base/ |
D | string_util.cc | 73 typename StringToNumberTraits::value_type* output) { in StringToNumber() 77 typename traits::string_type::value_type* endptr = NULL; in StringToNumber() 78 typename traits::value_type value = traits::convert_func(input.c_str(), in StringToNumber() 129 typedef int value_type; typedef in __anondd0654800111::StringToIntTraits 131 static inline value_type convert_func(const string_type::value_type* str, in convert_func() 132 string_type::value_type** endptr) { in convert_func() 143 typedef int value_type; typedef in __anondd0654800111::String16ToIntTraits 145 static inline value_type convert_func(const string_type::value_type* str, in convert_func() 146 string_type::value_type** endptr) { in convert_func() 152 value_type ret = strtoi(ascii_string.c_str(), &ascii_end, kBase); in convert_func() [all …]
|
/external/astl/include/ |
D | string | 62 typedef traits_type::char_type value_type; 65 typedef value_type& reference; 66 typedef const value_type& const_reference; 67 typedef value_type* pointer; 68 typedef const value_type* const_pointer; 91 string(const value_type *str); 96 string(const value_type *str, size_type n); 107 string(const value_type *begin, const value_type *end); 117 const value_type *c_str() const { return mData; } 118 const value_type *data() const { return mData; } [all …]
|
/external/stlport/test/eh/ |
D | test_set.cpp | 47 TestMultiSet::value_type x; in test_multiset() 49 testMultiSet2.insert( TestMultiSet::value_type() ); in test_multiset() 55 TestMultiSet::value_type *insFirst = new TestMultiSet::value_type[1+insCnt]; in test_multiset() 81 TestSet::value_type x; in test_set() 83 testSet2.insert( TestSet::value_type() ); in test_set() 88 TestSet::value_type *insFirst = new TestSet::value_type[1+insCnt]; in test_set()
|
D | test_hash_map.cpp | 54 TestMultiMap::value_type x; in test_hash_multimap() 56 testMultiMap2.insert( TestMultiMap::value_type() ); in test_hash_multimap() 67 TestMultiMap::value_type *insFirst = new TestMultiMap::value_type[1+insCnt]; in test_hash_multimap() 101 TestMap::value_type x; in test_hash_map() 103 testMap2.insert( TestMap::value_type() ); in test_hash_map() 114 TestMap::value_type *insFirst = new TestMap::value_type[1+insCnt]; in test_hash_map()
|
D | test_hash_set.cpp | 50 TestMultiSet::value_type x; in test_hash_multiset() 52 testMultiSet2.insert( TestMultiSet::value_type() ); in test_hash_multiset() 63 TestMultiSet::value_type *insFirst = new TestMultiSet::value_type[1+insCnt]; in test_hash_multiset() 97 TestSet::value_type x; in test_hash_set() 99 testSet2.insert( TestSet::value_type() ); in test_hash_set() 110 TestSet::value_type *insFirst = new TestSet::value_type[1+insCnt]; in test_hash_set()
|