Home
last modified time | relevance | path

Searched refs:from_here (Results 1 – 25 of 59) sorted by relevance

123

/external/libchrome/base/task_scheduler/
Dpost_task.cc25 bool PostTask(const Location& from_here, OnceClosure task) override { in PostTask() argument
26 PostTaskWithTraits(from_here, traits_, std::move(task)); in PostTask()
45 void PostTask(const Location& from_here, OnceClosure task) { in PostTask() argument
46 PostDelayedTask(from_here, std::move(task), TimeDelta()); in PostTask()
49 void PostDelayedTask(const Location& from_here, in PostDelayedTask() argument
52 PostDelayedTaskWithTraits(from_here, TaskTraits(), std::move(task), delay); in PostDelayedTask()
55 void PostTaskAndReply(const Location& from_here, in PostTaskAndReply() argument
58 PostTaskWithTraitsAndReply(from_here, TaskTraits(), std::move(task), in PostTaskAndReply()
62 void PostTaskWithTraits(const Location& from_here, in PostTaskWithTraits() argument
65 PostDelayedTaskWithTraits(from_here, traits, std::move(task), TimeDelta()); in PostTaskWithTraits()
[all …]
Dpost_task.h73 BASE_EXPORT void PostTask(const Location& from_here, OnceClosure task);
81 BASE_EXPORT void PostDelayedTask(const Location& from_here,
90 BASE_EXPORT void PostTaskAndReply(const Location& from_here,
100 void PostTaskAndReplyWithResult(const Location& from_here, in PostTaskAndReplyWithResult() argument
103 PostTaskWithTraitsAndReplyWithResult(from_here, TaskTraits(), std::move(task), in PostTaskAndReplyWithResult()
113 void PostTaskAndReplyWithResult(const Location& from_here, in PostTaskAndReplyWithResult() argument
117 from_here, OnceCallback<TaskReturnType()>(std::move(task)), in PostTaskAndReplyWithResult()
122 BASE_EXPORT void PostTaskWithTraits(const Location& from_here,
131 BASE_EXPORT void PostDelayedTaskWithTraits(const Location& from_here,
140 BASE_EXPORT void PostTaskWithTraitsAndReply(const Location& from_here,
[all …]
Dscheduler_worker_pool.cc57 bool PostDelayedTask(const Location& from_here, in PostDelayedTask() argument
65 Task(from_here, std::move(closure), traits_, delay), in PostDelayedTask()
95 bool PostDelayedTask(const Location& from_here, in PostDelayedTask() argument
101 Task task(from_here, std::move(closure), traits_, delay); in PostDelayedTask()
108 bool PostNonNestableDelayedTask(const Location& from_here, in PostNonNestableDelayedTask() argument
112 return PostDelayedTask(from_here, std::move(closure), delay); in PostNonNestableDelayedTask()
/external/libchrome/base/
Dsequenced_task_runner.h114 bool PostNonNestableTask(const Location& from_here, OnceClosure task);
116 virtual bool PostNonNestableDelayedTask(const Location& from_here,
124 bool DeleteSoon(const Location& from_here, const T* object) { in DeleteSoon() argument
125 return DeleteOrReleaseSoonInternal(from_here, &DeleteHelper<T>::DoDelete, in DeleteSoon()
130 bool DeleteSoon(const Location& from_here, std::unique_ptr<T> object) { in DeleteSoon() argument
131 return DeleteSoon(from_here, object.release()); in DeleteSoon()
138 bool ReleaseSoon(const Location& from_here, const T* object) { in ReleaseSoon() argument
139 return DeleteOrReleaseSoonInternal(from_here, &ReleaseHelper<T>::DoRelease, in ReleaseSoon()
147 bool DeleteOrReleaseSoonInternal(const Location& from_here,
Dtask_runner.cc25 bool PostTask(const Location& from_here, OnceClosure task) override;
36 bool PostTaskAndReplyTaskRunner::PostTask(const Location& from_here, in PostTask() argument
38 return destination_->PostTask(from_here, std::move(task)); in PostTask()
43 bool TaskRunner::PostTask(const Location& from_here, OnceClosure task) { in PostTask() argument
44 return PostDelayedTask(from_here, std::move(task), base::TimeDelta()); in PostTask()
47 bool TaskRunner::PostTaskAndReply(const Location& from_here, in PostTaskAndReply() argument
51 from_here, std::move(task), std::move(reply)); in PostTaskAndReply()
Ddeferred_sequenced_task_runner.cc37 bool DeferredSequencedTaskRunner::PostDelayedTask(const Location& from_here, in PostDelayedTask() argument
43 return target_task_runner_->PostDelayedTask(from_here, std::move(task), in PostDelayedTask()
47 QueueDeferredTask(from_here, std::move(task), delay, in PostDelayedTask()
61 const Location& from_here, in PostNonNestableDelayedTask() argument
68 from_here, std::move(task), delay); in PostNonNestableDelayedTask()
70 QueueDeferredTask(from_here, std::move(task), delay, in PostNonNestableDelayedTask()
91 void DeferredSequencedTaskRunner::QueueDeferredTask(const Location& from_here, in QueueDeferredTask() argument
102 deferred_task.posted_from = from_here; in QueueDeferredTask()
Dsequenced_task_runner.cc13 bool SequencedTaskRunner::PostNonNestableTask(const Location& from_here, in PostNonNestableTask() argument
15 return PostNonNestableDelayedTask(from_here, std::move(task), in PostNonNestableTask()
20 const Location& from_here, in DeleteOrReleaseSoonInternal() argument
23 return PostNonNestableTask(from_here, BindOnce(deleter, object)); in DeleteOrReleaseSoonInternal()
Dtask_runner_util.h35 const Location& from_here, in PostTaskAndReplyWithResult() argument
42 from_here, in PostTaskAndReplyWithResult()
57 const Location& from_here, in PostTaskAndReplyWithResult() argument
61 task_runner, from_here, OnceCallback<TaskReturnType()>(std::move(task)), in PostTaskAndReplyWithResult()
Dobserver_list_threadsafe.h79 : observer_list(observer_list_in), from_here(from_here_in) {}
82 Location from_here;
130 current_notification->from_here,
162 void Notify(const Location& from_here, Method m, Params&&... params) {
170 from_here,
172 observer.first, NotificationData(this, from_here, method)));
Dtask_runner.h64 bool PostTask(const Location& from_here, OnceClosure task);
69 virtual bool PostDelayedTask(const Location& from_here,
132 bool PostTaskAndReply(const Location& from_here,
Ddeferred_sequenced_task_runner.h38 bool PostDelayedTask(const Location& from_here,
44 bool PostNonNestableDelayedTask(const Location& from_here,
78 void QueueDeferredTask(const Location& from_here,
/external/libbrillo/brillo/
Dlocation_logging.h12 #define VLOG_LOC_STREAM(from_here, verbose_level) \ argument
13 logging::LogMessage((from_here).file_name(), (from_here).line_number(), \
16 #define VLOG_LOC(from_here, verbose_level) \ argument
17 LAZY_STREAM(VLOG_LOC_STREAM(from_here, verbose_level), \
20 #define DVLOG_LOC(from_here, verbose_level) \ argument
21 LAZY_STREAM(VLOG_LOC_STREAM(from_here, verbose_level), \
/external/libchrome/base/threading/
Dpost_task_and_reply_impl.cc22 PostTaskAndReplyRelay(const Location& from_here, in PostTaskAndReplyRelay() argument
25 : from_here_(from_here), in PostTaskAndReplyRelay()
113 bool PostTaskAndReplyImpl::PostTaskAndReply(const Location& from_here, in PostTaskAndReply() argument
116 DCHECK(task) << from_here.ToString(); in PostTaskAndReply()
117 DCHECK(reply) << from_here.ToString(); in PostTaskAndReply()
119 return PostTask(from_here, in PostTaskAndReply()
121 PostTaskAndReplyRelay(from_here, std::move(task), in PostTaskAndReply()
Dpost_task_and_reply_impl.h35 bool PostTaskAndReply(const Location& from_here,
40 virtual bool PostTask(const Location& from_here, OnceClosure task) = 0;
/external/libchrome/base/message_loop/
Dmessage_loop_task_runner.cc27 bool MessageLoopTaskRunner::PostDelayedTask(const Location& from_here, in PostDelayedTask() argument
30 DCHECK(!task.is_null()) << from_here.ToString(); in PostDelayedTask()
31 return incoming_queue_->AddToIncomingQueue(from_here, std::move(task), delay, in PostDelayedTask()
36 const Location& from_here, in PostNonNestableDelayedTask() argument
39 DCHECK(!task.is_null()) << from_here.ToString(); in PostNonNestableDelayedTask()
40 return incoming_queue_->AddToIncomingQueue(from_here, std::move(task), delay, in PostNonNestableDelayedTask()
Dwatchable_io_message_pump_posix.cc10 FdWatchControllerInterface(const Location& from_here) in FdWatchControllerInterface() argument
11 : created_from_location_(from_here) {} in FdWatchControllerInterface()
/external/libchrome/base/task/
Dcancelable_task_tracker.h72 const Location& from_here,
76 const Location& from_here,
82 const Location& from_here, in PostTaskAndReplyWithResult() argument
87 task_runner, from_here, in PostTaskAndReplyWithResult()
101 const Location& from_here, in PostTaskAndReplyWithResult() argument
105 task_runner, from_here, in PostTaskAndReplyWithResult()
Dcancelable_task_tracker.cc69 const Location& from_here, in PostTask() argument
73 return PostTaskAndReply(task_runner, from_here, std::move(task), DoNothing()); in PostTask()
78 const Location& from_here, in PostTaskAndReply() argument
95 from_here, BindOnce(&RunIfNotCanceled, flag, std::move(task)), in PostTaskAndReply()
/external/libchrome/base/test/
Dtest_simple_task_runner.cc19 bool TestSimpleTaskRunner::PostDelayedTask(const Location& from_here, in PostDelayedTask() argument
23 pending_tasks_.push_back(TestPendingTask(from_here, std::move(task), in PostDelayedTask()
29 bool TestSimpleTaskRunner::PostNonNestableDelayedTask(const Location& from_here, in PostNonNestableDelayedTask() argument
33 pending_tasks_.push_back(TestPendingTask(from_here, std::move(task), in PostNonNestableDelayedTask()
Dtest_mock_time_task_runner.cc91 bool PostDelayedTask(const Location& from_here, in PostDelayedTask() argument
96 return target_->PostDelayedTask(from_here, std::move(task), delay); in PostDelayedTask()
102 bool PostNonNestableDelayedTask(const Location& from_here, in PostNonNestableDelayedTask() argument
107 return target_->PostNonNestableDelayedTask(from_here, std::move(task), in PostNonNestableDelayedTask()
354 bool TestMockTimeTaskRunner::PostDelayedTask(const Location& from_here, in PostDelayedTask() argument
358 tasks_.push(TestOrderedPendingTask(from_here, std::move(task), now_ticks_, in PostDelayedTask()
366 const Location& from_here, in PostNonNestableDelayedTask() argument
369 return PostDelayedTask(from_here, std::move(task), delay); in PostNonNestableDelayedTask()
Dnull_task_runner.cc13 bool NullTaskRunner::PostDelayedTask(const Location& from_here, in PostDelayedTask() argument
19 bool NullTaskRunner::PostNonNestableDelayedTask(const Location& from_here, in PostNonNestableDelayedTask() argument
Dnull_task_runner.h22 bool PostDelayedTask(const Location& from_here,
25 bool PostNonNestableDelayedTask(const Location& from_here,
/external/libbrillo/brillo/message_loops/
Dmessage_loop.h53 virtual TaskId PostDelayedTask(const base::Location& from_here,
66 TaskId PostTask(const base::Location& from_here, base::OnceClosure task) { in PostTask() argument
67 return PostDelayedTask(from_here, std::move(task), base::TimeDelta()); in PostTask()
Dfake_message_loop.cc17 const base::Location& from_here, in PostDelayedTask() argument
28 tasks_.emplace(current_id, ScheduledTask{from_here, std::move(task)}); in PostDelayedTask()
30 VLOG_LOC(from_here, 1) << "Scheduling delayed task_id " << current_id in PostDelayedTask()
Dbase_message_loop.cc81 const base::Location& from_here, in PostDelayedTask() argument
86 from_here, in PostDelayedTask()
90 DVLOG_LOC(from_here, 1) << "Scheduling delayed task_id " << task_id in PostDelayedTask()
96 DelayedTask{from_here, task_id, std::move(task)}); in PostDelayedTask()

123