Lines Matching defs:num_slots
837 size_t num_slots = numOfSlots[idx];
838 size_t num_vec = RoundUp(num_slots, 32) / 32;
1032 inline uint32_t RosAlloc::Run::GetBitmapLastVectorMask(size_t num_slots, size_t num_vec) {
1034 DCHECK_GE(num_slots * kBitsPerVec, num_vec);
1035 size_t remain = num_vec * kBitsPerVec - num_slots;
1042 const size_t num_slots = numOfSlots[idx];
1053 return alloc_bit_map_[num_vec - 1] == GetBitmapLastVectorMask(num_slots, num_vec);
1090 const size_t num_slots = numOfSlots[idx];
1091 const size_t num_vec = RoundUp(num_slots, 32) / 32;
1095 alloc_bit_map_[num_vec - 1] |= GetBitmapLastVectorMask(num_slots, num_vec);
1119 size_t num_slots = numOfSlots[idx];
1121 DCHECK_EQ(slot_base + num_slots * bracket_size, reinterpret_cast<byte*>(this) + numOfPages[idx] * kPageSize);
1122 size_t num_vec = RoundUp(num_slots, 32) / 32;
1125 DCHECK_GE(num_slots, slots);
1127 size_t end = std::min(num_slots - slots, static_cast<size_t>(32));
2000 const size_t num_slots = numOfSlots[idx];
2001 const size_t num_vec = RoundUp(num_slots, 32) / 32;
2004 CHECK_EQ(slot_base + num_slots * bracket_size,
2009 uint32_t last_word_mask = GetBitmapLastVectorMask(num_slots, num_vec);
2079 DCHECK_GE(num_slots, slots) << "Out of bounds";
2082 size_t end = std::min(num_slots - slots, static_cast<size_t>(32));