Searched defs:dealloc_count (Results 1 - 2 of 2) sorted by relevance

/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.getdeleter/
H A Dget_deleter.pass.cpp39 assert(test_deleter<A>::dealloc_count == 0);
45 assert(test_deleter<A>::dealloc_count == 1);
47 test_deleter<A>::dealloc_count = 0; member in class:test_deleter
53 assert(test_deleter<A>::dealloc_count == 0);
59 assert(test_deleter<A>::dealloc_count == 1);
61 test_deleter<A>::dealloc_count = 0; member in class:test_deleter
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/
H A Dtest_deleter.h25 static int dealloc_count; member in struct:test_deleter_base
29 int test_deleter_base::dealloc_count = 0; member in class:test_deleter_base
48 void operator()(T* p) {assert(state_ >= 0); ++dealloc_count; delete p;}

Completed in 106 milliseconds