Home
last modified time | relevance | path

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

12345678910>>...33

/external/libcxx/include/
Dvalarray24 typedef T value_type;
29 valarray(const value_type& x, size_t n);
30 valarray(const value_type* px, size_t n);
33 valarray(const slice_array<value_type>& sa);
34 valarray(const gslice_array<value_type>& ga);
35 valarray(const mask_array<value_type>& ma);
36 valarray(const indirect_array<value_type>& ia);
37 valarray(initializer_list<value_type> il);
43 valarray& operator=(initializer_list<value_type> il);
44 valarray& operator=(const value_type& x);
[all …]
/external/lldb/include/lldb/Utility/
DCleanUp.h59 typedef T value_type; typedef
60 typedef R (*CallbackType)(value_type);
67 CleanUp (value_type value, CallbackType callback) : in CleanUp()
81 CleanUp (value_type value, value_type invalid, CallbackType callback) : in CleanUp()
101 value_type get() in get()
109 const value_type
121 set (const value_type value) in set()
168 value_type
176 value_type m_current_value;
177 const value_type m_invalid_value;
[all …]
/external/llvm/include/llvm/Support/
DEndian.h38 template<typename value_type, endianness endian>
39 inline value_type byte_swap(value_type value) { in byte_swap()
46 template<typename value_type,
49 inline value_type read(const void *memory) { in read()
50 value_type ret; in read()
54 (detail::PickAlignment<value_type, alignment>::value)), in read()
55 sizeof(value_type)); in read()
56 return byte_swap<value_type, endian>(ret); in read()
61 template<typename value_type, endianness endian, std::size_t alignment>
62 inline value_type readNext(const unsigned char *&memory) { in readNext()
[all …]
/external/pdfium/core/src/fxge/agg/agg23/
Dagg_pixfmt_gray.h33 typedef typename color_type::value_type value_type; typedef
36 static AGG_INLINE void blend_pix(value_type* p, unsigned cv,
39 … *p = (value_type)((((cv - calc_type(*p)) * alpha) + (calc_type(*p) << base_shift)) >> base_shift);
49 typedef typename color_type::value_type value_type; typedef
57 static AGG_INLINE void copy_or_blend_pix(value_type* p, in copy_or_blend_pix()
70 static AGG_INLINE void copy_or_blend_pix(value_type* p, in copy_or_blend_pix()
95 value_type* p = (value_type*)m_rbuf->row(y) + x * Step + Offset; in pixel()
103 x * Step * sizeof(value_type) + in row()
104 Offset * sizeof(value_type)); in row()
110 x * Step * sizeof(value_type) + in span()
[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/ceres-solver/internal/ceres/
Dmap_util.h58 const typename Collection::value_type::second_type&
60 const typename Collection::value_type::first_type& key) { in FindOrDie()
70 const typename Collection::value_type::second_type&
72 const typename Collection::value_type::first_type& key, in FindWithDefault()
73 const typename Collection::value_type::second_type& value) { in FindWithDefault()
88 const typename Collection::value_type::first_type& key, in InsertIfNotPresent()
89 const typename Collection::value_type::second_type& value) { in InsertIfNotPresent()
91 collection->insert(typename Collection::value_type(key, value)); in InsertIfNotPresent()
99 typename Collection::value_type::second_type*
101 const typename Collection::value_type::first_type& key) { in FindOrNull()
[all …]
/external/libcxx/test/support/
Dnasty_containers.hpp21 typedef typename nested_container::value_type value_type; typedef in nasty_vector
37 nasty_vector(size_type n, const value_type& value) : v_(n, value) {} in nasty_vector()
40 nasty_vector(std::initializer_list<value_type> il) : v_(il) {} in nasty_vector()
46 void assign(size_type n, const value_type& u) { v_.assign(n, u); } in assign()
48 void assign(std::initializer_list<value_type> il) { v_.assign(il); } in assign()
83 value_type* data() _NOEXCEPT { return v_.data(); } in data()
84 const value_type* data() const _NOEXCEPT { return v_.data(); } in data()
86 void push_back(const value_type& x) { v_.push_back(x); } in push_back()
88 void push_back(value_type&& x) { v_.push_back(std::forward<value_type&&>(x)); } in push_back()
103 iterator insert(const_iterator pos, const value_type& x) { return v_.insert(pos, x); } in insert()
[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 …]
/external/libcxx/include/experimental/
Doptional28 typedef T value_type;
180 typedef _Tp value_type;
184 value_type __val_;
192 __val_.~value_type();
204 ::new(_VSTD::addressof(__val_)) value_type(__x.__val_);
209 noexcept(is_nothrow_move_constructible<value_type>::value)
213 ::new(_VSTD::addressof(__val_)) value_type(_VSTD::move(__x.__val_));
217 constexpr __optional_storage(const value_type& __v)
222 constexpr __optional_storage(value_type&& __v)
238 typedef _Tp value_type;
[all …]
Ddynarray26 typedef T value_type;
123 typedef _Tp value_type;
124 typedef value_type& reference;
125 typedef const value_type& const_reference;
126 typedef value_type* iterator;
127 typedef const value_type* const_iterator;
128 typedef value_type* pointer;
129 typedef const value_type* const_pointer;
137 value_type * __base_;
140 static inline _LIBCPP_INLINE_VISIBILITY value_type* __allocate ( size_t count )
[all …]
/external/libcxx/test/containers/unord/unord.multiset/
Dtypes.pass.cpp39 static_assert((std::is_same<C::value_type, short>::value), ""); in main()
43 static_assert((std::is_same<C::allocator_type, std::allocator<C::value_type> >::value), ""); in main()
44 static_assert((std::is_same<C::reference, C::value_type&>::value), ""); in main()
45 static_assert((std::is_same<C::const_reference, const C::value_type&>::value), ""); in main()
46 static_assert((std::is_same<C::pointer, C::value_type*>::value), ""); in main()
47 static_assert((std::is_same<C::const_pointer, const C::value_type*>::value), ""); in main()
55 static_assert((std::is_same<C::value_type, short>::value), ""); in main()
59 static_assert((std::is_same<C::allocator_type, min_allocator<C::value_type> >::value), ""); in main()
60 static_assert((std::is_same<C::reference, C::value_type&>::value), ""); in main()
61 static_assert((std::is_same<C::const_reference, const C::value_type&>::value), ""); in main()
[all …]
/external/libcxx/test/containers/unord/unord.set/
Dtypes.pass.cpp39 static_assert((std::is_same<C::value_type, short>::value), ""); in main()
43 static_assert((std::is_same<C::allocator_type, std::allocator<C::value_type> >::value), ""); in main()
44 static_assert((std::is_same<C::reference, C::value_type&>::value), ""); in main()
45 static_assert((std::is_same<C::const_reference, const C::value_type&>::value), ""); in main()
46 static_assert((std::is_same<C::pointer, C::value_type*>::value), ""); in main()
47 static_assert((std::is_same<C::const_pointer, const C::value_type*>::value), ""); in main()
55 static_assert((std::is_same<C::value_type, short>::value), ""); in main()
59 static_assert((std::is_same<C::allocator_type, min_allocator<C::value_type> >::value), ""); in main()
60 static_assert((std::is_same<C::reference, C::value_type&>::value), ""); in main()
61 static_assert((std::is_same<C::const_reference, const C::value_type&>::value), ""); in main()
[all …]
/external/libcxx/test/utilities/memory/allocator.traits/allocator.traits.members/
Dallocate_hint.pass.cpp25 typedef T value_type; typedef
27 value_type* allocate(std::size_t n) in allocate()
30 return (value_type*)0xDEADBEEF; in allocate()
37 typedef T value_type; typedef
39 value_type* allocate(std::size_t n) in allocate()
42 return (value_type*)0xEEADBEEF; in allocate()
44 value_type* allocate(std::size_t n, const void* p) in allocate()
48 return (value_type*)0xFEADBEEF; in allocate()
/external/chromium_org/third_party/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()
87 const typename Collection::value_type::second_type&
89 const typename Collection::value_type::first_type& key) { in FindOrDie()
101 const typename Collection::value_type::second_type
103 const typename Collection::value_type::first_type& key) { in FindPtrOrNull()
119 collection->insert(typename Collection::value_type(key, value)); in InsertOrUpdate()
[all …]
/external/libcxx/test/containers/unord/unord.multimap/
Dtypes.pass.cpp44 static_assert((std::is_same<C::allocator_type, std::allocator<C::value_type> >::value), ""); in main()
45 …static_assert((std::is_same<C::value_type, std::pair<const C::key_type, C::mapped_type> >::value),… in main()
46 static_assert((std::is_same<C::reference, C::value_type&>::value), ""); in main()
47 static_assert((std::is_same<C::const_reference, const C::value_type&>::value), ""); in main()
48 static_assert((std::is_same<C::pointer, C::value_type*>::value), ""); in main()
49 static_assert((std::is_same<C::const_pointer, const C::value_type*>::value), ""); in main()
61 static_assert((std::is_same<C::allocator_type, min_allocator<C::value_type> >::value), ""); in main()
62 …static_assert((std::is_same<C::value_type, std::pair<const C::key_type, C::mapped_type> >::value),… in main()
63 static_assert((std::is_same<C::reference, C::value_type&>::value), ""); in main()
64 static_assert((std::is_same<C::const_reference, const C::value_type&>::value), ""); in main()
[all …]
/external/libcxx/test/containers/unord/unord.map/
Dtypes.pass.cpp44 static_assert((std::is_same<C::allocator_type, std::allocator<C::value_type> >::value), ""); in main()
45 …static_assert((std::is_same<C::value_type, std::pair<const C::key_type, C::mapped_type> >::value),… in main()
46 static_assert((std::is_same<C::reference, C::value_type&>::value), ""); in main()
47 static_assert((std::is_same<C::const_reference, const C::value_type&>::value), ""); in main()
48 static_assert((std::is_same<C::pointer, C::value_type*>::value), ""); in main()
49 static_assert((std::is_same<C::const_pointer, const C::value_type*>::value), ""); in main()
61 static_assert((std::is_same<C::allocator_type, min_allocator<C::value_type> >::value), ""); in main()
62 …static_assert((std::is_same<C::value_type, std::pair<const C::key_type, C::mapped_type> >::value),… in main()
63 static_assert((std::is_same<C::reference, C::value_type&>::value), ""); in main()
64 static_assert((std::is_same<C::const_reference, const C::value_type&>::value), ""); in main()
[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 …]
/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/chromium_org/net/quic/
Dquic_utils_chromium.h35 const typename Collection::value_type::second_type&
37 const typename Collection::value_type::first_type& key) { in FindOrDie()
45 typename Collection::value_type::second_type&
47 const typename Collection::value_type::first_type& key) { in FindOrDie()
56 const typename Collection::value_type::second_type*
58 const typename Collection::value_type::first_type& key) { in FindOrNull()
68 typename Collection::value_type::second_type*
70 const typename Collection::value_type::first_type& key) { in FindOrNull()

12345678910>>...33