Lines Matching defs: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.
720 if (text_ptr[i].key == NULL)
723 key_len = png_strlen(text_ptr[i].key);
725 if (text_ptr[i].compression <= 0)
736 if (text_ptr[i].lang != NULL)
737 lang_len = png_strlen(text_ptr[i].lang);
740 if (text_ptr[i].lang_key != NULL)
741 lang_key_len = png_strlen(text_ptr[i].lang_key);
752 if (text_ptr[i].text == NULL || text_ptr[i].text[0] == '\0')
756 if (text_ptr[i].compression > 0)
765 text_length = png_strlen(text_ptr[i].text);
766 textp->compression = text_ptr[i].compression;
779 png_memcpy(textp->key, text_ptr[i].key,(png_size_t)(key_len));
782 if (text_ptr[i].compression > 0)
785 png_memcpy(textp->lang, text_ptr[i].lang, lang_len);
788 png_memcpy(textp->lang_key, text_ptr[i].lang_key, lang_key_len);
802 png_memcpy(textp->text, text_ptr[i].text,