Home
last modified time | relevance | path

Searched refs:CheckMulOverflow (Results 1 - 6 of 6) sorted by relevance

/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/include/
H A Dimage_utils.h50 static bool CheckMulOverflow(int32_t width, int32_t bytesPerPixel);
51 static bool CheckMulOverflow(int32_t width, int32_t height, int32_t bytesPerPixel);
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/
H A Dimage_utils_test.cpp266 * @tc.desc: CheckMulOverflow
275 bool res = ImageUtils::CheckMulOverflow(width, height, bytesPerPixel); in HWTEST_F()
433 * @tc.desc: CheckMulOverflow
441 bool ret = ImageUtils::CheckMulOverflow(width, bytesPerPixel); in HWTEST_F()
445 ret = ImageUtils::CheckMulOverflow(width, bytesPerPixel); in HWTEST_F()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/
H A Dpost_proc.cpp322 if (ImageUtils::CheckMulOverflow(dstImageInfo.size.width, pixelBytes)) { in CheckScanlineFilter()
374 if (ImageUtils::CheckMulOverflow(dstImageInfo.size.width, dstImageInfo.size.height, pixelBytes)) { in ConvertProc()
426 if (ImageUtils::CheckMulOverflow(imageInfo.size.width, imageInfo.size.height, pixelBytes)) { in AllocBuffer()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/
H A Dimage_utils.cpp375 bool ImageUtils::CheckMulOverflow(int32_t width, int32_t bytesPerPixel) in CheckMulOverflow() function in OHOS::Media::ImageUtils
389 bool ImageUtils::CheckMulOverflow(int32_t width, int32_t height, int32_t bytesPerPixel) in CheckMulOverflow() function in OHOS::Media::ImageUtils
/foundation/multimedia/image_framework/plugins/common/libs/image/libbmpplugin/src/
H A Dbmp_decoder.cpp304 if (ImageUtils::CheckMulOverflow(dstInfo.width(), dstInfo.height(), dstInfo.bytesPerPixel())) { in Decode()
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/
H A Dext_decoder.cpp543 if (ImageUtils::CheckMulOverflow(dstInfo_.width(), dstInfo_.height(), dstInfo_.bytesPerPixel())) { in HeapMemAlloc()

Completed in 11 milliseconds