Lines Matching defs:num_slots
867 size_t num_slots = numOfSlots[idx];
868 size_t num_vec = RoundUp(num_slots, 32) / 32;
916 const size_t num_slots = numOfSlots[idx];
917 const size_t num_vec = RoundUp(num_slots, 32) / 32;
924 ~GetBitmapLastVectorMask(num_slots, num_vec);
926 size_t num_free_slots = num_slots - num_alloc_slots;
927 DCHECK_LE(num_alloc_slots, num_slots);
928 DCHECK_LE(num_free_slots, num_slots);
1043 inline uint32_t RosAlloc::Run::GetBitmapLastVectorMask(size_t num_slots, size_t num_vec) {
1045 DCHECK_GE(num_vec * kBitsPerVec, num_slots);
1047 size_t remain = num_vec * kBitsPerVec - num_slots;
1054 const size_t num_slots = numOfSlots[idx];
1065 return alloc_bit_map_[num_vec - 1] == GetBitmapLastVectorMask(num_slots, num_vec);
1092 const size_t num_slots = numOfSlots[idx];
1093 const size_t num_vec = RoundUp(num_slots, 32) / 32;
1097 alloc_bit_map_[num_vec - 1] |= GetBitmapLastVectorMask(num_slots, num_vec);
1121 size_t num_slots = numOfSlots[idx];
1123 DCHECK_EQ(slot_base + num_slots * bracket_size,
1125 size_t num_vec = RoundUp(num_slots, 32) / 32;
1129 DCHECK_GE(num_slots, slots);
1136 size_t end = std::min(num_slots - slots, static_cast<size_t>(32));
2023 const size_t num_slots = numOfSlots[idx];
2024 const size_t num_vec = RoundUp(num_slots, 32) / 32;
2027 CHECK_EQ(slot_base + num_slots * bracket_size,
2032 uint32_t last_word_mask = GetBitmapLastVectorMask(num_slots, num_vec);
2105 DCHECK_GE(num_slots, slots) << "Out of bounds";
2108 size_t end = std::min(num_slots - slots, static_cast<size_t>(32));