Home | History | Annotate | Download | only in libpng-1.2.19

Lines Matching refs:text_ptr

720 png_set_text(png_structp png_ptr, png_infop info_ptr, png_textp text_ptr,
724 ret=png_set_text_2(png_ptr, info_ptr, text_ptr, num_text);
730 png_set_text_2(png_structp png_ptr, png_infop info_ptr, png_textp text_ptr,
742 * to hold all of the incoming text_ptr objects.
786 if (text_ptr[i].key == NULL)
789 key_len = png_strlen(text_ptr[i].key);
791 if(text_ptr[i].compression <= 0)
800 if (text_ptr[i].lang != NULL)
801 lang_len = png_strlen(text_ptr[i].lang);
804 if (text_ptr[i].lang_key != NULL)
805 lang_key_len = png_strlen(text_ptr[i].lang_key);
816 if (text_ptr[i].text == NULL || text_ptr[i].text[0] == '\0')
820 if(text_ptr[i].compression > 0)
828 text_length = png_strlen(text_ptr[i].text);
829 textp->compression = text_ptr[i].compression;
840 png_memcpy(textp->key, text_ptr[i].key,
844 if (text_ptr[i].compression > 0)
847 png_memcpy(textp->lang, text_ptr[i].lang, lang_len);
850 png_memcpy(textp->lang_key, text_ptr[i].lang_key, lang_key_len);
864 png_memcpy(textp->text, text_ptr[i].text,