Home | History | Annotate | Download | only in libpng

Lines Matching refs:textp

758       png_textp textp = &(info_ptr->text[info_ptr->num_text]);
809 textp->compression = PNG_ITXT_COMPRESSION_NONE;
813 textp->compression = PNG_TEXT_COMPRESSION_NONE;
819 textp->compression = text_ptr[i].compression;
822 textp->key = png_voidcast(png_charp,png_malloc_base(png_ptr,
825 if (textp->key == NULL)
835 textp->key);
837 memcpy(textp->key, text_ptr[i].key, key_len);
838 *(textp->key + key_len) = '\0';
842 textp->lang = textp->key + key_len + 1;
843 memcpy(textp->lang, text_ptr[i].lang, lang_len);
844 *(textp->lang + lang_len) = '\0';
845 textp->lang_key = textp->lang + lang_len + 1;
846 memcpy(textp->lang_key, text_ptr[i].lang_key, lang_key_len);
847 *(textp->lang_key + lang_key_len) = '\0';
848 textp->text = textp->lang_key + lang_key_len + 1;
853 textp->lang=NULL;
854 textp->lang_key=NULL;
855 textp->text = textp->key + key_len + 1;
859 memcpy(textp->text, text_ptr[i].text, text_length);
861 *(textp->text + text_length) = '\0';
864 if (textp->compression > 0)
866 textp->text_length = 0;
867 textp->itxt_length = text_length;
873 textp->text_length = text_length;
874 textp->itxt_length = 0;