Home | History | Annotate | Download | only in libpng

Lines Matching defs:max_text

725     * because max_text >= num_text (anyway, subtract of two positive integers
728 if (num_text > info_ptr->max_text - info_ptr->num_text)
731 int max_text;
734 /* Calculate an appropriate max_text, checking for overflow. */
735 max_text = old_num_text;
736 if (num_text <= INT_MAX - max_text)
738 max_text += num_text;
741 if (max_text < INT_MAX-8)
742 max_text = (max_text + 8) & ~0x7;
745 max_text = INT_MAX;
751 info_ptr->text, old_num_text, max_text-old_num_text,
767 info_ptr->max_text = max_text;
770 png_debug1(3, "allocated %d entries for info_ptr->text", max_text);