Lines Matching full:next
27 constexpr ElementMemory() : next(nullptr) {} in ElementMemory()
31 ElementMemory* next; member
50 MemoryChunk* next; member
54 MemoryChunk() : prev(nullptr), next(nullptr), freeCount(sizePerChunk) in MemoryChunk()
58 elements[i].memory.next = &(elements[i + 1].memory); in MemoryChunk()
61 elements[sizePerChunk - 1].memory.next = nullptr; in MemoryChunk()
90 auto* next = ptr->next; in ~MemoryChunkList() local
97 ptr = next; in ~MemoryChunkList()
121 memory->next = freeList; in Delete()
134 freeList = memory->next; in GetMemory()
144 newChunk->next = head; in AllocateChunk()
159 … for (auto* current = freeList; count < sizePerChunk - 1 && current; current = current->next) { in FreeChunk()
162 prev->next = current->next; in FreeChunk()
164 newFreeList = current->next; in FreeChunk()
175 if (chunk->next) { in FreeChunk()
176 chunk->next->prev = chunk->prev; in FreeChunk()
179 chunk->prev->next = chunk->next; in FreeChunk()
183 head = chunk->next; in FreeChunk()