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()377 const size_t bracket_size = bracketSizes[idx]; in LastSlot() local379 Slot* last_slot = reinterpret_cast<Slot*>(end - bracket_size); in LastSlot()404 const size_t bracket_size = bracketSizes[idx]; in InitFreeList() local407 for (Slot* slot = LastSlot(); slot >= first_slot; slot = slot->Left(bracket_size)) { in InitFreeList()470 const size_t bracket_size = bracketSizes[idx]; in ToSlot() local473 DCHECK_EQ(offset_from_slot_base % bracket_size, static_cast<size_t>(0)); in ToSlot()474 size_t slot_idx = offset_from_slot_base / bracket_size; in ToSlot()480 const size_t bracket_size = bracketSizes[idx]; in SlotIndex() local[all …]
569 const size_t bracket_size = bracketSizes[idx]; in AllocRun() local570 const size_t num_of_bytes = num_of_slots * bracket_size; in AllocRun()641 size_t bracket_size; in AllocFromRunThreadUnsafe() local642 size_t idx = SizeToIndexAndBracketSize(size, &bracket_size); in AllocFromRunThreadUnsafe()646 *bytes_allocated = bracket_size; in AllocFromRunThreadUnsafe()647 *usable_size = bracket_size; in AllocFromRunThreadUnsafe()648 *bytes_tl_bulk_allocated = bracket_size; in AllocFromRunThreadUnsafe()660 size_t bracket_size; in AllocFromRun() local661 size_t idx = SizeToIndexAndBracketSize(size, &bracket_size); in AllocFromRun()722 *bytes_tl_bulk_allocated = thread_local_run->NumberOfFreeSlots() * bracket_size; in AllocFromRun()[all …]