/external/clang/test/CodeGenCXX/ |
debug-info-template-array.cpp | 4 struct unique_ptr { struct 5 unique_ptr() {} function in struct:unique_ptr 13 unique_ptr<Vertex<2>[]> v = unique_ptr<Vertex<2>[]>();
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.ctor/ |
default03.fail.cpp | 12 // unique_ptr 14 // Test unique_ptr default ctor 16 // default unique_ptr ctor should require non-pointer Deleter 22 std::unique_ptr<int[], void (*)(void*)> p;
|
pointer03.fail.cpp | 12 // unique_ptr 14 // Test unique_ptr<T[]>(pointer) ctor 16 // unique_ptr<T[]>(pointer) ctor should require non-pointer Deleter 22 std::unique_ptr<int[], void (*)(void*)> p(new int);
|
default02.fail.cpp | 12 // unique_ptr 14 // Test unique_ptr default ctor 16 // default unique_ptr ctor should require non-reference Deleter ctor 29 std::unique_ptr<int[], Deleter&> p;
|
pointer02.fail.cpp | 12 // unique_ptr 14 // Test unique_ptr<T[]>(pointer) ctor 18 // unique_ptr<T[]>(pointer) ctor should require non-reference Deleter ctor 28 std::unique_ptr<int[], Deleter&> p(new int);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/ |
default03.fail.cpp | 12 // unique_ptr 14 // Test unique_ptr default ctor 18 // default unique_ptr ctor should require non-pointer Deleter 22 std::unique_ptr<int, void (*)(void*)> p;
|
pointer03.fail.cpp | 12 // unique_ptr 14 // Test unique_ptr(pointer) ctor 18 // unique_ptr(pointer) ctor should require non-pointer Deleter 22 std::unique_ptr<int, void (*)(void*)> p(new int);
|
default02.fail.cpp | 12 // unique_ptr 14 // Test unique_ptr default ctor 18 // default unique_ptr ctor should require non-reference Deleter ctor 28 std::unique_ptr<int, Deleter&> p;
|
pointer02.fail.cpp | 12 // unique_ptr 14 // Test unique_ptr(pointer) ctor 18 // unique_ptr(pointer) ctor should require non-reference Deleter ctor 28 std::unique_ptr<int, Deleter&> p(new int);
|
move_convert13.fail.cpp | 12 // unique_ptr 14 // Test unique_ptr converting move ctor 16 // Do not convert from an array unique_ptr 32 std::unique_ptr<A[], Deleter> s; 33 std::unique_ptr<A, Deleter> s2(std::move(s));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.observers/ |
dereference.fail.cpp | 12 // unique_ptr 21 std::unique_ptr<int[]> p(new int(3));
|
explicit_bool.pass.cpp | 12 // unique_ptr 22 std::unique_ptr<int[]> p(new int [3]); 31 std::unique_ptr<int[]> p;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.observers/ |
dereference.pass.cpp | 12 // unique_ptr 21 std::unique_ptr<int> p(new int(3));
|
explicit_bool.pass.cpp | 12 // unique_ptr 22 std::unique_ptr<int> p(new int(3)); 31 std::unique_ptr<int> p;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.modifying.operations/alg.move/ |
move.pass.cpp | 48 std::unique_ptr<int> ia[N]; 51 std::unique_ptr<int> ib[N]; 99 test1<input_iterator<std::unique_ptr<int>*>, output_iterator<std::unique_ptr<int>*> >(); 100 test1<input_iterator<std::unique_ptr<int>*>, input_iterator<std::unique_ptr<int>*> >(); 101 test1<input_iterator<std::unique_ptr<int>*>, forward_iterator<std::unique_ptr<int>*> >(); 102 test1<input_iterator<std::unique_ptr<int>*>, bidirectional_iterator<std::unique_ptr<int>*> >() [all...] |
move_backward.pass.cpp | 48 std::unique_ptr<int> ia[N]; 51 std::unique_ptr<int> ib[N]; 76 test1<bidirectional_iterator<std::unique_ptr<int>*>, bidirectional_iterator<std::unique_ptr<int>*> >(); 77 test1<bidirectional_iterator<std::unique_ptr<int>*>, random_access_iterator<std::unique_ptr<int>*> >(); 78 test1<bidirectional_iterator<std::unique_ptr<int>*>, std::unique_ptr<int>*>(); 80 test1<random_access_iterator<std::unique_ptr<int>*>, bidirectional_iterator<std::unique_ptr<int>*> >() [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.modifying.operations/alg.swap/ |
swap_ranges.pass.cpp | 47 std::unique_ptr<int> i[3]; 50 std::unique_ptr<int> j[3]; 89 test1<forward_iterator<std::unique_ptr<int>*>, forward_iterator<std::unique_ptr<int>*> >(); 90 test1<forward_iterator<std::unique_ptr<int>*>, bidirectional_iterator<std::unique_ptr<int>*> >(); 91 test1<forward_iterator<std::unique_ptr<int>*>, random_access_iterator<std::unique_ptr<int>*> >(); 92 test1<forward_iterator<std::unique_ptr<int>*>, std::unique_ptr<int>*>() [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.asgn/ |
move_convert13.fail.cpp | 12 // unique_ptr 14 // Test unique_ptr converting move assignment 16 // Do not convert from an array unique_ptr 32 std::unique_ptr<A[], Deleter> s; 33 std::unique_ptr<A, Deleter> s2;
|
/external/clang/test/SemaCXX/ |
rval-references-examples.cpp | 4 class unique_ptr { class 7 unique_ptr(const unique_ptr&) = delete; // expected-note 3{{function has been explicitly marked deleted here}} 8 unique_ptr &operator=(const unique_ptr&) = delete; // expected-note{{candidate function has been explicitly deleted}} 10 unique_ptr() : ptr(0) { } function in class:unique_ptr 11 unique_ptr(unique_ptr &&other) : ptr(other.ptr) { other.ptr = 0; } function in class:unique_ptr 12 explicit unique_ptr(T *ptr) : ptr(ptr) { } function in class:unique_ptr 14 ~unique_ptr() { delete ptr; [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.promise/ |
set_rvalue_at_thread_exit.pass.cpp | 22 void func(std::promise<std::unique_ptr<int>> p) 24 p.set_value_at_thread_exit(std::unique_ptr<int>(new int(5))); 33 std::promise<std::unique_ptr<int>> p; 34 std::future<std::unique_ptr<int>> f = p.get_future();
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/tuple.elem/ |
get_rv.pass.cpp | 25 typedef std::tuple<std::unique_ptr<int> > T; 26 T t(std::unique_ptr<int>(new int(3))); 27 std::unique_ptr<int> p = std::get<0>(std::move(t));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/utility/pairs/pair.astuple/ |
get_rv.pass.cpp | 26 typedef std::pair<std::unique_ptr<int>, short> P; 27 P p(std::unique_ptr<int>(new int(3)), 4); 28 std::unique_ptr<int> ptr = std::get<0>(std::move(p));
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/bits/ |
unique_ptr.h | 0 // unique_ptr implementation -*- C++ -*- 25 /** @file unique_ptr.h 83 /// 20.7.12.2 unique_ptr for single objects. 85 class unique_ptr class 88 typedef __tuple_type unique_ptr::* __unspecified_bool_type; 89 typedef _Tp* unique_ptr::* __unspecified_pointer_type; 97 unique_ptr() function in class:unique_ptr 103 unique_ptr(pointer __p) function in class:unique_ptr 108 unique_ptr(pointer __p, function in class:unique_ptr 113 unique_ptr(pointer __p function in class:unique_ptr 120 unique_ptr(unique_ptr&& __u) function in class:unique_ptr 124 unique_ptr(unique_ptr<_Up, _Up_Deleter>&& __u) function in class:unique_ptr 233 class unique_ptr<_Tp[], _Tp_Deleter> class 245 unique_ptr() function in class:unique_ptr 251 unique_ptr(pointer __p) function in class:unique_ptr 256 unique_ptr(pointer __p, function in class:unique_ptr 261 unique_ptr(pointer __p, function in class:unique_ptr 268 unique_ptr(unique_ptr&& __u) function in class:unique_ptr 272 unique_ptr(unique_ptr<_Up, _Up_Deleter>&& __u) function in class:unique_ptr [all...] |
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/bits/ |
unique_ptr.h | 0 // unique_ptr implementation -*- C++ -*- 25 /** @file unique_ptr.h 83 /// 20.7.12.2 unique_ptr for single objects. 85 class unique_ptr class 88 typedef __tuple_type unique_ptr::* __unspecified_bool_type; 89 typedef _Tp* unique_ptr::* __unspecified_pointer_type; 97 unique_ptr() function in class:unique_ptr 103 unique_ptr(pointer __p) function in class:unique_ptr 108 unique_ptr(pointer __p, function in class:unique_ptr 113 unique_ptr(pointer __p function in class:unique_ptr 120 unique_ptr(unique_ptr&& __u) function in class:unique_ptr 124 unique_ptr(unique_ptr<_Up, _Up_Deleter>&& __u) function in class:unique_ptr 233 class unique_ptr<_Tp[], _Tp_Deleter> class 245 unique_ptr() function in class:unique_ptr 251 unique_ptr(pointer __p) function in class:unique_ptr 256 unique_ptr(pointer __p, function in class:unique_ptr 261 unique_ptr(pointer __p, function in class:unique_ptr 268 unique_ptr(unique_ptr&& __u) function in class:unique_ptr 272 unique_ptr(unique_ptr<_Up, _Up_Deleter>&& __u) function in class:unique_ptr [all...] |
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/bits/ |
unique_ptr.h | 0 // unique_ptr implementation -*- C++ -*- 25 /** @file unique_ptr.h 83 /// 20.7.12.2 unique_ptr for single objects. 85 class unique_ptr class 88 typedef __tuple_type unique_ptr::* __unspecified_bool_type; 89 typedef _Tp* unique_ptr::* __unspecified_pointer_type; 97 unique_ptr() function in class:unique_ptr 103 unique_ptr(pointer __p) function in class:unique_ptr 108 unique_ptr(pointer __p, function in class:unique_ptr 113 unique_ptr(pointer __p function in class:unique_ptr 120 unique_ptr(unique_ptr&& __u) function in class:unique_ptr 124 unique_ptr(unique_ptr<_Up, _Up_Deleter>&& __u) function in class:unique_ptr 233 class unique_ptr<_Tp[], _Tp_Deleter> class 245 unique_ptr() function in class:unique_ptr 251 unique_ptr(pointer __p) function in class:unique_ptr 256 unique_ptr(pointer __p, function in class:unique_ptr 261 unique_ptr(pointer __p, function in class:unique_ptr 268 unique_ptr(unique_ptr&& __u) function in class:unique_ptr 272 unique_ptr(unique_ptr<_Up, _Up_Deleter>&& __u) function in class:unique_ptr [all...] |