Lines Matching refs:allocationSize
217 // much memory the caller asked for. allocationSize is the total
220 size_t allocationSize = TAllocation::allocationSize(numBytes);
222 if (allocationSize < numBytes)
229 if (allocationSize <= pageSize - currentPageOffset) {
234 currentPageOffset += allocationSize;
240 if (allocationSize > pageSize - headerSkip) {
245 size_t numBytesToAlloc = allocationSize + headerSkip;
247 if (numBytesToAlloc < allocationSize)
282 currentPageOffset = (headerSkip + allocationSize + alignmentMask) & ~alignmentMask;