Home
last modified time | relevance | path

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

12345678910>>...43

/external/python/cpython3/Lib/test/
Dtest_zlib.py12 zlib = import_helper.import_module('zlib') variable
15 hasattr(zlib.compressobj(), "copy"),
18 hasattr(zlib.decompressobj(), "copy"),
22 def _zlib_runtime_version_tuple(zlib_version=zlib.ZLIB_RUNTIME_VERSION):
24 # or "1.2.0-linux","1.2.0.f","1.2.0.f-linux"
25 v = zlib_version.split('-', 1)[0].split('.')
28 elif not v[-1].isnumeric():
29 v[-1] = '0'
36 # bpo-46623: When a hardware accelerator is used (currently only on s390x),
37 # using different ways to compress data with zlib can produce different
[all …]
/external/zstd/zlibWrapper/
DREADME.md1 Zstandard wrapper for zlib
4 …ng a zstd wrapper for [zlib](https://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
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 …]
/external/rust/android-crates-io/crates/libz-sys/
DREADME.md1 # libz-sys
3 A common library for linking `libz` to Rust programs (also known as zlib).
5 [Documentation](https://docs.rs/libz-sys)
7 This also serves as the source for the `libz-ng-sys` crate, which builds
8 zlib-ng natively (not in zlib-compat mode). See
9 [`README-zng.md`](README-zng.md) for details.
11 # High-level API
13 This crate provides bindings to the raw low-level C API. For a higher-level
14 safe API to work with DEFLATE, zlib, or gzip streams, see
18 # zlib-ng
[all …]
Dbuild.rs6 println!("cargo:rerun-if-env-changed=LIBZ_SYS_STATIC"); in main()
7 println!("cargo:rerun-if-changed=build.rs"); in main()
8 println!("cargo:rerun-if-changed=zng/cmake.rs"); in main()
9 println!("cargo:rerun-if-changed=zng/cc.rs"); in main()
17 feature = "zlib-ng", in main()
18 feature = "zlib-ng-no-cmake-experimental-community-maintained" in main()
19 )) && !cfg!(feature = "stock-zlib"); in main()
21 if want_ng && target != "wasm32-unknown-unknown" { in main()
25 // All android compilers should come with libz by default, so let's just use in main()
26 // the one already there. Likewise, Haiku and OpenHarmony always ship with libz, in main()
[all …]
DREADME-zng.md1 # libz-ng-sys
3 A library for linking zlib-ng (`libz-ng`) to Rust programs natively, rather
4 than in zlib-compat mode.
6 zlib-ng is a high-performance implementation of zlib. zlib-ng supports building
7 in two modes: zlib-compat mode, in which it provides the same API as zlib and
8 generally works as a drop-in replacement, and native mode, in which it provides
9 its own API. The native API is almost identical to the zlib-compat API, except
10 that some types use more correct sizes (rather than the sizes required for zlib
12 zlib and zlib-ng to coexist in the same program.
14 This crate provides bindings to the native zlib-ng API. However, for simplicity
[all …]
DCargo.toml5 # with all versions of Cargo and also rewrite `path` dependencies
14 name = "libz-sys"
26 "/README-zng.md",
32 "src/zlib/*.[ch]",
33 "src/zlib/*.pc.in",
34 "src/zlib-ng/**.[ch]",
35 "src/zlib-ng/arch/arm/**.[ch]",
36 "src/zlib-ng/arch/generic/**.[ch]",
37 "src/zlib-ng/arch/power/**.[ch]",
38 "src/zlib-ng/arch/riscv/**.[ch]",
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Support/
DCompression.cpp1 //===--- Compression.cpp - Compression implementation ---------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
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()
40 return "LLVM was not built with LLVM_ENABLE_ZSTD or did not find zstd at " in getReasonIfUnsupported()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DCompression.cpp1 //===--- Compression.cpp - Compression implementation ---------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
21 #include <zlib.h>
34 return "zlib error: Z_MEM_ERROR"; in convertZlibCodeToString()
36 return "zlib error: Z_BUF_ERROR"; in convertZlibCodeToString()
38 return "zlib error: Z_STREAM_ERROR"; in convertZlibCodeToString()
40 return "zlib error: Z_DATA_ERROR"; in convertZlibCodeToString()
[all …]
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/flate2-1.0.35/
DREADME.md6 A streaming compression/decompression library DEFLATE-based streams in Rust.
10 available zlib library or the high-performance zlib-ng library.
15 * zlib
31 The `Cargo.toml` file specifies a `rust-version` for which builds of the current version
34 The `rust-version` is a best-effort measured value and is different to the MSRV. The
35 `rust-version` can be incremented by a PR in order to pass tests, as long as the MSRV
36 continues to hold. When the `rust-version` increases, the next release should be a minor
71 want maximum performance, you can use the zlib-ng C library:
75 flate2 = { version = "1.0.17", features = ["zlib-ng"], default-features = false }
78 Note that the `"zlib-ng"` feature works even if some other part of your crate
[all …]
DCargo.toml.orig6 license = "MIT OR Apache-2.0"
8 rust-version = "1.56.1"
9 keywords = ["gzip", "deflate", "zlib", "zlib-ng", "encoding"]
10 categories = ["compression", "api-bindings"]
11 repository = "https://github.com/rust-lang/flate2-rs"
12 homepage = "https://github.com/rust-lang/flate2-rs"
16 Supports miniz_oxide and multiple zlib implementations. Supports zlib, gzip,
22 libz-sys = { version = "1.1.20", optional = true, default-features = false }
23 libz-ng-sys = { version = "1.1.16", optional = true }
25 libz-rs-sys = { version = "0.4.0", optional = true, default-features = false, features = ["std", "r…
[all …]
/external/rust/android-crates-io/crates/flate2/
DREADME.md6 A streaming compression/decompression library DEFLATE-based streams in Rust.
10 available zlib library or the high-performance zlib-ng library.
15 * zlib
31 The `Cargo.toml` file specifies a `rust-version` for which builds of the current version
34 The `rust-version` is a best-effort measured value and is different to the MSRV. The
35 `rust-version` can be incremented by a PR in order to pass tests, as long as the MSRV
36 continues to hold. When the `rust-version` increases, the next release should be a minor
71 want maximum performance, you can use the zlib-ng C library:
75 flate2 = { version = "1.0.17", features = ["zlib-ng"], default-features = false }
78 Note that the `"zlib-ng"` feature works even if some other part of your crate
[all …]
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/flate2-1.0.35/
DREADME.md6 A streaming compression/decompression library DEFLATE-based streams in Rust.
10 available zlib library or the high-performance zlib-ng library.
15 * zlib
31 The `Cargo.toml` file specifies a `rust-version` for which builds of the current version
34 The `rust-version` is a best-effort measured value and is different to the MSRV. The
35 `rust-version` can be incremented by a PR in order to pass tests, as long as the MSRV
36 continues to hold. When the `rust-version` increases, the next release should be a minor
71 want maximum performance, you can use the zlib-ng C library:
75 flate2 = { version = "1.0.17", features = ["zlib-ng"], default-features = false }
78 Note that the `"zlib-ng"` feature works even if some other part of your crate
[all …]
DCargo.toml.orig6 license = "MIT OR Apache-2.0"
8 rust-version = "1.56.1"
9 keywords = ["gzip", "deflate", "zlib", "zlib-ng", "encoding"]
10 categories = ["compression", "api-bindings"]
11 repository = "https://github.com/rust-lang/flate2-rs"
12 homepage = "https://github.com/rust-lang/flate2-rs"
16 Supports miniz_oxide and multiple zlib implementations. Supports zlib, gzip,
22 libz-sys = { version = "1.1.20", optional = true, default-features = false }
23 libz-ng-sys = { version = "1.1.16", optional = true }
25 libz-rs-sys = { version = "0.4.0", optional = true, default-features = false, features = ["std", "r…
[all …]
/external/llvm/lib/Support/
DCompression.cpp1 //===--- Compression.cpp - Compression implementation ---------------------===//
8 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
21 #include <zlib.h>
27 static int encodeZlibCompressionLevel(zlib::CompressionLevel Level) { in encodeZlibCompressionLevel()
29 case zlib::NoCompression: return 0; in encodeZlibCompressionLevel()
30 case zlib::BestSpeedCompression: return 1; in encodeZlibCompressionLevel()
31 case zlib::DefaultCompression: return Z_DEFAULT_COMPRESSION; in encodeZlibCompressionLevel()
32 case zlib::BestSizeCompression: return 9; in encodeZlibCompressionLevel()
34 llvm_unreachable("Invalid zlib::CompressionLevel!"); in encodeZlibCompressionLevel()
[all …]
/external/llvm/test/MC/ELF/
Dcompression.s1 // Check zlib-gnu style
2 // RUN: llvm-mc -filetype=obj -compress-debug-sections=zlib-gnu -triple x86_64-pc-linux-gnu < %s -o…
3 // RUN: llvm-objdump -s %t | FileCheck --check-prefix=CHECK-GNU-STYLE %s
4 // RUN: llvm-dwarfdump -debug-dump=str %t | FileCheck --check-prefix=STR %s
5 // RUN: llvm-mc -filetype=obj -compress-debug-sections=zlib-gnu -triple i386-pc-linux-gnu < %s \
6 // RUN: | llvm-readobj -symbols - | FileCheck --check-prefix=386-SYMBOLS-GNU %s
8 // Check zlib style
9 // RUN: llvm-mc -filetype=obj -compress-debug-sections=zlib -triple x86_64-pc-linux-gnu < %s -o %t
10 // RUN: llvm-objdump -s %t | FileCheck --check-prefix=CHECK-ZLIB-STYLE %s
11 // RUN: llvm-dwarfdump -debug-dump=str %t | FileCheck --check-prefix=STR %s
[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 …]
Dzlib.31 .TH ZLIB 3 "xx Aug 2023"
3 zlib \- compression/decompression library
6 .I zlib.h
10 .I zlib
14 It provides in-memory compression and decompression functions,
18 with the same stream interface.
29 with an interface similar to that of stdio.
36 .IR zlib.h .
50 .I zlib
56 .I zlib
[all …]
/external/libpng/contrib/tools/
Dpngfix.c3 * Copyright (c) 2014-2017,2024 John Cunningham Bowler
9 * Tool to check and fix the zlib inflate 'too far back' problem.
35 # error "pngfix will not work with libpng prior to 1.6.3"
45 /* zlib.h defines the structure z_stream, an instance of which is included
50 /* We must ensure that zlib uses 'const' in declarations. */
53 #include <zlib.h>
55 /* zlib.h sometimes #defines const to nothing, undo this. */
59 /* zlib.h has mediocre z_const use before 1.2.6, this stuff is for compatibility
60 * with older builds.
126 /* The 8-byte signature as a pair of 32-bit quantities */
[all …]
/external/cronet/stable/third_party/protobuf/
Dconfigure.ac1 ## Process this file with autoconf to produce configure.
13 # * protoc-artifacts/pom.xml
15 # * src/Makefile.am (Update -version-info for LDFLAGS if needed)
18 # version with the "-pre" suffix. (We used to use "-SNAPSHOT" but this pushed
19 # the size of one file name in the dist tarfile over the 99-char limit.)
39 # autoconf's default CXXFLAGS are usually "-g -O2". These aren't necessarily
48 AM_INIT_AUTOMAKE([1.9 tar-ustar subdir-objects])
52 # To see all logs, use the --disable-silent-rules on configure or via make V=1
55 AC_ARG_WITH([zlib], optwith
56 [AS_HELP_STRING([--with-zlib],
[all …]
/external/cronet/tot/third_party/protobuf/
Dconfigure.ac1 ## Process this file with autoconf to produce configure.
13 # * protoc-artifacts/pom.xml
15 # * src/Makefile.am (Update -version-info for LDFLAGS if needed)
18 # version with the "-pre" suffix. (We used to use "-SNAPSHOT" but this pushed
19 # the size of one file name in the dist tarfile over the 99-char limit.)
39 # autoconf's default CXXFLAGS are usually "-g -O2". These aren't necessarily
48 AM_INIT_AUTOMAKE([1.9 tar-ustar subdir-objects])
52 # To see all logs, use the --disable-silent-rules on configure or via make V=1
55 AC_ARG_WITH([zlib], optwith
56 [AS_HELP_STRING([--with-zlib],
[all …]
/external/protobuf/
Dconfigure.ac1 ## Process this file with autoconf to produce configure.
13 # * protoc-artifacts/pom.xml
15 # * src/Makefile.am (Update -version-info for LDFLAGS if needed)
18 # version with the "-pre" suffix. (We used to use "-SNAPSHOT" but this pushed
19 # the size of one file name in the dist tarfile over the 99-char limit.)
39 # autoconf's default CXXFLAGS are usually "-g -O2". These aren't necessarily
48 AM_INIT_AUTOMAKE([1.9 tar-ustar subdir-objects])
52 # To see all logs, use the --disable-silent-rules on configure or via make V=1
55 AC_ARG_WITH([zlib], optwith
56 [AS_HELP_STRING([--with-zlib],
[all …]
/external/pytorch/third_party/miniz-2.1.0/
Dreadme.md3zlib (RFC 1950) and Deflate (RFC 1951) compressed data format specification standards. It supports…
12 * A portable, single source and header file library written in plain C. Tested with GCC, clang and …
14 * A drop-in replacement for zlib's most used API's (tested in several open source projects that use…
15-time compressors and zlib. For example, at level 1, miniz.c compresses around 5-9% better than mi…
16 …z.c fully supports stream based processing using a coroutine-style implementation. The zlib-style …
17 … low-level compressor (tdefl) and decompressor (tinfl) have simple state structs which can be save…
18 * Entire inflater (including optional zlib header parsing and Adler-32 checking) is implemented in …
19 …ely just powerful enough to write an entire archiver given a bit of additional higher-level logic.)
24 … assumption is that the user is already familiar with the basic zlib API. I need to write an API w…
30 Thanks to Bruce Dawson for reporting a problem with the level_and_flags archive API parameter (whic…
[all …]
/external/tensorflow/tensorflow/python/lib/io/
Dtf_record_test.py4 # you may not use this file except in compliance with the License.
7 # http://www.apache.org/licenses/LICENSE-2.0
21 import zlib
85 with tf_record.TFRecordWriter(fn, options=options) as writer:
91 # zlib compress the file and write compressed contents to file.
92 with open(infile, "rb") as f:
93 cdata = zlib.compress(f.read())
96 with open(zfn, "wb") as f:
102 with open(infile, "rb") as f:
106 with gzip.GzipFile(gzfn, "wb") as f:
[all …]
/external/python/cpython3/Doc/library/
Dzlib.rst1 :mod:`!zlib` --- Compression compatible with :program:`gzip`
4 .. module:: zlib
5 :synopsis: Low-level interface to compression and decompression routines
6 compatible with gzip.
8 --------------
11 allow compression and decompression, using the zlib library. The zlib library
12 has its own home page at https://www.zlib.net. There are known
13 incompatibilities between the Python module and versions of the zlib library
14 earlier than 1.1.3; 1.1.3 has a `security vulnerability <https://zlib.net/zlib_faq.html#faq33>`_, s…
17 zlib's functions have many options and often need to be used in a particular
[all …]
/external/sandboxed-api/sandboxed_api/bazel/external/
Dzlib.patch1 diff -ur zlib-1.2.11/adler32.c zlib-1.2.11__patched/adler32.c
2 --- zlib-1.2.11/adler32.c 2017-01-01 08:37:10.000000000 +0100
3 +++ zlib-1.2.11__patched/adler32.c 2019-10-22 17:36:13.389965314 +0200
4 @@ -7,7 +7,7 @@
8 -local uLong adler32_combine_ OF((uLong adler1, uLong adler2, z_off64_t len2));
13 diff -ur zlib-1.2.11/crc32.c zlib-1.2.11__patched/crc32.c
14 --- zlib-1.2.11/crc32.c 2017-01-01 08:37:10.000000000 +0100
15 +++ zlib-1.2.11__patched/crc32.c 2019-10-22 17:36:13.393965277 +0200
16 @@ -35,29 +35,29 @@
20 - local unsigned long crc32_little OF((unsigned long,
[all …]

12345678910>>...43