Home
last modified time | relevance | path

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

/PHP-7.0/ext/gd/
H A Dgd_compat.h12 int overflow2(int a, int b);
H A Dgd_compat.c53 int overflow2(int a, int b) in overflow2() function
H A Dgd.c98 int overflow2(int a, int b);
1399 if (overflow2(font->nchars, font->h) || overflow2(font->nchars * font->h, font->w )) { in PHP_FUNCTION()
/PHP-7.0/ext/gd/libgd/
H A Dgd_security.c20 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_webp.c123 if (overflow2(gdImageSX(im), 4)) { in gdImageWebpCtx()
127 if (overflow2(gdImageSX(im) * 4, gdImageSY(im))) { in gdImageWebpCtx()
H A Dgd.c126 if (overflow2(sx, sy)) { in gdImageCreate()
130 if (overflow2(sizeof(unsigned char *), sy)) { in gdImageCreate()
134 if (overflow2(sizeof(unsigned char *), sx)) { in gdImageCreate()
183 if (overflow2(sx, sy)) { in gdImageCreateTrueColor()
187 if (overflow2(sizeof(unsigned char *), sy)) { in gdImageCreateTrueColor()
191 if (overflow2(sizeof(int *), sx)) { in gdImageCreateTrueColor()
2383 if (overflow2(sizeof(int), srcW)) { in gdImageCopyResized()
2386 if (overflow2(sizeof(int), srcH)) { in gdImageCopyResized()
2648 if (overflow2(sizeof(int), n)) { in gdImageFilledPolygon()
2666 if (overflow2(sizeof(int), im->polyAllocated)) { in gdImageFilledPolygon()
H A Dgd_gd2.c145 if (overflow2(sizeof(t_chunk_info), nc)) { in _gd2GetHeader()
H A Dgd_interpolation.c901 if (overflow2(line_length, sizeof(ContributionType))) { in _gdContributionsAlloc()
911 if (overflow2(windows_size, sizeof(double))) { in _gdContributionsAlloc()

Completed in 58 milliseconds