Searched refs:overflow2 (Results 1 – 12 of 12) sorted by relevance
/PHP-8.3/ext/gd/ |
H A D | gd_compat.h | 5 int overflow2(int a, int b);
|
H A D | gd_compat.c | 10 int overflow2(int a, int b) in overflow2() function
|
H A D | gd.c | 104 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.3/ext/gd/libgd/ |
H A D | gd_security.c | 21 int overflow2(int a, int b) in overflow2() function
|
H A D | wbmp.c | 119 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 D | gdhelpers.h | 29 int overflow2(int a, int b);
|
H A D | gd_tga.c | 218 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 D | gd_webp.c | 125 if (overflow2(gdImageSX(im), 4)) { in gdImageWebpCtx() 129 if (overflow2(gdImageSX(im) * 4, gdImageSY(im))) { in gdImageWebpCtx()
|
H A D | gd.c | 176 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 D | gd_avif.c | 510 if (overflow2(gdImageSX(im), gdImageSY(im))) { in gdImageAvifCtx()
|
H A D | gd_gd2.c | 146 if (overflow2(sizeof(t_chunk_info), nc)) { in _gd2GetHeader()
|
H A D | gd_interpolation.c | 828 if (overflow2(windows_size, sizeof(double))) { in _gdContributionsAlloc() 839 if (overflow2(line_length, sizeof(ContributionType))) { in _gdContributionsAlloc()
|
Completed in 106 milliseconds