Lines Matching refs:chunkMax
277 int chunkMax = 0; in gdImageCreateFromGd2Ctx() local
305 chunkMax = cs * bytesPerPixel * cs; in gdImageCreateFromGd2Ctx()
306 if (chunkMax <= 0) { in gdImageCreateFromGd2Ctx()
309 chunkBuf = gdCalloc(chunkMax, 1); in gdImageCreateFromGd2Ctx()
327 chunkLen = chunkMax; in gdImageCreateFromGd2Ctx()
447 int chunkMax = 0; in gdImageCreateFromGd2PartCtx() local
498 chunkMax = cs * cs * 4; in gdImageCreateFromGd2PartCtx()
500 chunkMax = cs * cs; in gdImageCreateFromGd2PartCtx()
502 if (chunkMax <= 0) { in gdImageCreateFromGd2PartCtx()
506 chunkBuf = gdCalloc(chunkMax, 1); in gdImageCreateFromGd2PartCtx()
568 chunkLen = chunkMax; in gdImageCreateFromGd2PartCtx()