Home
last modified time | relevance | path

Searched refs:dealloc_count (Results 1 – 12 of 12) sorted by relevance

/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/
Dnullptr_t_deleter_allocator.pass.cpp40 assert(test_deleter<A>::dealloc_count == 0); in main()
48 assert(test_deleter<A>::dealloc_count == 1); in main()
51 test_deleter<A>::dealloc_count = 0; in main()
60 assert(test_deleter<A>::dealloc_count == 0); in main()
66 assert(test_deleter<A>::dealloc_count == 1); in main()
67 test_deleter<A>::dealloc_count = 0; in main()
77 assert(test_deleter<A>::dealloc_count == 0); in main()
83 assert(test_deleter<A>::dealloc_count == 1); in main()
Dpointer_deleter_allocator.pass.cpp42 assert(test_deleter<A>::dealloc_count == 0); in main()
50 assert(test_deleter<A>::dealloc_count == 1); in main()
53 test_deleter<A>::dealloc_count = 0; in main()
63 assert(test_deleter<A>::dealloc_count == 0); in main()
69 assert(test_deleter<A>::dealloc_count == 1); in main()
70 test_deleter<A>::dealloc_count = 0; in main()
81 assert(test_deleter<A>::dealloc_count == 0); in main()
87 assert(test_deleter<A>::dealloc_count == 1); in main()
Dnullptr_t_deleter.pass.cpp40 assert(test_deleter<A>::dealloc_count == 0); in main()
46 assert(test_deleter<A>::dealloc_count == 1); in main()
Dpointer_deleter.pass.cpp41 assert(test_deleter<A>::dealloc_count == 0); in main()
47 assert(test_deleter<A>::dealloc_count == 1); in main()
Dnullptr_t_deleter_allocator_throw.pass.cpp42 assert(test_deleter<A>::dealloc_count == 1); in main()
Dpointer_deleter_allocator_throw.pass.cpp43 assert(test_deleter<A>::dealloc_count == 1); in main()
Dnullptr_t_deleter_throw.pass.cpp61 assert(test_deleter<A>::dealloc_count == 1); in main()
Dpointer_deleter_throw.pass.cpp62 assert(test_deleter<A>::dealloc_count == 1); in main()
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.getdeleter/
Dget_deleter.pass.cpp39 assert(test_deleter<A>::dealloc_count == 0); in main()
45 assert(test_deleter<A>::dealloc_count == 1); in main()
47 test_deleter<A>::dealloc_count = 0; in main()
53 assert(test_deleter<A>::dealloc_count == 0); in main()
59 assert(test_deleter<A>::dealloc_count == 1); in main()
61 test_deleter<A>::dealloc_count = 0; in main()
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.mod/
Dreset_pointer_deleter.pass.cpp55 assert(test_deleter<A>::dealloc_count == 0); in main()
61 assert(test_deleter<A>::dealloc_count == 1); in main()
72 assert(test_deleter<A>::dealloc_count == 1); in main()
78 assert(test_deleter<A>::dealloc_count == 2); in main()
Dreset_pointer_deleter_allocator.pass.cpp56 assert(test_deleter<A>::dealloc_count == 0); in main()
64 assert(test_deleter<A>::dealloc_count == 1); in main()
77 assert(test_deleter<A>::dealloc_count == 1); in main()
85 assert(test_deleter<A>::dealloc_count == 2); in main()
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/
Dtest_deleter.h31 static int dealloc_count; member
35 int test_deleter_base::dealloc_count = 0;
54 void operator()(T* p) {assert(state_ >= 0); ++dealloc_count; delete p;} in operator()