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

/external/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.c2012 png_textp text_ptr; local
2081 text_ptr = (png_textp)png_malloc_warn(png_ptr,
2083 if (text_ptr == NULL)
2090 text_ptr->compression = PNG_TEXT_COMPRESSION_NONE;
2091 text_ptr->key = key;
2093 text_ptr->lang = NULL;
2094 text_ptr->lang_key = NULL;
2095 text_ptr->itxt_length = 0;
2097 text_ptr->text = text;
2098 text_ptr
2115 png_textp text_ptr; local
2235 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/qemu/distrib/libpng-1.2.19/
H A Dpngget.c726 png_get_text(png_structp png_ptr, png_infop info_ptr, png_textp *text_ptr, argument
734 if (text_ptr != NULL)
735 *text_ptr = info_ptr->text;
H A Dpngpread.c1105 png_textp text_ptr; local
1131 text_ptr = (png_textp)png_malloc(png_ptr,
1133 text_ptr->compression = PNG_TEXT_COMPRESSION_NONE;
1134 text_ptr->key = key;
1136 text_ptr->lang = NULL;
1137 text_ptr->lang_key = NULL;
1139 text_ptr->text = text;
1141 ret = png_set_text_2(png_ptr, info_ptr, text_ptr, 1);
1144 png_free(png_ptr, text_ptr);
1203 png_textp text_ptr; local
1394 png_textp text_ptr; local
[all...]
H A Dpngset.c720 png_set_text(png_structp png_ptr, png_infop info_ptr, png_textp text_ptr, argument
724 ret=png_set_text_2(png_ptr, info_ptr, text_ptr, num_text);
730 png_set_text_2(png_structp png_ptr, png_infop info_ptr, png_textp text_ptr, argument
742 * to hold all of the incoming text_ptr objects.
786 if (text_ptr[i].key == NULL)
789 key_len = png_strlen(text_ptr[i].key);
791 if(text_ptr[i].compression <= 0)
800 if (text_ptr[i].lang != NULL)
801 lang_len = png_strlen(text_ptr[i].lang);
804 if (text_ptr[
[all...]
H A Dpngrutil.c1873 png_textp text_ptr; local
1920 text_ptr = (png_textp)png_malloc_warn(png_ptr,
1922 if (text_ptr == NULL)
1928 text_ptr->compression = PNG_TEXT_COMPRESSION_NONE;
1929 text_ptr->key = key;
1931 text_ptr->lang = NULL;
1932 text_ptr->lang_key = NULL;
1933 text_ptr->itxt_length = 0;
1935 text_ptr->text = text;
1936 text_ptr
1952 png_textp text_ptr; local
2050 png_textp text_ptr; local
[all...]

Completed in 130 milliseconds