/freebsd/sys/contrib/zlib/ |
H A D | FAQ | 2 Frequently Asked Questions about zlib 5 If your question is not there, please check the zlib home page 6 http://zlib.net/ which may have more recent information. 7 The latest zlib FAQ is at http://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 * http://marknelson.us/1997/01/01/zlib-engine/ [all …]
|
H A D | README | 1 ZLIB DATA COMPRESSION LIBRARY 3 zlib 1.3.1 is a general purpose data compression library. All the code is 4 thread safe. The data format used by the zlib library is described by RFCs 6 http://tools.ietf.org/html/rfc1950 (zlib format), rfc1951 (deflate format) and 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 http://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 D | zlib.3 | 1 .TH ZLIB 3 "22 Jan 2024" 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 http://zlib.net/ [all …]
|
H A D | ChangeLog | 2 ChangeLog file for zlib 129 - Allow building zlib outside of the source directory 130 - Fix bug that accepted invalid zlib header when windowBits is zero 134 - Reject a window size of 256 bytes if not using the zlib wrapper 154 - Correct spelling error in zlib.h 158 - Fix version numbers and DLL names in contrib/vstudio/*/zlib.rc 180 - Clean up the usage of z_const and respect const usage within zlib 205 - Add gzvprintf() as an undocumented function in zlib 237 - Build both a static and a shared version of zlib with cmake 242 - Allow the use of -Wundef when compiling or using zlib [all …]
|
H A D | gzlib.c | 1 /* gzlib.c -- zlib functions common to reading and writing gzip files 3 * For conditions of distribution and use, see copyright notice in zlib.h 261 /* -- see zlib.h -- */ 266 /* -- see zlib.h -- */ 271 /* -- see zlib.h -- */ 288 /* -- see zlib.h -- */ 295 /* -- see zlib.h -- */ 319 /* -- see zlib.h -- */ 340 /* -- see zlib.h -- */ 413 /* -- see zlib.h -- */ [all …]
|
H A D | inflate.h | 3 * 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 D | zlib.h | 1 /* zlib.h -- interface of the 'zlib' general purpose compression library 26 The data format used by the zlib library is described by RFCs (Request for 28 (zlib format), rfc1951 (deflate format) and rfc1952 (gzip format). 48 The 'zlib' compression library provides in-memory compression and 60 the zlib format, which is a zlib wrapper documented in RFC 1950, wrapped 65 with "gz". The gzip format is different from the zlib format. gzip is a 71 The zlib format was designed to be compact and fast for use in memory 73 file compression on file systems, has a larger header than zlib to maintain 74 directory information, and uses a different, slower check method than zlib. 111 gzip header information passed to and from zlib routines. See RFC 1952 [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | Compression.cpp | 21 #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 …]
|
/freebsd/sys/contrib/zstd/zlibWrapper/ |
H A D | README.md | 1 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 D | zstd_zlibwrapper.h | 21 #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 D | gzlib.c | 4 /* 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 …]
|
/freebsd/crypto/openssl/Configurations/ |
H A D | 00-base-templates.conf | 51 push @defs, "ZLIB" unless $disabled{zlib}; 52 push @defs, "ZLIB_SHARED" unless $disabled{"zlib-dynamic"}; 59 if !$disabled{zlib} && $withargs{zlib_include}; 74 sub { !defined($disabled{zlib}) 75 && defined($disabled{"zlib-dynamic"}) 95 unless ($disabled{"zlib-dynamic"}) { 96 my $zlib = $withargs{zlib_lib} // "ZLIB1"; 97 push @defs, 'LIBZ=' . (quotify("perl", $zlib))[0]; 103 unless ($disabled{zlib}) { 104 if (defined($disabled{"zlib-dynamic"})) { [all …]
|
/freebsd/sys/contrib/zlib/contrib/ |
H A D | README.contrib | 2 provided by users of zlib and were not tested by the authors of zlib. 4 for help about these, not the zlib authors. Thanks. 9 See http://zlib-ada.sourceforge.net/ 28 A C++ I/O streams interface to the zlib gz* functions 38 Mini zip and unzip based on zlib 50 Example of the use of zlib 53 A very simple tar.gz file extractor using zlib 56 Building a minizip-enhanced zlib with Microsoft Visual Studio
|
/freebsd/usr.bin/mkuzip/ |
H A D | mkuzip.8 | 70 .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 …]
|
/freebsd/cddl/contrib/opensolaris/lib/libctf/common/ |
H A D | ctf_lib.c | 41 #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() 103 …zlib.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 …]
|
/freebsd/sys/contrib/zlib/doc/ |
H A D | rfc1950.txt | 14 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 …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | Compression.h | 29 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()
|
/freebsd/lib/libz/ |
H A D | Makefile | 8 MAN= zlib.3 zopen.3 11 ZLIBSRC= ${SRCTOP}/sys/contrib/zlib 55 INCS= zconf.h zlib.h 59 ZLIB_VERSION!= sed -n '/define.*ZLIB_VERSION/{s,[^0-9.],,gp;q;}' ${ZLIBSRC}/zlib.h 61 zlib.pc: zlib.pc.in 81 PCFILES= zlib.pc
|
/freebsd/sys/contrib/openzfs/config/ |
H A D | user-zlib.m4 | 2 dnl # Check for zlib 5 ZFS_AC_FIND_SYSTEM_LIBRARY(ZLIB, [zlib], [zlib.h], [], [z], [compress2 uncompress crc32], [], [ 6 AC_MSG_FAILURE([*** zlib-devel package required])
|
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/ |
H A D | zmod.h | 26 * 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>
|
/freebsd/sys/geom/uzip/ |
H A D | g_uzip_zlib.c | 33 #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()
|
/freebsd/crypto/openssl/crypto/comp/ |
H A D | c_zlib.c | 32 #ifndef ZLIB 36 # include <zlib.h> 47 /* memory allocations functions for zlib initialisation */ 73 * the ZLIB.DLL be available in order for the OpenSSL DLLs to 74 * work. Therefore, all ZLIB routines are loaded at run time 250 #ifdef ZLIB in COMP_zlib() 267 #ifdef ZLIB 269 /* Zlib based compression/decompression filter BIO */ 295 "zlib", 385 "zlib error: %s", zError(ret)); in bio_zlib_read() [all …]
|
/freebsd/contrib/libfido2/windows/ |
H A D | build.ps1 | 99 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"
|
/freebsd/sys/modules/zlib/ |
H A D | Makefile | 2 .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
|
/freebsd/sys/contrib/openzfs/module/os/linux/spl/ |
H A D | spl-zlib.c | 26 * 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
|