Home
last modified time | relevance | path

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

12345678910>>...19

/ndk/sources/cxx-stl/llvm-libc++/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 …]
/ndk/sources/cxx-stl/llvm-libc++/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()
/ndk/sources/cxx-stl/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 …]
/ndk/sources/cxx-stl/llvm-libc++/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 …]
/ndk/sources/cxx-stl/llvm-libc++/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 …]
/ndk/sources/cxx-stl/llvm-libc++/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 …]
/ndk/sources/cxx-stl/llvm-libc++/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 …]
/ndk/sources/cxx-stl/llvm-libc++/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 …]
/ndk/sources/cxx-stl/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 …]
/ndk/sources/cxx-stl/llvm-libc++/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 …]
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/detail/
Diterator.hpp103 typedef typename Iterator::value_type value_type; typedef
113 typedef T value_type; typedef
123 typedef T value_type; typedef
155 BOOST_MPL_HAS_XXX_TRAIT_DEF(value_type)
173 type_traits::yes_type is_mutable_iterator_helper(T const*, BOOST_DEDUCED_TYPENAME T::value_type*);
255 typedef typename T::value_type value_type; typedef
269 typedef typename remove_const<T>::type value_type; typedef
314 typedef typename pointer_value_type<T>::type value_type; typedef
326 typedef typename Iterator::value_type value_type; typedef
337 typedef typename std::iterator_traits<Iterator>::value_type* pointer;
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/multiset/
Dinsert_cv.pass.cpp27 R r = m.insert(M::value_type(2)); in main()
32 r = m.insert(M::value_type(1)); in main()
37 r = m.insert(M::value_type(3)); in main()
42 r = m.insert(M::value_type(3)); in main()
52 R r = m.insert(M::value_type(2)); in main()
57 r = m.insert(M::value_type(1)); in main()
62 r = m.insert(M::value_type(3)); in main()
67 r = m.insert(M::value_type(3)); in main()
Dinsert_rv.pass.cpp29 R r = m.insert(M::value_type(2)); in main()
34 r = m.insert(M::value_type(1)); in main()
39 r = m.insert(M::value_type(3)); in main()
44 r = m.insert(M::value_type(3)); in main()
55 R r = m.insert(M::value_type(2)); in main()
60 r = m.insert(M::value_type(1)); in main()
65 r = m.insert(M::value_type(3)); in main()
70 r = m.insert(M::value_type(3)); in main()
Dinsert_iter_cv.pass.cpp27 R r = m.insert(m.cend(), M::value_type(2)); in main()
32 r = m.insert(m.cend(), M::value_type(1)); in main()
37 r = m.insert(m.cend(), M::value_type(3)); in main()
42 r = m.insert(m.cend(), M::value_type(3)); in main()
52 R r = m.insert(m.cend(), M::value_type(2)); in main()
57 r = m.insert(m.cend(), M::value_type(1)); in main()
62 r = m.insert(m.cend(), M::value_type(3)); in main()
67 r = m.insert(m.cend(), M::value_type(3)); in main()
Dinsert_iter_rv.pass.cpp29 R r = m.insert(m.cend(), M::value_type(2)); in main()
34 r = m.insert(m.cend(), M::value_type(1)); in main()
39 r = m.insert(m.cend(), M::value_type(3)); in main()
44 r = m.insert(m.cend(), M::value_type(3)); in main()
55 R r = m.insert(m.cend(), M::value_type(2)); in main()
60 r = m.insert(m.cend(), M::value_type(1)); in main()
65 r = m.insert(m.cend(), M::value_type(3)); in main()
70 r = m.insert(m.cend(), M::value_type(3)); in main()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/exception/detail/
Derror_info_impl.hpp47 typedef T value_type; typedef in boost::error_info
49 error_info( value_type const & value );
52 value_type const &
58 value_type &
69 value_type value_;
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/set/
Dinsert_iter_rv.pass.cpp29 R r = m.insert(m.cend(), M::value_type(2)); in main()
34 r = m.insert(m.cend(), M::value_type(1)); in main()
39 r = m.insert(m.cend(), M::value_type(3)); in main()
44 r = m.insert(m.cend(), M::value_type(3)); in main()
54 R r = m.insert(m.cend(), M::value_type(2)); in main()
59 r = m.insert(m.cend(), M::value_type(1)); in main()
64 r = m.insert(m.cend(), M::value_type(3)); in main()
69 r = m.insert(m.cend(), M::value_type(3)); in main()
Dinsert_iter_cv.pass.cpp27 R r = m.insert(m.cend(), M::value_type(2)); in main()
32 r = m.insert(m.cend(), M::value_type(1)); in main()
37 r = m.insert(m.cend(), M::value_type(3)); in main()
42 r = m.insert(m.cend(), M::value_type(3)); in main()
52 R r = m.insert(m.cend(), M::value_type(2)); in main()
57 r = m.insert(m.cend(), M::value_type(1)); in main()
62 r = m.insert(m.cend(), M::value_type(3)); in main()
67 r = m.insert(m.cend(), M::value_type(3)); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/
Dstack_allocator.h22 typedef T value_type; typedef
23 typedef value_type* pointer;
24 typedef const value_type* const_pointer;
25 typedef value_type& reference;
26 typedef const value_type& const_reference;
41 if (n > N - (ptr_ - buf_) / sizeof(value_type)) {
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/deque/
Dtypes.pass.cpp46 static_assert((std::is_same<typename C::value_type, T>::value), ""); in test()
47 … static_assert((std::is_same<typename C::value_type, typename Allocator::value_type>::value), ""); in test()
79 static_assert((std::is_same<C::value_type, short>::value), ""); in main()
80 static_assert((std::is_same<C::allocator_type, min_allocator<C::value_type> >::value), ""); in main()
81 static_assert((std::is_same<C::reference, C::value_type&>::value), ""); in main()
82 static_assert((std::is_same<C::const_reference, const C::value_type&>::value), ""); in main()
83 static_assert((std::is_same<C::pointer, min_pointer<C::value_type>>::value), ""); in main()
84 … static_assert((std::is_same<C::const_pointer, min_pointer<const C::value_type>>::value), ""); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/multimap/multimap.modifiers/
Dinsert_rv.pass.cpp30 R r = m.insert(M::value_type(2, 2)); in main()
36 r = m.insert(M::value_type(1, 1)); in main()
42 r = m.insert(M::value_type(3, 3)); in main()
48 r = m.insert(M::value_type(3, 3)); in main()
59 R r = m.insert(M::value_type(2, 2)); in main()
65 r = m.insert(M::value_type(1, 1)); in main()
71 r = m.insert(M::value_type(3, 3)); in main()
77 r = m.insert(M::value_type(3, 3)); in main()

12345678910>>...19