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 __anonb16ef2870111::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::__anona5486f440111::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.cc238 class DeleteCounter { class
240 explicit DeleteCounter(int* deletes) in DeleteCounter() function in base::__anon87abc92c0111::DeleteCounter
244 ~DeleteCounter() { in ~DeleteCounter()
702 DeleteCounter* counter = new DeleteCounter(&deletes); in TEST_F()
706 RepeatingCallback<DeleteCounter*()> no_capture_cb = in TEST_F()
707 BindRepeating(&PolymorphicIdentity<DeleteCounter*>, Owned(counter)); in TEST_F()
715 counter = new DeleteCounter(&deletes); in TEST_F()
717 BindRepeating(&DeleteCounter::VoidMethod0, Owned(counter)); in TEST_F()
726 DeleteCounter* counter = new DeleteCounter(&deletes); in TEST_F()
730 OnceCallback<DeleteCounter*()> no_capture_cb = in TEST_F()
[all …]