Home
last modified time | relevance | path

Searched refs:checkedNextWriteOffset (Results 1 – 2 of 2) sorted by relevance

/external/angle/src/libANGLE/renderer/metal/
Dmtl_buffer_pool.mm181 angle::base::CheckedNumeric<size_t> checkedNextWriteOffset = mNextAllocationOffset;
182 checkedNextWriteOffset += sizeToAllocate;
184 if (!mBuffer || !checkedNextWriteOffset.IsValid() ||
185 checkedNextWriteOffset.ValueOrDie() >= mSize ||
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_helpers.cpp2048 angle::base::CheckedNumeric<size_t> checkedNextWriteOffset = mNextAllocationOffset; in allocateFromCurrentBuffer() local
2049 checkedNextWriteOffset += sizeToAllocate; in allocateFromCurrentBuffer()
2051 if (!checkedNextWriteOffset.IsValid() || checkedNextWriteOffset.ValueOrDie() >= mSize) in allocateFromCurrentBuffer()
2079 angle::base::CheckedNumeric<size_t> checkedNextWriteOffset = mNextAllocationOffset; in allocateWithAlignment() local
2080 checkedNextWriteOffset += sizeToAllocate; in allocateWithAlignment()
2082 if (!checkedNextWriteOffset.IsValid() || checkedNextWriteOffset.ValueOrDie() >= mSize) in allocateWithAlignment()