Home
last modified time | relevance | path

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

/PHP-7.2/ext/gd/libgd/
H A Dgd_io_dp.c75 ctx = (dpIOCtx *) gdMalloc (sizeof (dpIOCtx)); in gdNewDynamicCtxEx()
190 dp = (dynamicPtr *) gdMalloc (sizeof (dynamicPtr)); in newDynamic()
281 dp->data = gdMalloc(initialSize); in allocDynamic()
343 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_png.c270 if ((palette = (png_colorp) gdMalloc (256 * sizeof (png_color))) == NULL) { in gdImageCreateFromPngCtx()
754 row_pointers[j] = (png_bytep) gdMalloc(width); in gdImagePngCtxEx()
H A Dgd.c189 im->pixels = (unsigned char **) gdMalloc(sizeof(unsigned char *) * sy); in gdImageCreate()
240 im = (gdImage *) gdMalloc(sizeof(gdImage)); in gdImageCreateTrueColor()
242 im->tpixels = (int **) gdMalloc(sizeof(int *) * sy); in gdImageCreateTrueColor()
2443 stx = (int *) gdMalloc (sizeof (int) * srcW); in gdImageCopyResized()
2444 sty = (int *) gdMalloc (sizeof (int) * srcH); in gdImageCopyResized()
2703 im->polyInts = (int *) gdMalloc(sizeof(int) * n); in gdImageFilledPolygon()
2810 im->style = (int *) gdMalloc(sizeof(int) * noOfPixels); in gdImageSetStyle()
3112 src->tpixels = (int **) gdMalloc(sizeof(int *) * sy); in gdImagePaletteToTrueColor()
3122 src->tpixels[y] = (int *) gdMalloc(sx * sizeof(int)); in gdImagePaletteToTrueColor()
H A Dgd_bmp.c257 copy_buffer = (unsigned char *) gdMalloc(1024 * sizeof(unsigned char)); in gdImageBmpCtx()
299 uncompressed_row = (unsigned char *) gdMalloc(length); in compress_row()
H A Dgdft.c582 a = (tweencolor_t *) gdMalloc (sizeof (tweencolor_t));
959 tmpstr = (char *) gdMalloc(BUFSIZ);
H A Dgd_interpolation.c829 res = (LineContribType *) gdMalloc(sizeof(LineContribType)); in _gdContributionsAlloc()
839 res->ContribRow = (ContributionType *) gdMalloc(line_length * sizeof(ContributionType)); in _gdContributionsAlloc()
845 res->ContribRow[u].Weights = (double *) gdMalloc(weights_size); in _gdContributionsAlloc()

Completed in 31 milliseconds