/external/libpng/contrib/gregbook/ |
H A D | writepng.c | 181 int num_text = 0; local 184 text[num_text].compression = PNG_TEXT_COMPRESSION_NONE; 185 text[num_text].key = "Title"; 186 text[num_text].text = mainprog_ptr->title; 187 ++num_text; 190 text[num_text].compression = PNG_TEXT_COMPRESSION_NONE; 191 text[num_text].key = "Author"; 192 text[num_text].text = mainprog_ptr->author; 193 ++num_text; 196 text[num_text] [all...] |
/external/libpng/ |
H A D | pnginfo.h | 120 int num_text; /* number of comments read or comments to write */ member in struct:png_info_def
|
H A D | pngget.c | 1020 png_textp *text_ptr, int *num_text) 1022 if (png_ptr != NULL && info_ptr != NULL && info_ptr->num_text > 0) 1030 if (num_text != NULL) 1031 *num_text = info_ptr->num_text; 1033 return info_ptr->num_text; 1036 if (num_text != NULL) 1037 *num_text = 0; 1019 png_get_text(png_const_structrp png_ptr, png_inforp info_ptr, png_textp *text_ptr, int *num_text) argument
|
H A D | pngset.c | 702 png_const_textp text_ptr, int num_text) 705 ret = png_set_text_2(png_ptr, info_ptr, text_ptr, num_text); 713 png_const_textp text_ptr, int num_text) 720 if (png_ptr == NULL || info_ptr == NULL || num_text <= 0 || text_ptr == NULL) 725 * because max_text >= num_text (anyway, subtract of two positive integers 728 if (num_text > info_ptr->max_text - info_ptr->num_text) 730 int old_num_text = info_ptr->num_text; 736 if (num_text <= INT_MAX - max_text) 738 max_text += num_text; 701 png_set_text(png_const_structrp png_ptr, png_inforp info_ptr, png_const_textp text_ptr, int num_text) argument 712 png_set_text_2(png_const_structrp png_ptr, png_inforp info_ptr, png_const_textp text_ptr, int num_text) argument [all...] |
H A D | pngtest.c | 825 int num_text) 827 while (num_text > 0) 829 switch (text_ptr[--num_text].compression) 838 text_ptr[num_text].compression = PNG_TEXT_COMPRESSION_NONE; 846 text_ptr[num_text].compression = PNG_TEXT_COMPRESSION_NONE; 1298 int num_text; local 1300 if (png_get_text(read_ptr, read_info_ptr, &text_ptr, &num_text) > 0) 1302 pngtest_debug1("Handling %d iTXt/tEXt/zTXt chunks", num_text); 1304 pngtest_check_text_support(read_ptr, text_ptr, num_text); 1311 for (i=0; i<num_text; 824 pngtest_check_text_support(png_structp png_ptr, png_textp text_ptr, int num_text) argument 1509 int num_text; local [all...] |
/external/pdfium/core/fxcodec/codec/ |
H A D | ccodec_pngmodule.cpp | 71 int num_text; local 73 png_get_text(png_ptr, info_ptr, &text, &num_text); 74 for (i = 0; i < num_text; i++) {
|
/external/pdfium/third_party/libpng16/ |
H A D | pnginfo.h | 120 int num_text; /* number of comments read or comments to write */ member in struct:png_info_def
|
H A D | pngget.c | 1020 png_textp *text_ptr, int *num_text) 1022 if (png_ptr != NULL && info_ptr != NULL && info_ptr->num_text > 0) 1030 if (num_text != NULL) 1031 *num_text = info_ptr->num_text; 1033 return info_ptr->num_text; 1036 if (num_text != NULL) 1037 *num_text = 0; 1019 png_get_text(png_const_structrp png_ptr, png_inforp info_ptr, png_textp *text_ptr, int *num_text) argument
|
H A D | pngset.c | 714 png_const_textp text_ptr, int num_text) 717 ret = png_set_text_2(png_ptr, info_ptr, text_ptr, num_text); 725 png_const_textp text_ptr, int num_text) 732 if (png_ptr == NULL || info_ptr == NULL || num_text <= 0 || text_ptr == NULL) 737 * because max_text >= num_text (anyway, subtract of two positive integers 740 if (num_text > info_ptr->max_text - info_ptr->num_text) 742 int old_num_text = info_ptr->num_text; 748 if (num_text <= INT_MAX - max_text) 750 max_text += num_text; 713 png_set_text(png_const_structrp png_ptr, png_inforp info_ptr, png_const_textp text_ptr, int num_text) argument 724 png_set_text_2(png_const_structrp png_ptr, png_inforp info_ptr, png_const_textp text_ptr, int num_text) argument [all...] |
/external/skia/third_party/libpng/ |
H A D | pnginfo.h | 120 int num_text; /* number of comments read or comments to write */ member in struct:png_info_def
|
H A D | pngget.c | 1020 png_textp *text_ptr, int *num_text) 1022 if (png_ptr != NULL && info_ptr != NULL && info_ptr->num_text > 0) 1030 if (num_text != NULL) 1031 *num_text = info_ptr->num_text; 1033 return info_ptr->num_text; 1036 if (num_text != NULL) 1037 *num_text = 0; 1019 png_get_text(png_const_structrp png_ptr, png_inforp info_ptr, png_textp *text_ptr, int *num_text) argument
|
H A D | pngset.c | 702 png_const_textp text_ptr, int num_text) 705 ret = png_set_text_2(png_ptr, info_ptr, text_ptr, num_text); 713 png_const_textp text_ptr, int num_text) 720 if (png_ptr == NULL || info_ptr == NULL || num_text <= 0 || text_ptr == NULL) 725 * because max_text >= num_text (anyway, subtract of two positive integers 728 if (num_text > info_ptr->max_text - info_ptr->num_text) 730 int old_num_text = info_ptr->num_text; 736 if (num_text <= INT_MAX - max_text) 738 max_text += num_text; 701 png_set_text(png_const_structrp png_ptr, png_inforp info_ptr, png_const_textp text_ptr, int num_text) argument 712 png_set_text_2(png_const_structrp png_ptr, png_inforp info_ptr, png_const_textp text_ptr, int num_text) argument [all...] |
H A D | pngtest.c | 824 int num_text) 826 while (num_text > 0) 828 switch (text_ptr[--num_text].compression) 837 text_ptr[num_text].compression = PNG_TEXT_COMPRESSION_NONE; 845 text_ptr[num_text].compression = PNG_TEXT_COMPRESSION_NONE; 1291 int num_text; local 1293 if (png_get_text(read_ptr, read_info_ptr, &text_ptr, &num_text) > 0) 1295 pngtest_debug1("Handling %d iTXt/tEXt/zTXt chunks", num_text); 1297 pngtest_check_text_support(read_ptr, text_ptr, num_text); 1304 for (i=0; i<num_text; 823 pngtest_check_text_support(png_structp png_ptr, png_textp text_ptr, int num_text) argument 1502 int num_text; local [all...] |
/external/syslinux/com32/lib/libpng/ |
H A D | pngget.c | 765 int *num_text) 767 if (png_ptr != NULL && info_ptr != NULL && info_ptr->num_text > 0) 776 if (num_text != NULL) 777 *num_text = info_ptr->num_text; 779 return ((png_uint_32)info_ptr->num_text); 781 if (num_text != NULL) 782 *num_text = 0; 764 png_get_text(png_structp png_ptr, png_infop info_ptr, png_textp *text_ptr, int *num_text) argument
|
H A D | pngset.c | 644 int num_text) 647 ret = png_set_text_2(png_ptr, info_ptr, text_ptr, num_text); 654 int num_text) 662 if (png_ptr == NULL || info_ptr == NULL || num_text == 0) 668 if (info_ptr->num_text + num_text > info_ptr->max_text) 676 info_ptr->max_text = info_ptr->num_text + num_text + 8; 691 info_ptr->max_text = num_text + 8; 692 info_ptr->num_text 643 png_set_text(png_structp png_ptr, png_infop info_ptr, png_textp text_ptr, int num_text) argument 653 png_set_text_2(png_structp png_ptr, png_infop info_ptr, png_textp text_ptr, int num_text) argument [all...] |
H A D | pngtest.c | 1088 int num_text; local 1090 if (png_get_text(read_ptr, read_info_ptr, &text_ptr, &num_text) > 0) 1092 png_debug1(0, "Handling %d iTXt/tEXt/zTXt chunks", num_text); 1093 png_set_text(write_ptr, write_info_ptr, text_ptr, num_text); 1276 int num_text; local 1278 if (png_get_text(read_ptr, end_info_ptr, &text_ptr, &num_text) > 0) 1280 png_debug1(0, "Handling %d iTXt/tEXt/zTXt chunks", num_text); 1281 png_set_text(write_ptr, write_end_info_ptr, text_ptr, num_text);
|
/external/libpng/contrib/tools/ |
H A D | pngcp.c | 411 int num_text; member in struct:display 500 dp->num_text = 0; 547 dp->num_text = 0; 665 dp->num_text = png_get_text(dp->write_pp, dp->ip, &chunks, NULL); 667 if (dp->num_text > 0) 669 dp->text_ptr = voidcast(png_textp, malloc(dp->num_text * sizeof *chunks)); 675 memcpy(dp->text_ptr, chunks, dp->num_text * sizeof *chunks); 688 png_set_text(dp->write_pp, dp->ip, dp->text_ptr, dp->num_text);
|
/external/v8/src/regexp/ |
H A D | regexp-parser.cc | 1588 int num_text = text_.length(); local 1589 if (num_text == 0) { 1591 } else if (num_text == 1) { 1595 for (int i = 0; i < num_text; i++) text_.Get(i)->AppendToText(text, zone());
|
/external/ImageMagick/coders/ |
H A D | png.c | 1933 num_text, 2125 num_text = 0; 3625 status = png_get_text(ping,ping_info,&text,&num_text) != 0 ? 3628 status = png_get_text(ping,end_info,&text,&num_text) != 0 ? 3632 for (i=0; i < (ssize_t) num_text; i++) 3701 num_text_total += num_text; 1926 num_text, local
|
/external/libpng/contrib/libtests/ |
H A D | pngvalid.c | 5619 png_uint_32 num_text = png_get_text(pp, pi, &tp, NULL); local 5621 if (num_text == 2 && tp != NULL) 5638 (unsigned long)num_text);
|