Searched refs:max_text (Results 1 – 9 of 9) sorted by relevance
146 mt->text = realloc(mt->text, (mt->max_text + 1) * sizeof(char *)); in multitext_add_entry()147 mt->text[mt->max_text] = strdup(text); in multitext_add_entry()148 mt->max_text++; in multitext_add_entry()153 if (index >= mt->max_text) in multitext_set_entry()182 for (i = 0; i < mt->max_text; i++) { in multitext_free()189 mt->max_text = 0; in multitext_free()
19 unsigned int max_text; member
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()
668 if (info_ptr->num_text + num_text > info_ptr->max_text) in png_set_text_2()675 old_max = info_ptr->max_text; in png_set_text_2()676 info_ptr->max_text = info_ptr->num_text + num_text + 8; in png_set_text_2()679 (png_uint_32)(info_ptr->max_text * png_sizeof(png_text))); in png_set_text_2()691 info_ptr->max_text = num_text + 8; in png_set_text_2()694 (png_uint_32)(info_ptr->max_text * png_sizeof(png_text))); in png_set_text_2()702 info_ptr->max_text); in png_set_text_2()
860 int max_text PNG_DEPSTRUCT; /* current size of text array */