Lines Matching refs:zstream
334 png_ptr->zstream.avail_out = in png_push_read_chunk()
337 png_ptr->zstream.next_out = png_ptr->row_buf; in png_push_read_chunk()
843 png_ptr->zstream.next_in = buffer; in png_process_IDAT_data()
844 png_ptr->zstream.avail_in = (uInt)buffer_length; in png_process_IDAT_data()
849 while (png_ptr->zstream.avail_in > 0 && in png_process_IDAT_data()
859 if (!(png_ptr->zstream.avail_out > 0)) in png_process_IDAT_data()
861 png_ptr->zstream.avail_out = in png_process_IDAT_data()
864 png_ptr->zstream.next_out = png_ptr->row_buf; in png_process_IDAT_data()
874 ret = inflate(&png_ptr->zstream, Z_SYNC_FLUSH); in png_process_IDAT_data()
896 if (png_ptr->zstream.next_out != png_ptr->row_buf) in png_process_IDAT_data()
915 if (png_ptr->zstream.avail_out == 0) in png_process_IDAT_data()
928 if (png_ptr->zstream.avail_in > 0) in png_process_IDAT_data()
1392 png_ptr->zstream.next_in = (png_bytep )text; in png_push_read_zTXt()
1393 png_ptr->zstream.avail_in = (uInt)(png_ptr->current_text_size - in png_push_read_zTXt()
1395 png_ptr->zstream.next_out = png_ptr->zbuf; in png_push_read_zTXt()
1396 png_ptr->zstream.avail_out = (uInt)png_ptr->zbuf_size; in png_push_read_zTXt()
1403 while (png_ptr->zstream.avail_in) in png_push_read_zTXt()
1405 ret = inflate(&png_ptr->zstream, Z_PARTIAL_FLUSH); in png_push_read_zTXt()
1408 inflateReset(&png_ptr->zstream); in png_push_read_zTXt()
1409 png_ptr->zstream.avail_in = 0; in png_push_read_zTXt()
1415 if (!(png_ptr->zstream.avail_out) || ret == Z_STREAM_END) in png_push_read_zTXt()
1421 - png_ptr->zstream.avail_out + key_size + 1)); in png_push_read_zTXt()
1424 png_ptr->zbuf_size - png_ptr->zstream.avail_out); in png_push_read_zTXt()
1429 png_ptr->zstream.avail_out; in png_push_read_zTXt()
1440 - png_ptr->zstream.avail_out + 1)); in png_push_read_zTXt()
1446 png_ptr->zbuf_size - png_ptr->zstream.avail_out); in png_push_read_zTXt()
1448 text_size += png_ptr->zbuf_size - png_ptr->zstream.avail_out; in png_push_read_zTXt()
1453 png_ptr->zstream.next_out = png_ptr->zbuf; in png_push_read_zTXt()
1454 png_ptr->zstream.avail_out = (uInt)png_ptr->zbuf_size; in png_push_read_zTXt()
1466 inflateReset(&png_ptr->zstream); in png_push_read_zTXt()
1467 png_ptr->zstream.avail_in = 0; in png_push_read_zTXt()