Home
last modified time | relevance | path

Searched full:zlib (Results 1 – 25 of 1973) sorted by relevance

12345678910>>...79

/external/rust/android-crates-io/crates/libz-sys/
D.cargo-checksum.json1zlib-ng/CMakeLists.txt":"c866fd377a44ab2aacd4ea2404e2faa4107d7debc087252e62f1aae369799b80","src/zl…
Dbuild.rs17 feature = "zlib-ng", in main()
18 feature = "zlib-ng-no-cmake-experimental-community-maintained" in main()
19 )) && !cfg!(feature = "stock-zlib"); in main()
47 let zlib = pkg_config::Config::new() in main() localVariable
50 .probe("zlib"); in main()
51 match zlib { in main()
52 Ok(zlib) => { in main()
53 if !zlib.include_paths.is_empty() { in main()
54 let paths = zlib in main()
63 println!("cargo:warning=Could not find zlib include paths via pkg-config: {}", e) in main()
[all …]
DCargo.toml32 "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]",
39 "src/zlib-ng/arch/s390/**.[ch]",
40 "src/zlib-ng/arch/x86/**.[ch]",
41 "src/zlib-ng/*.[ch].in",
[all …]
DREADME.md3 A common library for linking `libz` to Rust programs (also known as zlib).
8 zlib-ng natively (not in zlib-compat mode). See
14 safe API to work with DEFLATE, zlib, or gzip streams, see
18 # zlib-ng
20 This crate supports building either the high-performance zlib-ng (in
21 zlib-compat mode), or the widely available stock zlib.
23 By default, `libz-sys` uses stock zlib, primarily because doing so allows the
24 use of a shared system zlib library if available.
26 Any application or library designed for zlib should work with zlib-ng in
27 zlib-compat mode, as long as it doesn't make assumptions about the exact size
[all …]
/external/skia/third_party/zlib/
DBUILD.gn7 import("zlib.gni")
10 system("zlib") {
20 "../externals/zlib/chromeconf.h",
21 "../externals/zlib/deflate.h",
22 "../externals/zlib/inffast.h",
23 "../externals/zlib/inffixed.h",
24 "../externals/zlib/inflate.h",
25 "../externals/zlib/inftrees.h",
26 "../externals/zlib/zconf.h",
27 "../externals/zlib/zlib.h",
[all …]
/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):
37 # using different ways to compress data with zlib can produce different
42 # return zlib.compress(data)
45 # co = zlib.compressobj()
50 # On s390x if zlib uses a hardware accelerator, func1() creates a single
59 # zlib.decompress(func1(data)) == zlib.decompress(func2(data)) == data
74 self.assertEqual(zlib.ZLIB_RUNTIME_VERSION[0], zlib.ZLIB_VERSION[0])
[all …]
/external/llvm/lib/Support/
DCompression.cpp21 #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()
37 static zlib::Status encodeZlibReturnValue(int ReturnValue) { in encodeZlibReturnValue()
39 case Z_OK: return zlib::StatusOK; in encodeZlibReturnValue()
40 case Z_MEM_ERROR: return zlib::StatusOutOfMemory; in encodeZlibReturnValue()
[all …]
/external/libpng/projects/visualc71/
Dzlib.vcproj5 Name="zlib">
13 OutputDirectory=".\Win32_DLL_Release\ZLib"
14 IntermediateDirectory=".\Win32_DLL_Release\ZLib"
19 AdditionalIncludeDirectories="..\..\..\zlib"
32 ModuleDefinitionFile="..\..\..\zlib\win32\zlib.def"/>
58 OutputDirectory=".\Win32_DLL_Debug\ZLib"
59 IntermediateDirectory=".\Win32_DLL_Debug\ZLib"
64 AdditionalIncludeDirectories="..\..\..\zlib"
76 ModuleDefinitionFile="..\..\..\zlib\win32\zlib.def"
103 OutputDirectory=".\Win32_LIB_Release\ZLib"
[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…
5 // RUN: llvm-mc -filetype=obj -compress-debug-sections=zlib-gnu -triple i386-pc-linux-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
12 // RUN: llvm-mc -filetype=obj -compress-debug-sections=zlib -triple i386-pc-linux-gnu < %s \
13 // RUN: | llvm-readobj -symbols - | FileCheck --check-prefix=386-SYMBOLS-ZLIB %s
14 // RUN: llvm-readobj -sections %t | FileCheck --check-prefix=ZLIB-STYLE-FLAGS %s
16 // REQUIRES: zlib
[all …]
/external/zlib/
Dzlib.31 .TH ZLIB 3 "xx Aug 2023"
3 zlib \- compression/decompression library
6 .I zlib.h
10 .I zlib
36 .IR zlib.h .
50 .I zlib
56 .I zlib
64 .I zlib
68 .I zlib
71 http://zlib.net/
[all …]
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/cronet/tot/third_party/rust/chromium_crates_io/vendor/flate2-1.0.35/
DREADME.md10 available zlib library or the high-performance zlib-ng library.
15 * zlib
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
79 graph depends on zlib.
82 zlib, and you want to avoid including both zlib and zlib-ng, you can use that
87 flate2 = { version = "1.0.17", features = ["zlib"], default-features = false }
90 Or, if you have C or Rust code that depends on zlib and you want to use zlib-ng
91 via libz-sys in zlib-compat mode, use:
[all …]
DCargo.toml.orig9 keywords = ["gzip", "deflate", "zlib", "zlib-ng", "encoding"]
16 Supports miniz_oxide and multiple zlib implementations. Supports zlib, gzip,
26 cloudflare-zlib-sys = { version = "0.3.0", optional = true }
41 zlib = ["any_zlib", "libz-sys"]
42 zlib-default = ["any_zlib", "libz-sys/default"]
43 zlib-ng-compat = ["zlib", "libz-sys/zlib-ng"]
44 zlib-ng = ["any_zlib", "libz-ng-sys"]
45 zlib-rs = ["any_zlib", "libz-rs-sys"]
46 cloudflare_zlib = ["any_zlib", "cloudflare-zlib-sys"]
/external/rust/android-crates-io/crates/flate2/
DREADME.md10 available zlib library or the high-performance zlib-ng library.
15 * zlib
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
79 graph depends on zlib.
82 zlib, and you want to avoid including both zlib and zlib-ng, you can use that
87 flate2 = { version = "1.0.17", features = ["zlib"], default-features = false }
90 Or, if you have C or Rust code that depends on zlib and you want to use zlib-ng
91 via libz-sys in zlib-compat mode, use:
[all …]
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/flate2-1.0.35/
DREADME.md10 available zlib library or the high-performance zlib-ng library.
15 * zlib
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
79 graph depends on zlib.
82 zlib, and you want to avoid including both zlib and zlib-ng, you can use that
87 flate2 = { version = "1.0.17", features = ["zlib"], default-features = false }
90 Or, if you have C or Rust code that depends on zlib and you want to use zlib-ng
91 via libz-sys in zlib-compat mode, use:
[all …]
DCargo.toml.orig9 keywords = ["gzip", "deflate", "zlib", "zlib-ng", "encoding"]
16 Supports miniz_oxide and multiple zlib implementations. Supports zlib, gzip,
26 cloudflare-zlib-sys = { version = "0.3.0", optional = true }
41 zlib = ["any_zlib", "libz-sys"]
42 zlib-default = ["any_zlib", "libz-sys/default"]
43 zlib-ng-compat = ["zlib", "libz-sys/zlib-ng"]
44 zlib-ng = ["any_zlib", "libz-ng-sys"]
45 zlib-rs = ["any_zlib", "libz-rs-sys"]
46 cloudflare_zlib = ["any_zlib", "cloudflare-zlib-sys"]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DCompression.cpp21 #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()
43 llvm_unreachable("unknown or unexpected zlib status code"); in convertZlibCodeToString()
47 bool zlib::isAvailable() { return true; } in isAvailable()
49 Error zlib::compress(StringRef InputBuffer, in compress()
56 // Tell MemorySanitizer that zlib output buffer is fully initialized. in compress()
57 // This avoids a false report when running LLVM with uninstrumented ZLib. in compress()
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Support/
DCompression.cpp21 #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()
49 case compression::Format::Zlib: in compress()
50 zlib::compress(Input, Output, P.level); in compress()
61 case compression::Format::Zlib: in decompress()
62 return zlib::decompress(Input, Output, UncompressedSize); in decompress()
73 case compression::Format::Zlib: in decompress()
74 return zlib::decompress(Input, Output, UncompressedSize); in decompress()
[all …]
/external/llvm/unittests/Support/
DCompressionTest.cpp26 void TestZlibCompression(StringRef Input, zlib::CompressionLevel Level) { in TestZlibCompression()
29 EXPECT_EQ(zlib::StatusOK, zlib::compress(Input, Compressed, Level)); in TestZlibCompression()
31 EXPECT_EQ(zlib::StatusOK, in TestZlibCompression()
32 zlib::uncompress(Compressed, Uncompressed, Input.size())); in TestZlibCompression()
36 EXPECT_EQ(zlib::StatusBufferTooShort, in TestZlibCompression()
37 zlib::uncompress(Compressed, Uncompressed, Input.size() - 1)); in TestZlibCompression()
41 TEST(CompressionTest, Zlib) { in TEST() argument
42 TestZlibCompression("", zlib::DefaultCompression); in TEST()
44 TestZlibCompression("hello, world!", zlib::NoCompression); in TEST()
45 TestZlibCompression("hello, world!", zlib::BestSizeCompression); in TEST()
[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
17 The first two files are required by all projects using zlib and they are not included with the zstd…
23 Let's assume that your project that uses zlib is compiled with:
27 - change all references with `#include "zlib.h"` to `#include "zstd_zlibwrapper.h"`
37 Your project should work as before with zlib. There are two options to enable zstd compression:
41 During decompression zlib and zstd streams are automatically detected and decompressed using a prop…
[all …]
/external/sandboxed-api/sandboxed_api/examples/zlib/
DCMakeLists.txt15 # sandboxed_api/examples/zlib:zlib-sapi
16 add_sapi_library(zlib-sapi
20 INPUTS "${ZLIB_INCLUDE_DIRS}/zlib.h"
21 LIBRARY ZLIB::ZLIB
22 LIBRARY_NAME Zlib
23 NAMESPACE "sapi::zlib"
25 add_library(sapi::zlib_sapi ALIAS zlib-sapi)
26 target_link_libraries(zlib-sapi PRIVATE
27 ZLIB::ZLIB
30 # sandboxed_api/examples/zlib:main_zlib
/external/rust/android-crates-io/crates/grpcio-sys/grpc/cmake/
Dzlib.cmake15 # The CMakeLists.txt for zlib doesn't propagate include directories
21 set(ZLIB_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/zlib)
24 # TODO(jtattermusch): workaround for https://github.com/madler/zlib/issues/218
26 add_subdirectory(${ZLIB_ROOT_DIR} third_party/zlib)
30 set(_gRPC_ZLIB_INCLUDE_DIR "${ZLIB_ROOT_DIR}" "${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib")
46 # zlib installation directory can be configured by setting ZLIB_ROOT
47 # We allow locating zlib using both "CONFIG" and "MODULE" as the expectation
48 # is that many Linux systems will have zlib installed via a distribution
50 # zlib using cmake ("CONFIG").
52 find_package(ZLIB REQUIRED)
[all …]
/external/grpc-grpc/cmake/
Dzlib.cmake15 # The CMakeLists.txt for zlib doesn't propagate include directories
21 set(ZLIB_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/zlib)
24 # TODO(jtattermusch): workaround for https://github.com/madler/zlib/issues/218
26 add_subdirectory(${ZLIB_ROOT_DIR} third_party/zlib)
30 set(_gRPC_ZLIB_INCLUDE_DIR "${ZLIB_ROOT_DIR}" "${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib")
46 # zlib installation directory can be configured by setting ZLIB_ROOT
47 # We allow locating zlib using both "CONFIG" and "MODULE" as the expectation
48 # is that many Linux systems will have zlib installed via a distribution
50 # zlib using cmake ("CONFIG").
52 find_package(ZLIB REQUIRED)
[all …]
/external/libpng/contrib/tools/
Dpngfix.c9 * Tool to check and fix the zlib inflate 'too far back' problem.
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
467 * This is to avoid a function call to the zlib DLL and to optimize the
527 * zlib and the result value is obtained by XORing with CRC_INIT, which is also
541 /* This is an alternative to the algorithm used in zlib, which requires four in crc_init_4()
890 #define ZLIB_ERROR_CODE 3 /* generic zlib error */
[all …]
/external/okio/okio/src/nativeMain/kotlin/okio/
DDeflater.kt27 import platform.zlib.Z_DEFAULT_COMPRESSION in <lambda>()
28 import platform.zlib.Z_DEFAULT_STRATEGY in <lambda>()
29 import platform.zlib.Z_DEFLATED in <lambda>()
30 import platform.zlib.Z_FINISH in <lambda>()
31 import platform.zlib.Z_NO_FLUSH in <lambda>()
32 import platform.zlib.Z_OK in <lambda>()
33 import platform.zlib.Z_STREAM_END in <lambda>()
34 import platform.zlib.Z_STREAM_ERROR in <lambda>()
35 import platform.zlib.Z_SYNC_FLUSH in <lambda>()
36 import platform.zlib.deflate in <lambda>()
[all …]

12345678910>>...79