Home
last modified time | relevance | path

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

1234

/external/rust/crates/libz-sys/src/zlib-ng/
DREADME.md1 ## zlib-ng section
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 …ww.codefactor.io/repository/github/zlib-ng/zlib-ng/badge)](https://www.codefactor.io/repository/gi…
12-Fuzz|[![Fuzzing Status](https://oss-fuzz-build-logs.storage.googleapis.com/badges/zlib-ng.svg)](h…
13 …ov.io](https://codecov.io/github/zlib-ng/zlib-ng/coverage.svg?branch=develop)](https://codecov.io/…
16 ---------------------------
[all …]
D.gitignore22 /libz-ng.so*
28 /zlib.pc
29 /zlib-ng.pc
30 /CVE-2003-0107
59 zconf-ng.h
60 zconf-ng.h.cmakein
77 /zlib.dir
81 /build[.-]*/
86 /cmake-build-debug
/external/rust/crates/libz-sys/
DCargo.toml.orig2 name = "libz-sys"
7 license = "MIT OR Apache-2.0"
8 repository = "https://github.com/rust-lang/libz-sys"
9 documentation = "https://docs.rs/libz-sys"
11 Low-level bindings to the system libz library (also known as zlib).
13 categories = ["compression", "external-ffi-bindings"]
14 keywords = ["zlib", "zlib-ng"]
20 # When this feature is disabled, zlib will be built in Z_SOLO mode which
22 # eliminating some high-level functions like gz*, compress* and
27 [build-dependencies]
[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 # High-level API
9 This crate provides bindings to the raw low-level C API. For a higher-level
10 safe API to work with DEFLATE, zlib, or gzip streams, see
14 # zlib-ng chapter
16 This crate supports building either the high-performance zlib-ng (in
17 zlib-compat mode), or the widely available stock zlib.
19 By default, `libz-sys` uses stock zlib, primarily because doing so allows the
[all …]
D.gitmodules1 [submodule "src/zlib"]
2 path = src/zlib
3 url = https://github.com/madler/zlib
4 [submodule "src/zlib-ng"]
5 path = src/zlib-ng
6 url = https://github.com/zlib-ng/zlib-ng
Dbuild.rs12 println!("cargo:rerun-if-env-changed=LIBZ_SYS_STATIC"); in main()
13 println!("cargo:rerun-if-changed=build.rs"); in main()
19 let want_ng = cfg!(feature = "zlib-ng") && !cfg!(feature = "stock-zlib"); in main()
21 if want_ng && target != "wasm32-unknown-unknown" { in main()
25 // Don't run pkg-config if we're linking statically (we'll build below) and in main()
26 // also don't run pkg-config on macOS/FreeBSD/DragonFly. That'll end up printing in main()
27 // `-L /usr/lib` which wreaks havoc with linking to an OpenSSL in /usr/local/lib in main()
32 !target.contains("msvc") && // pkg-config just never works here in main()
38 // packages adding non-system search paths to link against libraries in main()
39 // that are also found in a system-wide lib dir. in main()
[all …]
DCargo.toml9 # issue against the rust-lang/cargo repository. If you're
14 name = "libz-sys"
19 description = "Low-level bindings to the system libz library (also known as zlib).\n"
20 documentation = "https://docs.rs/libz-sys"
21 keywords = ["zlib", "zlib-ng"]
22 categories = ["compression", "external-ffi-bindings"]
23 license = "MIT OR Apache-2.0"
24 repository = "https://github.com/rust-lang/libz-sys"
28 [build-dependencies.cc]
31 [build-dependencies.cmake]
[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
56 you're already using zlib with another C library, for example, you can use that
61 flate2 = { version = "1.0.17", features = ["zlib"], default-features = false }
64 This supports either the high-performance zlib-ng backend (in zlib-compat mode)
65 or the use of a shared system zlib library. To explicitly opt into the fast
66 zlib-ng backend, use:
70 flate2 = { version = "1.0.17", features = ["zlib-ng-compat"], default-features = false }
73 Note that if any crate in your dependency graph explicitly requests stock zlib,
[all …]
DCargo.toml.orig6 license = "MIT/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, miniz.c, and multiple zlib implementations. Supports
16 zlib, gzip, and raw deflate streams.
24 cfg-if = "1.0.0"
25 miniz-sys = { path = "miniz-sys", version = "0.1.11", optional = true }
26 libz-sys = { version = "1.1.0", optional = true, default-features = false }
[all …]
DCargo.toml9 # issue against the rust-lang/cargo repository. If you're
18 … Read/BufRead/Write streams.\nSupports miniz_oxide, miniz.c, and multiple zlib implementations. Su…
19 homepage = "https://github.com/rust-lang/flate2-rs"
22 keywords = ["gzip", "deflate", "zlib", "zlib-ng", "encoding"]
23 categories = ["compression", "api-bindings"]
24 license = "MIT/Apache-2.0"
25 repository = "https://github.com/rust-lang/flate2-rs"
26 [dependencies.cfg-if]
29 [dependencies.cloudflare-zlib-sys]
43 [dependencies.libz-sys]
[all …]
/external/oss-fuzz/projects/zlib-ng/
Dproject.yaml1 homepage: "https://github.com/zlib-ng/zlib-ng"
3 primary_contact: "zlib-ng@circlestorm.org"
5 - "sebpop@gmail.com"
6 - "nathan.moinvaziri@gmail.com"
8 - libfuzzer
9 - afl
10 - honggfuzz
11 - dataflow
13 - address
14 - memory
[all …]
DDockerfile7 # http://www.apache.org/licenses/LICENSE-2.0
17 FROM gcr.io/oss-fuzz-base/base-builder
18 RUN apt-get update && apt-get install -y make
20 RUN git clone --depth 1 -b develop https://github.com/zlib-ng/zlib-ng.git
21 WORKDIR zlib-ng
/external/rust/crates/libz-sys/src/zlib-ng/test/
DREADME.md2 --------
5 |-|-|
6 |[CVE-2003-0107.c](https://nvd.nist.gov/vuln/detail/CVE-2003-0107)|Buffer overflow in the gzprintf …
7 |[CVE-2002-0059](https://nvd.nist.gov/vuln/detail/CVE-2002-0059)|inflateEnd to release memory more …
8 |[CVE-2004-0797](https://nvd.nist.gov/vuln/detail/CVE-2004-0797)|Error handling in inflate and infl…
9 |[CVE-2005-1849](https://nvd.nist.gov/vuln/detail/CVE-2005-1849)|inftrees.h bug causes crash|
10 |[CVE-2005-2096](https://nvd.nist.gov/vuln/detail/CVE-2005-2096)|Buffer overflow when incomplete co…
11 |[GH-361](https://github.com/zlib-ng/zlib-ng/issues/361)|Test case for overlapping matches|
12 |[GH-364](https://github.com/zlib-ng/zlib-ng/issues/364)|Test case for switching compression levels|
13 |[GH-382](https://github.com/zlib-ng/zlib-ng/issues/382)|Test case for deflateEnd returning -3 in d…
[all …]
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 …]
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/src/zlib-ng/arch/s390/
DREADME.md6 $ ./configure --with-dfltcc-deflate --with-dfltcc-inflate
11 $ cmake -DWITH_DFLTCC_DEFLATE=1 -DWITH_DFLTCC_INFLATE=1 .
14 When built like this, zlib-ng would compress using hardware on level 1,
16 in hardware. In order to enable hardware compression for levels 1-6
18 `-DDFLTCC_LEVEL_MASK=0x7e` to CFLAGS when building zlib-ng.
23 https://www.ibm.com/support/z-content-solutions/compression/). The
33 https://github.com/iii-i/zlib-ng/wiki/Performance-with-dfltcc-patch-applied-and-dfltcc-support-buil…
34 ). The compression speed-up can be as high as 110x and the decompression
35 speed-up can be as high as 15x.
42 particular, zlib-ng-specific `zng_deflateSetParams` call allows setting
[all …]
/external/zlib/patches/
DREADME1 == Patches applied on top of zlib ==
3 - 0000-build.patch: changes from the upstream version, mostly related to the
5 - 0001-simd.patch: integrate Intel SIMD optimizations from
6 https://github.com/jtkukunas/zlib/
7 - 0002-uninitializedcheck.patch: prevent uninitialized use of state->check
12 - git format-patch master --stdout > foo.patch # where naming follows a growing
14 - git add foo.patch
15 - git commit -a -m "Local patch."
16 - git rebase -i HEAD~2 # Squashing the second commit
21 Chromium's zlib.
[all …]
/external/rust/crates/libz-sys/src/zlib-ng/.github/workflows/
Dlibpng.yml6 runs-on: ubuntu-latest
9 - name: Checkout repository (zlib-ng)
12 - name: Generate project files (zlib-ng)
14 …cmake . -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DWITH_GZFILEOP=ON -DZLIB_COMPAT=ON -DZ…
17 CFLAGS: -fPIC
20 - name: Compile source code (zlib-ng)
22 cmake --build . --config Release
24 - name: Checkout repository (libpng)
30 - name: Generate project files (libpng)
33 …cmake . -DCMAKE_BUILD_TYPE=Release -DPNG_TESTS=ON -DPNG_STATIC=OFF -DZLIB_INCLUDE_DIR=.. -DZLIB_LI…
[all …]
Drelease.yml5 - '*'
7 ci-cmake:
9 runs-on: ${{ matrix.os }}
11 fail-fast: false
20 - name: Windows MSVC Win32
21 os: windows-latest
23 cmake-args: -A Win32
24 deploy-name: win32
26 - name: Windows MSVC Win32 Compat
27 os: windows-latest
[all …]
Dfuzz.yml5 runs-on: ubuntu-latest
7 - name: Build Fuzzers
8 uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
10 oss-fuzz-project-name: 'zlib-ng'
11 dry-run: false
12 - name: Run Fuzzers
13 uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
15 oss-fuzz-project-name: 'zlib-ng'
16 fuzz-seconds: 600
17 dry-run: false
[all …]
/external/rust/crates/libz-sys/ci/
Dtest.bash3 set -e
6 if [ -z "$1" ]; then
20 if [ "${TARGET_TRIPLE%-windows-gnu}" != "$TARGET_TRIPLE" ]; then
21 # On windows-gnu targets, we need to set the PATH to include MinGW
22 if [ "${TARGET_TRIPLE#x86_64-}" != "$TARGET_TRIPLE" ]; then
24 elif [ "${TARGET_TRIPLE#i?86-}" != "$TARGET_TRIPLE" ]; then
27 echo Unknown windows-gnu target
32 $CROSS test --target $TARGET_TRIPLE
33 $CROSS run --target $TARGET_TRIPLE --manifest-path systest/Cargo.toml
34 echo === zlib-ng build ===
[all …]
/external/rust/crates/libz-sys/src/zlib-ng/win32/
DMakefile.msc1 # Makefile for zlib using Microsoft (Visual) C
2 # zlib is copyright (C) 1995-2006 Jean-loup Gailly and Mark Adler
5 # nmake -f win32/Makefile.msc (standard build)
6 # nmake -f win32/Makefile.msc LOC=-DFOO (nonstandard build)
16 STATICLIB = zlib.lib
25 CFLAGS = -nologo -MD -W3 -O2 -Oy- -Zi -Fd"zlib" $(LOC)
27 -D_CRT_SECURE_NO_DEPRECATE \
28 -D_CRT_NONSTDC_NO_DEPRECATE \
29 -DX86_FEATURES \
30 -DX86_PCLMULQDQ_CRC \
[all …]
DMakefile.a641 # Makefile for zlib using Microsoft (Visual) C
2 # zlib is copyright (C) 1995-2006 Jean-loup Gailly and Mark Adler
5 # nmake -f win32/Makefile.a64 (standard build)
6 # nmake -f win32/Makefile.a64 LOC=-DFOO (nonstandard build)
16 STATICLIB = zlib.lib
25 CFLAGS = -nologo -MD -W3 -O2 -Oy- -Zi -Fd"zlib" $(LOC)
27 -D_CRT_SECURE_NO_DEPRECATE \
28 -D_CRT_NONSTDC_NO_DEPRECATE \
29 -DUNALIGNED_OK \
30 -DUNALIGNED64_OK \
[all …]
DMakefile.arm1 # Makefile for zlib using Microsoft (Visual) C
2 # zlib is copyright (C) 1995-2006 Jean-loup Gailly and Mark Adler
5 # nmake -f win32/Makefile.arm (standard build)
6 # nmake -f win32/Makefile.arm LOC=-DFOO (nonstandard build)
16 STATICLIB = zlib.lib
25 CFLAGS = -nologo -MD -W3 -O2 -Oy- -Zi -Fd"zlib" $(LOC)
27 -D_CRT_SECURE_NO_DEPRECATE \
28 -D_CRT_NONSTDC_NO_DEPRECATE \
29 -DUNALIGNED_OK \
30 -D_ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE=1 \
[all …]
/external/rust/crates/libz-sys/src/zlib-ng/tools/
Dconfig.sub7 # If you need an architecture not listed here, file a bug at github.com/zlib-ng/zlib-ng
13 *-*-linux-gnu*) echo $1;;
14 i686-linux-gnu*|x86_64-linux-gnu*) echo $1 | sed 's/-linux-gnu/-pc-linux-gnu/';;
15 *-linux-gnu*) echo $1 | sed 's/-linux-gnu/-unknown-linux-gnu/';;

1234