Lines Matching refs:text_ptr
643 png_set_text(png_structp png_ptr, png_infop info_ptr, png_textp text_ptr,
647 ret = png_set_text_2(png_ptr, info_ptr, text_ptr, num_text);
653 png_set_text_2(png_structp png_ptr, png_infop info_ptr, png_textp text_ptr,
666 * to hold all of the incoming text_ptr objects.
710 if (text_ptr[i].key == NULL)
713 key_len = png_strlen(text_ptr[i].key);
715 if (text_ptr[i].compression <= 0)
726 if (text_ptr[i].lang != NULL)
727 lang_len = png_strlen(text_ptr[i].lang);
730 if (text_ptr[i].lang_key != NULL)
731 lang_key_len = png_strlen(text_ptr[i].lang_key);
742 if (text_ptr[i].text == NULL || text_ptr[i].text[0] == '\0')
746 if (text_ptr[i].compression > 0)
755 text_length = png_strlen(text_ptr[i].text);
756 textp->compression = text_ptr[i].compression;
769 png_memcpy(textp->key, text_ptr[i].key,(png_size_t)(key_len));
772 if (text_ptr[i].compression > 0)
775 png_memcpy(textp->lang, text_ptr[i].lang, lang_len);
778 png_memcpy(textp->lang_key, text_ptr[i].lang_key, lang_key_len);
792 png_memcpy(textp->text, text_ptr[i].text,