Home
last modified time | relevance | path

Searched refs:DeleteCounter (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/base/memory/
Dscoped_vector_unittest.cc261 class DeleteCounter { class
263 explicit DeleteCounter(int* deletes) in DeleteCounter() function in __anon246693ca0111::DeleteCounter
267 ~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 …]
/external/webrtc/webrtc/system_wrappers/source/
Dscoped_vector_unittest.cc255 class DeleteCounter { class
257 explicit DeleteCounter(int* deletes) in DeleteCounter() function in webrtc::__anon021ada270111::DeleteCounter
261 ~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()
/external/libchrome/base/
Dbind_unittest.cc232 class DeleteCounter { class
234 explicit DeleteCounter(int* deletes) in DeleteCounter() function in base::__anon8607446f0111::DeleteCounter
238 ~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 …]