Home | History | Annotate | Download | only in libpng

Lines Matching refs:textp

777       png_textp textp = &(info_ptr->text[info_ptr->num_text]);
828 textp->compression = PNG_ITXT_COMPRESSION_NONE;
832 textp->compression = PNG_TEXT_COMPRESSION_NONE;
838 textp->compression = text_ptr[i].compression;
841 textp->key = png_voidcast(png_charp,png_malloc_base(png_ptr,
844 if (textp->key == NULL)
855 textp->key);
857 memcpy(textp->key, text_ptr[i].key, key_len);
858 *(textp->key + key_len) = '\0';
862 textp->lang = textp->key + key_len + 1;
863 memcpy(textp->lang, text_ptr[i].lang, lang_len);
864 *(textp->lang + lang_len) = '\0';
865 textp->lang_key = textp->lang + lang_len + 1;
866 memcpy(textp->lang_key, text_ptr[i].lang_key, lang_key_len);
867 *(textp->lang_key + lang_key_len) = '\0';
868 textp->text = textp->lang_key + lang_key_len + 1;
873 textp->lang=NULL;
874 textp->lang_key=NULL;
875 textp->text = textp->key + key_len + 1;
879 memcpy(textp->text, text_ptr[i].text, text_length);
881 *(textp->text + text_length) = '\0';
884 if (textp->compression > 0)
886 textp->text_length = 0;
887 textp->itxt_length = text_length;
893 textp->text_length = text_length;
894 textp->itxt_length = 0;