Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/gregbook/
A Dwritepng.c181 int num_text = 0; in writepng_init() local
185 text[num_text].key = "Title"; in writepng_init()
187 ++num_text; in writepng_init()
191 text[num_text].key = "Author"; in writepng_init()
193 ++num_text; in writepng_init()
199 ++num_text; in writepng_init()
205 ++num_text; in writepng_init()
209 text[num_text].key = "E-mail"; in writepng_init()
211 ++num_text; in writepng_init()
215 text[num_text].key = "URL"; in writepng_init()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/
A Dpngtest.c816 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()
1318 int num_text; in test_one_file() local
1322 pngtest_debug1("Handling %d iTXt/tEXt/zTXt chunks", num_text); in test_one_file()
1324 pngtest_check_text_support(read_ptr, text_ptr, num_text); in test_one_file()
1331 for (i=0; i<num_text; i++) in test_one_file()
1338 png_set_text(write_ptr, write_info_ptr, text_ptr, num_text); in test_one_file()
1538 int num_text; in test_one_file() local
1544 pngtest_check_text_support(read_ptr, text_ptr, num_text); in test_one_file()
[all …]
A Dpngset.c763 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
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()
958 info_ptr->num_text++; in png_set_text_2()
[all …]
A Dpngget.c1050 png_textp *text_ptr, int *num_text) in png_get_text() argument
1052 if (png_ptr != NULL && info_ptr != NULL && info_ptr->num_text > 0) in png_get_text()
1060 if (num_text != NULL) in png_get_text()
1061 *num_text = info_ptr->num_text; in png_get_text()
1063 return info_ptr->num_text; in png_get_text()
1066 if (num_text != NULL) in png_get_text()
1067 *num_text = 0; in png_get_text()
A Dpnginfo.h120 int num_text; /* number of comments read or comments to write */ member
A Dpng.h2114 png_inforp info_ptr, png_textp *text_ptr, int *num_text));
2126 png_inforp info_ptr, png_const_textp text_ptr, int num_text));
A Dpngwrite.c291 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()
A Dpng.c494 for (i = 0; i < info_ptr->num_text; i++) in png_free_data()
499 info_ptr->num_text = 0; in png_free_data()
A Dpngpriv.h1209 png_inforp info_ptr, png_const_textp text_ptr, int num_text),PNG_EMPTY);
A Dlibpng-manual.txt1491 &text_ptr, &num_text);
1531 num_text - number of comments (same as
1679 A quick word about text_ptr and num_text. PNG stores comments in
3137 png_set_text(png_ptr, info_ptr, text_ptr, num_text);
3169 num_text - number of comments
3245 A quick word about text and num_text. text is an array of png_text
3246 structures. num_text is the number of valid structures in the array.
A DCHANGES385 Fixed error in example.c with png_set_text: num_text is 3, not 2 (Guido V.)
705 Return *num_text=0 from png_get_text() when appropriate, and fix documentation
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/tools/
A Dpngcp.c411 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()
/AliOS-Things-master/components/SDL2/src/image/VisualC/external/include/
A Dpng.h2114 png_inforp info_ptr, png_textp *text_ptr, int *num_text));
2126 png_inforp info_ptr, png_const_textp text_ptr, int num_text));
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/libtests/
A Dpngvalid.c5621 png_uint_32 num_text = png_get_text(pp, pi, &tp, NULL); in standard_text_validate() local
5623 if (num_text == 2 && tp != NULL) in standard_text_validate()
5640 (unsigned long)num_text); in standard_text_validate()

Completed in 84 milliseconds