Searched refs:checkedValue (Results 1 – 2 of 2) sorted by relevance
13 public static <T> T checkNotNull(T value, String checkedValue) { in checkNotNull() argument15 throw new NullPointerException(checkedValue + " should not be null"); in checkNotNull()
675 CheckedInt<uint32_t> checkedValue(bytesPerComponent * componentsPerPixel); in computeImageSizeInBytes() local676 checkedValue *= width; in computeImageSizeInBytes()677 if (!checkedValue.isValid()) in computeImageSizeInBytes()679 unsigned int validRowSize = checkedValue.value(); in computeImageSizeInBytes()684 checkedValue += padding; in computeImageSizeInBytes()687 checkedValue *= (height - 1); in computeImageSizeInBytes()688 checkedValue += validRowSize; in computeImageSizeInBytes()689 if (!checkedValue.isValid()) in computeImageSizeInBytes()691 *imageSizeInBytes = checkedValue.value(); in computeImageSizeInBytes()