Home
last modified time | relevance | path

Searched refs:const_pointer (Results 1 – 25 of 79) sorted by relevance

1234

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/allocator.traits/allocator.traits.types/
Dconst_pointer.pass.cpp47 typedef CPtr<const T> const_pointer; typedef
52 …static_assert((std::is_same<std::allocator_traits<A<char> >::const_pointer, Ptr<const char> >::val… in main()
53 …static_assert((std::is_same<std::allocator_traits<B<char> >::const_pointer, const char*>::value), … in main()
54 …static_assert((std::is_same<std::allocator_traits<C<char> >::const_pointer, CPtr<const char> >::va… in main()
Ddifference_type.pass.cpp41 struct const_pointer {}; struct
Dsize_type.pass.cpp40 struct const_pointer {}; struct
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/list/
Dtypes.pass.cpp37 …static_assert((std::is_same<std::list<int>::const_pointer, std::allocator<int>::const_pointer>::va… in main()
44 …static_assert((std::is_same<std::list<int, min_allocator<int>>::const_pointer, min_pointer<const i… in main()
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_vector.c189 pointer __tmp = _M_allocate_and_copy(__len, __CONST_CAST(const_pointer, __x._M_start) + 0,
190 __CONST_CAST(const_pointer, __x._M_finish) + 0);
195 pointer __i = _STLP_PRIV __copy_ptrs(__CONST_CAST(const_pointer, __x._M_start) + 0,
196 … __CONST_CAST(const_pointer, __x._M_finish) + 0, this->_M_start, _TrivialCopy());
199 _STLP_PRIV __copy_ptrs(__CONST_CAST(const_pointer, __x._M_start),
200 … __CONST_CAST(const_pointer, __x._M_start) + size(), this->_M_start, _TrivialCopy());
201 _STLP_PRIV __ucopy_ptrs(__CONST_CAST(const_pointer, __x._M_start) + size(),
202 … __CONST_CAST(const_pointer, __x._M_finish) + 0, this->_M_finish, _TrivialUCopy());
D_pthread_alloc.h103 typedef const _Tp* const_pointer; typedef
125 const_pointer address(const_reference __x) const { return &__x; } in address()
195 typedef const void* const_pointer; typedef
284 typedef const _Tp* const_pointer;
308 const_pointer address(const_reference __x) const { return &__x; }
378 typedef const void* const_pointer;
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/vector/
Dtypes.pass.cpp54 …static_assert((std::is_same<typename C::const_pointer, typename Allocator::const_pointer>::value),… in test()
82 …static_assert((std::is_same<std::vector<int, min_allocator<int>>::const_pointer, min_pointer<const… in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/deque/
Dtypes.pass.cpp54 …static_assert((std::is_same<typename C::const_pointer, typename Allocator::const_pointer>::value),… in test()
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/sequences/forwardlist/
Dtypes.pass.cpp40 static_assert((std::is_same<std::forward_list<char>::const_pointer, const char*>::value), ""); in main()
49 …static_assert((std::is_same<std::forward_list<char, min_allocator<char>>::const_pointer, min_point… in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/support/
Dtest_allocator.h48 typedef const value_type* const_pointer; typedef
62 const_pointer address(const_reference x) const {return &x;} in address()
108 typedef const value_type* const_pointer; typedef
122 const_pointer address(const_reference x) const {return &x;} in address()
168 typedef const value_type* const_pointer; typedef
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/allocator.adaptor/
Dtypes.pass.cpp57 std::scoped_allocator_adaptor<A1<int>>::const_pointer, in main()
90 std::scoped_allocator_adaptor<A2<int>, A1<int>>::const_pointer, in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/array/
Dtypes.pass.cpp42 static_assert((std::is_same<C::const_pointer, const T*>::value), ""); in main()
56 static_assert((std::is_same<C::const_pointer, const T*>::value), ""); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/
Dtypes.pass.cpp58 …static_assert((std::is_same<typename S::const_pointer, typename std::allocator_traits<Allocator>:: in test()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/
Dtest_allocator.h43 typedef const value_type* const_pointer; typedef
57 const_pointer address(const_reference x) const {return &x;} in address()
101 typedef const value_type* const_pointer; typedef
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/default.allocator/
Dallocator_void.pass.cpp29 static_assert((std::is_same<std::allocator<void>::const_pointer, const void*>::value), ""); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.set/
Dtypes.pass.cpp47 static_assert((std::is_same<C::const_pointer, const C::value_type*>::value), ""); in main()
63 … 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/unord/unord.multiset/
Dtypes.pass.cpp47 static_assert((std::is_same<C::const_pointer, const C::value_type*>::value), ""); in main()
63 … static_assert((std::is_same<C::const_pointer, min_pointer<const C::value_type>>::value), ""); in main()
/ndk/sources/cxx-stl/stlport/stlport/stl/pointers/
D_deque.h113 typedef const value_type* const_pointer;
202 deque(const_pointer __first, const_pointer __last,
258 void assign(const_pointer __first, const_pointer __last)
337 const_pointer __first, const_pointer __last) {
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/set/
Dtypes.pass.cpp48 static_assert((std::is_same<std::set<int>::const_pointer, const int*>::value), ""); in main()
62 …static_assert((std::is_same<std::set<int, std::less<int>, min_allocator<int>>::const_pointer, min_… in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/multiset/
Dtypes.pass.cpp48 static_assert((std::is_same<std::multiset<int>::const_pointer, const int*>::value), ""); in main()
62 …(std::is_same<std::multiset<int, std::less<int>, min_allocator<int>>::const_pointer, min_pointer<c… in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
D__sso_allocator30 typedef const void* const_pointer;
51 …_VISIBILITY pointer allocate(size_type __n, typename __sso_allocator<void, _Np>::const_pointer = 0)
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.map/
Dtypes.pass.cpp49 static_assert((std::is_same<C::const_pointer, const C::value_type*>::value), ""); in main()
66 … 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/unord/unord.multimap/
Dtypes.pass.cpp49 static_assert((std::is_same<C::const_pointer, const C::value_type*>::value), ""); in main()
66 … 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/map/
Dtypes.pass.cpp48 …static_assert((std::is_same<std::map<int, double>::const_pointer, const std::pair<const int, doubl… in main()
62 …double, std::less<int>, min_allocator<std::pair<const int, double>>>::const_pointer, min_pointer<c… in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/multimap/
Dtypes.pass.cpp48 …static_assert((std::is_same<std::multimap<int, double>::const_pointer, const std::pair<const int, … in main()
62 …double, std::less<int>, min_allocator<std::pair<const int, double>>>::const_pointer, min_pointer<c… in main()

1234