Home
last modified time | relevance | path

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

/PHP-7.0/ext/gd/libgd/
H A Dgd_io_dp.c75 ctx = (dpIOCtx *) gdMalloc (sizeof (dpIOCtx)); in gdNewDynamicCtxEx()
187 dp = (dynamicPtr *) gdMalloc (sizeof (dynamicPtr)); in newDynamic()
278 dp->data = gdMalloc(initialSize); in allocDynamic()
340 newPtr = gdMalloc(required); in gdReallocDynamic()
H A Dgdhelpers.h16 #define gdMalloc(size) emalloc(size) macro
H A Dwbmp.c116 if ((wbmp = (Wbmp *) gdMalloc (sizeof (Wbmp))) == NULL) in createwbmp()
156 if ((wbmp = (Wbmp *) gdMalloc (sizeof (Wbmp))) == NULL) in readwbmp()
H A Dgd_io_file.c53 ctx = (fileIOCtx *) gdMalloc(sizeof (fileIOCtx)); in gdNewFileCtx()
H A Dgd_io_ss.c54 ctx = (ssIOCtxPtr) gdMalloc (sizeof (ssIOCtx)); in gdNewSSCtx()
H A Dgdcache.c169 map = (key_value_t *) gdMalloc (sizeof (key_value_t)); in cacheFetch()
H A Dgdkanji.c592 t = (unsigned char *) gdMalloc (BUFSIZ);
615 output = (unsigned char *) gdMalloc (BUFSIZ);
H A Dgd_webp.c131 argb = (uint8_t *)gdMalloc(gdImageSX(im) * 4 * gdImageSY(im)); in gdImageWebpCtx()
H A Dgd.c141 im->pixels = (unsigned char **) gdMalloc(sizeof(unsigned char *) * sy); in gdImageCreate()
142 im->AA_opacity = (unsigned char **) gdMalloc(sizeof(unsigned char *) * sy); in gdImageCreate()
195 im = (gdImage *) gdMalloc(sizeof(gdImage)); in gdImageCreateTrueColor()
197 im->tpixels = (int **) gdMalloc(sizeof(int *) * sy); in gdImageCreateTrueColor()
198 im->AA_opacity = (unsigned char **) gdMalloc(sizeof(unsigned char *) * sy); in gdImageCreateTrueColor()
2390 stx = (int *) gdMalloc (sizeof (int) * srcW); in gdImageCopyResized()
2391 sty = (int *) gdMalloc (sizeof (int) * srcH); in gdImageCopyResized()
2659 im->polyInts = (int *) gdMalloc(sizeof(int) * n); in gdImageFilledPolygon()
2763 im->style = (int *) gdMalloc(sizeof(int) * noOfPixels); in gdImageSetStyle()
3067 src->tpixels = (int **) gdMalloc(sizeof(int *) * sy); in gdImagePaletteToTrueColor()
[all …]
H A Dgd_png.c255 if ((palette = (png_colorp) gdMalloc (256 * sizeof (png_color))) == NULL) { in gdImageCreateFromPngCtx()
733 row_pointers[j] = (png_bytep) gdMalloc(width); in gdImagePngCtxEx()
H A Dgdft.c582 a = (tweencolor_t *) gdMalloc (sizeof (tweencolor_t));
952 tmpstr = (char *) gdMalloc(BUFSIZ);
H A Dgd_interpolation.c895 res = (LineContribType *) gdMalloc(sizeof(LineContribType)); in _gdContributionsAlloc()
905 res->ContribRow = (ContributionType *) gdMalloc(line_length * sizeof(ContributionType)); in _gdContributionsAlloc()
914 res->ContribRow[u].Weights = (double *) gdMalloc(windows_size * sizeof(double)); in _gdContributionsAlloc()

Completed in 49 milliseconds