Lines Matching refs:Pending
454 void resizePending(std::vector<std::unique_ptr<EmitterWorkItem>> *Pending, in resizePending() argument
456 if (Index >= Pending->size()) in resizePending()
457 Utils::reserveAndResize(*Pending, Index + 1); in resizePending()
580 std::vector<std::unique_ptr<EmitterWorkItem>> Pending; in emitItems() local
592 resizePending(&Pending, DesiredSequenceNumber); in emitItems()
594 if (Pending[DesiredSequenceNumber] == nullptr) { in emitItems()
606 resizePending(&Pending, ItemSeq); in emitItems()
607 Pending[ItemSeq] = std::move(RawItem); in emitItems()
613 Pending[DesiredSequenceNumber] = std::move(RawItem); in emitItems()
616 const auto *CurrentWorkItem = Pending[DesiredSequenceNumber].get(); in emitItems()
641 RandomShuffle(Pending.begin() + ShuffleStartIndex, in emitItems()
642 Pending.begin() + ShuffleEndIndex, in emitItems()
648 std::unique_ptr<EmitterWorkItem> Item = std::move(Pending[I]); in emitItems()