/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/qemu/distrib/libpng-1.2.46/ |
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() 671 int old_num_text = info_ptr->num_text; in png_set_text_2() 677 info_ptr->max_text = info_ptr->num_text + num_text + 8; in png_set_text_2() 695 info_ptr->max_text = num_text + 8; in png_set_text_2() 696 info_ptr->num_text = 0; in png_set_text_2() 702 info_ptr->num_text = old_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 | png.c | 386 for (i = 0; i < info_ptr->num_text; i++) in png_free_data() 390 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() 338 for (i = 0; i < info_ptr->num_text; i++) in png_write_end()
|
D | png.h | 911 int num_text PNG_DEPSTRUCT; /* number of comments read/to write */ 2569 png_infop info_ptr, png_textp *text_ptr, int *num_text)); 2582 png_infop info_ptr, png_textp text_ptr, int num_text)); 3420 png_infop info_ptr, png_textp text_ptr, int num_text)) PNG_PRIVATE;
|
/external/libpng/ |
D | pngtest.c | 795 int num_text) in pngtest_check_text_support() argument 797 while (num_text > 0) in pngtest_check_text_support() 799 switch (text_ptr[--num_text].compression) in pngtest_check_text_support() 1249 int num_text; in test_one_file() local 1251 if (png_get_text(read_ptr, read_info_ptr, &text_ptr, &num_text) > 0) in test_one_file() 1253 pngtest_debug1("Handling %d iTXt/tEXt/zTXt chunks", num_text); in test_one_file() 1255 pngtest_check_text_support(read_ptr, text_ptr, num_text); in test_one_file() 1262 for (i=0; i<num_text; i++) in test_one_file() 1269 png_set_text(write_ptr, write_info_ptr, text_ptr, num_text); in test_one_file() 1431 int num_text; in test_one_file() local [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() 710 if (num_text > info_ptr->max_text - info_ptr->num_text) in png_set_text_2() 712 int old_num_text = info_ptr->num_text; in png_set_text_2() 718 if (num_text <= INT_MAX - max_text) in png_set_text_2() 720 max_text += num_text; in png_set_text_2() 754 for (i = 0; i < num_text; i++) in png_set_text_2() 758 png_textp textp = &(info_ptr->text[info_ptr->num_text]); in png_set_text_2() [all …]
|
D | pngget.c | 979 png_textp *text_ptr, int *num_text) in png_get_text() argument 981 if (png_ptr != NULL && info_ptr != NULL && info_ptr->num_text > 0) in png_get_text() 989 if (num_text != NULL) in png_get_text() 990 *num_text = info_ptr->num_text; in png_get_text() 992 return info_ptr->num_text; in png_get_text() 995 if (num_text != NULL) in png_get_text() 996 *num_text = 0; in png_get_text()
|
D | pnginfo.h | 121 int num_text; /* number of comments read or comments to write */ member
|
D | pngwrite.c | 280 for (i = 0; i < info_ptr->num_text; i++) in png_write_info() 375 for (i = 0; i < info_ptr->num_text; i++) in png_write_end()
|
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 | png.c | 468 for (i = 0; i < info_ptr->num_text; i++) in png_free_data() 472 info_ptr->num_text=0; in png_free_data()
|
D | pngpriv.h | 1104 png_inforp info_ptr, png_const_textp text_ptr, int num_text),PNG_EMPTY);
|
D | libpng-manual.txt | 1449 &text_ptr, &num_text); 1489 num_text - number of comments (same as 1637 A quick word about text_ptr and num_text. PNG stores comments in 3071 png_set_text(png_ptr, info_ptr, text_ptr, num_text); 3103 num_text - number of comments 3179 A quick word about text and num_text. text is an array of png_text 3180 structures. num_text is the number of valid structures in the array.
|
D | CHANGES | 379 Fixed error in example.c with png_set_text: num_text is 3, not 2 (Guido V.) 698 Return *num_text=0 from png_get_text() when appropriate, and fix documentation
|
/external/chromium_org/third_party/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 | 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() 338 for (i = 0; i < info_ptr->num_text; i++) in png_write_end()
|
D | png.h | 864 int num_text PNG_DEPSTRUCT; /* number of comments read/to write */ 2497 png_infop info_ptr, png_textp *text_ptr, int *num_text)); 2510 png_infop info_ptr, png_textp text_ptr, int num_text)); 3336 png_infop info_ptr, png_textp text_ptr, int num_text)) PNG_PRIVATE;
|
/external/chromium_org/v8/src/ |
D | parser.cc | 50 int num_text = text_.length(); in FlushText() local 51 if (num_text == 0) { in FlushText() 53 } else if (num_text == 1) { in FlushText() 57 for (int i = 0; i < num_text; i++) in FlushText()
|
/external/libpng/contrib/libtests/ |
D | pngvalid.c | 4902 png_uint_32 num_text = png_get_text(pp, pi, &tp, NULL); in standard_text_validate() local 4904 if (num_text == 2 && tp != NULL) in standard_text_validate() 4921 (unsigned long)num_text); in standard_text_validate()
|