Home
last modified time | relevance | path

Searched refs:dealloc_count (Results 1 – 16 of 16) 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_throw.pass.cpp53 assert(test_deleter<A>::dealloc_count == 1); in main()
Dpointer_deleter_throw.pass.cpp51 assert(test_deleter<A>::dealloc_count == 1); in main()
Dnullptr_t_deleter_allocator_throw.pass.cpp43 assert(test_deleter<A>::dealloc_count == 1); in main()
Dpointer_deleter_allocator_throw.pass.cpp44 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/experimental/memory/memory.resource/memory.resource.public/
Ddeallocate.pass.cpp64 assert(P.dealloc_count == 1); in main()
71 assert(P.dealloc_count == 2); in main()
/external/libcxx/test/support/
Dmin_allocator.h86 static size_t dealloc_count; member
90 assert(alloc_count >= dealloc_count); in outstanding_alloc()
91 return (alloc_count - dealloc_count); in outstanding_alloc()
98 dealloc_count = 0; in reset()
104 size_t malloc_allocator_base::dealloc_count = 0;
127 ++dealloc_count; in deallocate()
Ddeleter_types.h346 static int dealloc_count; member
350 int test_deleter_base::dealloc_count = 0;
369 void operator()(T* p) {assert(state_ >= 0); ++dealloc_count; delete p;} in operator()
Dcontrolled_allocators.hpp65 int dealloc_count = 0; member
111 ++dealloc_count; in countDealloc()
/external/libcxx/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/
Ddo_allocate_and_deallocate.pass.cpp56 assert(P.dealloc_count == 1); in check_allocate_deallocate()
81 assert(P.dealloc_count == 1); in check_alloc_max_size()