Home
last modified time | relevance | path

Searched refs:value_type (Results 1 – 25 of 294) sorted by relevance

12345678910>>...12

/external/llvm/include/llvm/Support/
DEndian.h29 template<typename value_type, alignment align>
32 template<typename value_type>
33 struct alignment_access_helper<value_type, aligned>
35 value_type val;
41 template<typename value_type>
42 struct alignment_access_helper<value_type, unaligned>
44 value_type val;
51 template<typename value_type, alignment align>
52 inline value_type read_le(const void *memory) {
53 value_type t =
[all …]
/external/stlport/stlport/stl/pointers/
D_tools.h271 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_vector.h61 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_slist.h68 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_list.h73 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.h111 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.h37 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.h57 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.h56 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.h93 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_pthread_alloc.h69 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_slist.h82 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 …]
/external/astl/src/
Dstring.cpp75 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/eigen/Eigen/src/StlSupport/
DStdVector.h30 typedef __VA_ARGS__ value_type; \
38 … explicit vector(size_type num, const value_type& val = value_type()) : vector_base(num, val) {} \
51 typedef T value_type; \
61 … explicit vector(size_type num, const value_type& val = value_type()) : vector_base(num, val) {} \
82 void resize(size_type new_size, const value_type& x) in resize()
89 void push_back(const value_type& x) in push_back()
92 iterator insert(const_iterator position, const value_type& x) in insert()
94 void insert(const_iterator position, size_type new_size, const value_type& x) in insert()
99 void resize(size_type new_size, const value_type& x) in resize()
105 void resize(size_type new_size, const value_type& x) in resize()
[all …]
DStdDeque.h38 typedef __VA_ARGS__ value_type; \
46 explicit deque(size_type num, const value_type& val = value_type()) : deque_base(num, val) {} \
62 typedef T value_type; \
72 explicit deque(size_type num, const value_type& val = value_type()) : deque_base(num, val) {} \
93 void resize(size_type new_size, const value_type& x) in resize()
100 void push_back(const value_type& x) in push_back()
102 void push_front(const value_type& x) in push_front()
105 iterator insert(const_iterator position, const value_type& x) in insert()
107 void insert(const_iterator position, size_type new_size, const value_type& x) in insert()
111 void resize(size_type new_size, const value_type& x) in resize()
[all …]
DStdList.h37 typedef __VA_ARGS__ value_type; \
45 explicit list(size_type num, const value_type& val = value_type()) : list_base(num, val) {} \
62 typedef T value_type; \
72 explicit list(size_type num, const value_type& val = value_type()) : list_base(num, val) {} \
91 void resize(size_type new_size, const value_type& x) in resize()
101 void push_back(const value_type& x) in push_back()
104 iterator insert(const_iterator position, const value_type& x) in insert()
106 void insert(const_iterator position, size_type new_size, const value_type& x) in insert()
/external/protobuf/src/google/protobuf/stubs/
Dmap-util.h46 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/llvm/include/llvm/ADT/
DInMemoryStruct.h26 typedef T value_type; typedef
27 typedef value_type &reference;
28 typedef value_type *pointer;
29 typedef const value_type &const_reference;
30 typedef const value_type *const_pointer;
33 value_type *Target;
37 value_type Contents;
/external/clang/include/clang/Serialization/
DContinuousRangeMap.h37 typedef std::pair<Int, V> value_type; typedef
38 typedef value_type &reference;
39 typedef const value_type &const_reference;
40 typedef value_type *pointer;
41 typedef const value_type *const_pointer;
44 typedef SmallVector<value_type, InitialCapacity> Representation;
63 void insert(const value_type &Val) { in insert()
72 void insertOrReplace(const value_type &Val) { in insertOrReplace()
121 void insert(const value_type &Val) { in insert()
/external/stlport/test/eh/
Dtest_set.cpp47 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()
Dtest_hash_map.cpp54 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()
Dtest_hash_set.cpp50 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()
/external/oprofile/libutil++/
Dcached_value.h25 typedef T value_type; typedef
28 value_type const get() const { in get()
38 value_type const reset(value_type const & val) { in reset()
46 value_type value;
/external/clang/test/CXX/temp/temp.decls/temp.class/temp.mem.func/
Dp1-retmem.cpp8 typedef T value_type; typedef
11 value_type *f1();
12 X1<value_type*> f2();
21 typename X0<U>::value_type *X0<U>::f1() { in f1()
26 X1<typename X0<U>::value_type*> X0<U>::f2() { in f2()
/external/stlport/stlport/stl/debug/
D_deque.h43 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 …]

12345678910>>...12