Lines Matching refs:max_text
706 * because max_text >= num_text (anyway, subtract of two positive integers
709 if (num_text > info_ptr->max_text - info_ptr->num_text)
712 int max_text;
715 /* Calculate an appropriate max_text, checking for overflow. */
716 max_text = old_num_text;
717 if (num_text <= INT_MAX - max_text)
719 max_text += num_text;
722 if (max_text < INT_MAX-8)
723 max_text = (max_text + 8) & ~0x7;
726 max_text = INT_MAX;
732 info_ptr->text, old_num_text, max_text-old_num_text,
747 info_ptr->max_text = max_text;
750 png_debug1(3, "allocated %d entries for info_ptr->text", max_text);