Searched refs:deflate (Results 1 - 25 of 45) sorted by path

12

/freebsd-11-stable/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dctf.c586 if ((rc = deflate(&rb->rb_zstr, Z_NO_FLUSH)) != Z_OK)
587 parseterminate("zlib deflate failed: %s", zError(rc));
603 rc = deflate(&rb->rb_zstr, type);
/freebsd-11-stable/contrib/ntp/sntp/libevent/test/
H A Dregress_zlib.c211 res = deflate(p, getstate(state));
/freebsd-11-stable/crypto/openssh/
H A Dpacket.c733 /* Loop compressing until deflate() returns with avail_out != 0. */
740 status = deflate(&ssh->state->compression_out_stream,
/freebsd-11-stable/crypto/openssl/crypto/comp/
H A Dc_zlib.c129 # define deflate p_deflate macro
210 err = deflate(&state->ostream, Z_SYNC_FLUSH);
363 p_deflate = (deflate_ft) DSO_bind_func(zlib_dso, "deflate");
425 int odone; /* deflate EOF */
630 ret = deflate(zout, 0);
675 ret = deflate(zout, Z_FINISH);
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/zmod/
H A Ddeflate.c6 /* deflate.c -- compress data using the deflation algorithm
57 #include "deflate.h"
60 " deflate 1.2.3 Copyright 1995-2005 Jean-loup Gailly ";
74 finish_started, /* finish started, need only more output at next deflate */
120 * See deflate.c for comments about the MIN_MATCH+1.
157 /* Note: the deflate() code requires max_lazy >= MIN_MATCH and max_chain >= 4
382 s->wrap = -s->wrap; /* was made negative by deflate(..., Z_FINISH); */
446 err = deflate(strm, Z_PARTIAL_FLUSH);
487 * resulting from using fixed blocks instead of stored blocks, which deflate
533 * Flush as much pending output as possible. All deflate() outpu
558 int ZEXPORT deflate (strm, flush) function
[all...]
H A Dzconf.h70 #define deflate z_deflate macro
H A Dzlib.h28 (zlib format), rfc1951.txt (deflate format) and rfc1952.txt (gzip format).
60 around a deflate stream, which is itself documented in RFC 1951.
65 gzip wrapper, documented in RFC 1952, wrapped around a deflate stream.
170 /* Allowed flush values; see deflate() and inflate() below for details */
205 /* The deflate compression method (the only one supported in this version) */
240 perform any compression: this will be done by deflate().
244 ZEXTERN int ZEXPORT deflate OF((z_streamp strm, int flush));
246 deflate compresses as much data as possible, and stops when the input
251 The detailed semantics are as follows. deflate performs one or both of the
257 processing will resume at this point for the next call of deflate()
[all...]
H A Dzmod.c85 if ((err = deflate(&zs, Z_FINISH)) != Z_STREAM_END) {
/freebsd-11-stable/sys/dev/random/
H A Dunit_test.c108 err = deflate(&c_stream, Z_NO_FLUSH);
110 printf("deflate progress: len = %zd total_in = %lu total_out = %lu\n", len, c_stream.total_in, c_stream.total_out);
112 check_err(err, "deflate(..., Z_NO_FLUSH)");
116 err = deflate(&c_stream, Z_FINISH);
118 printf("deflate final: len = %zd total_in = %lu total_out = %lu\n", len, c_stream.total_in, c_stream.total_out);
121 check_err(err, "deflate(..., Z_STREAM_END)");
/freebsd-11-stable/sys/kern/
H A Dkern_gzio.c174 zerror = deflate(&s->gz_stream, zflag);
/freebsd-11-stable/sys/libkern/
H A Dzlib.c270 /* +++ deflate.h */
271 /* deflate.h -- internal compression state
281 /* From: deflate.h,v 1.10 1996/07/02 12:41:00 me Exp $ */
362 int last_flush; /* value of flush param for previous deflate call */
364 /* used by deflate.c: */
530 * See deflate.c for comments about the MIN_MATCH+1.
549 /* --- deflate.h */
551 /* +++ deflate.c */
552 /* deflate.c -- compress data using the deflation algorithm
601 /* From: deflate
983 int deflate (strm, flush) function
[all...]
/freebsd-11-stable/sys/modules/zfs/
H A DMakefile60 SRCS+= deflate.c
/freebsd-11-stable/sys/netgraph/
H A Dng_deflate.c52 "netgraph deflate node");
159 NETGRAPH_INIT(deflate, &ng_deflate_typestruct);
487 rtn = deflate(&priv->cx, Z_PACKET_FLUSH);
/freebsd-11-stable/sys/opencrypto/
H A Dcryptodeflate.c1 /* $OpenBSD: deflate.c,v 1.3 2001/08/20 02:45:22 hugh Exp $ */
31 * This file contains a wrapper around the deflate algo compression
48 #include <opencrypto/deflate.h>
51 SDT_PROBE_DEFINE2(opencrypto, deflate, deflate_global, entry,
53 SDT_PROBE_DEFINE5(opencrypto, deflate, deflate_global, bad,
55 SDT_PROBE_DEFINE5(opencrypto, deflate, deflate_global, iter,
57 SDT_PROBE_DEFINE2(opencrypto, deflate, deflate_global, return,
64 * This function takes a block of data and (de)compress it using the deflate
83 SDT_PROBE2(opencrypto, deflate, deflate_global, entry, decomp, size);
99 * deflate nee
[all...]
H A Dxform.c69 #include <opencrypto/deflate.h>
H A Dxform_comp.h37 #include <opencrypto/deflate.h>
H A Dxform_deflate.c53 #include <opencrypto/deflate.h>
/freebsd-11-stable/sys/sys/
H A Dzlib.h47 (zlib format), rfc1951.txt (deflate format) and rfc1952.txt (gzip format).
75 # define deflate z_deflate macro
164 /* The memory requirements for deflate are (in bytes):
338 /* Allowed flush values; see deflate() below for details */
370 /* The deflate compression method (the only one supported in this version) */
405 perform any compression: this will be done by deflate().
409 extern int EXPORT deflate OF((z_streamp strm, int flush));
416 processing will resume at this point for the next call of deflate().
424 Before the call of deflate(), the application should ensure that at least
429 (avail_out == 0), or after each call of deflate()
[all...]
/freebsd-11-stable/usr.sbin/ppp/
H A DMakefile8 command.c datalink.c deflate.c defs.c exec.c filter.c fsm.c hdlc.c \
H A Dccp.c55 #include "deflate.h"
199 prompt_Printf(arg->prompt, " deflate windows: ");
200 prompt_Printf(arg->prompt, "incoming = %d, ", ccp->cfg.deflate.in.winsize);
201 prompt_Printf(arg->prompt, "outgoing = %d\n", ccp->cfg.deflate.out.winsize);
254 ccp->cfg.deflate.in.winsize = 0;
255 ccp->cfg.deflate.out.winsize = 15;
H A Dccp.h75 } deflate; member in struct:ccp_config
H A Dcommand.c1756 l->ccp.cfg.deflate.out.winsize = atoi(arg->argv[arg->argn]);
1757 if (l->ccp.cfg.deflate.out.winsize < 8 ||
1758 l->ccp.cfg.deflate.out.winsize > 15) {
1760 l->ccp.cfg.deflate.out.winsize);
1761 l->ccp.cfg.deflate.out.winsize = 15;
1764 l->ccp.cfg.deflate.in.winsize = atoi(arg->argv[arg->argn+1]);
1765 if (l->ccp.cfg.deflate.in.winsize < 8 ||
1766 l->ccp.cfg.deflate.in.winsize > 15) {
1768 l->ccp.cfg.deflate.in.winsize);
1769 l->ccp.cfg.deflate
[all...]
H A Ddeflate.c28 * $FreeBSD: stable/11/usr.sbin/ppp/deflate.c 330449 2018-03-05 07:26:05Z eadler $
42 #include "deflate.h"
114 if ((res = deflate(&state->cx, flush)) != Z_OK) {
117 log_Printf(LogWARN, "DeflateOutput: deflate returned %d (%s)\n",
449 o->data[0] = ((cfg->deflate.out.winsize - 8) << 4) + 8;
478 if (cfg->deflate.in.winsize == 0) {
482 } else if (want != cfg->deflate.in.winsize) {
483 o->data[0] = ((cfg->deflate.in.winsize - 8) << 4) + 8;
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_write_add_filter_gzip.c369 ret = deflate(&(data->stream),
388 " deflate() call returned status %d",
H A Darchive_write_disk_posix.c1306 ret = deflate(&a->stream, Z_FINISH);

Completed in 270 milliseconds

12