Lines Matching refs:text_len
159 png_charp text, png_size_t text_len, int compression,
172 comp->input_len = text_len;
173 return((int)text_len);
195 * enough to hold the compressed text ((1001 * text_len / 1000) + 12)
203 png_ptr->zstream.avail_in = (uInt)text_len;
323 text_len = png_ptr->zbuf_size * comp->num_output_ptr;
325 text_len += png_ptr->zbuf_size - (png_size_t)png_ptr->zstream.avail_out;
327 return((int)text_len);
1294 png_size_t text_len)
1310 text_len = 0;
1312 text_len = png_strlen(text);
1315 png_write_chunk_start(png_ptr, (png_bytep)png_tEXt, (png_uint_32)key_len+text_len+1);
1323 if (text_len)
1324 png_write_chunk_data(png_ptr, (png_bytep)text, text_len);
1335 png_size_t text_len, int compression)
1360 text_len = png_strlen(text);
1365 text_len = png_text_compress(png_ptr, text, text_len, compression,
1370 (key_len+text_len+2));
1393 png_size_t lang_len, key_len, lang_key_len, text_len;
1418 text_len = 0;
1420 text_len = png_strlen(text);
1423 text_len = png_text_compress(png_ptr, text, text_len, compression-2,
1436 + text_len));