Searched refs:tHeader (Results 1 – 2 of 2) sorted by relevance
98 if (headerSkip < sizeof(tHeader)) { in TPoolAllocator()99 headerSkip = (sizeof(tHeader) + alignmentMask) & ~alignmentMask; in TPoolAllocator()106 tHeader* next = inUseList->nextPage; in ~TPoolAllocator()107 inUseList->~tHeader(); in ~TPoolAllocator()117 tHeader* next = freeList->nextPage; in ~TPoolAllocator()183 tHeader* page = stack.back().page; in pop()188 inUseList->~tHeader(); in pop()190 tHeader* nextInUse = inUseList->nextPage; in pop()256 tHeader* memory = reinterpret_cast<tHeader*>(::new char[numBytesToAlloc]); in allocate()261 new(memory) tHeader(inUseList, (numBytesToAlloc + pageSize - 1) / pageSize); in allocate()[all …]
164 friend struct tHeader;166 struct tHeader { struct167 tHeader(tHeader* nextPage, size_t pageCount) : in tHeader() function175 ~tHeader() { in ~tHeader() argument182 tHeader* nextPage; argument191 tHeader* page; argument196 void* initializeAllocation(tHeader* block, unsigned char* memory, size_t numBytes) { in initializeAllocation()213 tHeader* freeList; // list of popped memory214 tHeader* inUseList; // list of all memory currently being used