Home
last modified time | relevance | path

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

/PHP-8.1/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 (sizeof (unsigned char *), oim->sy); in gdImageTrueColorToPaletteBody()
1509 nim->pixels[i] = gdCalloc (sizeof (unsigned char *), oim->sx); in gdImageTrueColorToPaletteBody()
1517 cquantize = (my_cquantize_ptr) gdCalloc (sizeof (my_cquantizer), 1); in gdImageTrueColorToPaletteBody()
H A Dgd.c186 im = (gdImage *) gdCalloc(1, sizeof(gdImage)); in gdImageCreate()
197 im->pixels[i] = (unsigned char *) gdCalloc(sx, sizeof(unsigned char)); in gdImageCreate()
249 im->tpixels[i] = (int *) gdCalloc(sx, sizeof(int)); in gdImageCreateTrueColor()

Completed in 28 milliseconds