Home
last modified time | relevance | path

Searched refs:Ptr (Results 1 – 9 of 9) sorted by relevance

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op=/
Drv_value.pass.cpp60 typedef std::unique_ptr<int, do_nothing> Ptr; in main() typedef
61 typedef std::vector<Ptr> C; in main()
65 c1.push_back(Ptr(x+i)); in main()
68 c2.push_back(Ptr(x+i)); in main()
69 insert3at(c2, c2.begin(), Ptr(x+3), Ptr(x+4), Ptr(x+5)); in main()
70 test(std::move(c1), 0, Ptr(x+3), Ptr(x+4), Ptr(x+5), c2); in main()
73 c1.push_back(Ptr(x+i)); in main()
76 c2.push_back(Ptr(x+i)); in main()
77 insert3at(c2, c2.begin()+1, Ptr(x+3), Ptr(x+4), Ptr(x+5)); in main()
78 test(std::move(c1), 1, Ptr(x+3), Ptr(x+4), Ptr(x+5), c2); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.modifying.operations/alg.unique/
Dunique.pass.cpp94 typedef std::unique_ptr<int, do_nothing> Ptr; typedef
102 Ptr ia[1]; in test1()
108 Ptr ib[2]; in test1()
116 Ptr ic[2]; in test1()
122 Ptr id[3]; in test1()
130 Ptr ie[4]; in test1()
139 Ptr ig[4]; in test1()
148 Ptr ih[3]; in test1()
157 Ptr ii[7]; in test1()
183 test1<forward_iterator<Ptr*> >(); in main()
[all …]
Dunique_pred.pass.cpp120 typedef std::unique_ptr<int, do_nothing> Ptr; typedef
128 Ptr ia[1]; in test1()
136 Ptr ib[2]; in test1()
146 Ptr ic[2]; in test1()
154 Ptr id[3]; in test1()
164 Ptr ie[4]; in test1()
175 Ptr ig[4]; in test1()
186 Ptr ih[3]; in test1()
197 Ptr ii[7]; in test1()
225 test1<forward_iterator<Ptr*> >(); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/allocator.traits/allocator.traits.types/
Dpointer.pass.cpp23 struct Ptr {}; struct
29 typedef Ptr<T> pointer;
40 static_assert((std::is_same<std::allocator_traits<A<char> >::pointer, Ptr<char> >::value), ""); in main()
Dconst_void_pointer.pass.cpp25 struct Ptr {}; struct
31 typedef Ptr<T> pointer;
52 …static_assert((std::is_same<std::allocator_traits<A<char> >::const_void_pointer, Ptr<const void> >… in main()
Dvoid_pointer.pass.cpp25 struct Ptr {}; struct
31 typedef Ptr<T> pointer;
52 …static_assert((std::is_same<std::allocator_traits<A<char> >::void_pointer, Ptr<void> >::value), ""… in main()
Dconst_pointer.pass.cpp24 struct Ptr {}; struct
30 typedef Ptr<T> pointer;
52 …static_assert((std::is_same<std::allocator_traits<A<char> >::const_pointer, Ptr<const char> >::val… in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.index/
Ddifference_type.pass.cpp52 typedef std::unique_ptr<int, do_nothing> Ptr; in main() typedef
53 Ptr p[5]; in main()
56 test(p, 3, Ptr(i+3)); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dmemory25 template <class Ptr>
28 typedef Ptr pointer;