/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 | 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() [all …]
|
D | pngtest.c | 815 pngtest_check_text_support(png_structp png_ptr, png_textp text_ptr, in pngtest_check_text_support() argument 820 switch (text_ptr[--num_text].compression) in pngtest_check_text_support() 829 text_ptr[num_text].compression = PNG_TEXT_COMPRESSION_NONE; in pngtest_check_text_support() 837 text_ptr[num_text].compression = PNG_TEXT_COMPRESSION_NONE; in pngtest_check_text_support() 1315 png_textp text_ptr; in test_one_file() local 1318 if (png_get_text(read_ptr, read_info_ptr, &text_ptr, &num_text) > 0) in test_one_file() 1322 pngtest_check_text_support(read_ptr, text_ptr, num_text); in test_one_file() 1332 i, text_ptr[i].compression); in test_one_file() 1336 png_set_text(write_ptr, write_info_ptr, text_ptr, num_text); in test_one_file() 1535 png_textp text_ptr; in test_one_file() local [all …]
|
D | pngget.c | 1049 png_textp *text_ptr, int *num_text) in png_get_text() argument 1056 if (text_ptr != NULL) in png_get_text() 1057 *text_ptr = info_ptr->text; in png_get_text()
|
D | libpng-manual.txt | 1490 &text_ptr, &num_text); 1494 text_ptr - array of png_text holding image 1497 text_ptr[i].compression - type of compression used 1503 text_ptr[i].key - keyword for comment. Must contain 1506 text_ptr[i].text - text comments for current 1509 text_ptr[i].text_length - length of text string, 1512 text_ptr[i].itxt_length - length of itxt string, 1515 text_ptr[i].lang - language of comment (empty 1518 text_ptr[i].lang_key - keyword in UTF-8 1522 members of the text_ptr structure only exist when the [all …]
|
D | png.h | 2145 png_inforp info_ptr, png_textp *text_ptr, int *num_text)); 2157 png_inforp info_ptr, png_const_textp text_ptr, int num_text));
|
D | pngpriv.h | 1200 png_inforp info_ptr, png_const_textp text_ptr, int num_text),PNG_EMPTY);
|
D | CHANGES | 555 text_ptr structure. Instead, it makes its own copy.
|
/external/pdfium/third_party/libpng16/ |
D | pngset.c | 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() [all …]
|
D | pngget.c | 1020 png_textp *text_ptr, int *num_text) in png_get_text() argument 1027 if (text_ptr != NULL) in png_get_text() 1028 *text_ptr = info_ptr->text; in png_get_text()
|
D | png.h | 2139 png_inforp info_ptr, png_textp *text_ptr, int *num_text)); 2151 png_inforp info_ptr, png_const_textp text_ptr, int num_text));
|
D | pngpriv.h | 1121 png_inforp info_ptr, png_const_textp text_ptr, int num_text),PNG_EMPTY);
|
/external/honggfuzz/examples/libpng/ |
D | persistent-png.c | 117 png_textp text_ptr; in LLVMFuzzerTestOneInput() local 126 ret = png_get_text(png_ptr, info_ptr, &text_ptr, &num_text); in LLVMFuzzerTestOneInput()
|
/external/tensorflow/tensorflow/core/lib/png/ |
D | png_io.cc | 187 png_textp text_ptr = nullptr; in DecodeHeader() local 189 png_get_text(context.png_ptr, context.info_ptr, &text_ptr, &num_text); in DecodeHeader() 191 const png_text& text = text_ptr[i]; in DecodeHeader()
|
/external/libpng/contrib/tools/ |
D | pngcp.c | 410 png_textp text_ptr; /* stash of text chunks */ member 499 dp->text_ptr = NULL; in display_init() 548 free(dp->text_ptr); in display_clean() 549 dp->text_ptr = NULL; in display_clean() 669 dp->text_ptr = voidcast(png_textp, malloc(dp->num_text * sizeof *chunks)); in text_stash() 671 if (dp->text_ptr == NULL) in text_stash() 675 memcpy(dp->text_ptr, chunks, dp->num_text * sizeof *chunks); in text_stash() 687 if (dp->text_ptr != NULL) in text_restore() 688 png_set_text(dp->write_pp, dp->ip, dp->text_ptr, dp->num_text); in text_restore()
|