Searched refs:checkedEndByte (Results 1 – 2 of 2) sorted by relevance
2580 CheckedNumeric<size_t> checkedEndByte = in ShouldApplyLastRowPaddingWorkaround() local2588 checkedEndByte += rowPitch - checkedPixelBytes * size.width; in ShouldApplyLastRowPaddingWorkaround()2591 ANGLE_CHECK_GL_MATH(contextGL, checkedEndByte.IsValid()); in ShouldApplyLastRowPaddingWorkaround()2593 *shouldApplyOut = checkedEndByte.ValueOrDie() > static_cast<size_t>(pixelBuffer->getSize()); in ShouldApplyLastRowPaddingWorkaround()
1148 CheckedNumeric<size_t> checkedEndByte(endByte); in ValidImageDataSize() local1150 checkedEndByte += checkedOffset; in ValidImageDataSize()1152 if (!checkedEndByte.IsValid() || in ValidImageDataSize()1153 (checkedEndByte.ValueOrDie() > static_cast<size_t>(pixelUnpackBuffer->getSize()))) in ValidImageDataSize()6709 CheckedNumeric<size_t> checkedEndByte(endByte); in ValidatePixelPack() local6711 checkedEndByte += checkedOffset; in ValidatePixelPack()6713 if (checkedEndByte.ValueOrDie() > static_cast<size_t>(pixelPackBuffer->getSize())) in ValidatePixelPack()