Searched refs:gdMalloc (Results 1 – 13 of 13) sorted by relevance
75 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()
16 #define gdMalloc(size) emalloc(size) macro
116 if ((wbmp = (Wbmp *) gdMalloc (sizeof (Wbmp))) == NULL) in createwbmp()156 if ((wbmp = (Wbmp *) gdMalloc (sizeof (Wbmp))) == NULL) in readwbmp()
53 ctx = (fileIOCtx *) gdMalloc(sizeof (fileIOCtx)); in gdNewFileCtx()
54 ctx = (ssIOCtxPtr) gdMalloc (sizeof (ssIOCtx)); in gdNewSSCtx()
169 map = (key_value_t *) gdMalloc (sizeof (key_value_t)); in cacheFetch()
592 t = (unsigned char *) gdMalloc (BUFSIZ);615 output = (unsigned char *) gdMalloc (BUFSIZ);
131 argb = (uint8_t *)gdMalloc(gdImageSX(im) * 4 * gdImageSY(im)); in gdImageWebpCtx()
270 if ((palette = (png_colorp) gdMalloc (256 * sizeof (png_color))) == NULL) { in gdImageCreateFromPngCtx()754 row_pointers[j] = (png_bytep) gdMalloc(width); in gdImagePngCtxEx()
189 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()
257 copy_buffer = (unsigned char *) gdMalloc(1024 * sizeof(unsigned char)); in gdImageBmpCtx()299 uncompressed_row = (unsigned char *) gdMalloc(length); in compress_row()
582 a = (tweencolor_t *) gdMalloc (sizeof (tweencolor_t));959 tmpstr = (char *) gdMalloc(BUFSIZ);
829 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