Home
last modified time | relevance | path

Searched +full:zlib +full:- +full:wrapper (Results 1 – 25 of 201) sorted by relevance

123456789

/external/zstd/zlibWrapper/
DREADME.md1 Zstandard wrapper for zlib
4 … creating a zstd wrapper for [zlib](https://zlib.net/) is to allow a quick and smooth transition t…
8 To build the zstd wrapper for zlib the following files are required:
9 - zlib.h
10 - a static or dynamic zlib library
11 - zlibWrapper/zstd_zlibwrapper.h
12 - zlibWrapper/zstd_zlibwrapper.c
13 - zlibWrapper/gz*.c files (gzclose.c, gzlib.c, gzread.c, gzwrite.c)
14 - zlibWrapper/gz*.h files (gzcompatibility.h, gzguts.h)
15 - a static or dynamic zstd library
[all …]
DMakefile1 # Makefile for example of using zstd wrapper for zlib
3 # make - compiles examples
4 # make MOREFLAGS=-DZWRAP_USE_ZSTD=1 - compiles examples with zstd compression turned on
5 # make test - runs examples
8 # Paths to static and dynamic zlib and zstd libraries
9 # Use "make ZLIB_PATH=path/to/zlib ZLIB_LIBRARY=path/to/libz.so" to select a path to library
10 ZLIB_LIBRARY ?= -lz
24 CPPFLAGS += -DXXH_NAMESPACE=ZSTD_ -I$(ZLIB_PATH) -I$(PROGRAMS_PATH) \
25 -I$(ZSTDLIBDIR) -I$(ZSTDLIBDIR)/common -I$(ZLIBWRAPPER_PATH)
26 STDFLAGS = -std=c89 -pedantic -Wno-long-long -Wno-variadic-macros -Wc++-compat \
[all …]
/external/zlib/google/
Dcompression_utils_portable.cc4 * Use of this source code is governed by a BSD-style license that can be
16 // The difference in bytes between a zlib header and a gzip header.
20 // zlib header when calling deflateInit2() and inflateInit2().
23 // This describes the amount of memory zlib uses to compress data. It can go
25 // http://www.zlib.net/manual.html (search for memLevel).
29 // internal Zlib constants (e.g. window size, etc) plus the wrapper
36 // 4 bytes of |input| in LE. See https://tools.ietf.org/html/rfc1952#page-5
42 memcpy(&size, &compressed_data[length - sizeof(size)], sizeof(size)); in GetGzipUncompressedSize()
50 // The number of window bits determines the type of wrapper to use - see
51 // https://cs.chromium.org/chromium/src/third_party/zlib/zlib.h?l=566
[all …]
/external/zlib/contrib/bench/
Dzlib_bench.cc3 * Use of this source code is governed by a BSD-style license that can be
6 * A benchmark test harness for measuring decoding performance of gzip or zlib
8 * (compress) it into gzip or zlib format and then decode (uncompress). Output
11 * Raw deflate (no gzip or zlib stream wrapper) mode is also supported. Select
12 * it with the [raw] argument. Use the [gzip] [zlib] arguments to select those
16 * the system zlib (-lz) with g++ or clang++ as follows:
18 * g++|clang++ -O3 -Wall -std=c++11 zlib_bench.cc -lstdc++ -lz
33 #include "zlib.h"
41 return s->empty() ? nullptr : &*s->begin(); in string_data()
86 if (type == kWrapperZLIB) // zlib DEFLATE stream wrapper in zlib_stream_wrapper_type()
[all …]
/external/freetype/src/gzip/
DREADME.freetype1 Name: zlib
2 Short Name: zlib
3 URL: http://zlib.net/
5 License: see `zlib.h`
10 'zlib' is a free, general-purpose, legally unencumbered lossless
11 data-compression library. 'zlib' implements the "deflate" compression
12 algorithm described by RFC 1951, which combines the LZ77 (Lempel-Ziv)
13 algorithm with Huffman coding. zlib also implements the zlib (RFC 1950) and
14 gzip (RFC 1952) wrapper formats.
19 - Take the unmodified source code files from the zlib distribution that are
[all …]
/external/zlib/
DREADME.chromium1 Name: zlib
2 Short Name: zlib
3 URL: http://zlib.net/
5 CPEPrefix: cpe:/a:zlib:zlib:1.3.0.1
8 License: Zlib
15 zlib is a free, general-purpose, legally unencumbered lossless data-compression
16 library. zlib implements the "deflate" compression algorithm described by RFC
17 1951, which combines the LZ77 (Lempel-Ziv) algorithm with Huffman coding. zlib
18 also implements the zlib (RFC 1950) and gzip (RFC 1952) wrapper formats.
21 - Only source code from the zlib distribution used to build the zlib and
[all …]
/external/openscreen/third_party/zlib/
DREADME.chromium1 Name: zlib
2 Short Name: zlib
3 URL: http://zlib.net/
12 zlib is a free, general-purpose, legally unencumbered lossless data-compression
13 library. zlib implements the "deflate" compression algorithm described by RFC
14 1951, which combines the LZ77 (Lempel-Ziv) algorithm with Huffman coding. zlib
15 also implements the zlib (RFC 1950) and gzip (RFC 1952) wrapper formats.
/external/rust/crates/libz-sys/src/zlib/contrib/delphi/
Dreadme.txt5 This directory contains an update to the ZLib interface unit,
8 The original ZLib unit is Copyright (c) 1997,99 Borland Corp.,
9 and is based on zlib version 1.0.4. There are a series of bugs
10 and security problems associated with that old zlib version, and
11 we recommend the users to update their ZLib unit.
17 - Improved makefile, adapted to zlib version 1.2.1.
19 - Some field types from TZStreamRec are changed from Integer to
20 Longint, for consistency with the zlib.h header, and for 64-bit
23 - The zlib_version constant is updated.
25 - The new Z_RLE strategy has its corresponding symbolic constant.
[all …]
/external/rust/crates/libz-sys/src/zlib/contrib/dotzlib/
Dreadme.txt1 This directory contains a .Net wrapper class library for the ZLib1.dll
3 The wrapper includes support for inflating/deflating memory buffers,
4 .Net streaming wrappers for the gz streams part of zlib, and wrappers
5 for the checksum parts of zlib. See DotZLib/UnitTests.cs for examples.
8 --------------------
10 LICENSE_1_0.txt - License file.
11 readme.txt - This file.
12 DotZLib.chm - Class library documentation
13 DotZLib.build - NAnt build file
14 DotZLib.sln - Microsoft Visual Studio 2003 solution file
[all …]
/external/tensorflow/tensorflow/core/lib/io/
Dzlib_compression_options.h7 http://www.apache.org/licenses/LICENSE-2.0
39 // zlib is cached.
49 // Normal deflate with zlib header and checksum.
51 // -8..-15:
53 // -window_bits determines the window size. deflate() will then generate raw
54 // deflate data with no zlib header or trailer, and will not compute an
56 // looking for a zlib or gzip header, not generating a check value, and not
62 // compressed data instead of a zlib wrapper. The gzip header will have no
65 // gzip stream is being written, strm->adler is a crc32 instead of an adler32.
69 // in the zlib header of the compressed stream.
[all …]
/external/zlib/contrib/tests/fuzzers/
Ddeflate_fuzzer.cc2 // Use of this source code is governed by a BSD-style license that can be
13 #include "zlib.h"
26 int level = fdp.PickValueInArray({-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9}); in LLVMFuzzerTestOneInput()
33 // Gzip wrapper. in LLVMFuzzerTestOneInput()
37 windowBits *= -1; in LLVMFuzzerTestOneInput()
39 // Default: zlib wrapper. in LLVMFuzzerTestOneInput()
54 // Stream with random-sized input and output buffers. in LLVMFuzzerTestOneInput()
82 src.insert(src.end(), src_chunk.begin(), src_chunk.end() - stream.avail_in); in LLVMFuzzerTestOneInput()
84 out_chunk.end() - stream.avail_out); in LLVMFuzzerTestOneInput()
96 out_chunk.end() - stream.avail_out); in LLVMFuzzerTestOneInput()
[all …]
/external/arm-trusted-firmware/lib/zlib/
Dtf_gunzip.c2 * Copyright (c) 2018-2021, ARM Limited and Contributors. All rights reserved.
4 * SPDX-License-Identifier: BSD-3-Clause
19 * memory allocated by malloc() is supposed to be aligned for any built-in type
52 * gunzip - decompress gzip data
80 ERROR("zlib: inflate init failed (ret = %d)\n", zret); in gunzip()
81 return (zret == Z_MEM_ERROR) ? -ENOMEM : -EIO; in gunzip()
90 ERROR("zlib: inflate failed (ret = %d)\n", zret); in gunzip()
91 ret = (zret == Z_MEM_ERROR) ? -ENOMEM : -EIO; in gunzip()
94 VERBOSE("zlib: %lu byte input\n", stream.total_in); in gunzip()
95 VERBOSE("zlib: %lu byte output\n", stream.total_out); in gunzip()
[all …]
/external/trusty/arm-trusted-firmware/lib/zlib/
Dtf_gunzip.c2 * Copyright (c) 2018-2021, Arm Limited and Contributors. All rights reserved.
4 * SPDX-License-Identifier: BSD-3-Clause
19 * memory allocated by malloc() is supposed to be aligned for any built-in type
52 * gunzip - decompress gzip data
80 ERROR("zlib: inflate init failed (ret = %d)\n", zret); in gunzip()
81 return (zret == Z_MEM_ERROR) ? -ENOMEM : -EIO; in gunzip()
90 ERROR("zlib: inflate failed (ret = %d)\n", zret); in gunzip()
91 ret = (zret == Z_MEM_ERROR) ? -ENOMEM : -EIO; in gunzip()
94 VERBOSE("zlib: %lu byte input\n", stream.total_in); in gunzip()
95 VERBOSE("zlib: %lu byte output\n", stream.total_out); in gunzip()
[all …]
/external/linux-kselftest/tools/testing/selftests/powerpc/nx-gzip/include/
Dnx_dbg.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
34 flock(nx_gzip_log->_fileno, LOCK_EX); \
38 (int)m->tm_year + 1900, (int)m->tm_mon+1, (int)m->tm_mday, \
39 (int)m->tm_hour, (int)m->tm_min, (int)m->tm_sec, \
42 flock(nx_gzip_log->_fileno, LOCK_UN); \
63 /* Trace zlib wrapper code */
73 /* Trace zlib hardware implementation */
79 /* Trace zlib software implementation */
87 * str_to_num - Convert string into number and copy with endings like
/external/tensorflow/tensorflow/tools/ci_build/linux/mkl/
Dinstall_openmpi_horovod.sh8 # http://www.apache.org/licenses/LICENSE-2.0
20 set -e
23 OPENMPI_VERSION=${OPENMPI_VERSION:-openmpi-2.1.1}
24 OPENMPI_DOWNLOAD_URL=${OPENMPI_DOWNLOAD_URL:-https://www.open-mpi.org/software/ompi/v2.1/downloads/…
25 INSTALL_HOROVOD_FROM_COMMIT=${INSTALL_HOROVOD_FROM_COMMIT:-no}
26 BUILD_SSH=${BUILD_SSH:-no}
27 HOROVOD_VERSION=${HOROVOD_VERSION:-0.19.1}
36 curl -fSsL -O ${OPENMPI_DOWNLOAD_URL}
39 ./configure --enable-mpirun-prefix-by-default
40 make -j $(nproc) all
[all …]
/external/python/httplib2/tests/
D__init__.py23 import zlib
147 content_length_string = msg.headers.get("content-length", "")
151 elif msg.headers.get("transfer-encoding") == "chunked":
286 "" - build normal http/https URI.
287 string - build normal URI using supplied scheme.
288 None - yield (addr, port) tuple.
290 None (default) - plain HTTP.
291 … True - HTTPS with reasonable defaults. Likely you want httplib2.Http(ca_certs=tests.CA_CERTS)
292 string - path to custom server cert+key PEM file.
293 callable - function(context, listener, skip_errors) -> ssl_wrapped_listener
[all …]
/external/rust/crates/libz-sys/src/zlib/win32/
DDLL_FAQ.txt6 of the official DLL build of zlib, named ZLIB1.DLL. If you have
7 general questions about zlib, you should see the file "FAQ" found
8 in the zlib distribution, or at the following location:
9 http://www.gzip.org/zlib/zlib_faq.html
14 - ZLIB1.DLL is the official build of zlib as a DLL.
17 Pointers to a precompiled ZLIB1.DLL can be found in the zlib
19 http://www.zlib.net/
25 files "zlib.h" and "zlib.def", found in an official zlib
34 It is recommended to download the prebuilt DLL from the zlib
47 What happened to the old ZLIB.DLL?
[all …]
/external/rust/crates/libz-sys/src/zlib-ng/
Dcompress.c1 /* compress.c -- compress a memory buffer
2 * Copyright (C) 1995-2005, 2014, 2016 Jean-loup Gailly, Mark Adler
3 * For conditions of distribution and use, see copyright notice in zlib.h
10 * Architecture-specific hooks.
16 …* Zero means that arch-specific deflation code behaves identically to the regular zlib-ng algorith…
35 const unsigned int max = (unsigned int)-1; in PREFIX()
57 left -= stream.avail_out; in PREFIX()
61 sourceLen -= stream.avail_in; in PREFIX()
85 /* Architecture-specific code provided an upper bound. */ in PREFIX()
94 + ZLIB_WRAPLEN; /* zlib wrapper */ in PREFIX()
/external/deqp/
DCMakeLists.txt27 project(dEQP-Core-${DEQP_TARGET})
32 add_definitions(-DDE_ASSERT_FAILURE_CALLBACK)
34 # dEQP-specific configuration. Target file should override these.
37 set(DEQP_GLES2_LIBRARIES ) # GLESv2 libraries. If empty, run-time linking is used
38 set(DEQP_GLES3_LIBRARIES ) # GLESv3 libraries. If empty, run-time linking is used
41 # Legacy APIs that don't use run-time loading
48 set(DEQP_SUPPORT_GLX OFF) # Is GLX supported \todo [2016-10-12 pyry] X11 specific - move to fram…
64 # Include target-specific definitions
72 # If a non-empty target selection list is provided, exclude all subdirectories by default.
82 # zlib
[all …]
/external/rust/crates/libz-sys/src/zlib/
DChangeLog2 ChangeLog file for zlib
5 - Fix deflate stored bug when pulling last block from window
6 - Permit immediate deflateParams changes before any deflate input
9 - Avoid warnings on snprintf() return value
10 - Fix bug in deflate_stored() for zero-length input
11 - Fix bug in gzwrite.c that produced corrupt gzip files
12 - Remove files to be installed before copying them in Makefile.in
13 - Add warnings when compiling with assembler code
16 - Fix contrib/minizip to permit unzipping with desktop API [Zouzou]
17 - Improve contrib/blast to return unused bytes
[all …]
/external/python/cpython2/Modules/zlib/
DChangeLog2 ChangeLog file for zlib
5 - Fix deflate stored bug when pulling last block from window
6 - Permit immediate deflateParams changes before any deflate input
9 - Avoid warnings on snprintf() return value
10 - Fix bug in deflate_stored() for zero-length input
11 - Fix bug in gzwrite.c that produced corrupt gzip files
12 - Remove files to be installed before copying them in Makefile.in
13 - Add warnings when compiling with assembler code
16 - Fix contrib/minizip to permit unzipping with desktop API [Zouzou]
17 - Improve contrib/blast to return unused bytes
[all …]
/external/tensorflow/tensorflow/python/lib/io/
Dtf_record.py7 # http://www.apache.org/licenses/LICENSE-2.0
31 ZLIB = 1 variable in TFRecordCompressionType
42 TFRecordCompressionType.ZLIB: "ZLIB",
57 # pylint: disable=line-too-long
63 and in the [zlib manual](http://www.zlib.net/manual.html).
67 compression_type: `"GZIP"`, `"ZLIB"`, or `""` (no compression).
83 # pylint: enable=line-too-long
105 Compression type as string (e.g. `'ZLIB'`, `'GZIP'`, or `''`).
171 """Creates a reader that allows random-access reads from a TFRecords file.
175 - `read(offset)`, which returns a tuple of `(record, ending_offset)`, where
[all …]
/external/libwebsockets/
DLICENSE4 domain to remove any obstacles from basing differently-licensed code on
9 - lib/misc/sha-1.c - 3-clause BSD license retained, link to original [BSD3]
10 - win32port/zlib - ZLIB license (see zlib.h) [ZLIB]
11- lib/tls/mbedtls/wrapper - Apache 2.0 (only built if linked against mbedtls) [APACHE…
12 lib/tls/mbedtls/mbedtls-extensions.c
13 - lib/misc/base64-decode.c - already MIT
14 - lib/misc/ieeehalfprecision.c - 2-clause BSD license retained [BSD2]
18 - lib/misc/daemonize.c - relicensed from Public Domain to MIT,
20 - lib/plat/windows/windows-resolv.c - relicensed from "Beerware v42" to MIT
22 Public Domain (CC-zero) to simplify reuse:
[all …]
/external/curl/packages/OS400/
DREADME.OS40014 mechanism would have lead in a localized binary library - not portable across
19 include files, a C and system procedures ASCII wrapper library. See IBM QADRT
27 To support all the different variants of EBCDIC, non-standard wrapper
42 Non-standard EBCDIC wrapper prototypes are defined in an additional header
43 file: ccsidcurl.h. These should be self-explanatory to an OS/400-aware
45 Wrapper procedures with variable arguments are described below:
147 CURLOPT_POSTFIELDSIZE != -1, the data size is adjusted according to the
194 non-ccsid version and return a string encoded in the additional ccsid
200 Although the prototypes are self-explanatory, the returned string pointer
201 should be released with curl_free() after use, as opposite to the non-ccsid
[all …]
/external/libwebsockets/win32port/zlib/
Dzlib.h1 /* zlib.h -- interface of the 'zlib' general purpose compression library
4 Copyright (C) 1995-2010 Jean-loup Gailly and Mark Adler
6 This software is provided 'as-is', without any express or implied
22 Jean-loup Gailly Mark Adler
26 The data format used by the zlib library is described by RFCs (Request for
28 (zlib format), rfc1951.txt (deflate format) and rfc1952.txt (gzip format).
48 The 'zlib' compression library provides in-memory compression and
59 The compressed data format used by default by the in-memory functions is
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
[all …]

123456789