/external/libpng/ |
D | example.c | 881 png_text text_ptr[3]; 885 text_ptr[0].key = key0; 886 text_ptr[0].text = text0; 887 text_ptr[0].compression = PNG_TEXT_COMPRESSION_NONE; 888 text_ptr[0].itxt_length = 0; 889 text_ptr[0].lang = NULL; 890 text_ptr[0].lang_key = NULL; 894 text_ptr[1].key = key1; 895 text_ptr[1].text = text1; 896 text_ptr[1].compression = PNG_TEXT_COMPRESSION_NONE; [all …]
|
D | pngset.c | 684 png_const_textp text_ptr, int num_text) in png_set_text() argument 687 ret = png_set_text_2(png_ptr, info_ptr, text_ptr, num_text); in png_set_text() 695 png_const_textp text_ptr, int num_text) in png_set_text_2() argument 702 if (png_ptr == NULL || info_ptr == NULL || num_text <= 0 || text_ptr == NULL) in png_set_text_2() 760 if (text_ptr[i].key == NULL) in png_set_text_2() 763 if (text_ptr[i].compression < PNG_TEXT_COMPRESSION_NONE || in png_set_text_2() 764 text_ptr[i].compression >= PNG_TEXT_COMPRESSION_LAST) in png_set_text_2() 771 key_len = strlen(text_ptr[i].key); in png_set_text_2() 773 if (text_ptr[i].compression <= 0) in png_set_text_2() 784 if (text_ptr[i].lang != NULL) in png_set_text_2() [all …]
|
D | pngtest.c | 794 pngtest_check_text_support(png_const_structp png_ptr, png_textp text_ptr, in pngtest_check_text_support() argument 799 switch (text_ptr[--num_text].compression) in pngtest_check_text_support() 1248 png_textp text_ptr; in test_one_file() local 1251 if (png_get_text(read_ptr, read_info_ptr, &text_ptr, &num_text) > 0) in test_one_file() 1255 pngtest_check_text_support(read_ptr, text_ptr, num_text); in test_one_file() 1265 i, text_ptr[i].compression); in test_one_file() 1269 png_set_text(write_ptr, write_info_ptr, text_ptr, num_text); in test_one_file() 1430 png_textp text_ptr; in test_one_file() local 1433 if (png_get_text(read_ptr, end_info_ptr, &text_ptr, &num_text) > 0) in test_one_file() 1437 pngtest_check_text_support(read_ptr, text_ptr, num_text); in test_one_file() [all …]
|
D | pngget.c | 979 png_textp *text_ptr, int *num_text) in png_get_text() argument 986 if (text_ptr != NULL) in png_get_text() 987 *text_ptr = info_ptr->text; in png_get_text()
|
D | libpng-manual.txt | 1449 &text_ptr, &num_text); 1453 text_ptr - array of png_text holding image 1456 text_ptr[i].compression - type of compression used 1462 text_ptr[i].key - keyword for comment. Must contain 1465 text_ptr[i].text - text comments for current 1468 text_ptr[i].text_length - length of text string, 1471 text_ptr[i].itxt_length - length of itxt string, 1474 text_ptr[i].lang - language of comment (empty 1477 text_ptr[i].lang_key - keyword in UTF-8 1481 members of the text_ptr structure only exist when the [all …]
|
D | png.h | 2269 png_inforp info_ptr, png_textp *text_ptr, int *num_text)); 2281 png_inforp info_ptr, png_const_textp text_ptr, int num_text));
|
D | pngpriv.h | 1104 png_inforp info_ptr, png_const_textp text_ptr, int num_text),PNG_EMPTY);
|
D | CHANGES | 547 text_ptr structure. Instead, it makes its own copy.
|
/external/pdfium/samples/fx_lpng/lpng_v163/ |
D | fx_pngset.c | 683 png_const_textp text_ptr, int num_text) in png_set_text() argument 686 ret = png_set_text_2(png_ptr, info_ptr, text_ptr, num_text); in png_set_text() 694 png_const_textp text_ptr, int num_text) in png_set_text_2() argument 701 if (png_ptr == NULL || info_ptr == NULL || num_text <= 0 || text_ptr == NULL) in png_set_text_2() 759 if (text_ptr[i].key == NULL) in png_set_text_2() 762 if (text_ptr[i].compression < PNG_TEXT_COMPRESSION_NONE || in png_set_text_2() 763 text_ptr[i].compression >= PNG_TEXT_COMPRESSION_LAST) in png_set_text_2() 770 key_len = strlen(text_ptr[i].key); in png_set_text_2() 772 if (text_ptr[i].compression <= 0) in png_set_text_2() 783 if (text_ptr[i].lang != NULL) in png_set_text_2() [all …]
|
D | fx_pngget.c | 978 png_textp *text_ptr, int *num_text) in png_get_text() argument 985 if (text_ptr != NULL) in png_get_text() 986 *text_ptr = info_ptr->text; in png_get_text()
|
D | png.h | 2559 png_inforp info_ptr, png_textp *text_ptr, int *num_text)); 2571 png_inforp info_ptr, png_const_textp text_ptr, int num_text));
|
D | pngpriv.h | 1057 png_inforp info_ptr, png_const_textp text_ptr, int num_text),PNG_EMPTY);
|