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

/openjdk7/jdk/src/share/native/sun/awt/libpng/
H A Dpngpread.c1363 png_textp text_ptr; local
1389 text_ptr = (png_textp)png_malloc(png_ptr, png_sizeof(png_text));
1390 text_ptr->compression = PNG_TEXT_COMPRESSION_NONE;
1391 text_ptr->key = key;
1392 text_ptr->itxt_length = 0;
1393 text_ptr->lang = NULL;
1394 text_ptr->lang_key = NULL;
1395 text_ptr->text = text;
1397 ret = png_set_text_2(png_ptr, info_ptr, text_ptr, 1);
1400 png_free(png_ptr, text_ptr);
1462 png_textp text_ptr; local
1666 png_textp text_ptr; local
[all...]
H A Dpngget.c882 png_textp *text_ptr, int *num_text)
890 if (text_ptr != NULL)
891 *text_ptr = info_ptr->text;
881 png_get_text(png_const_structp png_ptr, png_const_infop info_ptr, png_textp *text_ptr, int *num_text) argument
H A Dpngset.c646 png_set_text(png_structp png_ptr, png_infop info_ptr, png_const_textp text_ptr, argument
650 ret = png_set_text_2(png_ptr, info_ptr, text_ptr, num_text);
658 png_const_textp text_ptr, int num_text)
670 * to hold all of the incoming text_ptr objects.
716 if (text_ptr[i].key == NULL)
719 if (text_ptr[i].compression < PNG_TEXT_COMPRESSION_NONE ||
720 text_ptr[i].compression >= PNG_TEXT_COMPRESSION_LAST)
726 key_len = png_strlen(text_ptr[i].key);
728 if (text_ptr[i].compression <= 0)
739 if (text_ptr[
657 png_set_text_2(png_structp png_ptr, png_infop info_ptr, png_const_textp text_ptr, int num_text) argument
[all...]
H A Dpngrutil.c2151 png_textp text_ptr; local
2223 text_ptr = (png_textp)png_malloc_warn(png_ptr,
2226 if (text_ptr == NULL)
2234 text_ptr->compression = PNG_TEXT_COMPRESSION_NONE;
2235 text_ptr->key = key;
2236 text_ptr->lang = NULL;
2237 text_ptr->lang_key = NULL;
2238 text_ptr->itxt_length = 0;
2239 text_ptr->text = text;
2240 text_ptr
2258 png_textp text_ptr; local
2388 png_textp text_ptr; local
[all...]
H A Dpngtest.c1187 png_textp text_ptr; local
1190 if (png_get_text(read_ptr, read_info_ptr, &text_ptr, &num_text) > 0)
1193 png_set_text(write_ptr, write_info_ptr, text_ptr, num_text);
1383 png_textp text_ptr; local
1386 if (png_get_text(read_ptr, end_info_ptr, &text_ptr, &num_text) > 0)
1389 png_set_text(write_ptr, write_end_info_ptr, text_ptr, num_text);

Completed in 48 milliseconds