/external/libchrome/base/task/ |
D | cancelable_task_tracker.h | 61 typedef int64_t TaskId; typedef 62 static const TaskId kBadTaskId; 71 TaskId PostTask(TaskRunner* task_runner, 75 TaskId PostTaskAndReply(TaskRunner* task_runner, 81 TaskId PostTaskAndReplyWithResult(TaskRunner* task_runner, in PostTaskAndReplyWithResult() 100 TaskId PostTaskAndReplyWithResult(TaskRunner* task_runner, in PostTaskAndReplyWithResult() 119 TaskId NewTrackedTaskId(IsCanceledCallback* is_canceled_cb); 128 void TryCancel(TaskId id); 139 void Track(TaskId id, CancellationFlag* flag); 140 void Untrack(TaskId id); [all …]
|
D | cancelable_task_tracker.cc | 56 const CancelableTaskTracker::TaskId CancelableTaskTracker::kBadTaskId = 0; 67 CancelableTaskTracker::TaskId CancelableTaskTracker::PostTask( in PostTask() 76 CancelableTaskTracker::TaskId CancelableTaskTracker::PostTaskAndReply( in PostTaskAndReply() 89 TaskId id = next_id_; in PostTaskAndReply() 106 CancelableTaskTracker::TaskId CancelableTaskTracker::NewTrackedTaskId( in NewTrackedTaskId() 111 TaskId id = next_id_; in NewTrackedTaskId() 135 void CancelableTaskTracker::TryCancel(TaskId id) { in TryCancel() 164 void CancelableTaskTracker::Track(TaskId id, CancellationFlag* flag) { in Track() 170 void CancelableTaskTracker::Untrack(TaskId id) { in Untrack()
|
D | cancelable_task_tracker_unittest.cc | 112 CancelableTaskTracker::TaskId task_id = task_tracker_.PostTask( in TEST_F() 130 CancelableTaskTracker::TaskId task_id = in TEST_F() 149 CancelableTaskTracker::TaskId task_id = in TEST_F() 168 CancelableTaskTracker::TaskId task_id = task_tracker_.PostTaskAndReply( in TEST_F() 189 CancelableTaskTracker::TaskId task_id = in TEST_F() 360 void TryCancel(CancelableTaskTracker::TaskId task_id, in TryCancel() 372 CancelableTaskTracker::TaskId task_id = in TEST_F() 391 CancelableTaskTracker::TaskId task_id = in TEST_F()
|
/external/cronet/base/task/ |
D | cancelable_task_tracker.h | 64 typedef int64_t TaskId; typedef 65 static const TaskId kBadTaskId; 77 TaskId PostTask(TaskRunner* task_runner, 81 TaskId PostTaskAndReply(TaskRunner* task_runner, 87 TaskId PostTaskAndReplyWithResult(TaskRunner* task_runner, in PostTaskAndReplyWithResult() 109 TaskId NewTrackedTaskId(IsCanceledCallback* is_canceled_cb); 118 void TryCancel(TaskId id); 144 void Track(TaskId id, scoped_refptr<TaskCancellationFlag> flag); 145 void Untrack(TaskId id); 151 small_map<std::map<TaskId, scoped_refptr<TaskCancellationFlag>>, 4> [all …]
|
D | cancelable_task_tracker.cc | 34 const CancelableTaskTracker::TaskId CancelableTaskTracker::kBadTaskId = 0; 46 CancelableTaskTracker::TaskId CancelableTaskTracker::PostTask( in PostTask() 56 CancelableTaskTracker::TaskId CancelableTaskTracker::PostTaskAndReply( in PostTaskAndReply() 69 TaskId id = next_id_; in PostTaskAndReply() 88 CancelableTaskTracker::TaskId CancelableTaskTracker::NewTrackedTaskId( in NewTrackedTaskId() 93 TaskId id = next_id_; in NewTrackedTaskId() 114 void CancelableTaskTracker::TryCancel(TaskId id) { in TryCancel() 173 void CancelableTaskTracker::Track(TaskId id, in Track() 181 void CancelableTaskTracker::Untrack(TaskId id) { in Untrack()
|
D | cancelable_task_tracker_unittest.cc | 73 CancelableTaskTracker::TaskId task_id = task_tracker_.PostTask( in TEST_F() 91 CancelableTaskTracker::TaskId task_id = in TEST_F() 110 CancelableTaskTracker::TaskId task_id = in TEST_F() 129 CancelableTaskTracker::TaskId task_id = task_tracker_.PostTaskAndReply( in TEST_F() 150 CancelableTaskTracker::TaskId task_id = in TEST_F() 235 CancelableTaskTracker::TaskId task_id = task_tracker_.PostTask( in TEST_F() 333 void TryCancel(CancelableTaskTracker::TaskId task_id, in TryCancel() 345 CancelableTaskTracker::TaskId task_id = in TEST_F() 364 CancelableTaskTracker::TaskId task_id = in TEST_F()
|
/external/ot-br-posix/src/common/ |
D | task_runner.hpp | 72 typedef uint64_t TaskId; typedef in otbr::TaskRunner 109 TaskId Post(Milliseconds aDelay, Task<void> aTask); 118 void Cancel(TaskId aTaskId); 158 DelayedTask(TaskId aTaskId, Milliseconds aDelay, Task<void> aTask) in DelayedTask() 172 TaskId mTaskId; 177 TaskId PushTask(Milliseconds aDelay, Task<void> aTask); 186 std::set<TaskId> mActiveTaskIds; 187 TaskId mNextTaskId = 1;
|
D | task_runner.cpp | 78 TaskRunner::TaskId TaskRunner::Post(Milliseconds aDelay, Task<void> aTask) in Post() 132 TaskRunner::TaskId TaskRunner::PushTask(Milliseconds aDelay, Task<void> aTask) in PushTask() 136 TaskId taskId; in PushTask() 165 void TaskRunner::Cancel(TaskRunner::TaskId aTaskId) in Cancel() 186 TaskId taskId = top.mTaskId; in PopTasks()
|
/external/libbrillo/brillo/message_loops/ |
D | fake_message_loop.h | 39 TaskId PostDelayedTask(const base::Location& from_here, 43 bool CancelTask(TaskId task_id) override; 59 std::map<MessageLoop::TaskId, ScheduledTask> tasks_; 65 std::pair<base::Time, MessageLoop::TaskId>, 66 std::vector<std::pair<base::Time, MessageLoop::TaskId>>, 67 std::greater<std::pair<base::Time, MessageLoop::TaskId>>> fire_order_; 72 MessageLoop::TaskId last_id_ = kTaskIdNull;
|
D | message_loop.h | 23 using TaskId = uint64_t; variable 27 static const TaskId kTaskIdNull; 53 virtual TaskId PostDelayedTask(const base::Location& from_here, 57 TaskId PostDelayedTask(base::OnceClosure task, base::TimeDelta delay) { in PostDelayedTask() 63 TaskId PostTask(base::OnceClosure task) { in PostTask() 66 TaskId PostTask(const base::Location& from_here, base::OnceClosure task) { in PostTask() 74 virtual bool CancelTask(TaskId task_id) = 0;
|
D | base_message_loop.h | 44 TaskId PostDelayedTask(const base::Location& from_here, 48 bool CancelTask(TaskId task_id) override; 70 void OnRanPostedTask(MessageLoop::TaskId task_id); 73 TaskId NextTaskId(); 81 MessageLoop::TaskId task_id; 90 std::map<MessageLoop::TaskId, DelayedTask> delayed_tasks_; 98 MessageLoop::TaskId last_id_{kTaskIdNull};
|
D | message_loop_test.cc | 44 using TaskId = MessageLoop::TaskId; typedef 84 TaskId task_id = in TYPED_TEST() 94 TaskId task_id = in TYPED_TEST() 105 TaskId task_id = in TYPED_TEST() 127 TaskId task_id; in TYPED_TEST() 131 [](bool* cancel_result, MessageLoop* loop, TaskId* task_id) { in TYPED_TEST()
|
D | base_message_loop.cc | 80 MessageLoop::TaskId BaseMessageLoop::PostDelayedTask( in PostDelayedTask() 84 TaskId task_id = NextTaskId(); in PostDelayedTask() 100 bool BaseMessageLoop::CancelTask(TaskId task_id) { in CancelTask() 162 MessageLoop::TaskId BaseMessageLoop::NextTaskId() { in NextTaskId() 163 TaskId res; in NextTaskId() 172 void BaseMessageLoop::OnRanPostedTask(MessageLoop::TaskId task_id) { in OnRanPostedTask()
|
D | mock_message_loop.h | 38 static_cast<TaskId(FakeMessageLoop::*)( in MockMessageLoop() 52 MOCK_METHOD(TaskId, 57 MOCK_METHOD(bool, CancelTask, (TaskId), (override));
|
D | fake_message_loop.cc | 16 MessageLoop::TaskId FakeMessageLoop::PostDelayedTask( in PostDelayedTask() 25 MessageLoop::TaskId current_id = ++last_id_; in PostDelayedTask() 36 bool FakeMessageLoop::CancelTask(TaskId task_id) { in CancelTask()
|
D | fake_message_loop_test.cc | 25 using TaskId = MessageLoop::TaskId; typedef
|
D | message_loop_utils.cc | 16 MessageLoop::TaskId task_id = loop->PostDelayedTask( in MessageLoopRunUntil()
|
D | message_loop.cc | 22 const MessageLoop::TaskId MessageLoop::kTaskIdNull = 0;
|
/external/tensorflow/tensorflow/lite/delegates/gpu/common/memory_management/ |
D | types.h | 27 using TaskId = size_t; variable 37 TaskId first_task; 38 TaskId last_task; 40 TensorUsageRecord(TensorSizeT size, TaskId first, TaskId last) in TensorUsageRecord()
|
D | internal.h | 84 QueueRecord(TaskId task_id, size_t obj_id) in QueueRecord() 94 TaskId last_task;
|
D | internal.cc | 66 TaskId num_tasks = 0; in CalculateTaskProfiles() 74 for (TaskId task_id = usage_records[rec_id].first_task; in CalculateTaskProfiles()
|
D | greedy_by_breadth_assignment.cc | 37 TaskId task_id;
|
/external/tensorflow/tensorflow/lite/delegates/gpu/common/ |
D | memory_management.h | 34 using TaskId = size_t; variable
|
/external/tensorflow/tensorflow/lite/delegates/gpu/metal/ |
D | inference_context.cc | 511 static_cast<TaskId>(usage.second.x), in AllocateMemoryForBuffers() 512 static_cast<TaskId>(usage.second.y)}); in AllocateMemoryForBuffers() 621 static_cast<TaskId>(usage.second.x), in AllocateMemoryForStrongShapes() 622 static_cast<TaskId>(usage.second.y)}); in AllocateMemoryForStrongShapes()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/ |
D | inference_context.cc | 193 static_cast<TaskId>(usage.second.x), in GetBufferAsignment() 194 static_cast<TaskId>(usage.second.y)}); in GetBufferAsignment() 630 static_cast<TaskId>(usage.second.x), in AllocateStrongShapesTensors() 631 static_cast<TaskId>(usage.second.y)}); in AllocateStrongShapesTensors()
|