• Home
  • Raw
  • Download

Lines Matching refs:text_ptr

763     png_const_textp text_ptr, int num_text)  in png_set_text()  argument
766 ret = png_set_text_2(png_ptr, info_ptr, text_ptr, num_text); in png_set_text()
774 png_const_textp text_ptr, int num_text) in png_set_text_2() argument
781 if (png_ptr == NULL || info_ptr == NULL || num_text <= 0 || text_ptr == NULL) in png_set_text_2()
840 if (text_ptr[i].key == NULL) in png_set_text_2()
843 if (text_ptr[i].compression < PNG_TEXT_COMPRESSION_NONE || in png_set_text_2()
844 text_ptr[i].compression >= PNG_TEXT_COMPRESSION_LAST) in png_set_text_2()
851 key_len = strlen(text_ptr[i].key); in png_set_text_2()
853 if (text_ptr[i].compression <= 0) in png_set_text_2()
864 if (text_ptr[i].lang != NULL) in png_set_text_2()
865 lang_len = strlen(text_ptr[i].lang); in png_set_text_2()
870 if (text_ptr[i].lang_key != NULL) in png_set_text_2()
871 lang_key_len = strlen(text_ptr[i].lang_key); in png_set_text_2()
884 if (text_ptr[i].text == NULL || text_ptr[i].text[0] == '\0') in png_set_text_2()
888 if (text_ptr[i].compression > 0) in png_set_text_2()
898 text_length = strlen(text_ptr[i].text); in png_set_text_2()
899 textp->compression = text_ptr[i].compression; in png_set_text_2()
918 memcpy(textp->key, text_ptr[i].key, key_len); in png_set_text_2()
921 if (text_ptr[i].compression > 0) in png_set_text_2()
924 memcpy(textp->lang, text_ptr[i].lang, lang_len); in png_set_text_2()
927 memcpy(textp->lang_key, text_ptr[i].lang_key, lang_key_len); in png_set_text_2()
940 memcpy(textp->text, text_ptr[i].text, text_length); in png_set_text_2()