Lines Matching refs:NumNonEmpty
31 NumNonEmpty = NumTombstones = 0; in shrink_and_clear()
44 } else if (LLVM_UNLIKELY(CurArraySize - NumNonEmpty < CurArraySize / 8)) { in insert_imp_big()
59 ++NumNonEmpty; // Track density. in insert_imp_big()
117 NumNonEmpty -= NumTombstones; in Grow()
177 NumNonEmpty = RHS.NumNonEmpty; in CopyHelper()
195 std::copy(RHS.CurArray, RHS.CurArray + RHS.NumNonEmpty, CurArray); in MoveHelper()
203 NumNonEmpty = RHS.NumNonEmpty; in MoveHelper()
209 RHS.NumNonEmpty = 0; in MoveHelper()
220 std::swap(this->NumNonEmpty, RHS.NumNonEmpty); in swap()
231 std::copy(RHS.CurArray, RHS.CurArray + RHS.NumNonEmpty, this->SmallArray); in swap()
233 std::swap(this->NumNonEmpty, RHS.NumNonEmpty); in swap()
244 std::copy(this->CurArray, this->CurArray + this->NumNonEmpty, in swap()
247 std::swap(RHS.NumNonEmpty, this->NumNonEmpty); in swap()
256 unsigned MinNonEmpty = std::min(this->NumNonEmpty, RHS.NumNonEmpty); in swap()
259 if (this->NumNonEmpty > MinNonEmpty) { in swap()
261 this->SmallArray + this->NumNonEmpty, in swap()
264 std::copy(RHS.SmallArray + MinNonEmpty, RHS.SmallArray + RHS.NumNonEmpty, in swap()
268 std::swap(this->NumNonEmpty, RHS.NumNonEmpty); in swap()