Home
last modified time | relevance | path

Searched refs:retain_count (Results 1 – 6 of 6) sorted by relevance

/xnu-11215.81.4/tests/intrusive_shared_ptr_src/
H A Ddtor.cpp16 test_policy::retain_count = 3;
20 CHECK(test_policy::retain_count == 3);
23 CHECK(test_policy::retain_count == 2);
28 test_policy::retain_count = 3;
32 CHECK(test_policy::retain_count == 3);
35 CHECK(test_policy::retain_count == 3); // not decremented
H A Dctor.move.cpp37 test_policy::retain_count = 0; in tests()
39 CHECK(test_policy::retain_count == 1); in tests()
43 CHECK(test_policy::retain_count == 1); in tests()
48 test_policy::retain_count = 0; in tests()
50 CHECK(test_policy::retain_count == 1); in tests()
54 CHECK(test_policy::retain_count == 1); in tests()
59 test_policy::retain_count = 0; in tests()
61 CHECK(test_policy::retain_count == 1); in tests()
65 CHECK(test_policy::retain_count == 1); in tests()
72 test_policy::retain_count = 3; in tests()
[all …]
H A Dctor.copy.cpp36 test_policy::retain_count = 0; in tests()
39 CHECK(test_policy::retain_count == 2); in tests()
43 test_policy::retain_count = 0; in tests()
46 CHECK(test_policy::retain_count == 2); in tests()
50 test_policy::retain_count = 0; in tests()
53 CHECK(test_policy::retain_count == 2); in tests()
59 test_policy::retain_count = 0; in tests()
62 CHECK(test_policy::retain_count == 0); in tests()
H A Dctor.ptr.no_retain.cpp20 test_policy::retain_count = 0; in tests()
23 CHECK(test_policy::retain_count == 0); in tests()
26 test_policy::retain_count = 0; in tests()
29 CHECK(test_policy::retain_count == 0); in tests()
H A Dctor.ptr.retain.cpp20 test_policy::retain_count = 0; in tests()
23 CHECK(test_policy::retain_count == 1); in tests()
26 test_policy::retain_count = 0; in tests()
29 CHECK(test_policy::retain_count == 1); in tests()
H A Dtest_policy.h8 static inline int retain_count = 0; member
14 ++retain_count; in retain()
20 --retain_count; in release()