Lines Matching refs:slot

115   // The slot header.
124 // The slot right before this slot in terms of the address.
133 Slot* next_; // Next slot in the list.
157 Slot* slot;
176 slot = old_head;
183 slot->Clear();
188 return slot;
190 void Add(Slot* slot) {
194 DCHECK(slot != nullptr);
195 DCHECK(slot->Next() == nullptr);
204 *headp = slot;
206 *tailp = slot;
213 *headp = slot;
214 slot->SetNext(old_head);
282 for (Slot* slot = head; slot != nullptr; slot = slot->Next()) {
284 if (kUseTail && slot->Next() == nullptr) {
285 CHECK_EQ(slot, tail);
297 // (won't open up enough space to cause an extra slot to be available).
339 // | slot 0 |
341 // | slot 1 |
343 // | slot 2 |
347 // | last slot |
405 // Add backwards so the first slot is at the head of the list.
406 for (Slot* slot = LastSlot(); slot >= first_slot; slot = slot->Left(bracket_size)) {
407 free_list_.Add(slot);
420 // Allocates a slot in a run.
422 // Frees a slot in a run. This is used in a non-bulk free.
424 // Add the given slot to the bulk free list. Returns the bracket size.
426 // Add the given slot to the thread-local free list.
448 // Zero the run's header and the slot headers.
466 // Check a given pointer is a valid slot address and return it as Slot*.
477 size_t SlotIndex(Slot* slot) const {
480 const size_t offset_from_slot_base = reinterpret_cast<uint8_t*>(slot)
497 // The sizes (the slot sizes, in bytes) of the size brackets.
781 // Allocate/free a run slot.
785 // Allocate/free a run slot without acquiring locks.
866 // Returns the size of the allocated slot for a given allocated memory chunk.
868 // Returns the size of the allocated slot for a given size.