Home
last modified time | relevance | path

Searched refs:overflow2 (Results 1 – 12 of 12) sorted by relevance

/php-src/ext/gd/
H A Dgd_compat.h5 int overflow2(int a, int b);
H A Dgd_compat.c10 int overflow2(int a, int b) in overflow2() function
H A Dgd.c104 int overflow2(int a, int b);
578 if (overflow2(font->nchars, font->h) || overflow2(font->nchars * font->h, font->w )) { in PHP_FUNCTION()
590 if (overflow2(font->nchars, font->h) || overflow2(font->nchars * font->h, font->w )) { in PHP_FUNCTION()
/php-src/ext/gd/libgd/
H A Dgd_security.c21 int overflow2(int a, int b) in overflow2() function
H A Dwbmp.c120 if (overflow2(sizeof (int), width)) { in createwbmp()
124 if (overflow2(sizeof (int) * width, height)) { in createwbmp()
192 if (overflow2(sizeof (int), wbmp->width) || in readwbmp()
193 overflow2(sizeof (int) * wbmp->width, wbmp->height)) in readwbmp()
H A Dgdhelpers.h29 int overflow2(int a, int b);
H A Dgd_tga.c221 if(overflow2(tga->width, tga->height)) { in read_image_tga()
225 if(overflow2(tga->width * tga->height, pixel_block_size)) { in read_image_tga()
230 if(overflow2(image_block_size, sizeof(int))) { in read_image_tga()
H A Dgd_webp.c125 if (overflow2(gdImageSX(im), 4)) { in gdImageWebpCtx()
129 if (overflow2(gdImageSX(im) * 4, gdImageSY(im))) { in gdImageWebpCtx()
H A Dgd.c146 if (overflow2(sx, sy)) { in gdImageCreate()
149 if (overflow2(sizeof(unsigned char *), sy)) { in gdImageCreate()
152 if (overflow2(sizeof(unsigned char), sx)) { in gdImageCreate()
200 if (overflow2(sx, sy)) { in gdImageCreateTrueColor()
203 if (overflow2(sizeof(int *), sy)) { in gdImageCreateTrueColor()
206 if (overflow2(sizeof(int), sx)) { in gdImageCreateTrueColor()
2496 if (overflow2(sizeof(int), srcW)) { in gdImageCopyResized()
2499 if (overflow2(sizeof(int), srcH)) { in gdImageCopyResized()
2743 if (overflow2(sizeof(int), n)) { in gdImageFilledPolygon()
2761 if (overflow2(sizeof(int), im->polyAllocated)) { in gdImageFilledPolygon()
[all …]
H A Dgd_gd2.c140 if (overflow2(*ncx, *ncy)) { in _gd2GetHeader()
146 if (overflow2(sizeof(t_chunk_info), nc)) { in _gd2GetHeader()
H A Dgd_avif.c516 if (overflow2(gdImageSX(im), gdImageSY(im))) { in gdImageAvifCtx()
H A Dgd_interpolation.c818 if (overflow2(windows_size, sizeof(double))) { in _gdContributionsAlloc()
829 if (overflow2(line_length, sizeof(ContributionType))) { in _gdContributionsAlloc()

Completed in 65 milliseconds