Home | History | Annotate | Download | only in libpng

Lines Matching defs:text_ptr

1254       png_textp text_ptr;
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;
1482 text_ptr = (png_textp)png_malloc(png_ptr,
1484 text_ptr->compression = PNG_TEXT_COMPRESSION_zTXt;
1485 text_ptr->key = key;
1487 text_ptr->lang = NULL;
1488 text_ptr->lang_key = NULL;
1490 text_ptr->text = text;
1492 ret = png_set_text_2(png_ptr, info_ptr, text_ptr, 1);
1495 png_free(png_ptr, text_ptr);
1554 png_textp text_ptr;
1602 text_ptr = (png_textp)png_malloc(png_ptr,
1605 text_ptr->compression = comp_flag + 2;
1606 text_ptr->key = key;
1607 text_ptr->lang = lang;
1608 text_ptr->lang_key = lang_key;
1609 text_ptr->text = text;
1610 text_ptr->text_length = 0;
1611 text_ptr->itxt_length = png_strlen(text);
1613 ret = png_set_text_2(png_ptr, info_ptr, text_ptr, 1);
1617 png_free(png_ptr, text_ptr);