Searched refs:max_text (Results 1 – 5 of 5) sorted by relevance
740 if (num_text > info_ptr->max_text - info_ptr->num_text) in png_set_text_2()743 int max_text; in png_set_text_2() local747 max_text = old_num_text; in png_set_text_2()748 if (num_text <= INT_MAX - max_text) in png_set_text_2()750 max_text += num_text; in png_set_text_2()753 if (max_text < INT_MAX-8) in png_set_text_2()754 max_text = (max_text + 8) & ~0x7; in png_set_text_2()757 max_text = INT_MAX; in png_set_text_2()763 info_ptr->text, old_num_text, max_text-old_num_text, in png_set_text_2()779 info_ptr->max_text = max_text; in png_set_text_2()[all …]
121 int max_text; /* current size of text array */ member
789 if (num_text > info_ptr->max_text - info_ptr->num_text) in png_set_text_2()792 int max_text; in png_set_text_2() local796 max_text = old_num_text; in png_set_text_2()797 if (num_text <= INT_MAX - max_text) in png_set_text_2()799 max_text += num_text; in png_set_text_2()802 if (max_text < INT_MAX-8) in png_set_text_2()803 max_text = (max_text + 8) & ~0x7; in png_set_text_2()806 max_text = INT_MAX; in png_set_text_2()812 info_ptr->text, old_num_text, max_text-old_num_text, in png_set_text_2()828 info_ptr->max_text = max_text; in png_set_text_2()[all …]
500 info_ptr->max_text = 0; in png_free_data()