Lines Matching defs:allocationSize
216 // much memory the caller asked for. allocationSize is the total
219 size_t allocationSize = TAllocation::allocationSize(numBytes);
221 if (allocationSize < numBytes)
228 if (allocationSize <= pageSize - currentPageOffset) {
233 currentPageOffset += allocationSize;
239 if (allocationSize > pageSize - headerSkip) {
244 size_t numBytesToAlloc = allocationSize + headerSkip;
246 if (numBytesToAlloc < allocationSize)
281 currentPageOffset = (headerSkip + allocationSize + alignmentMask) & ~alignmentMask;