| /external/rust/crates/libz-sys/src/zlib-ng/ |
| D | README.md | 1 ## zlib-ng section 2 *zlib data compression library for the next generation systems* 5 aka Dead2 (zlib-ng àt circlestorm dót org) 8 |:-|-| 9 …zlib-ng/zlib-ng/workflows/CI%20CMake/badge.svg)](https://github.com/zlib-ng/zlib-ng/actions) [| 11 …ww.codefactor.io/repository/github/zlib-ng/zlib-ng/badge)](https://www.codefactor.io/repository/gi… 12 …-Fuzz|[](h… 13 …ov.io](https://codecov.io/github/zlib-ng/zlib-ng/coverage.svg?branch=develop)](https://codecov.io/… 17 -------- [all …]
|
| D | PORTING.md | 1 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 …]
|
| D | .codecov.yaml | 15 - '/home/actions-runner/_work/zlib-ng/zlib-ng::' 16 - '/home/actions-runner/_work/zlib-ng/zlib-ng/build/::' 18 - usr/include/.* 19 - /usr/include/.* 20 - /build/usr/include/.* 21 - usr/lib/.* 22 - /usr/lib/.* 23 - /build/usr/lib/.* 24 - usr/lib64/.* 25 - /usr/lib64/.* [all …]
|
| D | .gitignore | 22 /libz-ng.so* 28 /zlib.pc 29 /zlib-ng.pc 58 zconf-ng.h 59 zconf-ng.h.cmakein 76 /zlib.dir 80 /build[.-]*/ 85 /cmake-build-debug
|
| /external/rust/crates/flate2/ |
| D | README.md | 6 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 …]
|
| D | Cargo.toml.orig | 6 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 …]
|
| D | Cargo.toml | 22 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/libz-sys/ |
| D | README.md | 1 # 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 chapter [all …]
|
| D | README-zng.md | 1 # 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 …]
|
| D | Cargo.toml.orig | 2 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 …]
|
| D | build.rs | 7 println!("cargo:rerun-if-env-changed=LIBZ_SYS_STATIC"); in main() 8 println!("cargo:rerun-if-changed=build.rs"); in main() 14 let want_ng = cfg!(feature = "zlib-ng") && !cfg!(feature = "stock-zlib"); in main() 16 if want_ng && target != "wasm32-unknown-unknown" { in main() 20 // Don't run pkg-config if we're linking statically (we'll build below) and in main() 21 // also don't run pkg-config on macOS/FreeBSD/DragonFly. That'll end up printing in main() 22 // `-L /usr/lib` which wreaks havoc with linking to an OpenSSL in /usr/local/lib in main() 27 !target.contains("msvc") && // pkg-config just never works here in main() 33 // packages adding non-system search paths to link against libraries in main() 34 // that are also found in a system-wide lib dir. in main() [all …]
|
| D | Cargo.toml | 14 name = "libz-sys" 24 "/Cargo-zng.toml", 25 "/cargo-zng", 29 description = "Low-level bindings to the system libz library (also known as zlib)." 31 "zlib", 32 "zlib-ng", 36 "external-ffi-bindings", 38 license = "MIT OR Apache-2.0" 39 repository = "https://github.com/rust-lang/libz-sys" 45 [build-dependencies.cc] [all …]
|
| /external/rust/crates/libz-sys/src/zlib-ng/test/ |
| D | abicheck.sh | 2 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 …]
|
| D | README.md | 2 -------- 5 |-|-| 6 |[CVE-2003-0107](https://nvd.nist.gov/vuln/detail/CVE-2003-0107)|Buffer overflow in the gzprintf fu… 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 |[CVE-2018-25032](https://nvd.nist.gov/vuln/detail/CVE-2018-25032)|Memory corruption when compressi… 12 |[GH-361](https://github.com/zlib-ng/zlib-ng/issues/361)|Test case for overlapping matches| 13 |[GH-364](https://github.com/zlib-ng/zlib-ng/issues/364)|Test case for switching compression levels| [all …]
|
| D | abicheck.md | 2 ---------------------- 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 …]
|
| D | test_version.cc | 1 /* test_version.cc - Test zVersion() and zlibCompileFlags() */ 5 # include "zlib.h" 7 # include "zlib-ng.h" 25 printf("zlib-ng version %s = 0x%08lx, compile flags = 0x%lx\n", in TEST()
|
| /external/oss-fuzz/projects/zlib-ng/ |
| D | project.yaml | 1 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 …]
|
| D | Dockerfile | 7 # 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/arch/s390/ |
| D | README.md | 6 $ ./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/ |
| D | README | 1 == 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/ |
| D | libpng.yml | 6 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 -DZLIB_COMPAT=ON -DZLIB_ENABLE_TESTS=OFF 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 …]
|
| D | release.yml | 5 - '*' 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 …]
|
| /external/rust/crates/flate2/.github/workflows/ |
| D | main.yml | 7 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/rust/crates/libz-sys/src/zlib-ng/win32/ |
| D | Makefile.a64 | 1 # 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 26 CFLAGS = -nologo -MD -W3 -O2 -Oy- -Zi -Fd"zlib" $(LOC) 28 -D_ARM64_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE=1 \ 29 -D_CRT_SECURE_NO_DEPRECATE \ 30 -D_CRT_NONSTDC_NO_DEPRECATE \ 31 -DARM_NEON_HASLD4 \ [all …]
|
| D | Makefile.arm | 1 # 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 26 CFLAGS = -nologo -MD -W3 -O2 -Oy- -Zi -Fd"zlib" $(LOC) 28 -D_ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE=1 \ 29 -D_CRT_SECURE_NO_DEPRECATE \ 30 -D_CRT_NONSTDC_NO_DEPRECATE \ 31 -DARM_FEATURES \ [all …]
|