Home | History | Annotate | Download | only in libpng16

Lines Matching refs:textp

789       png_textp textp = &(info_ptr->text[info_ptr->num_text]);
840 textp->compression = PNG_ITXT_COMPRESSION_NONE;
844 textp->compression = PNG_TEXT_COMPRESSION_NONE;
850 textp->compression = text_ptr[i].compression;
853 textp->key = png_voidcast(png_charp,png_malloc_base(png_ptr,
856 if (textp->key == NULL)
867 textp->key);
869 memcpy(textp->key, text_ptr[i].key, key_len);
870 *(textp->key + key_len) = '\0';
874 textp->lang = textp->key + key_len + 1;
875 memcpy(textp->lang, text_ptr[i].lang, lang_len);
876 *(textp->lang + lang_len) = '\0';
877 textp->lang_key = textp->lang + lang_len + 1;
878 memcpy(textp->lang_key, text_ptr[i].lang_key, lang_key_len);
879 *(textp->lang_key + lang_key_len) = '\0';
880 textp->text = textp->lang_key + lang_key_len + 1;
885 textp->lang=NULL;
886 textp->lang_key=NULL;
887 textp->text = textp->key + key_len + 1;
891 memcpy(textp->text, text_ptr[i].text, text_length);
893 *(textp->text + text_length) = '\0';
896 if (textp->compression > 0)
898 textp->text_length = 0;
899 textp->itxt_length = text_length;
905 textp->text_length = text_length;
906 textp->itxt_length = 0;