HomeSort by relevance Sort by last modified time
    Searched refs:zlib (Results 1 - 25 of 511) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/llvm/lib/Support/
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::StatusOutOfMemory
    [all...]
  /external/llvm/unittests/Support/
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));
41 TEST(CompressionTest, Zlib) {
42 TestZlibCompression("", zlib::DefaultCompression);
44 TestZlibCompression("hello, world!", zlib::NoCompression)
    [all...]
  /external/zlib/src/contrib/delphi/
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.h zconf.h gzguts.
    [all...]
  /external/zlib/src/contrib/pascal/
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.h zconf.h gzguts.
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_zlib.py 13 zlib = import_module('zlib') variable
19 self.assertEqual(zlib.crc32(""), zlib.crc32("", 0))
20 self.assertTrue(zlib.crc32("abc", 0xffffffff))
23 self.assertEqual(zlib.crc32("", 0), 0)
24 self.assertEqual(zlib.crc32("", 1), 1)
25 self.assertEqual(zlib.crc32("", 432), 432)
28 self.assertEqual(zlib.adler32(""), zlib.adler32("", 1)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_zlib.py 13 zlib = import_module('zlib') variable
19 self.assertEqual(zlib.crc32(""), zlib.crc32("", 0))
20 self.assertTrue(zlib.crc32("abc", 0xffffffff))
23 self.assertEqual(zlib.crc32("", 0), 0)
24 self.assertEqual(zlib.crc32("", 1), 1)
25 self.assertEqual(zlib.crc32("", 432), 432)
28 self.assertEqual(zlib.adler32(""), zlib.adler32("", 1)
    [all...]
  /external/sonivox/jet_tools/JetCreator/
img_Paste.py 5 import cStringIO, zlib namespace
9 return zlib.decompress(
img_favicon.py 5 import cStringIO, zlib namespace
9 return zlib.decompress(
  /system/core/libzipfile/
Android.mk 15 LOCAL_C_INCLUDES += external/zlib
35 LOCAL_C_INCLUDES += external/zlib
52 LOCAL_C_INCLUDES += external/zlib
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/encodings/
zlib_codec.py 1 """ Python 'zlib_codec' Codec - zlib compression encoding
10 import zlib # this codec needs the optional zlib module ! namespace
25 output = zlib.compress(input)
43 output = zlib.decompress(input)
57 self.compressobj = zlib.compressobj()
67 self.compressobj = zlib.compressobj()
73 self.decompressobj = zlib.decompressobj()
83 self.decompressobj = zlib.decompressobj()
95 name='zlib',
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/encodings/
zlib_codec.py 1 """ Python 'zlib_codec' Codec - zlib compression encoding
10 import zlib # this codec needs the optional zlib module ! namespace
25 output = zlib.compress(input)
43 output = zlib.decompress(input)
57 self.compressobj = zlib.compressobj()
67 self.compressobj = zlib.compressobj()
73 self.decompressobj = zlib.decompressobj()
83 self.decompressobj = zlib.decompressobj()
95 name='zlib',
    [all...]
  /external/libpng/contrib/tools/
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 error *
2005 struct zlib struct
2616 struct zlib zlib; local
    [all...]
  /bootable/recovery/minzip/
Android.mk 12 external/zlib \
  /external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/
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.MAX_WBITS
    [all...]
  /external/protobuf/
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 library was found]
    [all...]
  /external/zlib/
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/
zlib.target.darwin-arm64.mk 26 third_party/zlib/adler32.c \
27 third_party/zlib/compress.c \
28 third_party/zlib/crc32.c \
29 third_party/zlib/deflate.c \
30 third_party/zlib/gzclose.c \
31 third_party/zlib/gzlib.c \
32 third_party/zlib/gzread.c \
33 third_party/zlib/gzwrite.c \
34 third_party/zlib/infback.c \
35 third_party/zlib/inffast.c
    [all...]
zlib.target.darwin-mips.mk 26 third_party/zlib/adler32.c \
27 third_party/zlib/compress.c \
28 third_party/zlib/crc32.c \
29 third_party/zlib/deflate.c \
30 third_party/zlib/gzclose.c \
31 third_party/zlib/gzlib.c \
32 third_party/zlib/gzread.c \
33 third_party/zlib/gzwrite.c \
34 third_party/zlib/infback.c \
35 third_party/zlib/inffast.c
    [all...]
zlib.target.darwin-x86.mk 26 third_party/zlib/adler32.c \
27 third_party/zlib/compress.c \
28 third_party/zlib/crc32.c \
29 third_party/zlib/deflate.c \
30 third_party/zlib/gzclose.c \
31 third_party/zlib/gzlib.c \
32 third_party/zlib/gzread.c \
33 third_party/zlib/gzwrite.c \
34 third_party/zlib/infback.c \
35 third_party/zlib/inffast.c
    [all...]
zlib.target.darwin-x86_64.mk 26 third_party/zlib/adler32.c \
27 third_party/zlib/compress.c \
28 third_party/zlib/crc32.c \
29 third_party/zlib/deflate.c \
30 third_party/zlib/gzclose.c \
31 third_party/zlib/gzlib.c \
32 third_party/zlib/gzread.c \
33 third_party/zlib/gzwrite.c \
34 third_party/zlib/infback.c \
35 third_party/zlib/inffast.c
    [all...]
zlib.target.linux-arm64.mk 26 third_party/zlib/adler32.c \
27 third_party/zlib/compress.c \
28 third_party/zlib/crc32.c \
29 third_party/zlib/deflate.c \
30 third_party/zlib/gzclose.c \
31 third_party/zlib/gzlib.c \
32 third_party/zlib/gzread.c \
33 third_party/zlib/gzwrite.c \
34 third_party/zlib/infback.c \
35 third_party/zlib/inffast.c
    [all...]
zlib.target.linux-mips.mk 26 third_party/zlib/adler32.c \
27 third_party/zlib/compress.c \
28 third_party/zlib/crc32.c \
29 third_party/zlib/deflate.c \
30 third_party/zlib/gzclose.c \
31 third_party/zlib/gzlib.c \
32 third_party/zlib/gzread.c \
33 third_party/zlib/gzwrite.c \
34 third_party/zlib/infback.c \
35 third_party/zlib/inffast.c
    [all...]
zlib.target.linux-x86.mk 26 third_party/zlib/adler32.c \
27 third_party/zlib/compress.c \
28 third_party/zlib/crc32.c \
29 third_party/zlib/deflate.c \
30 third_party/zlib/gzclose.c \
31 third_party/zlib/gzlib.c \
32 third_party/zlib/gzread.c \
33 third_party/zlib/gzwrite.c \
34 third_party/zlib/infback.c \
35 third_party/zlib/inffast.c
    [all...]
zlib.target.linux-x86_64.mk 26 third_party/zlib/adler32.c \
27 third_party/zlib/compress.c \
28 third_party/zlib/crc32.c \
29 third_party/zlib/deflate.c \
30 third_party/zlib/gzclose.c \
31 third_party/zlib/gzlib.c \
32 third_party/zlib/gzread.c \
33 third_party/zlib/gzwrite.c \
34 third_party/zlib/infback.c \
35 third_party/zlib/inffast.c
    [all...]
  /external/qemu/distrib/libsparse/
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

Completed in 936 milliseconds

1 2 3 4 5 6 7 8 91011>>