Lines Matching refs:CurArraySize
29 CurArraySize = Size > 16 ? 1 << (Log2_32_Ceil(Size) + 1) : 32; in shrink_and_clear()
33 CurArray = (const void**)malloc(sizeof(void*) * CurArraySize); in shrink_and_clear()
35 memset(CurArray, -1, CurArraySize*sizeof(void*)); in shrink_and_clear()
40 if (LLVM_UNLIKELY(size() * 4 >= CurArraySize * 3)) { in insert_imp_big()
42 Grow(CurArraySize < 64 ? 128 : CurArraySize * 2); in insert_imp_big()
43 } else if (LLVM_UNLIKELY(CurArraySize - NumNonEmpty < CurArraySize / 8)) { in insert_imp_big()
46 Grow(CurArraySize); in insert_imp_big()
89 unsigned Bucket = DenseMapInfo<void *>::getHashValue(Ptr) & (CurArraySize-1); in FindBucketFor()
90 unsigned ArraySize = CurArraySize; in FindBucketFor()
125 CurArraySize = NewSize; in Grow()
151 CurArray = (const void**)malloc(sizeof(void*) * that.CurArraySize); in SmallPtrSetImplBase()
170 assert(CurArraySize == RHS.CurArraySize && in CopyFrom()
179 } else if (CurArraySize != RHS.CurArraySize) { in CopyFrom()
181 CurArray = (const void**)malloc(sizeof(void*) * RHS.CurArraySize); in CopyFrom()
184 sizeof(void*) * RHS.CurArraySize); in CopyFrom()
197 CurArraySize = RHS.CurArraySize; in CopyHelper()
227 CurArraySize = RHS.CurArraySize; in MoveHelper()
232 RHS.CurArraySize = SmallSize; in MoveHelper()
244 std::swap(this->CurArraySize, RHS.CurArraySize); in swap()
257 std::swap(RHS.CurArraySize, this->CurArraySize); in swap()
271 std::swap(RHS.CurArraySize, this->CurArraySize); in swap()
292 assert(this->CurArraySize == RHS.CurArraySize); in swap()