Home
last modified time | relevance | path

Searched full:zlib (Results 1 – 25 of 399) sorted by relevance

12345678910>>...16

/src/sys/contrib/zlib/
H A DFAQ2 Frequently Asked Questions about zlib
5 If your question is not there, please check the zlib home page
6 https://zlib.net/ which may have more recent information.
7 The latest zlib FAQ is at https://zlib.net/zlib_faq.html
10 1. Is zlib Y2K-compliant?
12 Yes. zlib doesn't handle dates.
16 The zlib sources can be compiled without change to produce a DLL. See the
17 file win32/DLL_FAQ.txt in the zlib distribution.
19 3. Where can I get a Visual Basic interface to zlib?
22 * https://zlib.net/nelson/
[all …]
H A DREADME1 ZLIB DATA COMPRESSION LIBRARY
3 zlib 1.3.2 is a general purpose data compression library. All the code is
4 thread safe (though see the FAQ for caveats). The data format used by the zlib
6 https://datatracker.ietf.org/doc/html/rfc1950 (zlib format), rfc1951 (deflate
9 All functions of the compression library are documented in the file zlib.h
10 (volunteer to write man pages welcome, contact zlib@gzip.org). A usage example
22 Questions about zlib should be sent to <zlib@gzip.org>, or to Gilles Vollant
23 <info@winimage.com> for the Windows DLL version. The zlib home page is
24 https://zlib.net/ . Before reporting a problem, please check this site to
25 verify that you have the latest version of zlib; otherwise get the latest
[all …]
H A Dzlib.31 .TH ZLIB 3 "17 Feb 2026"
3 zlib \- compression/decompression library
6 .I zlib.h
10 .I zlib
36 .IR zlib.h .
50 .I zlib
56 .I zlib
64 .I zlib
68 .I zlib
71 https://zlib.net/
[all …]
H A DChangeLog2 ChangeLog file for zlib
23 - Check for invalid NULL pointer inputs to zlib operations
180 - Allow building zlib outside of the source directory
181 - Fix bug that accepted invalid zlib header when windowBits is zero
185 - Reject a window size of 256 bytes if not using the zlib wrapper
205 - Correct spelling error in zlib.h
209 - Fix version numbers and DLL names in contrib/vstudio/*/zlib.rc
231 - Clean up the usage of z_const and respect const usage within zlib
256 - Add gzvprintf() as an undocumented function in zlib
288 - Build both a static and a shared version of zlib with cmake
[all …]
H A Dinflate.h3 * For conditions of distribution and use, see copyright notice in zlib.h
8 subject to change. Applications should only use zlib.h.
61 HEAD -> (gzip) or (zlib) or (raw)
64 (zlib) -> DICTID or TYPE
83 z_streamp strm; /* pointer back to this zlib stream */
86 int wrap; /* bit 0 true for zlib, bit 1 true for gzip,
89 int flags; /* gzip header method and flags, 0 if zlib, or
91 unsigned dmax; /* zlib header max distance (INFLATE_STRICT) */
H A Dgzlib.c1 /* gzlib.c -- zlib functions common to reading and writing gzip files
3 * For conditions of distribution and use, see copyright notice in zlib.h
289 /* -- see zlib.h -- */
294 /* -- see zlib.h -- */
299 /* -- see zlib.h -- */
316 /* -- see zlib.h -- */
323 /* -- see zlib.h -- */
347 /* -- see zlib.h -- */
368 /* -- see zlib.h -- */
439 /* -- see zlib.h -- */
[all …]
/src/contrib/llvm-project/llvm/lib/Support/
H A DCompression.cpp21 #include <zlib.h>
32 case compression::Format::Zlib: in getReasonIfUnsupported()
33 if (zlib::isAvailable()) in getReasonIfUnsupported()
35 return "LLVM was not built with LLVM_ENABLE_ZLIB or did not find zlib at " in getReasonIfUnsupported()
49 case compression::Format::Zlib: in compress()
50 zlib::compress(Input, Output, P.level); in compress()
61 case compression::Format::Zlib: in decompress()
62 return zlib::decompress(Input, Output, UncompressedSize); in decompress()
73 case compression::Format::Zlib: in decompress()
74 return zlib::decompress(Input, Output, UncompressedSize); in decompress()
[all …]
/src/sys/contrib/zstd/zlibWrapper/
H A DREADME.md1 Zstandard wrapper for zlib
4 …ing a zstd wrapper for [zlib](http://zlib.net/) is to allow a quick and smooth transition to zstd …
8 To build the zstd wrapper for zlib the following files are required:
9 - zlib.h
10 - a static or dynamic zlib library
17 The first two files are required by all projects using zlib and they are not included with the zstd…
23 Let's assume that your project that uses zlib is compiled with:
27 - change all references with `#include "zlib.h"` to `#include "zstd_zlibwrapper.h"`
37 Your project should work as before with zlib. There are two options to enable zstd compression:
41 During decompression zlib and zstd streams are automatically detected and decompressed using a prop…
[all …]
H A Dzstd_zlibwrapper.h21 #define ZLIB_INTERNAL /* disables gz*64 functions but fixes zlib 1.2.4 with Z_PREFIX */
22 #include <zlib.h>
56 When using zlib compression this method redirects to deflateReset. */
64 /* ZWRAP_setDecompressionType() enables/disables automatic recognition of zstd/zlib compressed data…
65 By default auto-detection of zstd and zlib streams in enabled (ZWRAP_AUTO).
66 Forcing zlib decompression with ZWRAP_setDecompressionType(ZWRAP_FORCE_ZLIB) slightly improves
67 decompression speed of zlib-encoded streams.
80 For zlib streams this method redirects to inflateReset. */
H A Dgzlib.c4 /* gzlib.c -- zlib functions common to reading and writing gzip files
6 * For conditions of distribution and use, see http://www.zlib.net/zlib_license.html
272 /* -- see zlib.h -- */
280 /* -- see zlib.h -- */
288 /* -- see zlib.h -- */
308 /* -- see zlib.h -- */
318 /* -- see zlib.h -- */
345 /* -- see zlib.h -- */
368 /* -- see zlib.h -- */
445 /* -- see zlib.h -- */
[all …]
/src/crypto/openssl/Configurations/
H A D00-base-templates.conf53 push @defs, "ZLIB" unless $disabled{zlib};
54 push @defs, "ZLIB_SHARED" unless $disabled{"zlib-dynamic"};
67 if !$disabled{zlib} && $withargs{zlib_include};
111 … push(@libs, "-lz") if !defined($disabled{zlib}) && defined($disabled{"zlib-dynamic"});
139 unless ($disabled{"zlib-dynamic"}) {
140 my $zlib = $withargs{zlib_lib} // "ZLIB1";
141 push @defs, 'LIBZ=' . (quotify("perl", $zlib))[0];
148 unless ($disabled{zlib}) {
149 if (defined($disabled{"zlib-dynamic"})) {
191 # zlib incarnations.
[all …]
/src/lib/libz/
H A DMakefile1 PACKAGE= zlib
5 MAN= zlib.3 zopen.3
8 ZLIBSRC= ${SRCTOP}/sys/contrib/zlib
52 INCS= zconf.h zlib.h
56 ZLIB_VERSION!= sed -n '/define.*ZLIB_VERSION/{s,[^0-9.],,gp;q;}' ${ZLIBSRC}/zlib.h
58 zlib.pc: zlib.pc.in
78 PCFILES= zlib.pc
/src/usr.bin/mkuzip/
H A Dmkuzip.870 .It Fl A Op Ar lzma | Ar zlib | Ar zstd
73 .Ar zlib .
77 algorithm provides noticeable better compression levels than zlib on the same
84 algorithm provides better compression levels than zlib on the same data set.
85 It also has faster compression and decompression speed than zlib.
112 .Ar zlib ,
117 default for zlib is
154 .Xr zlib 3
188 .Xr zlib 3
200 .Xr zlib 3
[all …]
/src/cddl/contrib/opensolaris/lib/libctf/common/
H A Dctf_lib.c41 #include <zlib.h>
57 } zlib; variable
94 if (zlib.z_dlp != NULL) in ctf_zopen()
95 return (zlib.z_dlp); /* library is already loaded */ in ctf_zopen()
100 if ((zlib.z_dlp = dlopen(_libctf_zlib, RTLD_LAZY | RTLD_LOCAL)) == NULL) in ctf_zopen()
103zlib.z_uncompress = (int (*)(uchar_t *, ulong_t *, const uchar_t *, ulong_t)) dlsym(zlib.z_dlp, "u… in ctf_zopen()
104 zlib.z_error = (const char *(*)(int)) dlsym(zlib.z_dlp, "zError"); in ctf_zopen()
106 if (zlib.z_uncompress == NULL || zlib.z_error == NULL) { in ctf_zopen()
107 (void) dlclose(zlib.z_dlp); in ctf_zopen()
108 bzero(&zlib, sizeof (zlib)); in ctf_zopen()
[all …]
/src/sys/contrib/zlib/doc/
H A Drfc1950.txt14 ZLIB Compressed Data Format Specification version 3.3
40 <ftp://ftp.uu.net/graphics/png/documents/zlib/zdoc-index.html>.
60 RFC 1950 ZLIB Compressed Data Format Specification May 1996
116 RFC 1950 ZLIB Compressed Data Format Specification May 1996
122 to compress data into zlib format and/or decompress data from zlib
172 RFC 1950 ZLIB Compressed Data Format Specification May 1996
212 A zlib stream has the following structure:
228 RFC 1950 ZLIB Compressed Data Format Specification May 1996
242 Any data which may appear after ADLER32 are not part of the zlib
284 RFC 1950 ZLIB Compressed Data Format Specification May 1996
[all …]
/src/sys/contrib/openzfs/config/
H A Duser-zlib.m43 dnl # Check for zlib
6 ZFS_AC_FIND_SYSTEM_LIBRARY(ZLIB, [zlib], [zlib.h], [], [z], [compress2 uncompress crc32], [], [
7 AC_MSG_FAILURE([*** zlib-devel package required])
/src/contrib/llvm-project/llvm/include/llvm/Support/
H A DCompression.h29 Zlib, ///< zlib enumerator
34 namespace zlib {
53 } // End of namespace zlib
77 Zlib, enumerator
85 case DebugCompressionType::Zlib: in formatFor()
86 return Format::Zlib; in formatFor()
95 : format(F), level(F == Format::Zlib ? zlib::DefaultCompression in Params()
/src/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dzmod.h26 * compress2/uncompress functions provided by the official zlib package
27 * available at http://zlib.net/. The only changes made we to slightly
29 * of zlib. The full zlib license follows:
31 * zlib.h -- interface of the 'zlib' general purpose compression library
60 #include <linux/zlib.h>
/src/sys/geom/uzip/
H A Dg_uzip_zlib.c33 #include <contrib/zlib/zlib.h>
34 #include <dev/zlib/zcalloc.h>
43 /* Zlib decoder structs */
75 printf("%s: UZIP(zlib) inflate() failed\n", gp_name); in g_uzip_zlib_decompress()
90 printf("%s: UZIP(zlib) decoder reset failed\n", gp_name); in g_uzip_zlib_rewind()
/src/sys/modules/zlib/
H A DMakefile2 .PATH: ${SRCTOP}/sys/dev/zlib
3 .PATH: ${SRCTOP}/sys/contrib/zlib
5 KMOD= zlib
28 CWARNFLAGS+=${NO_WDEPRECATED_NON_PROTOTYPE} # https://github.com/madler/zlib/issues/633
/src/contrib/libfido2/windows/
H A Dbuild.ps199 New-Item -Type Directory "${STAGE}\${ZLIB}" -Force
133 if (-Not (Test-Path .\${ZLIB})) {
134 GitClone "${ZLIB_GIT}" "${ZLIB_BRANCH}" ".\${ZLIB}"
179 # Build zlib.
180 Push-Location ${STAGE}\${ZLIB}
182 & $CMake ..\..\..\${ZLIB} -A "${Arch}" `
192 # Patch up zlib's various names.
194 ((Get-ChildItem -Path "${PREFIX}/lib") -Match "zlib[d]?.lib") |
203 throw "Failed to build zlib"
H A Dconst.ps119 # zlib coordinates.
20 New-Variable -Name 'ZLIB' -Value 'zlib-1.3' -Option Constant
22 New-Variable -Name 'ZLIB_GIT' -Value 'https://github.com/madler/zlib' `
/src/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-zlib.c26 * compress2/uncompress functions provided by the official zlib package
27 * available at http://zlib.net/. The only changes made we to slightly
29 * of zlib. The full zlib license follows:
31 * zlib.h -- interface of the 'zlib' general purpose compression library
64 * A kmem_cache is used for the zlib workspaces to avoid having to vmalloc
/src/sys/dev/qat/qat_api/common/compression/include/
H A Ddc_header_footer.h16 /* Header and footer sizes for Zlib and Gzip */
22 /* Values used to build the headers for Zlib and Gzip */
30 /* Compression level for Zlib */
36 /* CM parameter for Zlib */
/src/sys/cddl/contrib/opensolaris/uts/common/zmod/
H A Dzmod.c33 #include <contrib/zlib/zlib.h>
34 #include <contrib/zlib/zutil.h>
77 * type (zlib or gzip) should be automatically detected. in z_uncompress()
127 * Convert a zlib error code into a string error message.

12345678910>>...16