Lines Matching refs:nodes
373 virtual SchedulingNode* PopHighestPriorityNode(ScopedArenaVector<SchedulingNode*>* nodes,
377 static void DeleteNodeAtIndex(ScopedArenaVector<SchedulingNode*>* nodes, size_t index) { in DeleteNodeAtIndex() argument
378 (*nodes)[index] = nodes->back(); in DeleteNodeAtIndex()
379 nodes->pop_back(); in DeleteNodeAtIndex()
393 SchedulingNode* PopHighestPriorityNode(ScopedArenaVector<SchedulingNode*>* nodes, in PopHighestPriorityNode() argument
396 DCHECK(!nodes->empty()); in PopHighestPriorityNode()
397 size_t select = rand_r(&seed_) % nodes->size(); in PopHighestPriorityNode()
398 SchedulingNode* select_node = (*nodes)[select]; in PopHighestPriorityNode()
399 DeleteNodeAtIndex(nodes, select); in PopHighestPriorityNode()
415 SchedulingNode* PopHighestPriorityNode(ScopedArenaVector<SchedulingNode*>* nodes,
422 SchedulingNode* SelectMaterializedCondition(ScopedArenaVector<SchedulingNode*>* nodes,