OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:unique_ptr
(Results
76 - 100
of
227
) sorted by null
1
2
3
4
5
6
7
8
9
10
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/tuple/tuple.tuple/tuple.cnstr/
alloc_convert_move.pass.cpp
53
typedef std::tuple<std::
unique_ptr
<D>> T0;
54
typedef std::tuple<std::
unique_ptr
<B>> T1;
55
T0 t0(std::
unique_ptr
<D>(new D(3)));
60
typedef std::tuple<int, std::
unique_ptr
<D>> T0;
61
typedef std::tuple<alloc_first, std::
unique_ptr
<B>> T1;
62
T0 t0(2, std::
unique_ptr
<D>(new D(3)));
70
typedef std::tuple<int, int, std::
unique_ptr
<D>> T0;
71
typedef std::tuple<alloc_last, alloc_first, std::
unique_ptr
<B>> T1;
72
T0 t0(1, 2, std::
unique_ptr
<D>(new D(3)));
alloc_move_pair.pass.cpp
44
typedef std::pair<int, std::
unique_ptr
<D>> T0;
45
typedef std::tuple<alloc_first, std::
unique_ptr
<B>> T1;
46
T0 t0(2, std::
unique_ptr
<D>(new D(3)));
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/unique.ptr/unique.ptr.runtime/
move01.pass.cpp
12
//
unique_ptr
14
// Test
unique_ptr
move assignment
37
std::
unique_ptr
<A[]> s1(new A[3]);
40
std::
unique_ptr
<A[]> s2(new A[2]);
49
std::
unique_ptr
<A[], Deleter<A[]> > s1(new A[4], Deleter<A[]>(5));
52
std::
unique_ptr
<A[], Deleter<A[]> > s2(new A[5]);
64
std::
unique_ptr
<A[], CDeleter<A[]>&> s1(new A[6], d1);
68
std::
unique_ptr
<A[], CDeleter<A[]>&> s2(new A[3], d2);
move03.fail.cpp
12
//
unique_ptr
14
// Test
unique_ptr
move assignment
47
std::
unique_ptr
<A, Deleter> s(new A);
49
std::
unique_ptr
<A, Deleter> s2;
move04.fail.cpp
12
//
unique_ptr
14
// Test
unique_ptr
move ctor
47
const std::
unique_ptr
<A, Deleter> s(new A);
49
std::
unique_ptr
<A, Deleter> s2;
null_asgn.pass.cpp
12
//
unique_ptr
14
// Test
unique_ptr
move assignment
34
std::
unique_ptr
<A> s2(new A);
move_convert01.fail.cpp
12
//
unique_ptr
14
// Test
unique_ptr
converting move assignment
45
std::
unique_ptr
<B[]> s(new B);
47
std::
unique_ptr
<A[]> s2;
move_convert02.fail.cpp
12
//
unique_ptr
14
// Test
unique_ptr
converting move assignment
47
boost::
unique_ptr
<B[], Deleter<B> > s(new B);
49
boost::
unique_ptr
<A[], Deleter<A> > s2;
move_convert03.fail.cpp
12
//
unique_ptr
14
// Test
unique_ptr
converting move assignment
48
boost::
unique_ptr
<B[], Deleter<B>&> s(new B, db);
51
boost::
unique_ptr
<A[], Deleter<A>&> s2(new A, da);
move_convert04.fail.cpp
12
//
unique_ptr
14
// Test
unique_ptr
converting move assignment
45
const boost::
unique_ptr
<B[]> s(new B);
47
boost::
unique_ptr
<A[]> s2;
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.ctor/
move01.pass.cpp
12
//
unique_ptr
14
// Test
unique_ptr
move ctor
53
std::
unique_ptr
<A[]> s(new A[3]);
55
std::
unique_ptr
<A[]> s2 = std::move(s);
62
std::
unique_ptr
<A[], Deleter<A[]> > s(new A[3], Deleter<A[]>(5));
64
std::
unique_ptr
<A[], Deleter<A[]> > s2 = std::move(s);
74
std::
unique_ptr
<A[], NCDeleter&> s(new A[3], d);
76
std::
unique_ptr
<A[], NCDeleter&> s2 = std::move(s);
move03.fail.cpp
12
//
unique_ptr
14
// Test
unique_ptr
move ctor
47
std::
unique_ptr
<A[], Deleter> s(new A[3]);
49
std::
unique_ptr
<A[], Deleter> s2 = s;
move04.fail.cpp
12
//
unique_ptr
14
// Test
unique_ptr
move ctor
47
const std::
unique_ptr
<A[], Deleter> s(new A[3]);
49
std::
unique_ptr
<A[], Deleter> s2 = s;
pointer04.fail.cpp
12
//
unique_ptr
14
// Test
unique_ptr
(pointer) ctor
16
//
unique_ptr
(pointer) ctor should not work with derived pointers
61
std::
unique_ptr
<A[]> s(p);
65
std::
unique_ptr
<A[], Deleter> s(p);
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.asgn/
move01.pass.cpp
12
//
unique_ptr
14
// Test
unique_ptr
move assignment
37
std::
unique_ptr
<A> s1(new A);
39
std::
unique_ptr
<A> s2(new A);
48
std::
unique_ptr
<A, Deleter<A> > s1(new A, Deleter<A>(5));
50
std::
unique_ptr
<A, Deleter<A> > s2(new A);
62
std::
unique_ptr
<A, CDeleter<A>&> s1(new A, d1);
65
std::
unique_ptr
<A, CDeleter<A>&> s2(new A, d2);
move03.fail.cpp
12
//
unique_ptr
14
// Test
unique_ptr
move assignment
47
std::
unique_ptr
<A, Deleter> s(new A);
49
std::
unique_ptr
<A, Deleter> s2;
move04.fail.cpp
12
//
unique_ptr
14
// Test
unique_ptr
move ctor
47
const std::
unique_ptr
<A, Deleter> s(new A);
49
std::
unique_ptr
<A, Deleter> s2;
null.pass.cpp
12
//
unique_ptr
14
// Test
unique_ptr
move assignment
34
std::
unique_ptr
<A> s2(new A);
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/
move03.fail.cpp
12
//
unique_ptr
14
// Test
unique_ptr
move ctor
47
std::
unique_ptr
<A, Deleter> s(new A);
49
std::
unique_ptr
<A, Deleter> s2 = s;
move04.fail.cpp
12
//
unique_ptr
14
// Test
unique_ptr
move ctor
47
const std::
unique_ptr
<A, Deleter> s(new A);
49
std::
unique_ptr
<A, Deleter> s2 = s;
pointer_deleter06.pass.cpp
12
//
unique_ptr
14
// Test
unique_ptr
(pointer, deleter) ctor
19
//
unique_ptr
(pointer, deleter) should work with function pointers
20
//
unique_ptr
<void> should work
33
std::
unique_ptr
<void, void (*)(void*)> s(&i, my_free);
/ndk/sources/cxx-stl/llvm-libc++/test/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op=/
rv_value.pass.cpp
40
test(std::vector<std::
unique_ptr
<int> >());
/ndk/sources/cxx-stl/llvm-libc++/test/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op=/
rv_value.pass.cpp
39
test(std::list<std::
unique_ptr
<int> >());
/external/llvm/unittests/Support/
ErrorOrTest.cpp
37
ErrorOr<std::
unique_ptr
<int> > t3() {
38
return std::
unique_ptr
<int>(new int(3));
65
ErrorOr<std::
unique_ptr
<B> > b1(ErrorOr<std::
unique_ptr
<D> >(0));
66
b1 = ErrorOr<std::
unique_ptr
<D> >(0);
/ndk/sources/cxx-stl/llvm-libc++/test/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.star/
op_star.pass.cpp
58
std::
unique_ptr
<int, do_nothing> p(&i);
59
test(&p, std::
unique_ptr
<int, do_nothing>(&i));
Completed in 248 milliseconds
1
2
3
4
5
6
7
8
9
10