Searched refs:bracket_size (Results 1 – 3 of 3) sorted by relevance
63 size_t bracket_size; in CanAllocFromThreadLocalRun() local64 size_t idx = SizeToIndexAndBracketSize(size, &bracket_size); in CanAllocFromThreadLocalRun()84 size_t bracket_size; in AllocFromThreadLocalRun() local85 size_t idx = SizeToIndexAndBracketSize(size, &bracket_size); in AllocFromThreadLocalRun()97 *bytes_allocated = bracket_size; in AllocFromThreadLocalRun()106 size_t bracket_size; in MaxBytesBulkAllocatedFor() local107 size_t idx = SizeToIndexAndBracketSize(size, &bracket_size); in MaxBytesBulkAllocatedFor()108 return numOfSlots[idx] * bracket_size; in MaxBytesBulkAllocatedFor()
125 Slot* Left(size_t bracket_size) { in Left() argument126 return reinterpret_cast<Slot*>(reinterpret_cast<uintptr_t>(this) - bracket_size); in Left()376 const size_t bracket_size = bracketSizes[idx]; in LastSlot() local378 Slot* last_slot = reinterpret_cast<Slot*>(end - bracket_size); in LastSlot()403 const size_t bracket_size = bracketSizes[idx]; in InitFreeList() local406 for (Slot* slot = LastSlot(); slot >= first_slot; slot = slot->Left(bracket_size)) { in InitFreeList()469 const size_t bracket_size = bracketSizes[idx]; in ToSlot() local472 DCHECK_EQ(offset_from_slot_base % bracket_size, static_cast<size_t>(0)); in ToSlot()473 size_t slot_idx = offset_from_slot_base / bracket_size; in ToSlot()479 const size_t bracket_size = bracketSizes[idx]; in SlotIndex() local[all …]
573 const size_t bracket_size = bracketSizes[idx]; in AllocRun() local574 const size_t num_of_bytes = num_of_slots * bracket_size; in AllocRun()645 size_t bracket_size; in AllocFromRunThreadUnsafe() local646 size_t idx = SizeToIndexAndBracketSize(size, &bracket_size); in AllocFromRunThreadUnsafe()650 *bytes_allocated = bracket_size; in AllocFromRunThreadUnsafe()651 *usable_size = bracket_size; in AllocFromRunThreadUnsafe()652 *bytes_tl_bulk_allocated = bracket_size; in AllocFromRunThreadUnsafe()664 size_t bracket_size; in AllocFromRun() local665 size_t idx = SizeToIndexAndBracketSize(size, &bracket_size); in AllocFromRun()726 *bytes_tl_bulk_allocated = thread_local_run->NumberOfFreeSlots() * bracket_size; in AllocFromRun()[all …]