• Home
  • Raw
  • Download

Lines Matching refs:textp

838       png_textp textp = &(info_ptr->text[info_ptr->num_text]);  in png_set_text_2()  local
889 textp->compression = PNG_ITXT_COMPRESSION_NONE; in png_set_text_2()
893 textp->compression = PNG_TEXT_COMPRESSION_NONE; in png_set_text_2()
899 textp->compression = text_ptr[i].compression; in png_set_text_2()
902 textp->key = png_voidcast(png_charp,png_malloc_base(png_ptr, in png_set_text_2()
905 if (textp->key == NULL) in png_set_text_2()
916 textp->key); in png_set_text_2()
918 memcpy(textp->key, text_ptr[i].key, key_len); in png_set_text_2()
919 *(textp->key + key_len) = '\0'; in png_set_text_2()
923 textp->lang = textp->key + key_len + 1; in png_set_text_2()
924 memcpy(textp->lang, text_ptr[i].lang, lang_len); in png_set_text_2()
925 *(textp->lang + lang_len) = '\0'; in png_set_text_2()
926 textp->lang_key = textp->lang + lang_len + 1; in png_set_text_2()
927 memcpy(textp->lang_key, text_ptr[i].lang_key, lang_key_len); in png_set_text_2()
928 *(textp->lang_key + lang_key_len) = '\0'; in png_set_text_2()
929 textp->text = textp->lang_key + lang_key_len + 1; in png_set_text_2()
934 textp->lang=NULL; in png_set_text_2()
935 textp->lang_key=NULL; in png_set_text_2()
936 textp->text = textp->key + key_len + 1; in png_set_text_2()
940 memcpy(textp->text, text_ptr[i].text, text_length); in png_set_text_2()
942 *(textp->text + text_length) = '\0'; in png_set_text_2()
945 if (textp->compression > 0) in png_set_text_2()
947 textp->text_length = 0; in png_set_text_2()
948 textp->itxt_length = text_length; in png_set_text_2()
954 textp->text_length = text_length; in png_set_text_2()
955 textp->itxt_length = 0; in png_set_text_2()