Home
last modified time | relevance | path

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

/PHP-8.0/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.c106 int overflow2(int a, int b);
677 if (overflow2(font->nchars, font->h) || overflow2(font->nchars * font->h, font->w )) { in PHP_FUNCTION()
689 if (overflow2(font->nchars, font->h) || overflow2(font->nchars * font->h, font->w )) { in PHP_FUNCTION()
/PHP-8.0/ext/gd/libgd/
H A Dgd_security.c21 int overflow2(int a, int b) in overflow2() function
H A Dwbmp.c119 if (overflow2(sizeof (int), width)) { in createwbmp()
123 if (overflow2(sizeof (int) * width, height)) { in createwbmp()
191 if (overflow2(sizeof (int), wbmp->width) || in readwbmp()
192 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.c124 if (overflow2(gdImageSX(im), 4)) { in gdImageWebpCtx()
128 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_gd2.c146 if (overflow2(sizeof(t_chunk_info), nc)) { in _gd2GetHeader()
H A Dgd_interpolation.c829 if (overflow2(windows_size, sizeof(double))) { in _gdContributionsAlloc()
840 if (overflow2(line_length, sizeof(ContributionType))) { in _gdContributionsAlloc()

Completed in 47 milliseconds