Lines Matching refs:compMax
280 int compMax = 0; in gdImageCreateFromGd2Ctx() local
296 compMax = 0; in gdImageCreateFromGd2Ctx()
298 if (chunkIdx[i].size > compMax) { in gdImageCreateFromGd2Ctx()
299 compMax = chunkIdx[i].size; in gdImageCreateFromGd2Ctx()
302 compMax++; in gdImageCreateFromGd2Ctx()
310 compBuf = gdCalloc(compMax, 1); in gdImageCreateFromGd2Ctx()
312 GD2_DBG(gd_error("Largest compressed chunk is %d bytes", compMax)); in gdImageCreateFromGd2Ctx()
450 int compMax; in gdImageCreateFromGd2PartCtx() local
489 compMax = 0; in gdImageCreateFromGd2PartCtx()
491 if (chunkIdx[i].size > compMax) { in gdImageCreateFromGd2PartCtx()
492 compMax = chunkIdx[i].size; in gdImageCreateFromGd2PartCtx()
495 compMax++; in gdImageCreateFromGd2PartCtx()
507 compBuf = gdCalloc(compMax, 1); in gdImageCreateFromGd2PartCtx()
678 int compMax = 0; in _gdImageGd2() local
715 compMax = (int)(cs * bytesPerPixel * cs * 1.02f) + 12; in _gdImageGd2()
720 if (compMax <= 0) { in _gdImageGd2()
723 compData = gdCalloc(compMax, 1); in _gdImageGd2()
788 compLen = compMax; in _gdImageGd2()