Home
last modified time | relevance | path

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

12345

/external/rust/crates/libz-sys/src/zlib-ng/test/
Dabicheck.sh2 set -ex
7 Usage: $0 [--zlib-compat][--refresh][--refresh-if]
9 Build shared library with -ggdb, then compare its ABI to the stable
13 --zlib-compat - check the ABI of the zlib-compatible flavor of zlib-ng.
14 --refresh - build the reference library and extract its ABI rather than using a stored ABI fil…
15 --refresh-if - refresh only if ABI file not present.
19 Requires libabigail (on Ubuntu, install package abigail-tools).
23 # Print the multiarch tuple for the current (non-cross) machine,
26 dpkg-architecture -qDEB_HOST_MULTIARCH ||
27 $CC -print-multiarch ||
[all …]
Dpkgcheck.sh5 Usage: sh test/pkgcheck.sh [--zlib-compat]
8 If --zlib-compat, tests with zlib compatible builds.
12 $ sudo apt install ninja-build diffoscope gcc-multilib
13 $ export CMAKE_ARGS="-DCMAKE_C_FLAGS=-m32" CFLAGS=-m32 LDFLAGS=-m32
16 To cross-build, install the appropriate qemu and gcc packages,
21 $ sudo apt install ninja-build diffoscope qemu gcc-arm-linux-gnueabihf libc6-dev-armhf-cross
22 $ export CHOST=arm-linux-gnueabihf
23 $ export CMAKE_ARGS="-DCMAKE_TOOLCHAIN_FILE=cmake/toolchain-arm.cmake -DCMAKE_C_COMPILER_TARGET=${C…
26 $ sudo apt install ninja-build diffoscope qemu gcc-aarch64-linux-gnu libc6-dev-arm64-cross
27 $ export CHOST=aarch64-linux-gnu
[all …]
Dabicheck.md2 ----------------------
9 - an app is compiled against the current zlib-ng
10 - the system package manager updates the zlib-ng shared library
11 - the app now crashes because some symbol is
15 If run with --zlib-compat, it verifies that the
17 is ABI-compatible with the reference release
18 of classic zlib. This ensures that building
19 zlib-ng with --zlib-compat does what it says on the tin.
25 ---------------------------
27 Comparing to the old version of zlib (or zlib-ng)
[all …]
/external/rust/crates/libz-sys/
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 whih 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 …]
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 …]
DCargo.toml.orig2 name = "libz-sys"
6 license = "MIT OR Apache-2.0"
7 repository = "https://github.com/rust-lang/libz-sys"
8 description = "Low-level bindings to the system libz library (also known as zlib)."
9 categories = ["compression", "external-ffi-bindings"]
10 keywords = ["zlib", "zlib-ng"]
16 "/Cargo-zng.toml",
17 "/cargo-zng",
26 # When this feature is disabled, zlib will be built in Z_SOLO mode which
28 # eliminating some high-level functions like gz*, compress* and
[all …]
Dbuild_zng.rs3 pub fn build_zlib_ng(target: &str, compat: bool) { in build_zlib_ng()
4 let mut cmake = cmake::Config::new("src/zlib-ng"); in build_zlib_ng()
7 .define("ZLIB_COMPAT", if compat { "ON" } else { "OFF" }) in build_zlib_ng()
15 .cflag("-DDFLTCC_LEVEL_MASK=0x7e"); in build_zlib_ng()
17 if target == "i686-pc-windows-msvc" { in build_zlib_ng()
26 "cargo:rustc-link-search=native={}", in build_zlib_ng()
39 "cargo:rustc-link-lib=static={}{}{}", in build_zlib_ng()
41 if compat { "" } else { "-ng" }, in build_zlib_ng()
46 if !compat { in build_zlib_ng()
47 println!("cargo:rustc-cfg=zng"); in build_zlib_ng()
/external/rust/crates/libz-sys/src/zlib-ng/
DPORTING.md1 Porting applications to use zlib-ng
4 Zlib-ng can be used/compiled in two different modes, that require some
7 zlib-compat mode
8 ----------------
9 Zlib-ng can be compiled in zlib-compat mode, suitable for zlib-replacement
10 in a single application or system-wide.
12 Please note that zlib-ng in zlib-compat mode tries to maintain both API and
13 ABI compatibility with the original zlib. Any issues regarding compatibility
16 In certain instances you may not be able to simply replace the zlib library/dll
18 recompiled against the zlib-ng headers and libs to ensure full compatibility.
[all …]
DREADME.md1 ## zlib-ng
2 *zlib data compression library for the next generation systems*
5 aka Dead2 (zlib-ng àt circlestorm dót org)
8 |:-|-|
9zlib-ng/zlib-ng/workflows/CI%20CMake/badge.svg)](https://github.com/zlib-ng/zlib-ng/actions) [![Ma…
10 …53ee1de871c0c712b65d26.svg?branch=develop)](https://buildkite.com/circlestorm-productions/zlib-ng)|
11 …www.codefactor.io/repository/github/zlib-ng/zlib-ng/badge)](https://www.codefactor.io/repository/g…
12-Fuzz|[![Fuzzing Status](https://oss-fuzz-build-logs.storage.googleapis.com/badges/zlib-ng.svg)](h…
13 …cov.io](https://codecov.io/github/zlib-ng/zlib-ng/coverage.svg?branch=develop)](https://codecov.io…
17 --------
[all …]
Dconfigure2 # configure script for zlib.
5 # If you want to build just a static library, use: ./configure --static
8 # prefix=$HOME CC=cc CFLAGS="-O4" ./configure
10 # (setenv prefix $HOME; setenv CC cc; setenv CFLAGS "-O4"; ./configure)
17 echo -------------------- >> configure.log
24 # set command prefix for cross-compilation
25 if [ -n "${CHOST}" ]; then
28 …"$(echo "${NORM_CHOST}" | sed -e 's/^[^-]*-\([^-]*\)$/\1/' -e 's/^[^-]*-[^-]*-\([^-]*\)$/\1/' -e '…
29 CROSS_PREFIX="${CHOST}-"
30 ARCH="$(echo "${NORM_CHOST}" | sed -e 's/-.*//')"
[all …]
/external/rust/crates/libz-sys/src/zlib-ng/.github/workflows/
Dconfigure.yml4 ci-configure:
6 runs-on: ${{ matrix.os }}
8 fail-fast: false
11 - name: Ubuntu GCC
12 os: ubuntu-latest
14 configure-args: --warn
16 - name: Ubuntu 18.04 GCC
17 os: ubuntu-18.04
19 configure-args: --warn
21 - name: Ubuntu GCC OSB
[all …]
Drelease.yml5 - '*'
7 ci-cmake:
9 runs-on: ${{ matrix.os }}
11 fail-fast: false
14 - name: Windows MSVC Win32
15 os: windows-latest
17 cmake-args: -A Win32
18 deploy-name: win-x86
20 - name: Windows MSVC Win32 Compat
21 os: windows-latest
[all …]
Dpkgcheck.yml4 ci-pkgcheck:
6 runs-on: ${{ matrix.os }}
8 fail-fast: false
11 - name: Ubuntu GCC
12 os: ubuntu-latest
14 cxx-compiler: g++
16 - name: Ubuntu GCC -m32
17 os: ubuntu-latest
19 cxx-compiler: g++
20 packages: gcc-multilib g++-multilib
[all …]
Dcmake.yml4 ci-cmake:
6 runs-on: ${{ matrix.os }}
8 fail-fast: false
11 - name: Ubuntu 18.04 GCC
12 os: ubuntu-18.04
14 cxx-compiler: g++
16 - name: Ubuntu GCC ASAN
17 os: ubuntu-latest
19 cxx-compiler: g++
20 cmake-args: -DWITH_SANITIZER=Address
[all …]
/external/rust/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
62 want maximum performance, you can use the zlib-ng C library:
66 flate2 = { version = "1.0.17", features = ["zlib-ng"], default-features = false }
69 Note that the `"zlib-ng"` feature works even if some other part of your crate
70 graph depends on zlib.
73 zlib, and you want to avoid including both zlib and zlib-ng, you can use that
78 flate2 = { version = "1.0.17", features = ["zlib"], default-features = false }
81 Or, if you have C or Rust code that depends on zlib and you want to use zlib-ng
[all …]
DCargo.toml.orig6 license = "MIT OR Apache-2.0"
8 keywords = ["gzip", "deflate", "zlib", "zlib-ng", "encoding"]
9 categories = ["compression", "api-bindings"]
10 repository = "https://github.com/rust-lang/flate2-rs"
11 homepage = "https://github.com/rust-lang/flate2-rs"
15 Supports miniz_oxide and multiple zlib implementations. Supports zlib, gzip,
20 libz-sys = { version = "1.1.8", optional = true, default-features = false }
21 libz-ng-sys = { version = "1.1.8", optional = true }
22 cloudflare-zlib-sys = { version = "0.3.0", optional = true }
23 miniz_oxide = { version = "0.7.1", optional = true, default-features = false, features = ["with-all…
[all …]
DCargo.toml22 Supports miniz_oxide and multiple zlib implementations. Supports zlib, gzip,
25 homepage = "https://github.com/rust-lang/flate2-rs"
31 "zlib",
32 "zlib-ng",
37 "api-bindings",
39 license = "MIT OR Apache-2.0"
40 repository = "https://github.com/rust-lang/flate2-rs"
43 all-features = true
44 rustdoc-args = [
45 "--cfg",
[all …]
/external/rust/crates/grpcio-sys/grpc/tools/interop_matrix/patches/csharp_v1.0.1/
Dgit_repo.patch1 diff --git a/third_party/boringssl b/third_party/boringssl
3 --- a/third_party/boringssl
5 @@ -1 +1 @@
6 -Subproject commit c880e42ba1c8032d4cdde2aba0541d8a9d9fa2e9
8 diff --git a/third_party/gflags b/third_party/gflags
10 --- a/third_party/gflags
12 @@ -1 +1 @@
13 -Subproject commit 05b155ff59114735ec8cd089f669c4c3d8f59029
15 diff --git a/third_party/googletest b/third_party/googletest
17 --- a/third_party/googletest
[all …]
/external/grpc-grpc/tools/interop_matrix/patches/csharp_v1.0.1/
Dgit_repo.patch1 diff --git a/third_party/boringssl b/third_party/boringssl
3 --- a/third_party/boringssl
5 @@ -1 +1 @@
6 -Subproject commit c880e42ba1c8032d4cdde2aba0541d8a9d9fa2e9
8 diff --git a/third_party/gflags b/third_party/gflags
10 --- a/third_party/gflags
12 @@ -1 +1 @@
13 -Subproject commit 05b155ff59114735ec8cd089f669c4c3d8f59029
15 diff --git a/third_party/googletest b/third_party/googletest
17 --- a/third_party/googletest
[all …]
/external/tensorflow/tensorflow/python/lib/io/
Dtf_record_test.py7 # http://www.apache.org/licenses/LICENSE-2.0
21 import zlib
28 from tensorflow.python.util import compat
72 return compat.as_bytes("Record %d of file %d" % (r, f))
91 # zlib compress the file and write compressed contents to file.
93 cdata = zlib.compress(f.read())
112 cdata = zlib.decompress(f.read())
167 return os.path.getsize(fn_a) - os.path.getsize(fn_b)
170 """test Write Read ZLib Files"""
181 options = tf_record.TFRecordOptions(TFRecordCompressionType.ZLIB)
[all …]
Dtf_record.py7 # http://www.apache.org/licenses/LICENSE-2.0
19 from tensorflow.python.util import compat
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 `''`).
126 compat.as_bytes(
[all …]
/external/rust/crates/flate2/src/
Dlib.rs1 //! A DEFLATE-based stream compression/decompression library
4 //! DEFLATE-based streams:
7 //! * the zlib format
19 //! * `default`, or `rust_backend` - this implementation uses the `miniz_oxide`
23 //! * `zlib` - this feature will enable linking against the `libz` library, typically found on most
29 //! compiler at build time. `zlib-ng-compat` is useful if you're using zlib for compatibility but
30 //! want performance via zlib-ng's zlib-compat mode. `zlib` is useful if something else in your
31 //! dependencies links the original zlib so you cannot use zlib-ng-compat. The compression ratios
53 //! # fn run() -> io::Result<()> {
61 //! Other various types are provided at the top-level of the crate for
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/io_ops/
Dreader_ops_test.py7 # http://www.apache.org/licenses/LICENSE-2.0
23 import zlib
37 from tensorflow.python.util import compat
41 # pylint: disable=invalid-name
43 # pylint: enable=invalid-name
84 return compat.as_bytes("Record %d of file %d" % (r, f))
103 # zlib compress the file and write compressed contents to file.
105 cdata = zlib.compress(f.read())
124 cdata = zlib.decompress(f.read())
242 self.evaluate(reader.restore_state(state[:-1]))
[all …]
/external/rust/crates/flate2/.github/workflows/
Dmain.yml7 runs-on: ${{ matrix.os }}
13 - build: stable
14 os: ubuntu-latest
16 - build: beta
17 os: ubuntu-latest
19 - build: nightly
20 os: ubuntu-latest
22 - build: macos
23 os: macos-latest
25 - build: windows
[all …]
/external/tensorflow/tensorflow/python/data/kernel_tests/
Dtext_line_dataset_test.py7 # http://www.apache.org/licenses/LICENSE-2.0
19 import zlib
30 from tensorflow.python.util import compat
34 import psutil # pylint: disable=g-import-not-at-top
44 return compat.as_bytes("%d: %d" % (f, l))
70 elif compression_type == "ZLIB":
71 contents = zlib.compress(contents)
85 combinations.combine(compression_type=[None, "GZIP", "ZLIB"])))
164 # partially-read files.
244 combinations.combine(compression_type=[None, "GZIP", "ZLIB"])))
[all …]

12345