Searched refs:gdMalloc (Results 1 – 12 of 12) sorted by relevance
75 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()
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()
141 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 …]
255 if ((palette = (png_colorp) gdMalloc (256 * sizeof (png_color))) == NULL) { in gdImageCreateFromPngCtx()733 row_pointers[j] = (png_bytep) gdMalloc(width); in gdImagePngCtxEx()
582 a = (tweencolor_t *) gdMalloc (sizeof (tweencolor_t));952 tmpstr = (char *) gdMalloc(BUFSIZ);
895 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 42 milliseconds