/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/ |
D | shared_ptr_rv.pass.cpp | 38 assert(pA.use_count() == 1); in main() 45 assert(pA.use_count() == 0); in main() 46 assert(pA2.use_count() == 1); in main() 48 assert(pA.use_count() == 2); in main() 49 assert(pA2.use_count() == 2); in main() 54 assert(pA.use_count() == 0); in main() 57 assert(pA.use_count() == 1); in main() 64 assert(pA.use_count() == 0); in main() 69 assert(pA.use_count() == 0); in main() 70 assert(pA2.use_count() == 0); in main() [all …]
|
D | shared_ptr_Y_rv.pass.cpp | 65 assert(pA.use_count() == 1); in main() 74 assert(pB.use_count() == 1); in main() 75 assert(pA.use_count() == 0); in main() 77 assert(pB.use_count() == 2); in main() 78 assert(pA.use_count() == 2); in main() 83 assert(pA.use_count() == 0); in main() 87 assert(pA.use_count() == 1); in main() 96 assert(pA.use_count() == 0); in main() 103 assert(pB.use_count() == 0); in main() 104 assert(pA.use_count() == 0); in main() [all …]
|
D | shared_ptr.pass.cpp | 34 assert(pA.use_count() == 1); in main() 39 assert(pA.use_count() == 2); in main() 40 assert(pA2.use_count() == 2); in main() 43 assert(pA.use_count() == 1); in main() 49 assert(pA.use_count() == 0); in main() 54 assert(pA.use_count() == 0); in main() 55 assert(pA2.use_count() == 0); in main() 58 assert(pA.use_count() == 0); in main()
|
D | shared_ptr_Y.pass.cpp | 61 assert(pA.use_count() == 1); in main() 68 assert(pB.use_count() == 2); in main() 69 assert(pA.use_count() == 2); in main() 72 assert(pA.use_count() == 1); in main() 80 assert(pA.use_count() == 0); in main() 87 assert(pB.use_count() == 0); in main() 88 assert(pA.use_count() == 0); in main() 91 assert(pA.use_count() == 0); in main()
|
D | shared_ptr_pointer.pass.cpp | 45 assert(pA.use_count() == 1); in main() 51 assert(pA.use_count() == 2); in main() 52 assert(pB.use_count() == 2); in main() 55 assert(pA.use_count() == 1); in main()
|
/external/libcxx/test/libcxx/utilities/memory/util.smartptr/ |
D | race_condition.pass.cpp | 50 assert(p.use_count() == 2); in run_test() 52 assert(p.use_count() == 3); in run_test() 54 assert(p.use_count() == 4); in run_test() 63 int last = p.use_count(); in run_test() 64 int new_val = p.use_count(); in run_test() 69 last = w.use_count(); in run_test() 70 new_val = w.use_count(); in run_test() 78 assert(p.use_count() == 3); in run_test() 86 assert(p.use_count() == 1); in main() 93 assert(p.use_count() == 1); in main()
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.spec/ |
D | swap.pass.cpp | 39 assert(p1.use_count() == 1); in main() 41 assert(p2.use_count() == 1); in main() 45 assert(p1.use_count() == 1); in main() 57 assert(p1.use_count() == 0); in main() 59 assert(p2.use_count() == 1); in main() 63 assert(p1.use_count() == 0); in main() 75 assert(p1.use_count() == 1); in main() 77 assert(p2.use_count() == 0); in main() 81 assert(p1.use_count() == 1); in main() 93 assert(p1.use_count() == 0); in main() [all …]
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.mod/ |
D | swap.pass.cpp | 39 assert(p1.use_count() == 1); in main() 41 assert(p2.use_count() == 1); in main() 45 assert(p1.use_count() == 1); in main() 57 assert(p1.use_count() == 0); in main() 59 assert(p2.use_count() == 1); in main() 63 assert(p1.use_count() == 0); in main() 75 assert(p1.use_count() == 1); in main() 77 assert(p2.use_count() == 0); in main() 81 assert(p1.use_count() == 1); in main() 93 assert(p1.use_count() == 0); in main() [all …]
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.assign/ |
D | shared_ptr_Y_rv.pass.cpp | 55 assert(pB.use_count() == 1); in main() 56 assert(pA.use_count() == 0); in main() 60 assert(pA.use_count() == 0); in main() 74 assert(pB.use_count() == 0); in main() 75 assert(pA.use_count() == 0); in main() 79 assert(pA.use_count() == 0); in main() 93 assert(pB.use_count() == 1); in main() 94 assert(pA.use_count() == 0); in main() 98 assert(pA.use_count() == 0); in main() 112 assert(pB.use_count() == 0); in main() [all …]
|
D | shared_ptr_rv.pass.cpp | 55 assert(pB.use_count() == 1); in main() 56 assert(pA.use_count() == 0); in main() 60 assert(pA.use_count() == 0); in main() 74 assert(pB.use_count() == 0); in main() 75 assert(pA.use_count() == 0); in main() 79 assert(pA.use_count() == 0); in main() 93 assert(pB.use_count() == 1); in main() 94 assert(pA.use_count() == 0); in main() 98 assert(pA.use_count() == 0); in main() 112 assert(pB.use_count() == 0); in main() [all …]
|
D | shared_ptr.pass.cpp | 53 assert(pB.use_count() == 2); in main() 54 assert(pA.use_count() == 2); in main() 58 assert(pA.use_count() == 1); in main() 72 assert(pB.use_count() == 0); in main() 73 assert(pA.use_count() == 0); in main() 77 assert(pA.use_count() == 0); in main() 91 assert(pB.use_count() == 2); in main() 92 assert(pA.use_count() == 2); in main() 96 assert(pA.use_count() == 1); in main() 110 assert(pB.use_count() == 0); in main() [all …]
|
D | shared_ptr_Y.pass.cpp | 53 assert(pB.use_count() == 2); in main() 54 assert(pA.use_count() == 2); in main() 58 assert(pA.use_count() == 1); in main() 72 assert(pB.use_count() == 0); in main() 73 assert(pA.use_count() == 0); in main() 77 assert(pA.use_count() == 0); in main() 91 assert(pB.use_count() == 2); in main() 92 assert(pA.use_count() == 2); in main() 96 assert(pA.use_count() == 1); in main() 110 assert(pB.use_count() == 0); in main() [all …]
|
D | auto_ptr_Y.pass.cpp | 54 assert(pB.use_count() == 1); in main() 71 assert(pB.use_count() == 1); in main() 88 assert(pB.use_count() == 1); in main() 105 assert(pB.use_count() == 1); in main()
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/ |
D | weak_ptr.pass.cpp | 70 assert(pA.use_count() == 1); in main() 77 assert(pB.use_count() == 1); in main() 78 assert(pA.use_count() == 1); in main() 80 assert(pA.use_count() == 1); in main() 88 assert(pA.use_count() == 0); in main() 95 assert(pB.use_count() == 0); in main() 96 assert(pA.use_count() == 0); in main() 98 assert(pA.use_count() == 0); in main() 109 assert(pA.use_count() == 1); in main()
|
D | weak_ptr_Y.pass.cpp | 65 assert(pA.use_count() == 0); in main() 72 assert(pB.use_count() == 0); in main() 73 assert(pA.use_count() == 0); in main() 75 assert(pA.use_count() == 0); in main() 83 assert(pA.use_count() == 0); in main() 90 assert(pB.use_count() == 0); in main() 91 assert(pA.use_count() == 0); in main() 93 assert(pA.use_count() == 0); in main() 104 assert(pB.use_count() == 1); in main()
|
D | shared_ptr_Y.pass.cpp | 61 assert(pA.use_count() == 1); in main() 68 assert(pB.use_count() == 1); in main() 69 assert(pA.use_count() == 1); in main() 71 assert(pA.use_count() == 1); in main() 79 assert(pA.use_count() == 0); in main() 86 assert(pB.use_count() == 0); in main() 87 assert(pA.use_count() == 0); in main() 89 assert(pA.use_count() == 0); in main()
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/ |
D | expired.pass.cpp | 34 assert(wp.use_count() == 0); in main() 35 assert(wp.expired() == (wp.use_count() == 0)); in main() 40 assert(wp.use_count() == 1); in main() 41 assert(wp.expired() == (wp.use_count() == 0)); in main() 43 assert(wp.use_count() == 0); in main() 44 assert(wp.expired() == (wp.use_count() == 0)); in main()
|
D | lock.pass.cpp | 35 assert(sp.use_count() == 0); in main() 43 assert(sp.use_count() == 2); in main() 53 assert(sp.use_count() == 0); in main()
|
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_opt_coalesce_ff_writes.c | 42 uint32_t use_count[c->num_temps]; in qir_opt_coalesce_ff_writes() local 43 memset(&use_count, 0, sizeof(use_count)); in qir_opt_coalesce_ff_writes() 49 use_count[temp]++; in qir_opt_coalesce_ff_writes() 64 if (use_count[temp] != 1) in qir_opt_coalesce_ff_writes()
|
D | vc4_opt_vpm.c | 45 uint32_t use_count[c->num_temps]; in qir_opt_vpm() local 46 memset(&use_count, 0, sizeof(use_count)); in qir_opt_vpm() 52 use_count[temp]++; in qir_opt_vpm() 84 if (use_count[temp] != 1) in qir_opt_vpm()
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.assign/ |
D | weak_ptr_Y.pass.cpp | 53 assert(pB.use_count() == 1); in main() 54 assert(pA.use_count() == 1); in main() 56 assert(pA.use_count() == 1); in main() 71 assert(pB.use_count() == 1); in main()
|
D | weak_ptr.pass.cpp | 53 assert(pB.use_count() == 1); in main() 54 assert(pA.use_count() == 1); in main() 56 assert(pA.use_count() == 1); in main() 71 assert(pB.use_count() == 1); in main()
|
D | shared_ptr_Y.pass.cpp | 52 assert(pB.use_count() == 1); in main() 53 assert(pA.use_count() == 1); in main() 55 assert(pA.use_count() == 1); in main()
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.mod/ |
D | reset.pass.cpp | 35 assert(w1.use_count() == 1); in main() 37 assert(w1.use_count() == 0); in main() 38 assert(p1.use_count() == 1); in main()
|
/external/perfetto/src/ipc/ |
D | deferred_unittest.cc | 104 ASSERT_GE(num_callbacks.use_count(), 2); in TEST() 109 ASSERT_EQ(1, num_callbacks.use_count()); in TEST() 122 ASSERT_EQ(1, num_callbacks.use_count()); in TEST() 176 ASSERT_EQ(1, num_callbacks.use_count()); in TEST() 216 ASSERT_EQ(1, num_callbacks.use_count()); in TEST() 245 ASSERT_EQ(1, num_callbacks.use_count()); in TEST()
|