Home
last modified time | relevance | path

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

/PHP-8.2/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);
584 if (overflow2(font->nchars, font->h) || overflow2(font->nchars * font->h, font->w )) { in PHP_FUNCTION()
596 if (overflow2(font->nchars, font->h) || overflow2(font->nchars * font->h, font->w )) { in PHP_FUNCTION()
/PHP-8.2/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.c218 if(overflow2(tga->width, tga->height)) { in read_image_tga()
222 if(overflow2(tga->width * tga->height, pixel_block_size)) { in read_image_tga()
227 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.c176 if (overflow2(sx, sy)) { in gdImageCreate()
179 if (overflow2(sizeof(unsigned char *), sy)) { in gdImageCreate()
182 if (overflow2(sizeof(unsigned char), sx)) { in gdImageCreate()
230 if (overflow2(sx, sy)) { in gdImageCreateTrueColor()
233 if (overflow2(sizeof(int *), sy)) { in gdImageCreateTrueColor()
236 if (overflow2(sizeof(int), sx)) { in gdImageCreateTrueColor()
2442 if (overflow2(sizeof(int), srcW)) { in gdImageCopyResized()
2445 if (overflow2(sizeof(int), srcH)) { in gdImageCopyResized()
2689 if (overflow2(sizeof(int), n)) { in gdImageFilledPolygon()
2707 if (overflow2(sizeof(int), im->polyAllocated)) { in gdImageFilledPolygon()
[all …]
H A Dgd_avif.c516 if (overflow2(gdImageSX(im), gdImageSY(im))) { in gdImageAvifCtx()
H A Dgd_gd2.c146 if (overflow2(sizeof(t_chunk_info), nc)) { in _gd2GetHeader()
H A Dgd_interpolation.c828 if (overflow2(windows_size, sizeof(double))) { in _gdContributionsAlloc()
839 if (overflow2(line_length, sizeof(ContributionType))) { in _gdContributionsAlloc()

Completed in 53 milliseconds