Home
last modified time | relevance | path

Searched refs:num_slots (Results 1 – 4 of 4) sorted by relevance

/art/runtime/gc/allocator/
Drosalloc.cc837 size_t num_slots = numOfSlots[idx]; in Dump() local
838 size_t num_vec = RoundUp(num_slots, 32) / 32; in Dump()
1032 inline uint32_t RosAlloc::Run::GetBitmapLastVectorMask(size_t num_slots, size_t num_vec) { in GetBitmapLastVectorMask() argument
1034 DCHECK_GE(num_slots * kBitsPerVec, num_vec); in GetBitmapLastVectorMask()
1035 size_t remain = num_vec * kBitsPerVec - num_slots; in GetBitmapLastVectorMask()
1042 const size_t num_slots = numOfSlots[idx]; in IsAllFree() local
1053 return alloc_bit_map_[num_vec - 1] == GetBitmapLastVectorMask(num_slots, num_vec); in IsAllFree()
1090 const size_t num_slots = numOfSlots[idx]; in SetAllocBitMapBitsForInvalidSlots() local
1091 const size_t num_vec = RoundUp(num_slots, 32) / 32; in SetAllocBitMapBitsForInvalidSlots()
1095 alloc_bit_map_[num_vec - 1] |= GetBitmapLastVectorMask(num_slots, num_vec); in SetAllocBitMapBitsForInvalidSlots()
[all …]
Drosalloc.h226 static uint32_t GetBitmapLastVectorMask(size_t num_slots, size_t num_vec);
/art/runtime/gc/accounting/
Datomic_stack.h69 bool AtomicBumpBack(size_t num_slots, T** start_address, T** end_address) { in AtomicBumpBack() argument
77 new_index = index + num_slots; in AtomicBumpBack()
/art/runtime/
Dreflection.cc41 size_t num_slots = shorty_len + 1; // +1 in case of receiver. in ArgArray() local
42 if (LIKELY((num_slots * 2) < kSmallArgArraySize)) { in ArgArray()
50 num_slots++; in ArgArray()
53 if (num_slots <= kSmallArgArraySize) { in ArgArray()
56 large_arg_array_.reset(new uint32_t[num_slots]); in ArgArray()