Home
last modified time | relevance | path

Searched refs:gdCalloc (Results 1 – 5 of 5) sorted by relevance

/php-src/ext/gd/libgd/
H A Dgdhelpers.h15 #define gdCalloc(nmemb, size) ecalloc(nmemb, size) macro
H A Dgd_gd2.c153 cidx = gdCalloc(sidx, 1); in _gd2GetHeader()
309 chunkBuf = gdCalloc(chunkMax, 1); in gdImageCreateFromGd2Ctx()
310 compBuf = gdCalloc(compMax, 1); in gdImageCreateFromGd2Ctx()
506 chunkBuf = gdCalloc(chunkMax, 1); in gdImageCreateFromGd2PartCtx()
507 compBuf = gdCalloc(compMax, 1); in gdImageCreateFromGd2PartCtx()
723 compData = gdCalloc(compMax, 1); in _gdImageGd2()
H A Dgd_bmp.c172 …uncompressed_row = uncompressed_row_start = (unsigned char *) gdCalloc(gdImageSX(im) * 2, sizeof(c… in gdImageBmpCtx()
445 if (!(hdr= (bmp_hdr_t *)gdCalloc(1, sizeof(bmp_hdr_t)))) { in gdImageCreateFromBmpCtx()
459 if (!(info = (bmp_info_t *)gdCalloc(1, sizeof(bmp_info_t)))) { in gdImageCreateFromBmpCtx()
H A Dgd_topal.c1501 nim->pixels = gdCalloc (oim->sy, sizeof (unsigned char *)); in gdImageTrueColorToPaletteBody()
1509 nim->pixels[i] = gdCalloc (oim->sx, sizeof (unsigned char *)); in gdImageTrueColorToPaletteBody()
1517 cquantize = (my_cquantize_ptr) gdCalloc (1, sizeof (my_cquantizer)); in gdImageTrueColorToPaletteBody()
H A Dgd.c156 im = (gdImage *) gdCalloc(1, sizeof(gdImage)); in gdImageCreate()
167 im->pixels[i] = (unsigned char *) gdCalloc(sx, sizeof(unsigned char)); in gdImageCreate()
219 im->tpixels[i] = (int *) gdCalloc(sx, sizeof(int)); in gdImageCreateTrueColor()

Completed in 25 milliseconds