Lines Matching refs:defstream
706 z_stream defstream;
713 defstream.zalloc = nullptr;
714 defstream.zfree = nullptr;
715 defstream.opaque = nullptr;
716 defstream.avail_in = static_cast<uInt>(inLen);
717 defstream.next_in = reinterpret_cast<Bytef *>(inBuf);
718 defstream.avail_out = static_cast<uInt>(outLen);
719 defstream.next_out = reinterpret_cast<Bytef *>(outBuf);
720 err = deflateInit_(&defstream, Z_DEFAULT_COMPRESSION,
724 uint32_t estimateLen = deflateBound(&defstream, inLen);
726 defstream.avail_out = static_cast<uInt>(estimateLen);
727 deflate(&defstream, Z_FINISH);
728 deflateEnd(&defstream);
730 err = deflateCopy(&defstream, &outStream);