Searched defs:text_ptr (Results 1 - 14 of 14) sorted by relevance

/external/syslinux/com32/lib/libpng/
H A Dpngget.c764 png_get_text(png_structp png_ptr, png_infop info_ptr, png_textp *text_ptr, argument
773 if (text_ptr != NULL)
774 *text_ptr = info_ptr->text;
H A Dpngpread.c1254 png_textp text_ptr; local
1280 text_ptr = (png_textp)png_malloc(png_ptr,
1282 text_ptr->compression = PNG_TEXT_COMPRESSION_NONE;
1283 text_ptr->key = key;
1285 text_ptr->lang = NULL;
1286 text_ptr->lang_key = NULL;
1288 text_ptr->text = text;
1290 ret = png_set_text_2(png_ptr, info_ptr, text_ptr, 1);
1293 png_free(png_ptr, text_ptr);
1354 png_textp text_ptr; local
1554 png_textp text_ptr; local
[all...]
H A Dpngset.c643 png_set_text(png_structp png_ptr, png_infop info_ptr, png_textp text_ptr, argument
647 ret = png_set_text_2(png_ptr, info_ptr, text_ptr, num_text);
653 png_set_text_2(png_structp png_ptr, png_infop info_ptr, png_textp text_ptr, argument
666 * to hold all of the incoming text_ptr objects.
710 if (text_ptr[i].key == NULL)
713 key_len = png_strlen(text_ptr[i].key);
715 if (text_ptr[i].compression <= 0)
726 if (text_ptr[i].lang != NULL)
727 lang_len = png_strlen(text_ptr[i].lang);
730 if (text_ptr[
[all...]
H A Dpngrutil.c1987 png_textp text_ptr; local
2056 text_ptr = (png_textp)png_malloc_warn(png_ptr,
2058 if (text_ptr == NULL)
2065 text_ptr->compression = PNG_TEXT_COMPRESSION_NONE;
2066 text_ptr->key = key;
2068 text_ptr->lang = NULL;
2069 text_ptr->lang_key = NULL;
2070 text_ptr->itxt_length = 0;
2072 text_ptr->text = text;
2073 text_ptr
2090 png_textp text_ptr; local
2210 png_textp text_ptr; local
[all...]
H A Dpngtest.c1087 png_textp text_ptr; local
1090 if (png_get_text(read_ptr, read_info_ptr, &text_ptr, &num_text) > 0)
1093 png_set_text(write_ptr, write_info_ptr, text_ptr, num_text);
1275 png_textp text_ptr; local
1278 if (png_get_text(read_ptr, end_info_ptr, &text_ptr, &num_text) > 0)
1281 png_set_text(write_ptr, write_end_info_ptr, text_ptr, num_text);
/external/libpng/
H A Dpngget.c1020 png_textp *text_ptr, int *num_text)
1027 if (text_ptr != NULL)
1028 *text_ptr = info_ptr->text;
1019 png_get_text(png_const_structrp png_ptr, png_inforp info_ptr, png_textp *text_ptr, int *num_text) argument
H A Dpngset.c702 png_const_textp text_ptr, int num_text)
705 ret = png_set_text_2(png_ptr, info_ptr, text_ptr, num_text);
713 png_const_textp text_ptr, int num_text)
720 if (png_ptr == NULL || info_ptr == NULL || num_text <= 0 || text_ptr == NULL)
724 * to hold all of the incoming text_ptr objects. This compare can't overflow
779 if (text_ptr[i].key == NULL)
782 if (text_ptr[i].compression < PNG_TEXT_COMPRESSION_NONE ||
783 text_ptr[i].compression >= PNG_TEXT_COMPRESSION_LAST)
790 key_len = strlen(text_ptr[i].key);
792 if (text_ptr[
701 png_set_text(png_const_structrp png_ptr, png_inforp info_ptr, png_const_textp text_ptr, int num_text) argument
712 png_set_text_2(png_const_structrp png_ptr, png_inforp info_ptr, png_const_textp text_ptr, int num_text) argument
[all...]
H A Dpngtest.c824 pngtest_check_text_support(png_structp png_ptr, png_textp text_ptr, argument
829 switch (text_ptr[--num_text].compression)
838 text_ptr[num_text].compression = PNG_TEXT_COMPRESSION_NONE;
846 text_ptr[num_text].compression = PNG_TEXT_COMPRESSION_NONE;
1297 png_textp text_ptr; local
1300 if (png_get_text(read_ptr, read_info_ptr, &text_ptr, &num_text) > 0)
1304 pngtest_check_text_support(read_ptr, text_ptr, num_text);
1314 i, text_ptr[i].compression);
1318 png_set_text(write_ptr, write_info_ptr, text_ptr, num_text);
1508 png_textp text_ptr; local
[all...]
/external/pdfium/third_party/libpng16/
H A Dpngget.c1020 png_textp *text_ptr, int *num_text)
1027 if (text_ptr != NULL)
1028 *text_ptr = info_ptr->text;
1019 png_get_text(png_const_structrp png_ptr, png_inforp info_ptr, png_textp *text_ptr, int *num_text) argument
H A Dpngset.c714 png_const_textp text_ptr, int num_text)
717 ret = png_set_text_2(png_ptr, info_ptr, text_ptr, num_text);
725 png_const_textp text_ptr, int num_text)
732 if (png_ptr == NULL || info_ptr == NULL || num_text <= 0 || text_ptr == NULL)
736 * to hold all of the incoming text_ptr objects. This compare can't overflow
791 if (text_ptr[i].key == NULL)
794 if (text_ptr[i].compression < PNG_TEXT_COMPRESSION_NONE ||
795 text_ptr[i].compression >= PNG_TEXT_COMPRESSION_LAST)
802 key_len = strlen(text_ptr[i].key);
804 if (text_ptr[
713 png_set_text(png_const_structrp png_ptr, png_inforp info_ptr, png_const_textp text_ptr, int num_text) argument
724 png_set_text_2(png_const_structrp png_ptr, png_inforp info_ptr, png_const_textp text_ptr, int num_text) argument
[all...]
/external/skia/third_party/libpng/
H A Dpngget.c1020 png_textp *text_ptr, int *num_text)
1027 if (text_ptr != NULL)
1028 *text_ptr = info_ptr->text;
1019 png_get_text(png_const_structrp png_ptr, png_inforp info_ptr, png_textp *text_ptr, int *num_text) argument
H A Dpngset.c702 png_const_textp text_ptr, int num_text)
705 ret = png_set_text_2(png_ptr, info_ptr, text_ptr, num_text);
713 png_const_textp text_ptr, int num_text)
720 if (png_ptr == NULL || info_ptr == NULL || num_text <= 0 || text_ptr == NULL)
724 * to hold all of the incoming text_ptr objects. This compare can't overflow
779 if (text_ptr[i].key == NULL)
782 if (text_ptr[i].compression < PNG_TEXT_COMPRESSION_NONE ||
783 text_ptr[i].compression >= PNG_TEXT_COMPRESSION_LAST)
790 key_len = strlen(text_ptr[i].key);
792 if (text_ptr[
701 png_set_text(png_const_structrp png_ptr, png_inforp info_ptr, png_const_textp text_ptr, int num_text) argument
712 png_set_text_2(png_const_structrp png_ptr, png_inforp info_ptr, png_const_textp text_ptr, int num_text) argument
[all...]
H A Dpngtest.c823 pngtest_check_text_support(png_structp png_ptr, png_textp text_ptr, argument
828 switch (text_ptr[--num_text].compression)
837 text_ptr[num_text].compression = PNG_TEXT_COMPRESSION_NONE;
845 text_ptr[num_text].compression = PNG_TEXT_COMPRESSION_NONE;
1290 png_textp text_ptr; local
1293 if (png_get_text(read_ptr, read_info_ptr, &text_ptr, &num_text) > 0)
1297 pngtest_check_text_support(read_ptr, text_ptr, num_text);
1307 i, text_ptr[i].compression);
1311 png_set_text(write_ptr, write_info_ptr, text_ptr, num_text);
1501 png_textp text_ptr; local
[all...]
/external/libpng/contrib/tools/
H A Dpngcp.c410 png_textp text_ptr; /* stash of text chunks */ member in struct:display
499 dp->text_ptr = NULL;
548 free(dp->text_ptr);
549 dp->text_ptr = NULL;
669 dp->text_ptr = voidcast(png_textp, malloc(dp->num_text * sizeof *chunks));
671 if (dp->text_ptr == NULL)
675 memcpy(dp->text_ptr, chunks, dp->num_text * sizeof *chunks);
687 if (dp->text_ptr != NULL)
688 png_set_text(dp->write_pp, dp->ip, dp->text_ptr, dp->num_text);

Completed in 154 milliseconds