• Home
  • Raw
  • Download

Lines Matching refs:textp

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