OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:pA
(Results
26 - 50
of
94
) sorted by null
1
2
3
4
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.assign/
shared_ptr_Y.pass.cpp
46
const std::shared_ptr<A>
pA
(new A);
47
A* ptrA =
pA
.get();
50
pB =
pA
;
54
assert(
pA
.use_count() == 2);
55
assert(
pA
.get() == pB.get());
58
assert(
pA
.use_count() == 1);
65
const std::shared_ptr<A>
pA
;
66
A* ptrA =
pA
.get();
69
pB =
pA
;
73
assert(
pA
.use_count() == 0)
[
all
...]
shared_ptr_Y_rv.pass.cpp
47
std::shared_ptr<A>
pA
(new A);
48
A* ptrA =
pA
.get();
51
pB = std::move(
pA
);
55
assert(
pA
.use_count() == 0);
56
assert(
pA
.get() == 0);
59
assert(
pA
.use_count() == 0);
66
std::shared_ptr<A>
pA
;
67
A* ptrA =
pA
.get();
70
pB = std::move(
pA
);
74
assert(
pA
.use_count() == 0)
[
all
...]
shared_ptr_rv.pass.cpp
47
std::shared_ptr<A>
pA
(new A);
48
A* ptrA =
pA
.get();
51
pB = std::move(
pA
);
55
assert(
pA
.use_count() == 0);
56
assert(
pA
.get() == 0);
59
assert(
pA
.use_count() == 0);
66
std::shared_ptr<A>
pA
;
67
A* ptrA =
pA
.get();
70
pB = std::move(
pA
);
74
assert(
pA
.use_count() == 0)
[
all
...]
auto_ptr_Y.pass.cpp
46
std::auto_ptr<A>
pA
(new A);
47
A* ptrA =
pA
.get();
50
pB = std::move(
pA
);
54
assert(
pA
.get() == 0);
63
std::auto_ptr<A>
pA
;
64
A* ptrA =
pA
.get();
67
pB = std::move(
pA
);
71
assert(
pA
.get() == 0);
80
std::auto_ptr<A>
pA
(new A);
81
A* ptrA =
pA
.get()
[
all
...]
unique_ptr_Y.pass.cpp
46
std::unique_ptr<A>
pA
(new A);
47
A* ptrA =
pA
.get();
50
pB = std::move(
pA
);
54
assert(
pA
.get() == 0);
63
std::unique_ptr<A>
pA
;
64
A* ptrA =
pA
.get();
67
pB = std::move(
pA
);
71
assert(
pA
.get() == 0);
80
std::unique_ptr<A>
pA
(new A);
81
A* ptrA =
pA
.get()
[
all
...]
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.assign/
auto_ptr_Y.pass.cpp
47
std::auto_ptr<A>
pA
(new A);
48
A* ptrA =
pA
.get();
51
pB = std::move(
pA
);
55
assert(
pA
.get() == 0);
64
std::auto_ptr<A>
pA
;
65
A* ptrA =
pA
.get();
68
pB = std::move(
pA
);
72
assert(
pA
.get() == 0);
81
std::auto_ptr<A>
pA
(new A);
82
A* ptrA =
pA
.get()
[
all
...]
unique_ptr_Y.pass.cpp
46
std::unique_ptr<A>
pA
(new A);
47
A* ptrA =
pA
.get();
50
pB = std::move(
pA
);
54
assert(
pA
.get() == 0);
63
std::unique_ptr<A>
pA
;
64
A* ptrA =
pA
.get();
67
pB = std::move(
pA
);
71
assert(
pA
.get() == 0);
80
std::unique_ptr<A>
pA
(new A);
81
A* ptrA =
pA
.get()
[
all
...]
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.assign/
auto_ptr_Y.pass.cpp
46
std::auto_ptr<A>
pA
(new A);
47
A* ptrA =
pA
.get();
50
pB = std::move(
pA
);
54
assert(
pA
.get() == 0);
63
std::auto_ptr<A>
pA
;
64
A* ptrA =
pA
.get();
67
pB = std::move(
pA
);
71
assert(
pA
.get() == 0);
80
std::auto_ptr<A>
pA
(new A);
81
A* ptrA =
pA
.get()
[
all
...]
unique_ptr_Y.pass.cpp
46
std::unique_ptr<A>
pA
(new A);
47
A* ptrA =
pA
.get();
50
pB = std::move(
pA
);
54
assert(
pA
.get() == 0);
63
std::unique_ptr<A>
pA
;
64
A* ptrA =
pA
.get();
67
pB = std::move(
pA
);
71
assert(
pA
.get() == 0);
80
std::unique_ptr<A>
pA
(new A);
81
A* ptrA =
pA
.get()
[
all
...]
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/
shared_ptr_Y_rv.pass.cpp
64
std::shared_ptr<A>
pA
(new A);
65
assert(
pA
.use_count() == 1);
69
B* p =
pA
.get();
70
std::shared_ptr<B> pB(std::move(
pA
));
75
assert(
pA
.use_count() == 0);
78
assert(
pA
.use_count() == 2);
83
assert(
pA
.use_count() == 0);
87
assert(
pA
.use_count() == 1);
95
std::shared_ptr<A>
pA
;
96
assert(
pA
.use_count() == 0)
[
all
...]
shared_ptr_pointer.pass.cpp
44
std::shared_ptr<A>
pA
(new A);
45
assert(
pA
.use_count() == 1);
48
std::shared_ptr<B> pB(
pA
, &b);
51
assert(
pA
.use_count() == 2);
55
assert(
pA
.use_count() == 1);
shared_ptr_Y.pass.cpp
60
const std::shared_ptr<A>
pA
(new A);
61
assert(
pA
.use_count() == 1);
65
std::shared_ptr<B> pB(
pA
);
69
assert(
pA
.use_count() == 2);
70
assert(
pA
.get() == pB.get());
72
assert(
pA
.use_count() == 1);
79
std::shared_ptr<A>
pA
;
80
assert(
pA
.use_count() == 0);
84
std::shared_ptr<B> pB(
pA
);
88
assert(
pA
.use_count() == 0)
[
all
...]
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/
shared_ptr_Y_rv.pass.cpp
60
std::shared_ptr<A>
pA
(new A);
61
assert(
pA
.use_count() == 1);
65
B* p =
pA
.get();
66
std::shared_ptr<B> pB(std::move(
pA
));
71
assert(
pA
.use_count() == 0);
74
assert(
pA
.use_count() == 2);
79
assert(
pA
.use_count() == 0);
83
assert(
pA
.use_count() == 1);
91
std::shared_ptr<A>
pA
;
92
assert(
pA
.use_count() == 0)
[
all
...]
shared_ptr_pointer.pass.cpp
44
std::shared_ptr<A>
pA
(new A);
45
assert(
pA
.use_count() == 1);
48
std::shared_ptr<B> pB(
pA
, &b);
51
assert(
pA
.use_count() == 2);
55
assert(
pA
.use_count() == 1);
shared_ptr_Y.pass.cpp
60
const std::shared_ptr<A>
pA
(new A);
61
assert(
pA
.use_count() == 1);
65
std::shared_ptr<B> pB(
pA
);
69
assert(
pA
.use_count() == 2);
70
assert(
pA
.get() == pB.get());
72
assert(
pA
.use_count() == 1);
79
std::shared_ptr<A>
pA
;
80
assert(
pA
.use_count() == 0);
84
std::shared_ptr<B> pB(
pA
);
88
assert(
pA
.use_count() == 0)
[
all
...]
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/
shared_ptr_Y_rv.pass.cpp
60
std::shared_ptr<A>
pA
(new A);
61
assert(
pA
.use_count() == 1);
65
B* p =
pA
.get();
66
std::shared_ptr<B> pB(std::move(
pA
));
71
assert(
pA
.use_count() == 0);
74
assert(
pA
.use_count() == 2);
79
assert(
pA
.use_count() == 0);
83
assert(
pA
.use_count() == 1);
91
std::shared_ptr<A>
pA
;
92
assert(
pA
.use_count() == 0)
[
all
...]
shared_ptr_pointer.pass.cpp
44
std::shared_ptr<A>
pA
(new A);
45
assert(
pA
.use_count() == 1);
48
std::shared_ptr<B> pB(
pA
, &b);
51
assert(
pA
.use_count() == 2);
55
assert(
pA
.use_count() == 1);
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/
shared_ptr_Y.pass.cpp
60
const std::shared_ptr<A>
pA
(new A);
61
assert(
pA
.use_count() == 1);
65
std::weak_ptr<B> pB(
pA
);
69
assert(
pA
.use_count() == 1);
71
assert(
pA
.use_count() == 1);
78
std::shared_ptr<A>
pA
;
79
assert(
pA
.use_count() == 0);
83
std::weak_ptr<B> pB(
pA
);
87
assert(
pA
.use_count() == 0);
89
assert(
pA
.use_count() == 0)
[
all
...]
weak_ptr.pass.cpp
69
const std::weak_ptr<A>
pA
(ps);
70
assert(
pA
.use_count() == 1);
74
std::weak_ptr<A> pB(
pA
);
78
assert(
pA
.use_count() == 1);
80
assert(
pA
.use_count() == 1);
87
std::weak_ptr<A>
pA
;
88
assert(
pA
.use_count() == 0);
92
std::weak_ptr<A> pB(
pA
);
96
assert(
pA
.use_count() == 0);
98
assert(
pA
.use_count() == 0)
[
all
...]
weak_ptr_Y.pass.cpp
64
const std::weak_ptr<A>
pA
(std::shared_ptr<A>(new A));
65
assert(
pA
.use_count() == 0);
69
std::weak_ptr<B> pB(
pA
);
73
assert(
pA
.use_count() == 0);
75
assert(
pA
.use_count() == 0);
82
std::weak_ptr<A>
pA
;
83
assert(
pA
.use_count() == 0);
87
std::weak_ptr<B> pB(
pA
);
91
assert(
pA
.use_count() == 0);
93
assert(
pA
.use_count() == 0)
[
all
...]
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/
shared_ptr_Y.pass.cpp
60
const std::shared_ptr<A>
pA
(new A);
61
assert(
pA
.use_count() == 1);
65
std::weak_ptr<B> pB(
pA
);
69
assert(
pA
.use_count() == 1);
71
assert(
pA
.use_count() == 1);
78
std::shared_ptr<A>
pA
;
79
assert(
pA
.use_count() == 0);
83
std::weak_ptr<B> pB(
pA
);
87
assert(
pA
.use_count() == 0);
89
assert(
pA
.use_count() == 0)
[
all
...]
weak_ptr.pass.cpp
65
const std::weak_ptr<A>
pA
(ps);
66
assert(
pA
.use_count() == 1);
70
std::weak_ptr<A> pB(
pA
);
74
assert(
pA
.use_count() == 1);
76
assert(
pA
.use_count() == 1);
83
std::weak_ptr<A>
pA
;
84
assert(
pA
.use_count() == 0);
88
std::weak_ptr<A> pB(
pA
);
92
assert(
pA
.use_count() == 0);
94
assert(
pA
.use_count() == 0)
[
all
...]
weak_ptr_Y.pass.cpp
67
const std::weak_ptr<A>
pA
(std::shared_ptr<A>(new A));
68
assert(
pA
.use_count() == 0);
72
std::weak_ptr<B> pB(
pA
);
76
assert(
pA
.use_count() == 0);
78
assert(
pA
.use_count() == 0);
85
std::weak_ptr<A>
pA
;
86
assert(
pA
.use_count() == 0);
90
std::weak_ptr<B> pB(
pA
);
94
assert(
pA
.use_count() == 0);
96
assert(
pA
.use_count() == 0)
[
all
...]
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/
shared_ptr_Y.pass.cpp
60
const std::shared_ptr<A>
pA
(new A);
61
assert(
pA
.use_count() == 1);
65
std::weak_ptr<B> pB(
pA
);
69
assert(
pA
.use_count() == 1);
71
assert(
pA
.use_count() == 1);
78
std::shared_ptr<A>
pA
;
79
assert(
pA
.use_count() == 0);
83
std::weak_ptr<B> pB(
pA
);
87
assert(
pA
.use_count() == 0);
89
assert(
pA
.use_count() == 0)
[
all
...]
weak_ptr.pass.cpp
67
const std::weak_ptr<A>
pA
(ps);
68
assert(
pA
.use_count() == 1);
72
std::weak_ptr<A> pB(
pA
);
76
assert(
pA
.use_count() == 1);
78
assert(
pA
.use_count() == 1);
85
std::weak_ptr<A>
pA
;
86
assert(
pA
.use_count() == 0);
90
std::weak_ptr<A> pB(
pA
);
94
assert(
pA
.use_count() == 0);
96
assert(
pA
.use_count() == 0)
[
all
...]
Completed in 438 milliseconds
1
2
3
4