• Home
  • Raw
  • Download

Lines Matching refs:zstream

316             png_ptr->zstream.msg = PNGZ_MSG_CAST("in use by IDAT");  in png_deflate_claim()
395 if (deflateEnd(&png_ptr->zstream) != Z_OK) in png_deflate_claim()
404 png_ptr->zstream.next_in = NULL; in png_deflate_claim()
405 png_ptr->zstream.avail_in = 0; in png_deflate_claim()
406 png_ptr->zstream.next_out = NULL; in png_deflate_claim()
407 png_ptr->zstream.avail_out = 0; in png_deflate_claim()
413 ret = deflateReset(&png_ptr->zstream); in png_deflate_claim()
417 ret = deflateInit2(&png_ptr->zstream, level, method, windowBits, in png_deflate_claim()
520 png_ptr->zstream.next_in = PNGZ_INPUT_CAST(comp->input); in png_text_compress()
521 png_ptr->zstream.avail_in = 0; /* Set below */ in png_text_compress()
522 png_ptr->zstream.next_out = comp->output; in png_text_compress()
523 png_ptr->zstream.avail_out = (sizeof comp->output); in png_text_compress()
525 output_len = png_ptr->zstream.avail_out; in png_text_compress()
536 png_ptr->zstream.avail_in = avail_in; in png_text_compress()
538 if (png_ptr->zstream.avail_out == 0) in png_text_compress()
571 png_ptr->zstream.next_out = next->output; in png_text_compress()
572 png_ptr->zstream.avail_out = png_ptr->zbuffer_size; in png_text_compress()
573 output_len += png_ptr->zstream.avail_out; in png_text_compress()
580 ret = deflate(&png_ptr->zstream, in png_text_compress()
586 input_len += png_ptr->zstream.avail_in; in png_text_compress()
587 png_ptr->zstream.avail_in = 0; /* safety */ in png_text_compress()
594 output_len -= png_ptr->zstream.avail_out; in png_text_compress()
595 png_ptr->zstream.avail_out = 0; /* safety */ in png_text_compress()
604 png_ptr->zstream.msg = PNGZ_MSG_CAST("compressed data too long"); in png_text_compress()
953 png_error(png_ptr, png_ptr->zstream.msg); in png_compress_IDAT()
958 png_ptr->zstream.next_out = png_ptr->zbuffer_list->output; in png_compress_IDAT()
959 png_ptr->zstream.avail_out = png_ptr->zbuffer_size; in png_compress_IDAT()
966 png_ptr->zstream.next_in = PNGZ_INPUT_CAST(input); in png_compress_IDAT()
967 png_ptr->zstream.avail_in = 0; /* set below */ in png_compress_IDAT()
978 png_ptr->zstream.avail_in = avail; in png_compress_IDAT()
981 ret = deflate(&png_ptr->zstream, input_len > 0 ? Z_NO_FLUSH : flush); in png_compress_IDAT()
984 input_len += png_ptr->zstream.avail_in; in png_compress_IDAT()
985 png_ptr->zstream.avail_in = 0; in png_compress_IDAT()
991 if (png_ptr->zstream.avail_out == 0) in png_compress_IDAT()
1009 png_ptr->zstream.next_out = data; in png_compress_IDAT()
1010 png_ptr->zstream.avail_out = size; in png_compress_IDAT()
1044 uInt size = png_ptr->zbuffer_size - png_ptr->zstream.avail_out; in png_compress_IDAT()
1054 png_ptr->zstream.avail_out = 0; in png_compress_IDAT()
1055 png_ptr->zstream.next_out = NULL; in png_compress_IDAT()
1066 png_error(png_ptr, png_ptr->zstream.msg); in png_compress_IDAT()
1164 png_error(png_ptr, png_ptr->zstream.msg); in png_write_iCCP()
1605 png_error(png_ptr, png_ptr->zstream.msg); in png_write_zTXt()
1691 png_error(png_ptr, png_ptr->zstream.msg); in png_write_iTXt()