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

1 2 3 4 5 6 7 8 91011

  /external/llvm/lib/Support/
Compression.cpp 21 #include <zlib.h>
27 static int encodeZlibCompressionLevel(zlib::CompressionLevel Level) {
29 case zlib::NoCompression: return 0;
30 case zlib::BestSpeedCompression: return 1;
31 case zlib::DefaultCompression: return Z_DEFAULT_COMPRESSION;
32 case zlib::BestSizeCompression: return 9;
34 llvm_unreachable("Invalid zlib::CompressionLevel!");
37 static zlib::Status encodeZlibReturnValue(int ReturnValue) {
39 case Z_OK: return zlib::StatusOK;
40 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/chromium-trace/catapult/telemetry/third_party/webpagereplay/
httpzlib.py 19 import zlib namespace
45 crc = zlib.crc32("") & 0xffffffffL
46 compressor = zlib.compressobj(
47 6, zlib.DEFLATED, -zlib.MAX_WBITS, zlib.DEF_MEM_LEVEL, 0)
49 compressor = zlib.compressobj()
56 crc = zlib.crc32(data, crc) & 0xffffffffL
61 chunk += compressor.flush(zlib.Z_SYNC_FLUSH)
63 chunk += (compressor.flush(zlib.Z_FULL_FLUSH)
    [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/gdb/darwin-x86/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/gdb/linux-x86/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/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(
  /prebuilts/gdb/darwin-x86/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/gdb/linux-x86/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/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.
59 /* zlib.h defines the structure z_stream, an instance of which is included
64 /* We must ensure that zlib uses 'const' in declarations. */
67 #include <zlib.h>
69 /* zlib.h sometimes #defines const to nothing, undo this. */
73 /* zlib.h has mediocre z_const use before 1.2.6, this stuff is for compatibility
486 * This is to avoid a function call to the zlib DLL and to optimize the
546 * zlib and the result value is obtained by XORing with CRC_INIT, which is also
560 /* This is an alternative to the algorithm used in zlib, which requires four
909 #define ZLIB_ERROR_CODE 3 /* generic zlib error *
2011 struct zlib struct
2623 struct zlib zlib; local
    [all...]
  /system/extras/tests/workloads/
atrace-uncompress.py 6 import sys, zlib namespace
31 out = zlib.decompress(data)
  /external/protobuf/
configure.ac 34 AC_ARG_WITH([zlib],
35 [AS_HELP_STRING([--with-zlib],
86 # Check for zlib.
89 AC_MSG_CHECKING([zlib version])
91 # First check the zlib header version.
94 #include <zlib.h>
96 # error zlib version too old
103 AC_DEFINE([HAVE_ZLIB], [1], [Enable classes using zlib compression.])
107 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
  /bootable/recovery/minzip/
Android.mk 12 external/zlib \
  /frameworks/native/cmds/atrace/
Android.mk 8 LOCAL_C_INCLUDES += external/zlib
  /system/extras/ANRdaemon/
Android.mk 7 LOCAL_C_INCLUDES += external/zlib
  /external/zlib/src/contrib/untgz/
Makefile 7 untgz.o: untgz.c ../../zlib.h
  /external/libpng/contrib/libtests/
fakepng.c 11 #include <zlib.h> /* for crc32 */
  /external/llvm/include/llvm/Support/
Compression.h 23 namespace zlib { namespace in namespace:llvm
34 StatusUnsupported, // zlib is unavailable
52 } // End of namespace zlib

Completed in 7706 milliseconds

1 2 3 4 5 6 7 8 91011