/external/llvm/lib/Support/ |
H A D | Compression.cpp | 20 #include <zlib.h> 26 static int encodeZlibCompressionLevel(zlib::CompressionLevel Level) { 28 case zlib::NoCompression: return 0; 29 case zlib::BestSpeedCompression: return 1; 30 case zlib::DefaultCompression: return Z_DEFAULT_COMPRESSION; 31 case zlib::BestSizeCompression: return 9; 33 llvm_unreachable("Invalid zlib::CompressionLevel!"); 36 static zlib::Status encodeZlibReturnValue(int ReturnValue) { 38 case Z_OK: return zlib::StatusOK; 39 case Z_MEM_ERROR: return zlib [all...] |
/external/llvm/unittests/Support/ |
H A D | CompressionTest.cpp | 26 void TestZlibCompression(StringRef Input, zlib::CompressionLevel Level) { 29 EXPECT_EQ(zlib::StatusOK, zlib::compress(Input, Compressed, Level)); 31 EXPECT_EQ(zlib::StatusOK, 32 zlib::uncompress(Compressed, Uncompressed, Input.size())); 36 EXPECT_EQ(zlib::StatusBufferTooShort, 37 zlib::uncompress(Compressed, Uncompressed, Input.size() - 1)); 42 TestZlibCompression("", zlib::DefaultCompression); 44 TestZlibCompression("hello, world!", zlib::NoCompression); 45 TestZlibCompression("hello, world!", zlib [all...] |
/external/zlib/src/contrib/delphi/ |
H A D | zlibd32.mak | 1 # Makefile for zlib 3 # Updated for zlib 1.2.x by Cosmin Truta 19 ZLIB_LIB = zlib.lib 33 adler32.obj: adler32.c zlib.h zconf.h 35 compress.obj: compress.c zlib.h zconf.h 37 crc32.obj: crc32.c zlib.h zconf.h crc32.h 39 deflate.obj: deflate.c deflate.h zutil.h zlib.h zconf.h 41 gzclose.obj: gzclose.c zlib.h zconf.h gzguts.h 43 gzlib.obj: gzlib.c zlib.h zconf.h gzguts.h 45 gzread.obj: gzread.c zlib [all...] |
/external/zlib/src/contrib/pascal/ |
H A D | zlibd32.mak | 1 # Makefile for zlib 3 # Updated for zlib 1.2.x by Cosmin Truta 19 ZLIB_LIB = zlib.lib 33 adler32.obj: adler32.c zlib.h zconf.h 35 compress.obj: compress.c zlib.h zconf.h 37 crc32.obj: crc32.c zlib.h zconf.h crc32.h 39 deflate.obj: deflate.c deflate.h zutil.h zlib.h zconf.h 41 gzclose.obj: gzclose.c zlib.h zconf.h gzguts.h 43 gzlib.obj: gzlib.c zlib.h zconf.h gzguts.h 45 gzread.obj: gzread.c zlib [all...] |
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/ |
H A D | test_msgutil.py | 40 import zlib namespace 202 compress = zlib.compressobj( 203 zlib.Z_DEFAULT_COMPRESSION, zlib.DEFLATED, -zlib.MAX_WBITS) 208 expected += compress.flush(zlib.Z_SYNC_FLUSH) 212 compress = zlib.compressobj( 213 zlib.Z_DEFAULT_COMPRESSION, zlib.DEFLATED, -zlib [all...] |
/external/libpng/contrib/tools/ |
H A D | pngfix.c | 11 * Tool to check and fix the zlib inflate 'too far back' problem, see the usage 53 /* zlib.h defines the structure z_stream, an instance of which is included 58 /* We must ensure that zlib uses 'const' in declarations. */ 61 #include <zlib.h> 63 /* zlib.h sometimes #defines const to nothing, undo this. */ 67 /* zlib.h has mediocre z_const use before 1.2.6, this stuff is for compatibility 480 * This is to avoid a function call to the zlib DLL and to optimize the 540 * zlib and the result value is obtained by XORing with CRC_INIT, which is also 554 /* This is an alternative to the algorithm used in zlib, which requires four 903 #define ZLIB_ERROR_CODE 3 /* generic zlib erro 2005 struct zlib struct 2035 zlib_flevel(struct zlib *zlib) argument 2050 zlib_rc(struct zlib *zlib) argument 2069 zlib_message(struct zlib *zlib, int unexpected) argument 2088 zlib_end(struct zlib *zlib) argument 2164 zlib_reset(struct zlib *zlib, int window_bits) argument 2190 zlib_init(struct zlib *zlib, struct IDAT *idat, struct chunk *chunk, int window_bits, png_uint_32 offset) argument 2261 zlib_advance(struct zlib *zlib, png_uint_32 nbytes) argument 2483 zlib_run(struct zlib *zlib) argument 2616 struct zlib zlib; local [all...] |
/external/protobuf/ |
H A D | configure.ac | 33 AC_ARG_WITH([zlib], 34 [AS_HELP_STRING([--with-zlib], 85 # Check for zlib. 88 AC_MSG_CHECKING([zlib version]) 90 # First check the zlib header version. 93 #include <zlib.h> 95 # error zlib version too old 102 AC_DEFINE([HAVE_ZLIB], [1], [Enable classes using zlib compression.]) 106 AC_MSG_FAILURE([--with-zlib was given, but no working zlib librar [all...] |
/external/zlib/ |
H A D | update_zlib.sh | 12 new_version=$(wget -O - --no-verbose -q http://zlib.net/ | \ 13 grep 'http://zlib.net/zlib-[0-9].*.tar.gz' | \ 14 sed 's/.*zlib-\(.*\)\.tar\.gz.*/\1/') 15 tgz_file="zlib-$new_version.tar.gz" 17 echo "Upgrading zlib to version $new_version..." 21 wget -O /tmp/$tgz_file --no-verbose "http://zlib.net/$tgz_file" 30 mv zlib-$new_version src
|
/external/chromium_org/third_party/zlib/ |
H A D | zlib.target.darwin-arm.mk | 25 third_party/zlib/adler32.c \ 26 third_party/zlib/compress.c \ 27 third_party/zlib/crc32.c \ 28 third_party/zlib/deflate.c \ 29 third_party/zlib/gzclose.c \ 30 third_party/zlib/gzlib.c \ 31 third_party/zlib/gzread.c \ 32 third_party/zlib/gzwrite.c \ 33 third_party/zlib/infback.c \ 34 third_party/zlib/inffas [all...] |
H A D | zlib.target.darwin-arm64.mk | 25 third_party/zlib/adler32.c \ 26 third_party/zlib/compress.c \ 27 third_party/zlib/crc32.c \ 28 third_party/zlib/deflate.c \ 29 third_party/zlib/gzclose.c \ 30 third_party/zlib/gzlib.c \ 31 third_party/zlib/gzread.c \ 32 third_party/zlib/gzwrite.c \ 33 third_party/zlib/infback.c \ 34 third_party/zlib/inffas [all...] |
H A D | zlib.target.darwin-mips.mk | 25 third_party/zlib/adler32.c \ 26 third_party/zlib/compress.c \ 27 third_party/zlib/crc32.c \ 28 third_party/zlib/deflate.c \ 29 third_party/zlib/gzclose.c \ 30 third_party/zlib/gzlib.c \ 31 third_party/zlib/gzread.c \ 32 third_party/zlib/gzwrite.c \ 33 third_party/zlib/infback.c \ 34 third_party/zlib/inffas [all...] |
H A D | zlib.target.darwin-mips64.mk | 25 third_party/zlib/adler32.c \ 26 third_party/zlib/compress.c \ 27 third_party/zlib/crc32.c \ 28 third_party/zlib/deflate.c \ 29 third_party/zlib/gzclose.c \ 30 third_party/zlib/gzlib.c \ 31 third_party/zlib/gzread.c \ 32 third_party/zlib/gzwrite.c \ 33 third_party/zlib/infback.c \ 34 third_party/zlib/inffas [all...] |
H A D | zlib.target.darwin-x86.mk | 25 third_party/zlib/adler32.c \ 26 third_party/zlib/compress.c \ 27 third_party/zlib/crc32.c \ 28 third_party/zlib/deflate.c \ 29 third_party/zlib/gzclose.c \ 30 third_party/zlib/gzlib.c \ 31 third_party/zlib/gzread.c \ 32 third_party/zlib/gzwrite.c \ 33 third_party/zlib/infback.c \ 34 third_party/zlib/inffas [all...] |
H A D | zlib.target.darwin-x86_64.mk | 25 third_party/zlib/adler32.c \ 26 third_party/zlib/compress.c \ 27 third_party/zlib/crc32.c \ 28 third_party/zlib/deflate.c \ 29 third_party/zlib/gzclose.c \ 30 third_party/zlib/gzlib.c \ 31 third_party/zlib/gzread.c \ 32 third_party/zlib/gzwrite.c \ 33 third_party/zlib/infback.c \ 34 third_party/zlib/inffas [all...] |
H A D | zlib.target.linux-arm.mk | 25 third_party/zlib/adler32.c \ 26 third_party/zlib/compress.c \ 27 third_party/zlib/crc32.c \ 28 third_party/zlib/deflate.c \ 29 third_party/zlib/gzclose.c \ 30 third_party/zlib/gzlib.c \ 31 third_party/zlib/gzread.c \ 32 third_party/zlib/gzwrite.c \ 33 third_party/zlib/infback.c \ 34 third_party/zlib/inffas [all...] |
H A D | zlib.target.linux-arm64.mk | 25 third_party/zlib/adler32.c \ 26 third_party/zlib/compress.c \ 27 third_party/zlib/crc32.c \ 28 third_party/zlib/deflate.c \ 29 third_party/zlib/gzclose.c \ 30 third_party/zlib/gzlib.c \ 31 third_party/zlib/gzread.c \ 32 third_party/zlib/gzwrite.c \ 33 third_party/zlib/infback.c \ 34 third_party/zlib/inffas [all...] |
H A D | zlib.target.linux-mips.mk | 25 third_party/zlib/adler32.c \ 26 third_party/zlib/compress.c \ 27 third_party/zlib/crc32.c \ 28 third_party/zlib/deflate.c \ 29 third_party/zlib/gzclose.c \ 30 third_party/zlib/gzlib.c \ 31 third_party/zlib/gzread.c \ 32 third_party/zlib/gzwrite.c \ 33 third_party/zlib/infback.c \ 34 third_party/zlib/inffas [all...] |
H A D | zlib.target.linux-mips64.mk | 25 third_party/zlib/adler32.c \ 26 third_party/zlib/compress.c \ 27 third_party/zlib/crc32.c \ 28 third_party/zlib/deflate.c \ 29 third_party/zlib/gzclose.c \ 30 third_party/zlib/gzlib.c \ 31 third_party/zlib/gzread.c \ 32 third_party/zlib/gzwrite.c \ 33 third_party/zlib/infback.c \ 34 third_party/zlib/inffas [all...] |
H A D | zlib.target.linux-x86.mk | 25 third_party/zlib/adler32.c \ 26 third_party/zlib/compress.c \ 27 third_party/zlib/crc32.c \ 28 third_party/zlib/deflate.c \ 29 third_party/zlib/gzclose.c \ 30 third_party/zlib/gzlib.c \ 31 third_party/zlib/gzread.c \ 32 third_party/zlib/gzwrite.c \ 33 third_party/zlib/infback.c \ 34 third_party/zlib/inffas [all...] |
H A D | zlib.target.linux-x86_64.mk | 25 third_party/zlib/adler32.c \ 26 third_party/zlib/compress.c \ 27 third_party/zlib/crc32.c \ 28 third_party/zlib/deflate.c \ 29 third_party/zlib/gzclose.c \ 30 third_party/zlib/gzlib.c \ 31 third_party/zlib/gzread.c \ 32 third_party/zlib/gzwrite.c \ 33 third_party/zlib/infback.c \ 34 third_party/zlib/inffas [all...] |
/external/qemu/distrib/libsparse/ |
H A D | sources.mk | 36 LOCAL_STATIC_LIBRARIES := emulator-libsparse emulator-zlib 42 LOCAL_STATIC_LIBRARIES := emulator-libsparse emulator-zlib 48 LOCAL_STATIC_LIBRARIES := emulator64-libsparse emulator64-zlib 54 LOCAL_STATIC_LIBRARIES := emulator64-libsparse emulator64-zlib
|
/external/zlib/src/contrib/untgz/ |
H A D | Makefile | 7 untgz.o: untgz.c ../../zlib.h
|
/external/chromium_org/third_party/WebKit/Tools/GardeningServer/ |
H A D | alerts.py | 10 import zlib namespace 48 uncompressed = zlib.decompress(compressed) 70 compressed = zlib.compress(uncompressed, compression_level)
|
/external/chromium_org/v8/tools/testrunner/server/ |
H A D | compression.py | 36 import zlib namespace 42 Sends a JSON encodable object over the specified socket (zlib-compressed). 46 compressed = zlib.compress(obj, compression_level) 89 result = zlib.decompress(result)
|
/external/libpng/contrib/libtests/ |
H A D | fakepng.c | 3 #include <zlib.h> /* for crc32 */
|