• Home
  • Raw
  • Download

Lines Matching refs:text_ptr

714     png_const_textp text_ptr, int num_text)  in png_set_text()  argument
717 ret = png_set_text_2(png_ptr, info_ptr, text_ptr, num_text); in png_set_text()
725 png_const_textp text_ptr, int num_text) in png_set_text_2() argument
732 if (png_ptr == NULL || info_ptr == NULL || num_text <= 0 || text_ptr == NULL) in png_set_text_2()
791 if (text_ptr[i].key == NULL) in png_set_text_2()
794 if (text_ptr[i].compression < PNG_TEXT_COMPRESSION_NONE || in png_set_text_2()
795 text_ptr[i].compression >= PNG_TEXT_COMPRESSION_LAST) in png_set_text_2()
802 key_len = strlen(text_ptr[i].key); in png_set_text_2()
804 if (text_ptr[i].compression <= 0) in png_set_text_2()
815 if (text_ptr[i].lang != NULL) in png_set_text_2()
816 lang_len = strlen(text_ptr[i].lang); in png_set_text_2()
821 if (text_ptr[i].lang_key != NULL) in png_set_text_2()
822 lang_key_len = strlen(text_ptr[i].lang_key); in png_set_text_2()
835 if (text_ptr[i].text == NULL || text_ptr[i].text[0] == '\0') in png_set_text_2()
839 if (text_ptr[i].compression > 0) in png_set_text_2()
849 text_length = strlen(text_ptr[i].text); in png_set_text_2()
850 textp->compression = text_ptr[i].compression; in png_set_text_2()
869 memcpy(textp->key, text_ptr[i].key, key_len); in png_set_text_2()
872 if (text_ptr[i].compression > 0) in png_set_text_2()
875 memcpy(textp->lang, text_ptr[i].lang, lang_len); in png_set_text_2()
878 memcpy(textp->lang_key, text_ptr[i].lang_key, lang_key_len); in png_set_text_2()
891 memcpy(textp->text, text_ptr[i].text, text_length); in png_set_text_2()