/external/libchrome/base/ |
D | callback_helpers.cc | 9 ScopedClosureRunner::ScopedClosureRunner() = default; 11 ScopedClosureRunner::ScopedClosureRunner(OnceClosure closure) in ScopedClosureRunner() function in base::ScopedClosureRunner 14 ScopedClosureRunner::~ScopedClosureRunner() { in ~ScopedClosureRunner() 19 ScopedClosureRunner::ScopedClosureRunner(ScopedClosureRunner&& other) in ScopedClosureRunner() function in base::ScopedClosureRunner 22 ScopedClosureRunner& ScopedClosureRunner::operator=( in operator =() 23 ScopedClosureRunner&& other) { in operator =() 28 void ScopedClosureRunner::RunAndReset() { in RunAndReset() 32 void ScopedClosureRunner::ReplaceClosure(OnceClosure closure) { in ReplaceClosure() 36 OnceClosure ScopedClosureRunner::Release() { in Release()
|
D | callback_helpers.h | 75 class BASE_EXPORT ScopedClosureRunner { 77 ScopedClosureRunner(); 78 explicit ScopedClosureRunner(OnceClosure closure); 79 ~ScopedClosureRunner(); 81 ScopedClosureRunner(ScopedClosureRunner&& other); 85 ScopedClosureRunner& operator=(ScopedClosureRunner&& other); 99 DISALLOW_COPY_AND_ASSIGN(ScopedClosureRunner);
|
D | callback_helpers_unittest.cc | 38 base::ScopedClosureRunner runner(base::Bind(&Increment, &run_count)); in TEST() 48 base::ScopedClosureRunner runner(base::Bind(&Increment, &run_count)); in TEST() 61 base::ScopedClosureRunner runner; in TEST() 74 base::ScopedClosureRunner runner(base::Bind(&Increment, &run_count_3)); in TEST() 85 std::unique_ptr<base::ScopedClosureRunner> runner( in TEST() 86 new base::ScopedClosureRunner(base::Bind(&Increment, &run_count))); in TEST() 87 base::ScopedClosureRunner runner2(std::move(*runner)); in TEST() 98 base::ScopedClosureRunner runner(base::Bind(&Increment, &run_count_1)); in TEST() 100 base::ScopedClosureRunner runner2(base::Bind(&Increment, &run_count_2)); in TEST()
|
D | syslog_logging.cc | 67 base::ScopedClosureRunner auto_deregister( in ~EventLogMessage()
|
/external/libchrome/base/threading/ |
D | thread_task_runner_handle_unittest.cc | 51 ScopedClosureRunner undo_override_2 = in TEST() 58 ScopedClosureRunner undo_override_3 = in TEST() 70 ScopedClosureRunner undo_override_4 = in TEST() 91 ScopedClosureRunner undo_override_1 = in TEST() 98 ScopedClosureRunner undo_override_2 = in TEST() 116 ScopedClosureRunner undo_override = in TEST()
|
D | thread_task_runner_handle.cc | 41 ScopedClosureRunner ThreadTaskRunnerHandle::OverrideForTesting( in OverrideForTesting() 59 return ScopedClosureRunner(base::BindOnce( in OverrideForTesting() 72 return ScopedClosureRunner(base::BindOnce( in OverrideForTesting()
|
D | thread_task_runner_handle.h | 39 static ScopedClosureRunner OverrideForTesting(
|
/external/libchrome/base/task/ |
D | cancelable_task_tracker.cc | 37 ScopedClosureRunner* cleanup_runner) { in IsCanceled() 123 ScopedClosureRunner* untrack_and_delete_flag_runner = in NewTrackedTaskId() 124 new ScopedClosureRunner(BindOnce( in NewTrackedTaskId()
|
/external/libchrome/base/message_loop/ |
D | incoming_task_queue.cc | 133 ScopedClosureRunner capture_deleted_all_originally_pending(BindOnce( in Clear() 140 BindOnce([](ScopedClosureRunner) {}, in Clear() argument
|
/external/libchrome/libchrome_tools/patches/ |
D | fix-fd-watcher-leak.patch | 72 + // Use a ScopedClosureRunner to ensure that |done| is signaled even if the 93 + [](Watcher *watcher, ScopedClosureRunner closure) { 101 + ScopedClosureRunner(Bind(&WaitableEvent::Signal,
|
/external/libchrome/base/test/ |
D | test_simple_task_runner.cc | 88 ScopedClosureRunner undo_override; in RunPendingTasks()
|
D | test_mock_time_task_runner.h | 115 ScopedClosureRunner on_destroy_;
|
D | test_mock_time_task_runner.cc | 390 ScopedClosureRunner undo_override; in ProcessAllTasksNoLaterThan()
|
/external/libbrillo/brillo/ |
D | secure_allocator.h | 87 base::ScopedClosureRunner fail_on_allocation_error(base::Bind([]() {
|
/external/libbrillo/brillo/dbus/ |
D | dbus_object.h | 518 base::ScopedClosureRunner release_interface_cb_;
|
/external/v4l2_codec2/components/ |
D | V4L2DecodeComponent.cpp | 200 ::base::ScopedClosureRunner done_caller( in startTask()
|
/external/libchrome/base/files/ |
D | file_util_unittest.cc | 2379 ScopedClosureRunner file_closer(Bind(IgnoreResult(&CloseFile), file)); in TEST_F()
|