Lines Matching refs:newOffset
291 int32_t newOffset = mSlotsOffset - size; in allocRow() local
292 if (newOffset < (int32_t) mAllocOffset) { in allocRow()
294 newOffset = mSlotsOffset - size; in allocRow()
295 if (newOffset < (int32_t) mAllocOffset) { in allocRow()
299 memset(offsetToPtr(newOffset), 0, size); in allocRow()
300 mSlotsOffset = newOffset; in allocRow()
311 size_t newOffset = mSlotsOffset + size; in freeLastRow() local
312 if (newOffset > mSize) { in freeLastRow()
315 mSlotsOffset = newOffset; in freeLastRow()
326 size_t newOffset = mAllocOffset + alignedSize; in alloc() local
327 if (newOffset > mSlotsOffset) { in alloc()
329 newOffset = mAllocOffset + alignedSize; in alloc()
330 if (newOffset > mSlotsOffset) { in alloc()
335 mAllocOffset = newOffset; in alloc()