Lines Matching defs:text_ptr
690 png_set_text(png_structp png_ptr, png_infop info_ptr, png_textp text_ptr,
694 ret=png_set_text_2(png_ptr, info_ptr, text_ptr, num_text);
700 png_set_text_2(png_structp png_ptr, png_infop info_ptr, png_textp text_ptr,
712 * to hold all of the incoming text_ptr objects.
756 if (text_ptr[i].key == NULL)
759 key_len = png_strlen(text_ptr[i].key);
761 if(text_ptr[i].compression <= 0)
770 if (text_ptr[i].lang != NULL)
771 lang_len = png_strlen(text_ptr[i].lang);
774 if (text_ptr[i].lang_key != NULL)
775 lang_key_len = png_strlen(text_ptr[i].lang_key);
786 if (text_ptr[i].text == NULL || text_ptr[i].text[0] == '\0')
790 if(text_ptr[i].compression > 0)
798 text_length = png_strlen(text_ptr[i].text);
799 textp->compression = text_ptr[i].compression;
810 png_memcpy(textp->key, text_ptr[i].key,
814 if (text_ptr[i].compression > 0)
817 png_memcpy(textp->lang, text_ptr[i].lang, lang_len);
820 png_memcpy(textp->lang_key, text_ptr[i].lang_key, lang_key_len);
834 png_memcpy(textp->text, text_ptr[i].text,