Home | History | Annotate | Download | only in libpng

Lines Matching refs:textp

708       png_textp textp = &(info_ptr->text[info_ptr->num_text]);
747 textp->compression = PNG_ITXT_COMPRESSION_NONE;
750 textp->compression = PNG_TEXT_COMPRESSION_NONE;
756 textp->compression = text_ptr[i].compression;
759 textp->key = (png_charp)png_malloc_warn(png_ptr,
762 if (textp->key == NULL)
767 (int)textp->key);
769 png_memcpy(textp->key, text_ptr[i].key,(png_size_t)(key_len));
770 *(textp->key + key_len) = '\0';
774 textp->lang = textp->key + key_len + 1;
775 png_memcpy(textp->lang, text_ptr[i].lang, lang_len);
776 *(textp->lang + lang_len) = '\0';
777 textp->lang_key = textp->lang + lang_len + 1;
778 png_memcpy(textp->lang_key, text_ptr[i].lang_key, lang_key_len);
779 *(textp->lang_key + lang_key_len) = '\0';
780 textp->text = textp->lang_key + lang_key_len + 1;
786 textp->lang=NULL;
787 textp->lang_key=NULL;
789 textp->text = textp->key + key_len + 1;
792 png_memcpy(textp->text, text_ptr[i].text,
794 *(textp->text + text_length) = '\0';
797 if (textp->compression > 0)
799 textp->text_length = 0;
800 textp->itxt_length = text_length;
806 textp->text_length = text_length;
808 textp->itxt_length = 0;