Home
last modified time | relevance | path

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

/PHP-5.5/ext/gd/libgd/
H A Dwbmp.c119 if (overflow2(sizeof (int), width)) { in createwbmp()
123 if (overflow2(sizeof (int) * width, height)) { in createwbmp()
188 if (overflow2(sizeof (int), wbmp->width) || in readwbmp()
189 overflow2(sizeof (int) * wbmp->width, wbmp->height)) in readwbmp()
H A Dgd_security.c20 int overflow2(int a, int b) in overflow2() function
H A Dgdhelpers.h29 int overflow2(int a, int b);
H A Dgd.c128 if (overflow2(sx, sy)) { in gdImageCreate()
132 if (overflow2(sizeof(unsigned char *), sy)) { in gdImageCreate()
136 if (overflow2(sizeof(unsigned char *), sx)) { in gdImageCreate()
185 if (overflow2(sx, sy)) { in gdImageCreateTrueColor()
189 if (overflow2(sizeof(unsigned char *), sy)) { in gdImageCreateTrueColor()
193 if (overflow2(sizeof(int *), sx)) { in gdImageCreateTrueColor()
2367 if (overflow2(sizeof(int), srcW)) { in gdImageCopyResized()
2370 if (overflow2(sizeof(int), srcH)) { in gdImageCopyResized()
2632 if (overflow2(sizeof(int), n)) { in gdImageFilledPolygon()
2650 if (overflow2(sizeof(int), im->polyAllocated)) { in gdImageFilledPolygon()
H A Dgd_gd2.c141 if (overflow2(sizeof(t_chunk_info), nc)) { in _gd2GetHeader()
H A Dgd_interpolation.c893 if (overflow2(line_length, sizeof(ContributionType))) { in _gdContributionsAlloc()
903 if (overflow2(windows_size, sizeof(double))) { in _gdContributionsAlloc()
/PHP-5.5/ext/gd/
H A Dgd_compat.h12 int overflow2(int a, int b);
H A Dgd_compat.c49 int overflow2(int a, int b) in overflow2() function
H A Dgd.c1470 if (overflow2(font->nchars, font->h) || overflow2(font->nchars * font->h, font->w )) { in PHP_FUNCTION()

Completed in 49 milliseconds