OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:use_count
(Results
1 - 25
of
90
) sorted by null
1
2
3
4
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/
expired.pass.cpp
34
assert(wp.
use_count
() == 0);
35
assert(wp.expired() == (wp.
use_count
() == 0));
40
assert(wp.
use_count
() == 1);
41
assert(wp.expired() == (wp.
use_count
() == 0));
43
assert(wp.
use_count
() == 0);
44
assert(wp.expired() == (wp.
use_count
() == 0));
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/
shared_ptr_rv.pass.cpp
34
assert(pA.
use_count
() == 1);
41
assert(pA.
use_count
() == 0);
42
assert(pA2.
use_count
() == 1);
44
assert(pA.
use_count
() == 2);
45
assert(pA2.
use_count
() == 2);
50
assert(pA.
use_count
() == 0);
53
assert(pA.
use_count
() == 1);
60
assert(pA.
use_count
() == 0);
65
assert(pA.
use_count
() == 0);
66
assert(pA2.
use_count
() == 0)
[
all
...]
default.pass.cpp
20
assert(p.
use_count
() == 0);
nullptr_t.pass.cpp
20
assert(p.
use_count
() == 0);
shared_ptr.pass.cpp
34
assert(pA.
use_count
() == 1);
39
assert(pA.
use_count
() == 2);
40
assert(pA2.
use_count
() == 2);
43
assert(pA.
use_count
() == 1);
49
assert(pA.
use_count
() == 0);
54
assert(pA.
use_count
() == 0);
55
assert(pA2.
use_count
() == 0);
58
assert(pA.
use_count
() == 0);
shared_ptr_pointer.pass.cpp
45
assert(pA.
use_count
() == 1);
51
assert(pA.
use_count
() == 2);
52
assert(pB.
use_count
() == 2);
55
assert(pA.
use_count
() == 1);
shared_ptr_Y_rv.pass.cpp
61
assert(pA.
use_count
() == 1);
70
assert(pB.
use_count
() == 1);
71
assert(pA.
use_count
() == 0);
73
assert(pB.
use_count
() == 2);
74
assert(pA.
use_count
() == 2);
79
assert(pA.
use_count
() == 0);
83
assert(pA.
use_count
() == 1);
92
assert(pA.
use_count
() == 0);
99
assert(pB.
use_count
() == 0);
100
assert(pA.
use_count
() == 0)
[
all
...]
pointer.pass.cpp
34
assert(p.
use_count
() == 1);
42
assert(p.
use_count
() == 1);
shared_ptr_Y.pass.cpp
61
assert(pA.
use_count
() == 1);
68
assert(pB.
use_count
() == 2);
69
assert(pA.
use_count
() == 2);
72
assert(pA.
use_count
() == 1);
80
assert(pA.
use_count
() == 0);
87
assert(pB.
use_count
() == 0);
88
assert(pA.
use_count
() == 0);
91
assert(pA.
use_count
() == 0);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.mod/
reset.pass.cpp
35
assert(w1.
use_count
() == 1);
37
assert(w1.
use_count
() == 0);
38
assert(p1.
use_count
() == 1);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/
default.pass.cpp
24
assert(p.
use_count
() == 0);
shared_ptr_Y.pass.cpp
61
assert(pA.
use_count
() == 1);
68
assert(pB.
use_count
() == 1);
69
assert(pA.
use_count
() == 1);
71
assert(pA.
use_count
() == 1);
79
assert(pA.
use_count
() == 0);
86
assert(pB.
use_count
() == 0);
87
assert(pA.
use_count
() == 0);
89
assert(pA.
use_count
() == 0);
weak_ptr.pass.cpp
59
assert(pA.
use_count
() == 1);
66
assert(pB.
use_count
() == 1);
67
assert(pA.
use_count
() == 1);
69
assert(pA.
use_count
() == 1);
77
assert(pA.
use_count
() == 0);
84
assert(pB.
use_count
() == 0);
85
assert(pA.
use_count
() == 0);
87
assert(pA.
use_count
() == 0);
weak_ptr_Y.pass.cpp
61
assert(pA.
use_count
() == 0);
68
assert(pB.
use_count
() == 0);
69
assert(pA.
use_count
() == 0);
71
assert(pA.
use_count
() == 0);
79
assert(pA.
use_count
() == 0);
86
assert(pB.
use_count
() == 0);
87
assert(pA.
use_count
() == 0);
89
assert(pA.
use_count
() == 0);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.mod/
swap.pass.cpp
39
assert(p1.
use_count
() == 1);
41
assert(p2.
use_count
() == 1);
45
assert(p1.
use_count
() == 1);
57
assert(p1.
use_count
() == 0);
59
assert(p2.
use_count
() == 1);
63
assert(p1.
use_count
() == 0);
75
assert(p1.
use_count
() == 1);
77
assert(p2.
use_count
() == 0);
81
assert(p1.
use_count
() == 1);
93
assert(p1.
use_count
() == 0)
[
all
...]
reset.pass.cpp
49
assert(p.
use_count
() == 0);
58
assert(p.
use_count
() == 0);
reset_pointer.pass.cpp
50
assert(p.
use_count
() == 1);
60
assert(p.
use_count
() == 1);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.spec/
swap.pass.cpp
39
assert(p1.
use_count
() == 1);
41
assert(p2.
use_count
() == 1);
45
assert(p1.
use_count
() == 1);
57
assert(p1.
use_count
() == 0);
59
assert(p2.
use_count
() == 1);
63
assert(p1.
use_count
() == 0);
75
assert(p1.
use_count
() == 1);
77
assert(p2.
use_count
() == 0);
81
assert(p1.
use_count
() == 1);
93
assert(p1.
use_count
() == 0)
[
all
...]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.assign/
shared_ptr.pass.cpp
53
assert(pB.
use_count
() == 2);
54
assert(pA.
use_count
() == 2);
58
assert(pA.
use_count
() == 1);
72
assert(pB.
use_count
() == 0);
73
assert(pA.
use_count
() == 0);
77
assert(pA.
use_count
() == 0);
91
assert(pB.
use_count
() == 2);
92
assert(pA.
use_count
() == 2);
96
assert(pA.
use_count
() == 1);
110
assert(pB.
use_count
() == 0)
[
all
...]
shared_ptr_Y.pass.cpp
53
assert(pB.
use_count
() == 2);
54
assert(pA.
use_count
() == 2);
58
assert(pA.
use_count
() == 1);
72
assert(pB.
use_count
() == 0);
73
assert(pA.
use_count
() == 0);
77
assert(pA.
use_count
() == 0);
91
assert(pB.
use_count
() == 2);
92
assert(pA.
use_count
() == 2);
96
assert(pA.
use_count
() == 1);
110
assert(pB.
use_count
() == 0)
[
all
...]
shared_ptr_Y_rv.pass.cpp
54
assert(pB.
use_count
() == 1);
55
assert(pA.
use_count
() == 0);
59
assert(pA.
use_count
() == 0);
73
assert(pB.
use_count
() == 0);
74
assert(pA.
use_count
() == 0);
78
assert(pA.
use_count
() == 0);
92
assert(pB.
use_count
() == 1);
93
assert(pA.
use_count
() == 0);
97
assert(pA.
use_count
() == 0);
111
assert(pB.
use_count
() == 0)
[
all
...]
shared_ptr_rv.pass.cpp
54
assert(pB.
use_count
() == 1);
55
assert(pA.
use_count
() == 0);
59
assert(pA.
use_count
() == 0);
73
assert(pB.
use_count
() == 0);
74
assert(pA.
use_count
() == 0);
78
assert(pA.
use_count
() == 0);
92
assert(pB.
use_count
() == 1);
93
assert(pA.
use_count
() == 0);
97
assert(pA.
use_count
() == 0);
111
assert(pB.
use_count
() == 0)
[
all
...]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.assign/
shared_ptr_Y.pass.cpp
52
assert(pB.
use_count
() == 1);
53
assert(pA.
use_count
() == 1);
55
assert(pA.
use_count
() == 1);
weak_ptr.pass.cpp
53
assert(pB.
use_count
() == 1);
54
assert(pA.
use_count
() == 1);
56
assert(pA.
use_count
() == 1);
weak_ptr_Y.pass.cpp
53
assert(pB.
use_count
() == 1);
54
assert(pA.
use_count
() == 1);
56
assert(pA.
use_count
() == 1);
Completed in 159 milliseconds
1
2
3
4