Home
last modified time | relevance | path

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

12

/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()
/external/llvm-project/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/
Dnullptr_t_deleter_allocator.pass.cpp39 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()
61 assert(test_deleter<A>::dealloc_count == 0); in main()
70 assert(test_deleter<A>::dealloc_count == 1); in main()
71 test_deleter<A>::dealloc_count = 0; in main()
80 assert(test_deleter<A>::dealloc_count == 0); in main()
89 assert(test_deleter<A>::dealloc_count == 1); in main()
Dpointer_deleter_allocator.pass.cpp43 assert(test_deleter<A>::dealloc_count == 0); in main()
54 assert(test_deleter<A>::dealloc_count == 1); in main()
57 test_deleter<A>::dealloc_count = 0; in main()
66 assert(test_deleter<A>::dealloc_count == 0); in main()
75 assert(test_deleter<A>::dealloc_count == 1); in main()
76 test_deleter<A>::dealloc_count = 0; in main()
86 assert(test_deleter<A>::dealloc_count == 0); in main()
95 assert(test_deleter<A>::dealloc_count == 1); in main()
Dnullptr_t_deleter.pass.cpp39 assert(test_deleter<A>::dealloc_count == 0); in main()
48 assert(test_deleter<A>::dealloc_count == 1); in main()
Dpointer_deleter.pass.cpp43 assert(test_deleter<A>::dealloc_count == 0); in main()
52 assert(test_deleter<A>::dealloc_count == 1); in main()
Dnullptr_t_deleter_throw.pass.cpp52 assert(test_deleter<A>::dealloc_count == 1); in main()
Dpointer_deleter_throw.pass.cpp52 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()
/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/llvm-project/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.getdeleter/
Dget_deleter.pass.cpp41 assert(test_deleter<A>::dealloc_count == 0); in main()
47 assert(test_deleter<A>::dealloc_count == 1); in main()
49 test_deleter<A>::dealloc_count = 0; in main()
55 assert(test_deleter<A>::dealloc_count == 0); in main()
61 assert(test_deleter<A>::dealloc_count == 1); in main()
63 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/llvm-project/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.mod/
Dreset_pointer_deleter.pass.cpp54 assert(test_deleter<A>::dealloc_count == 0); in main()
63 assert(test_deleter<A>::dealloc_count == 1); in main()
73 assert(test_deleter<A>::dealloc_count == 1); in main()
82 assert(test_deleter<A>::dealloc_count == 2); in main()
Dreset_pointer_deleter_allocator.pass.cpp55 assert(test_deleter<A>::dealloc_count == 0); in main()
66 assert(test_deleter<A>::dealloc_count == 1); in main()
78 assert(test_deleter<A>::dealloc_count == 1); in main()
89 assert(test_deleter<A>::dealloc_count == 2); in main()
/external/llvm-project/libcxx/test/std/experimental/memory/memory.resource/memory.resource.public/
Ddeallocate.pass.cpp65 assert(P.dealloc_count == 1); in main()
72 assert(P.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()
/external/llvm-project/libcxx/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/
Ddo_allocate_and_deallocate.pass.cpp54 assert(P.dealloc_count == 1); in check_allocate_deallocate()
79 assert(P.dealloc_count == 1); in check_alloc_max_size()
/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()
/external/llvm-project/libcxx/test/support/
Dmin_allocator.h87 static size_t dealloc_count; member
91 assert(alloc_count >= dealloc_count); in outstanding_alloc()
92 return (alloc_count - dealloc_count); in outstanding_alloc()
100 dealloc_count = 0; in reset()
106 size_t malloc_allocator_base::dealloc_count = 0;
132 ++dealloc_count; in deallocate()

12