Home | History | Annotate | Download | only in libpng-1.2.19

Lines Matching refs:text_ptr

1873    png_textp text_ptr;
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->text_length = png_strlen(text);
1938 ret=png_set_text_2(png_ptr, info_ptr, text_ptr, 1);
1941 png_free(png_ptr, text_ptr);
1952 png_textp text_ptr;
2018 text_ptr = (png_textp)png_malloc_warn(png_ptr,
2020 if (text_ptr == NULL)
2026 text_ptr->compression = comp_type;
2027 text_ptr->key = chunkdata;
2029 text_ptr->lang = NULL;
2030 text_ptr->lang_key = NULL;
2031 text_ptr->itxt_length = 0;
2033 text_ptr->text = chunkdata + prefix_len;
2034 text_ptr->text_length = data_len;
2036 ret=png_set_text_2(png_ptr, info_ptr, text_ptr, 1);
2038 png_free(png_ptr, text_ptr);
2050 png_textp text_ptr;
2135 text_ptr = (png_textp)png_malloc_warn(png_ptr,
2137 if (text_ptr == NULL)
2143 text_ptr->compression = (int)comp_flag + 1;
2144 text_ptr->lang_key = chunkdata+(lang_key-key);
2145 text_ptr->lang = chunkdata+(lang-key);
2146 text_ptr->itxt_length = data_len;
2147 text_ptr->text_length = 0;
2148 text_ptr->key = chunkdata;
2149 text_ptr->text = chunkdata + prefix_len;
2151 ret=png_set_text_2(png_ptr, info_ptr, text_ptr, 1);
2153 png_free(png_ptr, text_ptr);