HomeSort by relevance Sort by last modified time
    Searched refs:TAllocation (Results 1 - 2 of 2) sorted by null

  /external/chromium_org/third_party/angle/src/compiler/
PoolAlloc.cpp 117 const unsigned char TAllocation::guardBlockBeginVal = 0xfb;
118 const unsigned char TAllocation::guardBlockEndVal = 0xfe;
119 const unsigned char TAllocation::userDataFill = 0xcd;
122 const size_t TAllocation::guardBlockSize = 16;
124 const size_t TAllocation::guardBlockSize = 0;
130 void TAllocation::checkGuardBlock(unsigned char* blockMem, unsigned char val, const char* locText) const
219 size_t allocationSize = TAllocation::allocationSize(numBytes);
290 void TAllocation::checkAllocList() const
292 for (const TAllocation* alloc = this; alloc != 0; alloc = alloc->prevAlloc)
PoolAlloc.h 43 class TAllocation {
45 TAllocation(size_t size, unsigned char* mem, TAllocation* prev = 0) :
87 TAllocation* prevAlloc; // prior allocation in the chain
96 inline static size_t headerSize() { return sizeof(TAllocation); }
177 TAllocation* lastAllocation;
190 new(memory) TAllocation(numBytes, memory, block->lastAllocation);
191 block->lastAllocation = reinterpret_cast<TAllocation*>(memory);
194 return TAllocation::offsetAllocation(memory);

Completed in 77 milliseconds