Lines Matching refs:nodes
380 virtual SchedulingNode* PopHighestPriorityNode(ScopedArenaVector<SchedulingNode*>* nodes,
384 static void DeleteNodeAtIndex(ScopedArenaVector<SchedulingNode*>* nodes, size_t index) { in DeleteNodeAtIndex() argument
385 (*nodes)[index] = nodes->back(); in DeleteNodeAtIndex()
386 nodes->pop_back(); in DeleteNodeAtIndex()
400 SchedulingNode* PopHighestPriorityNode(ScopedArenaVector<SchedulingNode*>* nodes, in PopHighestPriorityNode() argument
403 DCHECK(!nodes->empty()); in PopHighestPriorityNode()
404 size_t select = rand_r(&seed_) % nodes->size(); in PopHighestPriorityNode()
405 SchedulingNode* select_node = (*nodes)[select]; in PopHighestPriorityNode()
406 DeleteNodeAtIndex(nodes, select); in PopHighestPriorityNode()
421 SchedulingNode* PopHighestPriorityNode(ScopedArenaVector<SchedulingNode*>* nodes,
428 SchedulingNode* SelectMaterializedCondition(ScopedArenaVector<SchedulingNode*>* nodes,