Home
last modified time | relevance | path

Searched refs:num_text (Results 1 – 16 of 16) sorted by relevance

/external/libpng/contrib/gregbook/
Dwritepng.c179 int num_text = 0; in writepng_init() local
182 text[num_text].compression = PNG_TEXT_COMPRESSION_NONE; in writepng_init()
183 text[num_text].key = "Title"; in writepng_init()
184 text[num_text].text = mainprog_ptr->title; in writepng_init()
185 ++num_text; in writepng_init()
188 text[num_text].compression = PNG_TEXT_COMPRESSION_NONE; in writepng_init()
189 text[num_text].key = "Author"; in writepng_init()
190 text[num_text].text = mainprog_ptr->author; in writepng_init()
191 ++num_text; in writepng_init()
194 text[num_text].compression = PNG_TEXT_COMPRESSION_NONE; in writepng_init()
[all …]
/external/libpng/
Dpngset.c644 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 …]
Dpngget.c765 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()
Dpngtest.c1088 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()
Dpng.c386 for (i = 0; i < info_ptr->num_text; i++) in png_free_data()
390 info_ptr->num_text=0; in png_free_data()
Dpngwrite.c231 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()
Dpng.h911 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;
Dlibpng-1.2.46.txt677 &text_ptr, &num_text);
702 num_text - number of comments (same as
802 A quick word about text_ptr and num_text. PNG stores comments in
1954 png_set_text(png_ptr, info_ptr, text_ptr, num_text);
1978 num_text - number of comments
2039 A quick word about text and num_text. text is an array of png_text
2040 structures. num_text is the number of valid structures in the array.
Dlibpng-1.2.44.txt677 &text_ptr, &num_text);
702 num_text - number of comments (same as
802 A quick word about text_ptr and num_text. PNG stores comments in
1954 png_set_text(png_ptr, info_ptr, text_ptr, num_text);
1978 num_text - number of comments
2039 A quick word about text and num_text. text is an array of png_text
2040 structures. num_text is the number of valid structures in the array.
DCHANGES361 Fixed error in example.c with png_set_text: num_text is 3, not 2 (Guido V.)
648 Return *num_text=0 from png_get_text() when appropriate, and fix documentation
/external/qemu/distrib/libpng-1.2.19/
Dpngset.c721 int num_text) in png_set_text() argument
724 ret=png_set_text_2(png_ptr, info_ptr, text_ptr, num_text); in png_set_text()
731 int num_text) in png_set_text_2() argument
738 if (png_ptr == NULL || info_ptr == NULL || num_text == 0) in png_set_text_2()
744 if (info_ptr->num_text + num_text > info_ptr->max_text) in png_set_text_2()
752 info_ptr->max_text = info_ptr->num_text + num_text + 8; in png_set_text_2()
767 info_ptr->max_text = num_text + 8; in png_set_text_2()
768 info_ptr->num_text = 0; in png_set_text_2()
780 for (i = 0; i < num_text; i++) in png_set_text_2()
784 png_textp textp = &(info_ptr->text[info_ptr->num_text]); in png_set_text_2()
[all …]
Dpngget.c727 int *num_text) in png_get_text() argument
729 if (png_ptr != NULL && info_ptr != NULL && info_ptr->num_text > 0) in png_get_text()
736 if (num_text != NULL) in png_get_text()
737 *num_text = info_ptr->num_text; in png_get_text()
738 return ((png_uint_32)info_ptr->num_text); in png_get_text()
740 if (num_text != NULL) in png_get_text()
741 *num_text = 0; in png_get_text()
Dpng.c370 for (i = 0; i < info_ptr->num_text; i++) in png_free_data()
374 info_ptr->num_text=0; in png_free_data()
Dpngwrite.c214 for (i = 0; i < info_ptr->num_text; i++) in png_write_info()
317 for (i = 0; i < info_ptr->num_text; i++) in png_write_end()
Dpng.h748 int num_text; /* number of comments read/to write */ member
2344 png_infop info_ptr, png_textp *text_ptr, int *num_text));
2357 png_infop info_ptr, png_textp text_ptr, int num_text));
3115 png_infop info_ptr, png_textp text_ptr, int num_text));
/external/v8/src/
Dparser.cc114 int num_text = text_.length(); in FlushText() local
115 if (num_text == 0) { in FlushText()
117 } else if (num_text == 1) { in FlushText()
121 for (int i = 0; i < num_text; i++) in FlushText()