Lines Matching refs:text_len
162 png_charp text, png_size_t text_len, int compression, in png_text_compress() argument
177 comp->input_len = text_len; in png_text_compress()
178 return((int)text_len); in png_text_compress()
208 png_ptr->zstream.avail_in = (uInt)text_len; in png_text_compress()
328 text_len = png_ptr->zbuf_size * comp->num_output_ptr; in png_text_compress()
330 text_len += png_ptr->zbuf_size - (png_size_t)png_ptr->zstream.avail_out; in png_text_compress()
332 return((int)text_len); in png_text_compress()
1328 png_size_t text_len) in png_write_tEXt() argument
1344 text_len = 0; in png_write_tEXt()
1346 text_len = png_strlen(text); in png_write_tEXt()
1349 png_write_chunk_start(png_ptr, (png_bytep)png_tEXt, (png_uint_32)key_len+text_len+1); in png_write_tEXt()
1357 if (text_len) in png_write_tEXt()
1358 png_write_chunk_data(png_ptr, (png_bytep)text, text_len); in png_write_tEXt()
1369 png_size_t text_len, int compression) in png_write_zTXt() argument
1400 text_len = png_strlen(text); in png_write_zTXt()
1403 text_len = png_text_compress(png_ptr, text, text_len, compression, in png_write_zTXt()
1408 (key_len+text_len+2)); in png_write_zTXt()
1433 png_size_t lang_len, key_len, lang_key_len, text_len; in png_write_iTXt() local
1463 text_len = 0; in png_write_iTXt()
1465 text_len = png_strlen(text); in png_write_iTXt()
1468 text_len = png_text_compress(png_ptr, text, text_len, compression-2, in png_write_iTXt()
1481 + text_len)); in png_write_iTXt()