Home
last modified time | relevance | path

Searched refs:text_ptr (Results 1 – 15 of 15) sorted by relevance

/external/libpng/
Dexample.c673 text_ptr[0].key = "Title";
674 text_ptr[0].text = "Mona Lisa";
675 text_ptr[0].compression = PNG_TEXT_COMPRESSION_NONE;
676 text_ptr[1].key = "Author";
677 text_ptr[1].text = "Leonardo DaVinci";
678 text_ptr[1].compression = PNG_TEXT_COMPRESSION_NONE;
679 text_ptr[2].key = "Description";
680 text_ptr[2].text = "<long text>";
681 text_ptr[2].compression = PNG_TEXT_COMPRESSION_zTXt;
683 text_ptr[0].lang = NULL;
[all …]
Dpngpread.c1254 png_textp text_ptr; in png_push_read_tEXt() local
1280 text_ptr = (png_textp)png_malloc(png_ptr, in png_push_read_tEXt()
1282 text_ptr->compression = PNG_TEXT_COMPRESSION_NONE; in png_push_read_tEXt()
1283 text_ptr->key = key; in png_push_read_tEXt()
1285 text_ptr->lang = NULL; in png_push_read_tEXt()
1286 text_ptr->lang_key = NULL; in png_push_read_tEXt()
1288 text_ptr->text = text; in png_push_read_tEXt()
1290 ret = png_set_text_2(png_ptr, info_ptr, text_ptr, 1); in png_push_read_tEXt()
1293 png_free(png_ptr, text_ptr); in png_push_read_tEXt()
1354 png_textp text_ptr; in png_push_read_zTXt() local
[all …]
Dpngset.c643 png_set_text(png_structp png_ptr, png_infop info_ptr, png_textp text_ptr, in png_set_text() argument
647 ret = png_set_text_2(png_ptr, info_ptr, text_ptr, num_text); in png_set_text()
653 png_set_text_2(png_structp png_ptr, png_infop info_ptr, png_textp text_ptr, in png_set_text_2() argument
720 if (text_ptr[i].key == NULL) in png_set_text_2()
723 key_len = png_strlen(text_ptr[i].key); in png_set_text_2()
725 if (text_ptr[i].compression <= 0) in png_set_text_2()
736 if (text_ptr[i].lang != NULL) in png_set_text_2()
737 lang_len = png_strlen(text_ptr[i].lang); in png_set_text_2()
740 if (text_ptr[i].lang_key != NULL) in png_set_text_2()
741 lang_key_len = png_strlen(text_ptr[i].lang_key); in png_set_text_2()
[all …]
Dpngrutil.c2018 png_textp text_ptr; in png_handle_tEXt() local
2087 text_ptr = (png_textp)png_malloc_warn(png_ptr, in png_handle_tEXt()
2089 if (text_ptr == NULL) in png_handle_tEXt()
2096 text_ptr->compression = PNG_TEXT_COMPRESSION_NONE; in png_handle_tEXt()
2097 text_ptr->key = key; in png_handle_tEXt()
2099 text_ptr->lang = NULL; in png_handle_tEXt()
2100 text_ptr->lang_key = NULL; in png_handle_tEXt()
2101 text_ptr->itxt_length = 0; in png_handle_tEXt()
2103 text_ptr->text = text; in png_handle_tEXt()
2104 text_ptr->text_length = png_strlen(text); in png_handle_tEXt()
[all …]
Dpngtest.c1087 png_textp text_ptr; in test_one_file() local
1090 if (png_get_text(read_ptr, read_info_ptr, &text_ptr, &num_text) > 0) in test_one_file()
1093 png_set_text(write_ptr, write_info_ptr, text_ptr, num_text); in test_one_file()
1275 png_textp text_ptr; in test_one_file() local
1278 if (png_get_text(read_ptr, end_info_ptr, &text_ptr, &num_text) > 0) in test_one_file()
1281 png_set_text(write_ptr, write_end_info_ptr, text_ptr, num_text); in test_one_file()
Dpngget.c764 png_get_text(png_structp png_ptr, png_infop info_ptr, png_textp *text_ptr, in png_get_text() argument
773 if (text_ptr != NULL) in png_get_text()
774 *text_ptr = info_ptr->text; in png_get_text()
Dlibpng-1.2.44.txt677 &text_ptr, &num_text);
679 text_ptr - array of png_text holding image
681 text_ptr[i].compression - type of compression used
686 text_ptr[i].key - keyword for comment. Must contain
688 text_ptr[i].text - text comments for current
690 text_ptr[i].text_length - length of text string,
692 text_ptr[i].itxt_length - length of itxt string,
694 text_ptr[i].lang - language of comment (empty
696 text_ptr[i].lang_key - keyword in UTF-8
699 members of the text_ptr structure only exist
[all …]
Dlibpng-1.2.46.txt677 &text_ptr, &num_text);
679 text_ptr - array of png_text holding image
681 text_ptr[i].compression - type of compression used
686 text_ptr[i].key - keyword for comment. Must contain
688 text_ptr[i].text - text comments for current
690 text_ptr[i].text_length - length of text string,
692 text_ptr[i].itxt_length - length of itxt string,
694 text_ptr[i].lang - language of comment (empty
696 text_ptr[i].lang_key - keyword in UTF-8
699 members of the text_ptr structure only exist
[all …]
Dpng.h2569 png_infop info_ptr, png_textp *text_ptr, int *num_text));
2582 png_infop info_ptr, png_textp text_ptr, int num_text));
3420 png_infop info_ptr, png_textp text_ptr, int num_text)) PNG_PRIVATE;
DCHANGES514 text_ptr structure. Instead, it makes its own copy.
/external/qemu/distrib/libpng-1.2.19/
Dpngpread.c1105 png_textp text_ptr; in png_push_read_tEXt() local
1131 text_ptr = (png_textp)png_malloc(png_ptr, in png_push_read_tEXt()
1133 text_ptr->compression = PNG_TEXT_COMPRESSION_NONE; in png_push_read_tEXt()
1134 text_ptr->key = key; in png_push_read_tEXt()
1136 text_ptr->lang = NULL; in png_push_read_tEXt()
1137 text_ptr->lang_key = NULL; in png_push_read_tEXt()
1139 text_ptr->text = text; in png_push_read_tEXt()
1141 ret = png_set_text_2(png_ptr, info_ptr, text_ptr, 1); in png_push_read_tEXt()
1144 png_free(png_ptr, text_ptr); in png_push_read_tEXt()
1203 png_textp text_ptr; in png_push_read_zTXt() local
[all …]
Dpngset.c720 png_set_text(png_structp png_ptr, png_infop info_ptr, png_textp text_ptr, in png_set_text() argument
724 ret=png_set_text_2(png_ptr, info_ptr, text_ptr, num_text); in png_set_text()
730 png_set_text_2(png_structp png_ptr, png_infop info_ptr, png_textp text_ptr, in png_set_text_2() argument
786 if (text_ptr[i].key == NULL) in png_set_text_2()
789 key_len = png_strlen(text_ptr[i].key); in png_set_text_2()
791 if(text_ptr[i].compression <= 0) in png_set_text_2()
800 if (text_ptr[i].lang != NULL) in png_set_text_2()
801 lang_len = png_strlen(text_ptr[i].lang); in png_set_text_2()
804 if (text_ptr[i].lang_key != NULL) in png_set_text_2()
805 lang_key_len = png_strlen(text_ptr[i].lang_key); in png_set_text_2()
[all …]
Dpngrutil.c1873 png_textp text_ptr; in png_handle_tEXt() local
1920 text_ptr = (png_textp)png_malloc_warn(png_ptr, in png_handle_tEXt()
1922 if (text_ptr == NULL) in png_handle_tEXt()
1928 text_ptr->compression = PNG_TEXT_COMPRESSION_NONE; in png_handle_tEXt()
1929 text_ptr->key = key; in png_handle_tEXt()
1931 text_ptr->lang = NULL; in png_handle_tEXt()
1932 text_ptr->lang_key = NULL; in png_handle_tEXt()
1933 text_ptr->itxt_length = 0; in png_handle_tEXt()
1935 text_ptr->text = text; in png_handle_tEXt()
1936 text_ptr->text_length = png_strlen(text); in png_handle_tEXt()
[all …]
Dpngget.c726 png_get_text(png_structp png_ptr, png_infop info_ptr, png_textp *text_ptr, in png_get_text() argument
734 if (text_ptr != NULL) in png_get_text()
735 *text_ptr = info_ptr->text; in png_get_text()
Dpng.h2344 png_infop info_ptr, png_textp *text_ptr, int *num_text));
2357 png_infop info_ptr, png_textp text_ptr, int num_text));
3115 png_infop info_ptr, png_textp text_ptr, int num_text));