Lines Matching refs:compMax
279 int compMax = 0; in gdImageCreateFromGd2Ctx() local
295 compMax = 0; in gdImageCreateFromGd2Ctx()
297 if (chunkIdx[i].size > compMax) { in gdImageCreateFromGd2Ctx()
298 compMax = chunkIdx[i].size; in gdImageCreateFromGd2Ctx()
301 compMax++; in gdImageCreateFromGd2Ctx()
309 compBuf = gdCalloc(compMax, 1); in gdImageCreateFromGd2Ctx()
311 GD2_DBG(php_gd_error("Largest compressed chunk is %d bytes", compMax)); in gdImageCreateFromGd2Ctx()
449 int compMax; in gdImageCreateFromGd2PartCtx() local
488 compMax = 0; in gdImageCreateFromGd2PartCtx()
490 if (chunkIdx[i].size > compMax) { in gdImageCreateFromGd2PartCtx()
491 compMax = chunkIdx[i].size; in gdImageCreateFromGd2PartCtx()
494 compMax++; in gdImageCreateFromGd2PartCtx()
506 compBuf = gdCalloc(compMax, 1); in gdImageCreateFromGd2PartCtx()
677 int compMax = 0; in _gdImageGd2() local
714 compMax = (int)(cs * bytesPerPixel * cs * 1.02f) + 12; in _gdImageGd2()
719 if (compMax <= 0) { in _gdImageGd2()
722 compData = gdCalloc(compMax, 1); in _gdImageGd2()
787 compLen = compMax; in _gdImageGd2()