Searched refs:PseudoDeletable (Results 1 – 2 of 2) sorted by relevance
17 class PseudoDeletable { class19 explicit PseudoDeletable(int id, int* count_location) in PseudoDeletable() function in fxcrt::__anonbc32fd940111::PseudoDeletable21 ~PseudoDeletable() { ++(*count_location_); } in ~PseudoDeletable()32 MaybeOwned<PseudoDeletable> ptr1; in TEST()37 MaybeOwned<PseudoDeletable> ptr2; in TEST()44 PseudoDeletable thing1(100, &delete_count); in TEST()46 MaybeOwned<PseudoDeletable> ptr(&thing1); in TEST()53 MaybeOwned<PseudoDeletable> empty; in TEST()60 PseudoDeletable thing2(200, &delete_count); in TEST()62 MaybeOwned<PseudoDeletable> ptr(&thing1); in TEST()[all …]
15 class PseudoDeletable;16 using WeakTestPtr = WeakPtr<PseudoDeletable, ReleaseDeleter<PseudoDeletable>>;18 std::unique_ptr<PseudoDeletable, ReleaseDeleter<PseudoDeletable>>;20 class PseudoDeletable { class22 PseudoDeletable() : delete_count_(0) {} in PseudoDeletable() function in fxcrt::__anonb811b2270111::PseudoDeletable55 PseudoDeletable thing; in TEST()84 PseudoDeletable thing; in TEST()102 PseudoDeletable thing1; in TEST()103 PseudoDeletable thing2; in TEST()124 PseudoDeletable thing; in TEST()[all …]