Home
last modified time | relevance | path

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

/external/libchrome/base/task_scheduler/
Dsequence.cc37 const int priority_index = static_cast<int>(queue_.front().traits.priority()); in TakeTask() local
38 DCHECK_GT(num_tasks_per_priority_[priority_index], 0U); in TakeTask()
39 --num_tasks_per_priority_[priority_index]; in TakeTask()
Dtask_scheduler_impl_unittest.cc196 for (size_t priority_index = static_cast<size_t>(TaskPriority::LOWEST); in GetTraitsExecutionModePairs() local
197 priority_index <= static_cast<size_t>(TaskPriority::HIGHEST); in GetTraitsExecutionModePairs()
198 ++priority_index) { in GetTraitsExecutionModePairs()
199 const TaskPriority priority = static_cast<TaskPriority>(priority_index); in GetTraitsExecutionModePairs()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/xds/
Dxds_cluster_resolver.cc683 size_t priority_index = 0; in OnEndpointChanged() local
692 priority_index += mechanism.num_priorities; in OnEndpointChanged()
697 priority_list.end(), priority_list_.begin() + priority_index, in OnEndpointChanged()
698 priority_list_.begin() + priority_index + mechanism.num_priorities); in OnEndpointChanged()
699 priority_index += mechanism.num_priorities; in OnEndpointChanged()