Searched refs:gdCalloc (Results 1 – 5 of 5) sorted by relevance
/PHP-5.5/ext/gd/libgd/ |
H A D | gdhelpers.h | 15 #define gdCalloc(nmemb, size) ecalloc(nmemb, size) macro
|
H A D | gd_gd2.c | 148 cidx = gdCalloc(sidx, 1); in _gd2GetHeader() 304 chunkBuf = gdCalloc(chunkMax, 1); in gdImageCreateFromGd2Ctx() 305 compBuf = gdCalloc(compMax, 1); in gdImageCreateFromGd2Ctx() 497 chunkBuf = gdCalloc(chunkMax, 1); in gdImageCreateFromGd2PartCtx() 498 compBuf = gdCalloc(compMax, 1); in gdImageCreateFromGd2PartCtx() 714 compData = gdCalloc(compMax, 1); in _gdImageGd2()
|
H A D | gd_webp.c | 185 if ((Y = (unsigned char *)gdCalloc(yuv_nbytes, sizeof(unsigned char))) == NULL) { in gdImageWebpCtx()
|
H A D | gd_topal.c | 1820 nim->pixels = gdCalloc (sizeof (unsigned char *), oim->sy); 1828 nim->pixels[i] = gdCalloc (sizeof (unsigned char *), oim->sx); 1848 cquantize = (my_cquantize_ptr) gdCalloc (sizeof (my_cquantizer), 1);
|
H A D | gd.c | 140 im = (gdImage *) gdCalloc(1, sizeof(gdImage)); in gdImageCreate() 152 im->pixels[i] = (unsigned char *) gdCalloc(sx, sizeof(unsigned char)); in gdImageCreate() 153 im->AA_opacity[i] = (unsigned char *) gdCalloc(sx, sizeof(unsigned char)); in gdImageCreate() 207 im->tpixels[i] = (int *) gdCalloc(sx, sizeof(int)); in gdImageCreateTrueColor() 208 im->AA_opacity[i] = (unsigned char *) gdCalloc(sx, sizeof(unsigned char)); in gdImageCreateTrueColor()
|
Completed in 18 milliseconds