/external/skia/third_party/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 | 702 png_const_textp text_ptr, int num_text) in png_set_text() argument 705 ret = png_set_text_2(png_ptr, info_ptr, text_ptr, num_text); in png_set_text() 713 png_const_textp text_ptr, int num_text) in png_set_text_2() argument 720 if (png_ptr == NULL || info_ptr == NULL || num_text <= 0 || text_ptr == NULL) in png_set_text_2() 779 if (text_ptr[i].key == NULL) in png_set_text_2() 782 if (text_ptr[i].compression < PNG_TEXT_COMPRESSION_NONE || in png_set_text_2() 783 text_ptr[i].compression >= PNG_TEXT_COMPRESSION_LAST) in png_set_text_2() 790 key_len = strlen(text_ptr[i].key); in png_set_text_2() 792 if (text_ptr[i].compression <= 0) in png_set_text_2() 803 if (text_ptr[i].lang != NULL) in png_set_text_2() [all …]
|
D | pngtest.c | 823 pngtest_check_text_support(png_structp png_ptr, png_textp text_ptr, in pngtest_check_text_support() argument 828 switch (text_ptr[--num_text].compression) in pngtest_check_text_support() 837 text_ptr[num_text].compression = PNG_TEXT_COMPRESSION_NONE; in pngtest_check_text_support() 845 text_ptr[num_text].compression = PNG_TEXT_COMPRESSION_NONE; in pngtest_check_text_support() 1290 png_textp text_ptr; in test_one_file() local 1293 if (png_get_text(read_ptr, read_info_ptr, &text_ptr, &num_text) > 0) in test_one_file() 1297 pngtest_check_text_support(read_ptr, text_ptr, num_text); in test_one_file() 1307 i, text_ptr[i].compression); in test_one_file() 1311 png_set_text(write_ptr, write_info_ptr, text_ptr, num_text); in test_one_file() 1501 png_textp text_ptr; in test_one_file() local [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 | libpng-manual.txt | 1453 &text_ptr, &num_text); 1457 text_ptr - array of png_text holding image 1460 text_ptr[i].compression - type of compression used 1466 text_ptr[i].key - keyword for comment. Must contain 1469 text_ptr[i].text - text comments for current 1472 text_ptr[i].text_length - length of text string, 1475 text_ptr[i].itxt_length - length of itxt string, 1478 text_ptr[i].lang - language of comment (empty 1481 text_ptr[i].lang_key - keyword in UTF-8 1485 members of the text_ptr structure only exist when the [all …]
|
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));
|
/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 | 702 png_const_textp text_ptr, int num_text) in png_set_text() argument 705 ret = png_set_text_2(png_ptr, info_ptr, text_ptr, num_text); in png_set_text() 713 png_const_textp text_ptr, int num_text) in png_set_text_2() argument 720 if (png_ptr == NULL || info_ptr == NULL || num_text <= 0 || text_ptr == NULL) in png_set_text_2() 779 if (text_ptr[i].key == NULL) in png_set_text_2() 782 if (text_ptr[i].compression < PNG_TEXT_COMPRESSION_NONE || in png_set_text_2() 783 text_ptr[i].compression >= PNG_TEXT_COMPRESSION_LAST) in png_set_text_2() 790 key_len = strlen(text_ptr[i].key); in png_set_text_2() 792 if (text_ptr[i].compression <= 0) in png_set_text_2() 803 if (text_ptr[i].lang != NULL) in png_set_text_2() [all …]
|
D | pngtest.c | 824 pngtest_check_text_support(png_structp png_ptr, png_textp text_ptr, in pngtest_check_text_support() argument 829 switch (text_ptr[--num_text].compression) in pngtest_check_text_support() 838 text_ptr[num_text].compression = PNG_TEXT_COMPRESSION_NONE; in pngtest_check_text_support() 846 text_ptr[num_text].compression = PNG_TEXT_COMPRESSION_NONE; in pngtest_check_text_support() 1297 png_textp text_ptr; in test_one_file() local 1300 if (png_get_text(read_ptr, read_info_ptr, &text_ptr, &num_text) > 0) in test_one_file() 1304 pngtest_check_text_support(read_ptr, text_ptr, num_text); in test_one_file() 1314 i, text_ptr[i].compression); in test_one_file() 1318 png_set_text(write_ptr, write_info_ptr, text_ptr, num_text); in test_one_file() 1508 png_textp text_ptr; in test_one_file() local [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 | libpng-manual.txt | 1453 &text_ptr, &num_text); 1457 text_ptr - array of png_text holding image 1460 text_ptr[i].compression - type of compression used 1466 text_ptr[i].key - keyword for comment. Must contain 1469 text_ptr[i].text - text comments for current 1472 text_ptr[i].text_length - length of text string, 1475 text_ptr[i].itxt_length - length of itxt string, 1478 text_ptr[i].lang - language of comment (empty 1481 text_ptr[i].lang_key - keyword in UTF-8 1485 members of the text_ptr structure only exist when the [all …]
|
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));
|
/external/syslinux/com32/lib/libpng/ |
D | example.c | 673 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 …]
|
D | pngpread.c | 1254 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 …]
|
D | pngset.c | 643 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 710 if (text_ptr[i].key == NULL) in png_set_text_2() 713 key_len = png_strlen(text_ptr[i].key); in png_set_text_2() 715 if (text_ptr[i].compression <= 0) in png_set_text_2() 726 if (text_ptr[i].lang != NULL) in png_set_text_2() 727 lang_len = png_strlen(text_ptr[i].lang); in png_set_text_2() 730 if (text_ptr[i].lang_key != NULL) in png_set_text_2() 731 lang_key_len = png_strlen(text_ptr[i].lang_key); in png_set_text_2() [all …]
|
D | pngrutil.c | 1987 png_textp text_ptr; in png_handle_tEXt() local 2056 text_ptr = (png_textp)png_malloc_warn(png_ptr, in png_handle_tEXt() 2058 if (text_ptr == NULL) in png_handle_tEXt() 2065 text_ptr->compression = PNG_TEXT_COMPRESSION_NONE; in png_handle_tEXt() 2066 text_ptr->key = key; in png_handle_tEXt() 2068 text_ptr->lang = NULL; in png_handle_tEXt() 2069 text_ptr->lang_key = NULL; in png_handle_tEXt() 2070 text_ptr->itxt_length = 0; in png_handle_tEXt() 2072 text_ptr->text = text; in png_handle_tEXt() 2073 text_ptr->text_length = png_strlen(text); in png_handle_tEXt() [all …]
|
D | pngtest.c | 1087 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()
|
D | pngget.c | 764 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()
|
D | libpng.txt | 603 &text_ptr, &num_text); 605 text_ptr - array of png_text holding image 607 text_ptr[i].compression - type of compression used 612 text_ptr[i].key - keyword for comment. Must contain 614 text_ptr[i].text - text comments for current 616 text_ptr[i].text_length - length of text string, 618 text_ptr[i].itxt_length - length of itxt string, 620 text_ptr[i].lang - language of comment (empty 622 text_ptr[i].lang_key - keyword in UTF-8 724 A quick word about text_ptr and num_text. PNG stores comments in [all …]
|
/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/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()
|
/external/syslinux/com32/include/ |
D | png.h | 2492 png_infop info_ptr, png_textp *text_ptr, int *num_text)); 2505 png_infop info_ptr, png_textp text_ptr, int num_text)); 3331 png_infop info_ptr, png_textp text_ptr, int num_text)) PNG_PRIVATE;
|