/external/libpng/contrib/gregbook/ |
D | writepng.c | 181 int num_text = 0; in writepng_init() local 184 text[num_text].compression = PNG_TEXT_COMPRESSION_NONE; in writepng_init() 185 text[num_text].key = "Title"; in writepng_init() 186 text[num_text].text = mainprog_ptr->title; in writepng_init() 187 ++num_text; in writepng_init() 190 text[num_text].compression = PNG_TEXT_COMPRESSION_NONE; in writepng_init() 191 text[num_text].key = "Author"; in writepng_init() 192 text[num_text].text = mainprog_ptr->author; in writepng_init() 193 ++num_text; in writepng_init() 196 text[num_text].compression = PNG_TEXT_COMPRESSION_NONE; in writepng_init() [all …]
|
/external/libpng/ |
D | pngtest.c | 816 int num_text) in pngtest_check_text_support() argument 818 while (num_text > 0) in pngtest_check_text_support() 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() 1316 int num_text; in test_one_file() local 1318 if (png_get_text(read_ptr, read_info_ptr, &text_ptr, &num_text) > 0) in test_one_file() 1320 pngtest_debug1("Handling %d iTXt/tEXt/zTXt chunks", num_text); in test_one_file() 1322 pngtest_check_text_support(read_ptr, text_ptr, num_text); in test_one_file() 1329 for (i=0; i<num_text; i++) in test_one_file() [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() 789 if (num_text > info_ptr->max_text - info_ptr->num_text) in png_set_text_2() 791 int old_num_text = info_ptr->num_text; in png_set_text_2() 797 if (num_text <= INT_MAX - max_text) in png_set_text_2() 799 max_text += num_text; in png_set_text_2() 834 for (i = 0; i < num_text; i++) in png_set_text_2() 838 png_textp textp = &(info_ptr->text[info_ptr->num_text]); in png_set_text_2() [all …]
|
D | pngget.c | 1049 png_textp *text_ptr, int *num_text) in png_get_text() argument 1051 if (png_ptr != NULL && info_ptr != NULL && info_ptr->num_text > 0) in png_get_text() 1059 if (num_text != NULL) in png_get_text() 1060 *num_text = info_ptr->num_text; in png_get_text() 1062 return info_ptr->num_text; in png_get_text() 1065 if (num_text != NULL) in png_get_text() 1066 *num_text = 0; in png_get_text()
|
D | pnginfo.h | 120 int num_text; /* number of comments read or comments to write */ member
|
D | pngwrite.c | 291 for (i = 0; i < info_ptr->num_text; i++) in png_write_info() 388 for (i = 0; i < info_ptr->num_text; i++) in png_write_end()
|
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 | png.c | 494 for (i = 0; i < info_ptr->num_text; i++) in png_free_data() 499 info_ptr->num_text = 0; in png_free_data()
|
/external/syslinux/com32/lib/libpng/ |
D | pngset.c | 644 int num_text) in png_set_text() argument 647 ret = png_set_text_2(png_ptr, info_ptr, text_ptr, num_text); in png_set_text() 654 int num_text) in png_set_text_2() argument 662 if (png_ptr == NULL || info_ptr == NULL || num_text == 0) in png_set_text_2() 668 if (info_ptr->num_text + num_text > info_ptr->max_text) in png_set_text_2() 676 info_ptr->max_text = info_ptr->num_text + num_text + 8; in png_set_text_2() 691 info_ptr->max_text = num_text + 8; in png_set_text_2() 692 info_ptr->num_text = 0; in png_set_text_2() 704 for (i = 0; i < num_text; i++) in png_set_text_2() 708 png_textp textp = &(info_ptr->text[info_ptr->num_text]); in png_set_text_2() [all …]
|
D | pngget.c | 765 int *num_text) in png_get_text() argument 767 if (png_ptr != NULL && info_ptr != NULL && info_ptr->num_text > 0) in png_get_text() 776 if (num_text != NULL) in png_get_text() 777 *num_text = info_ptr->num_text; in png_get_text() 779 return ((png_uint_32)info_ptr->num_text); in png_get_text() 781 if (num_text != NULL) in png_get_text() 782 *num_text = 0; in png_get_text()
|
D | pngtest.c | 1088 int num_text; in test_one_file() local 1090 if (png_get_text(read_ptr, read_info_ptr, &text_ptr, &num_text) > 0) in test_one_file() 1092 png_debug1(0, "Handling %d iTXt/tEXt/zTXt chunks", num_text); in test_one_file() 1093 png_set_text(write_ptr, write_info_ptr, text_ptr, num_text); in test_one_file() 1276 int num_text; in test_one_file() local 1278 if (png_get_text(read_ptr, end_info_ptr, &text_ptr, &num_text) > 0) in test_one_file() 1280 png_debug1(0, "Handling %d iTXt/tEXt/zTXt chunks", num_text); in test_one_file() 1281 png_set_text(write_ptr, write_end_info_ptr, text_ptr, num_text); in test_one_file()
|
D | png.c | 385 for (i = 0; i < info_ptr->num_text; i++) in png_free_data() 389 info_ptr->num_text=0; in png_free_data()
|
D | pngwrite.c | 231 for (i = 0; i < info_ptr->num_text; i++) in png_write_info() 337 for (i = 0; i < info_ptr->num_text; i++) in png_write_end()
|
/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() 740 if (num_text > info_ptr->max_text - info_ptr->num_text) in png_set_text_2() 742 int old_num_text = info_ptr->num_text; in png_set_text_2() 748 if (num_text <= INT_MAX - max_text) in png_set_text_2() 750 max_text += num_text; in png_set_text_2() 785 for (i = 0; i < num_text; i++) in png_set_text_2() 789 png_textp textp = &(info_ptr->text[info_ptr->num_text]); in png_set_text_2() [all …]
|
D | pngget.c | 1020 png_textp *text_ptr, int *num_text) in png_get_text() argument 1022 if (png_ptr != NULL && info_ptr != NULL && info_ptr->num_text > 0) in png_get_text() 1030 if (num_text != NULL) in png_get_text() 1031 *num_text = info_ptr->num_text; in png_get_text() 1033 return info_ptr->num_text; in png_get_text() 1036 if (num_text != NULL) in png_get_text() 1037 *num_text = 0; in png_get_text()
|
D | pnginfo.h | 120 int num_text; /* number of comments read or comments to write */ member
|
D | pngwrite.c | 286 for (i = 0; i < info_ptr->num_text; i++) in png_write_info() 383 for (i = 0; i < info_ptr->num_text; i++) in png_write_end()
|
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 | png.c | 474 for (i = 0; i < info_ptr->num_text; i++) in png_free_data() 479 info_ptr->num_text = 0; in png_free_data()
|
/external/pdfium/core/fxcodec/codec/ |
D | ccodec_pngmodule.cpp | 80 int num_text; in _png_load_bmp_attribute() local 82 png_get_text(png_ptr, info_ptr, &text, &num_text); in _png_load_bmp_attribute() 83 for (i = 0; i < num_text; i++) { in _png_load_bmp_attribute()
|
/external/honggfuzz/examples/libpng/ |
D | persistent-png.c | 119 … color_type, interlace_method, compression_method, filter_method, unit_type, num_palette, num_text; in LLVMFuzzerTestOneInput() local 129 ret = png_get_text(png_ptr, info_ptr, &text_ptr, &num_text); in LLVMFuzzerTestOneInput()
|
/external/tensorflow/tensorflow/core/lib/png/ |
D | png_io.cc | 182 int num_text = 0; in DecodeHeader() local 183 png_get_text(context.png_ptr, context.info_ptr, &text_ptr, &num_text); in DecodeHeader() 184 for (int i = 0; i < num_text; i++) { in DecodeHeader()
|
/external/libpng/contrib/tools/ |
D | pngcp.c | 411 int num_text; member 500 dp->num_text = 0; in display_init() 547 dp->num_text = 0; in display_clean() 665 dp->num_text = png_get_text(dp->write_pp, dp->ip, &chunks, NULL); in text_stash() 667 if (dp->num_text > 0) in text_stash() 669 dp->text_ptr = voidcast(png_textp, malloc(dp->num_text * sizeof *chunks)); in text_stash() 675 memcpy(dp->text_ptr, chunks, dp->num_text * sizeof *chunks); in text_stash() 688 png_set_text(dp->write_pp, dp->ip, dp->text_ptr, dp->num_text); in text_restore()
|
/external/v8/src/regexp/ |
D | regexp-parser.cc | 1588 int num_text = text_.length(); in FlushText() local 1589 if (num_text == 0) { in FlushText() 1591 } else if (num_text == 1) { in FlushText() 1595 for (int i = 0; i < num_text; i++) text_.Get(i)->AppendToText(text, zone()); in FlushText()
|
/external/syslinux/com32/include/ |
D | png.h | 859 int num_text PNG_DEPSTRUCT; /* number of comments read/to write */ 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;
|