Home
last modified time | relevance | path

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

/external/libpng/
Dexample.c856 png_text text_ptr[3];
860 text_ptr[0].key = key0;
861 text_ptr[0].text = text0;
862 text_ptr[0].compression = PNG_TEXT_COMPRESSION_NONE;
863 text_ptr[0].itxt_length = 0;
864 text_ptr[0].lang = NULL;
865 text_ptr[0].lang_key = NULL;
869 text_ptr[1].key = key1;
870 text_ptr[1].text = text1;
871 text_ptr[1].compression = PNG_TEXT_COMPRESSION_NONE;
[all …]
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
781 if (png_ptr == NULL || info_ptr == NULL || num_text <= 0 || text_ptr == NULL) in png_set_text_2()
840 if (text_ptr[i].key == NULL) in png_set_text_2()
843 if (text_ptr[i].compression < PNG_TEXT_COMPRESSION_NONE || in png_set_text_2()
844 text_ptr[i].compression >= PNG_TEXT_COMPRESSION_LAST) in png_set_text_2()
851 key_len = strlen(text_ptr[i].key); in png_set_text_2()
853 if (text_ptr[i].compression <= 0) in png_set_text_2()
864 if (text_ptr[i].lang != NULL) in png_set_text_2()
[all …]
Dpngtest.c815 pngtest_check_text_support(png_structp png_ptr, png_textp text_ptr, in pngtest_check_text_support() argument
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()
1317 png_textp text_ptr; in test_one_file() local
1320 if (png_get_text(read_ptr, read_info_ptr, &text_ptr, &num_text) > 0) in test_one_file()
1324 pngtest_check_text_support(read_ptr, text_ptr, num_text); in test_one_file()
1334 i, text_ptr[i].compression); in test_one_file()
1338 png_set_text(write_ptr, write_info_ptr, text_ptr, num_text); in test_one_file()
1537 png_textp text_ptr; in test_one_file() local
[all …]
Dpngget.c1050 png_textp *text_ptr, int *num_text) in png_get_text() argument
1057 if (text_ptr != NULL) in png_get_text()
1058 *text_ptr = info_ptr->text; in png_get_text()
Dlibpng-manual.txt1491 &text_ptr, &num_text);
1495 text_ptr - array of png_text holding image
1498 text_ptr[i].compression - type of compression used
1504 text_ptr[i].key - keyword for comment. Must contain
1507 text_ptr[i].text - text comments for current
1510 text_ptr[i].text_length - length of text string,
1513 text_ptr[i].itxt_length - length of itxt string,
1516 text_ptr[i].lang - language of comment (empty
1519 text_ptr[i].lang_key - keyword in UTF-8
1523 members of the text_ptr structure only exist when the
[all …]
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));
Dpngpriv.h1209 png_inforp info_ptr, png_const_textp text_ptr, int num_text),PNG_EMPTY);
DCHANGES554 text_ptr structure. Instead, it makes its own copy.
/external/pdfium/third_party/libpng16/
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
781 if (png_ptr == NULL || info_ptr == NULL || num_text <= 0 || text_ptr == NULL) in png_set_text_2()
840 if (text_ptr[i].key == NULL) in png_set_text_2()
843 if (text_ptr[i].compression < PNG_TEXT_COMPRESSION_NONE || in png_set_text_2()
844 text_ptr[i].compression >= PNG_TEXT_COMPRESSION_LAST) in png_set_text_2()
851 key_len = strlen(text_ptr[i].key); in png_set_text_2()
853 if (text_ptr[i].compression <= 0) in png_set_text_2()
864 if (text_ptr[i].lang != NULL) in png_set_text_2()
[all …]
Dpngget.c1050 png_textp *text_ptr, int *num_text) in png_get_text() argument
1057 if (text_ptr != NULL) in png_get_text()
1058 *text_ptr = info_ptr->text; in png_get_text()
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));
Dpngpriv.h1209 png_inforp info_ptr, png_const_textp text_ptr, int num_text),PNG_EMPTY);
/external/tensorflow/tensorflow/core/lib/png/
Dpng_io.cc188 png_textp text_ptr = nullptr; in DecodeHeader() local
190 png_get_text(context.png_ptr, context.info_ptr, &text_ptr, &num_text); in DecodeHeader()
192 const png_text& text = text_ptr[i]; in DecodeHeader()
/external/libpng/contrib/tools/
Dpngcp.c410 png_textp text_ptr; /* stash of text chunks */ member
499 dp->text_ptr = NULL; in display_init()
548 free(dp->text_ptr); in display_clean()
549 dp->text_ptr = NULL; in display_clean()
669 dp->text_ptr = voidcast(png_textp, malloc(dp->num_text * sizeof *chunks)); in text_stash()
671 if (dp->text_ptr == NULL) in text_stash()
675 memcpy(dp->text_ptr, chunks, dp->num_text * sizeof *chunks); in text_stash()
687 if (dp->text_ptr != NULL) in text_restore()
688 png_set_text(dp->write_pp, dp->ip, dp->text_ptr, dp->num_text); in text_restore()