Searched refs:checkedNextWriteOffset (Results 1 – 2 of 2) sorted by relevance
181 angle::base::CheckedNumeric<size_t> checkedNextWriteOffset = mNextAllocationOffset;182 checkedNextWriteOffset += sizeToAllocate;184 if (!mBuffer || !checkedNextWriteOffset.IsValid() ||185 checkedNextWriteOffset.ValueOrDie() >= mSize ||
2048 angle::base::CheckedNumeric<size_t> checkedNextWriteOffset = mNextAllocationOffset; in allocateFromCurrentBuffer() local2049 checkedNextWriteOffset += sizeToAllocate; in allocateFromCurrentBuffer()2051 if (!checkedNextWriteOffset.IsValid() || checkedNextWriteOffset.ValueOrDie() >= mSize) in allocateFromCurrentBuffer()2079 angle::base::CheckedNumeric<size_t> checkedNextWriteOffset = mNextAllocationOffset; in allocateWithAlignment() local2080 checkedNextWriteOffset += sizeToAllocate; in allocateWithAlignment()2082 if (!checkedNextWriteOffset.IsValid() || checkedNextWriteOffset.ValueOrDie() >= mSize) in allocateWithAlignment()