Searched refs:DeleteCounter (Results 1 – 3 of 3) sorted by relevance
261 class DeleteCounter { class263 explicit DeleteCounter(int* deletes) in DeleteCounter() function in __anon246693ca0111::DeleteCounter267 ~DeleteCounter() { in ~DeleteCounter()276 DISALLOW_COPY_AND_ASSIGN(DeleteCounter);286 ScopedVector<DeleteCounter> deleter_vector; in TEST()287 deleter_vector.push_back(new DeleteCounter(&deletes)); in TEST()289 base::Callback<ScopedVector<DeleteCounter>(void)> callback = in TEST()290 base::Bind(&PassThru<DeleteCounter>, base::Passed(&deleter_vector)); in TEST()292 ScopedVector<DeleteCounter> result = callback.Run(); in TEST()328 std::unique_ptr<DeleteCounter> elem(new DeleteCounter(&delete_counter)); in TEST()[all …]
255 class DeleteCounter { class257 explicit DeleteCounter(int* deletes) in DeleteCounter() function in webrtc::__anon021ada270111::DeleteCounter261 ~DeleteCounter() { in ~DeleteCounter()270 RTC_DISALLOW_COPY_AND_ASSIGN(DeleteCounter);290 ScopedVector<DeleteCounter> deleter_vector; in TEST()291 deleter_vector.push_back(new DeleteCounter(&deletes)); in TEST()293 PassThru<DeleteCounter> pass_thru(deleter_vector.DEPRECATED_Pass()); in TEST()295 ScopedVector<DeleteCounter> result = pass_thru.Run(); in TEST()
232 class DeleteCounter { class234 explicit DeleteCounter(int* deletes) in DeleteCounter() function in base::__anon8607446f0111::DeleteCounter238 ~DeleteCounter() { in ~DeleteCounter()762 DeleteCounter* counter = new DeleteCounter(&deletes); in TEST_F()766 Callback<DeleteCounter*()> no_capture_cb = in TEST_F()767 Bind(&PolymorphicIdentity<DeleteCounter*>, Owned(counter)); in TEST_F()775 counter = new DeleteCounter(&deletes); in TEST_F()777 Bind(&DeleteCounter::VoidMethod0, Owned(counter)); in TEST_F()801 void operator()(DeleteCounter* c) { delete c; } in operator ()()805 ::testing::Types<std::unique_ptr<DeleteCounter>,[all …]