Lines Matching refs:compMax
262 int compMax = 0; in gdImageCreateFromGd2Ctx() local
278 compMax = 0; in gdImageCreateFromGd2Ctx()
280 if (chunkIdx[i].size > compMax) { in gdImageCreateFromGd2Ctx()
281 compMax = chunkIdx[i].size; in gdImageCreateFromGd2Ctx()
284 compMax++; in gdImageCreateFromGd2Ctx()
292 compBuf = gdCalloc(compMax, 1); in gdImageCreateFromGd2Ctx()
294 GD2_DBG(php_gd_error("Largest compressed chunk is %d bytes", compMax)); in gdImageCreateFromGd2Ctx()
428 int compMax; in gdImageCreateFromGd2PartCtx() local
467 compMax = 0; in gdImageCreateFromGd2PartCtx()
469 if (chunkIdx[i].size > compMax) { in gdImageCreateFromGd2PartCtx()
470 compMax = chunkIdx[i].size; in gdImageCreateFromGd2PartCtx()
473 compMax++; in gdImageCreateFromGd2PartCtx()
485 compBuf = gdCalloc(compMax, 1); in gdImageCreateFromGd2PartCtx()
656 int compMax = 0; in _gdImageGd2() local
693 compMax = (int)(cs * bytesPerPixel * cs * 1.02f) + 12; in _gdImageGd2()
698 if (compMax <= 0) { in _gdImageGd2()
701 compData = gdCalloc(compMax, 1); in _gdImageGd2()
766 compLen = compMax; in _gdImageGd2()