Home | History | Annotate | Download | only in libpng

Lines Matching refs:textp

718       png_textp textp = &(info_ptr->text[info_ptr->num_text]);
757 textp->compression = PNG_ITXT_COMPRESSION_NONE;
760 textp->compression = PNG_TEXT_COMPRESSION_NONE;
766 textp->compression = text_ptr[i].compression;
769 textp->key = (png_charp)png_malloc_warn(png_ptr,
772 if (textp->key == NULL)
777 (int)textp->key);
779 png_memcpy(textp->key, text_ptr[i].key,(png_size_t)(key_len));
780 *(textp->key + key_len) = '\0';
784 textp->lang = textp->key + key_len + 1;
785 png_memcpy(textp->lang, text_ptr[i].lang, lang_len);
786 *(textp->lang + lang_len) = '\0';
787 textp->lang_key = textp->lang + lang_len + 1;
788 png_memcpy(textp->lang_key, text_ptr[i].lang_key, lang_key_len);
789 *(textp->lang_key + lang_key_len) = '\0';
790 textp->text = textp->lang_key + lang_key_len + 1;
796 textp->lang=NULL;
797 textp->lang_key=NULL;
799 textp->text = textp->key + key_len + 1;
802 png_memcpy(textp->text, text_ptr[i].text,
804 *(textp->text + text_length) = '\0';
807 if (textp->compression > 0)
809 textp->text_length = 0;
810 textp->itxt_length = text_length;
816 textp->text_length = text_length;
818 textp->itxt_length = 0;