Home
last modified time | relevance | path

Searched refs:zlib (Results 1 – 25 of 514) sorted by relevance

12345678910>>...21

/external/python/cpython2/Lib/test/
Dtest_zlib.py15 zlib = import_module('zlib') variable
18 hasattr(zlib.compressobj(), "copy"),
21 hasattr(zlib.decompressobj(), "copy"),
28 self.assertEqual(zlib.crc32(""), zlib.crc32("", 0))
29 self.assertTrue(zlib.crc32("abc", 0xffffffff))
32 self.assertEqual(zlib.crc32("", 0), 0)
33 self.assertEqual(zlib.crc32("", 1), 1)
34 self.assertEqual(zlib.crc32("", 432), 432)
37 self.assertEqual(zlib.adler32(""), zlib.adler32("", 1))
38 self.assertTrue(zlib.adler32("abc", 0xffffffff))
[all …]
/external/llvm/lib/Support/
DCompression.cpp27 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()
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()
41 case Z_BUF_ERROR: return zlib::StatusBufferTooShort; in encodeZlibReturnValue()
42 case Z_STREAM_ERROR: return zlib::StatusInvalidArg; in encodeZlibReturnValue()
[all …]
/external/skia/third_party/zlib/
DBUILD.gn13 system("zlib") {
17 third_party("zlib") {
18 public_include_dirs = [ "../externals/zlib" ]
24 "../externals/zlib/adler32.c",
25 "../externals/zlib/compress.c",
26 "../externals/zlib/crc32.c",
27 "../externals/zlib/deflate.c",
28 "../externals/zlib/gzclose.c",
29 "../externals/zlib/gzlib.c",
30 "../externals/zlib/gzread.c",
[all …]
/external/zlib/src/amiga/
DMakefile.pup44 zip -ul9 zlib README ChangeLog Makefile Make????.??? Makefile.?? \
48 cd ..; tar cfz zlib/zlib.tgz zlib/README zlib/ChangeLog zlib/Makefile \
49 zlib/Make????.??? zlib/Makefile.?? zlib/descrip.mms zlib/*.[ch]
53 adler32.o: zlib.h zconf.h
54 compress.o: zlib.h zconf.h
55 crc32.o: crc32.h zlib.h zconf.h
56 deflate.o: deflate.h zutil.h zlib.h zconf.h
57 example.o: zlib.h zconf.h
58 gzclose.o: zlib.h zconf.h gzguts.h
59 gzlib.o: zlib.h zconf.h gzguts.h
[all …]
DMakefile.sas29 copy clone zlib.h zconf.h INCLUDE:
52 adler32.o: zlib.h zconf.h
53 compress.o: zlib.h zconf.h
54 crc32.o: crc32.h zlib.h zconf.h
55 deflate.o: deflate.h zutil.h zlib.h zconf.h
56 example.o: zlib.h zconf.h
57 gzclose.o: zlib.h zconf.h gzguts.h
58 gzlib.o: zlib.h zconf.h gzguts.h
59 gzread.o: zlib.h zconf.h gzguts.h
60 gzwrite.o: zlib.h zconf.h gzguts.h
[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()
42 TestZlibCompression("", zlib::DefaultCompression); in TEST()
44 TestZlibCompression("hello, world!", zlib::NoCompression); in TEST()
45 TestZlibCompression("hello, world!", zlib::BestSizeCompression); in TEST()
46 TestZlibCompression("hello, world!", zlib::BestSpeedCompression); in TEST()
[all …]
/external/curl/
DMakefile.dist45 borland-ssl-zlib:
100 nmake -f Makefile.$(VC) cfg=release-zlib
101 nmake -f Makefile.$(VC) cfg=release-ssl-zlib
103 nmake -f Makefile.$(VC) cfg=release-zlib-dll
104 nmake -f Makefile.$(VC) cfg=release-ssl-dll-zlib-dll
107 nmake -f Makefile.$(VC) cfg=release-dll-zlib-dll
108 nmake -f Makefile.$(VC) cfg=release-dll-ssl-dll-zlib-dll
111 nmake -f Makefile.$(VC) cfg=debug-zlib
112 nmake -f Makefile.$(VC) cfg=debug-ssl-zlib
114 nmake -f Makefile.$(VC) cfg=debug-zlib-dll
[all …]
/external/libpng/contrib/tools/
Dpngfix.c2011 struct zlib struct
2041 zlib_flevel(struct zlib *zlib) in zlib_flevel() argument
2043 switch (zlib->header[1] >> 6) in zlib_flevel()
2056 zlib_rc(struct zlib *zlib) in zlib_rc() argument
2059 switch (zlib->rc) in zlib_rc()
2075 zlib_message(struct zlib *zlib, int unexpected) in zlib_message() argument
2078 if (zlib->global->errors) in zlib_message()
2080 const char *reason = zlib->z.msg; in zlib_message()
2085 fputs(zlib->file->file_name, stderr); in zlib_message()
2087 type_name(zlib->chunk->chunk_type, stderr); in zlib_message()
[all …]
/external/syslinux/com32/lib/zlib/
DFAQ2 Frequently Asked Questions about zlib
5 If your question is not there, please check the zlib home page
6 http://zlib.net/ which may have more recent information.
7 The lastest zlib FAQ is at http://zlib.net/zlib_faq.html
10 1. Is zlib Y2K-compliant?
12 Yes. zlib doesn't handle dates.
16 The zlib sources can be compiled without change to produce a DLL. See the
17 file win32/DLL_FAQ.txt in the zlib distribution. Pointers to the
18 precompiled DLL are found in the zlib web site at http://zlib.net/ .
20 3. Where can I get a Visual Basic interface to zlib?
[all …]
/external/python/cpython2/Modules/zlib/
DFAQ2 Frequently Asked Questions about zlib
5 If your question is not there, please check the zlib home page
6 http://zlib.net/ which may have more recent information.
7 The lastest zlib FAQ is at http://zlib.net/zlib_faq.html
10 1. Is zlib Y2K-compliant?
12 Yes. zlib doesn't handle dates.
16 The zlib sources can be compiled without change to produce a DLL. See the
17 file win32/DLL_FAQ.txt in the zlib distribution. Pointers to the
18 precompiled DLL are found in the zlib web site at http://zlib.net/ .
20 3. Where can I get a Visual Basic interface to zlib?
[all …]
DMakefile.in116 infcover.o: test/infcover.c zlib.h zconf.h
143 example.o: test/example.c zlib.h zconf.h
146 minigzip.o: test/minigzip.c zlib.h zconf.h
149 example64.o: test/example.c zlib.h zconf.h
152 minigzip64.o: test/minigzip.c zlib.h zconf.h
206 cp zlib.3 $(DESTDIR)$(man3dir)
207 chmod 644 $(DESTDIR)$(man3dir)/zlib.3
208 cp zlib.pc $(DESTDIR)$(pkgconfigdir)
209 chmod 644 $(DESTDIR)$(pkgconfigdir)/zlib.pc
215 cp zlib.h zconf.h $(DESTDIR)$(includedir)
[all …]
DINDEX3 FAQ Frequently Asked Questions about zlib
10 test/example.c zlib usages examples for build testing
16 zlib.3 Man page for zlib
17 zlib.3.pdf Man page in PDF format
18 zlib.map Linux symbol information
19 zlib.pc.in Template for pkg-config descriptor
20 zlib.pc.cmakein zlib.pc template for cmake
28 old/ makefiles for various architectures and zlib documentation
29 files that have not yet been updated for zlib 1.2.x
34 zlib public header files (required for library use):
[all …]
/external/zlib/src/
DFAQ2 Frequently Asked Questions about zlib
5 If your question is not there, please check the zlib home page
6 http://zlib.net/ which may have more recent information.
7 The lastest zlib FAQ is at http://zlib.net/zlib_faq.html
10 1. Is zlib Y2K-compliant?
12 Yes. zlib doesn't handle dates.
16 The zlib sources can be compiled without change to produce a DLL. See the
17 file win32/DLL_FAQ.txt in the zlib distribution. Pointers to the
18 precompiled DLL are found in the zlib web site at http://zlib.net/ .
20 3. Where can I get a Visual Basic interface to zlib?
[all …]
DMakefile.in116 infcover.o: test/infcover.c zlib.h zconf.h
143 example.o: test/example.c zlib.h zconf.h
146 minigzip.o: test/minigzip.c zlib.h zconf.h
149 example64.o: test/example.c zlib.h zconf.h
152 minigzip64.o: test/minigzip.c zlib.h zconf.h
206 cp zlib.3 $(DESTDIR)$(man3dir)
207 chmod 644 $(DESTDIR)$(man3dir)/zlib.3
208 cp zlib.pc $(DESTDIR)$(pkgconfigdir)
209 chmod 644 $(DESTDIR)$(pkgconfigdir)/zlib.pc
215 cp zlib.h zconf.h $(DESTDIR)$(includedir)
[all …]
DINDEX3 FAQ Frequently Asked Questions about zlib
10 test/example.c zlib usages examples for build testing
16 zlib.3 Man page for zlib
17 zlib.3.pdf Man page in PDF format
18 zlib.map Linux symbol information
19 zlib.pc.in Template for pkg-config descriptor
20 zlib.pc.cmakein zlib.pc template for cmake
28 old/ makefiles for various architectures and zlib documentation
29 files that have not yet been updated for zlib 1.2.x
34 zlib public header files (required for library use):
[all …]
/external/zlib/src/win32/
DMakefile.gcc95 $(SHAREDLIB): win32/zlib.def $(OBJS) $(OBJA) zlibrc.o
97 -o $@ win32/zlib.def $(OBJS) $(OBJA) zlibrc.o
116 example.o: test/example.c zlib.h zconf.h
119 minigzip.o: test/minigzip.c zlib.h zconf.h
127 install: zlib.h zconf.h $(STATICLIB) $(IMPLIB)
139 -$(INSTALL) zlib.h '$(DESTDIR)$(INCLUDE_PATH)'
148 -e 's|@VERSION@|'`sed -n -e '/VERSION "/s/.*"\(.*\)".*/\1/p' zlib.h`'|g' \
149 zlib.pc.in > '$(DESTDIR)$(LIBRARY_PATH)'/pkgconfig/zlib.pc
156 -$(RM) '$(DESTDIR)$(INCLUDE_PATH)'/zlib.h
168 adler32.o: zlib.h zconf.h
[all …]
DMakefile.bor25 ZLIB_LIB = zlib.lib
44 adler32.obj: adler32.c zlib.h zconf.h
46 compress.obj: compress.c zlib.h zconf.h
48 crc32.obj: crc32.c zlib.h zconf.h crc32.h
50 deflate.obj: deflate.c deflate.h zutil.h zlib.h zconf.h
52 gzclose.obj: gzclose.c zlib.h zconf.h gzguts.h
54 gzlib.obj: gzlib.c zlib.h zconf.h gzguts.h
56 gzread.obj: gzread.c zlib.h zconf.h gzguts.h
58 gzwrite.obj: gzwrite.c zlib.h zconf.h gzguts.h
60 infback.obj: infback.c zutil.h zlib.h zconf.h inftrees.h inflate.h \
[all …]
DREADME-WIN32.txt3 zlib 1.2.8 is a general purpose data compression library. All the code is
4 thread safe. The data format used by the zlib library is described by RFCs
6 http://www.ietf.org/rfc/rfc1950.txt (zlib format), rfc1951.txt (deflate format)
9 All functions of the compression library are documented in the file zlib.h
10 (volunteer to write man pages welcome, contact zlib@gzip.org). Two compiled
14 Questions about zlib should be sent to <zlib@gzip.org>. The zlib home page
15 is http://zlib.net/ . Before reporting a problem, please check this site to
16 verify that you have the latest version of zlib; otherwise get the latest
19 PLEASE read DLL_FAQ.txt, and the the zlib FAQ http://zlib.net/zlib_faq.html
25 The package zlib-1.2.8-win32-x86.zip will contain the following files:
[all …]
/external/zlib/src/old/os2/
DMakefile.os251 algorithm.txt zlib.3 msdos/Make*[a-z0-9] msdos/zlib.def msdos/zlib.rc \
52 nt/Makefile.nt nt/zlib.dnt contrib/README.contrib contrib/*.txt \
94 v=`sed -n -e 's/\.//g' -e '/VERSION "/s/.*"\(.*\)".*/\1/p' < zlib.h`;\
95 zip -ul9 zlib$$v $(DISTFILES)
101 d=zlib-`sed -n '/VERSION "/s/.*"\(.*\)".*/\1/p' < zlib.h`;\
119 adler32.o: zlib.h zconf.h
120 compress.o: zlib.h zconf.h
121 crc32.o: zlib.h zconf.h
122 deflate.o: deflate.h zutil.h zlib.h zconf.h
123 example.o: zlib.h zconf.h
[all …]
/external/zlib/src/old/
Ddescrip.mms1 # descrip.mms: MMS description file for building zlib on VMS
33 adler32.obj : zutil.h zlib.h zconf.h
34 compress.obj : zlib.h zconf.h
35 crc32.obj : zutil.h zlib.h zconf.h
36 deflate.obj : deflate.h zutil.h zlib.h zconf.h
37 example.obj : zlib.h zconf.h
38 gzio.obj : zutil.h zlib.h zconf.h
39 infblock.obj : zutil.h zlib.h zconf.h infblock.h inftrees.h infcodes.h infutil.h
40 infcodes.obj : zutil.h zlib.h zconf.h inftrees.h infutil.h infcodes.h inffast.h
41 inffast.obj : zutil.h zlib.h zconf.h inftrees.h infutil.h inffast.h
[all …]
/external/zlib/src/contrib/pascal/
Dzlibd32.mak1 # 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.h
[all …]
/external/zlib/src/contrib/delphi/
Dzlibd32.mak1 # 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.h
[all …]
/external/zlib/src/msdos/
DMakefile.bor56 adler32.obj: adler32.c zlib.h zconf.h
58 compress.obj: compress.c zlib.h zconf.h
60 crc32.obj: crc32.c zlib.h zconf.h crc32.h
62 deflate.obj: deflate.c deflate.h zutil.h zlib.h zconf.h
64 gzclose.obj: gzclose.c zlib.h zconf.h gzguts.h
66 gzlib.obj: gzlib.c zlib.h zconf.h gzguts.h
68 gzread.obj: gzread.c zlib.h zconf.h gzguts.h
70 gzwrite.obj: gzwrite.c zlib.h zconf.h gzguts.h
72 infback.obj: infback.c zutil.h zlib.h zconf.h inftrees.h inflate.h \
75 inffast.obj: inffast.c zutil.h zlib.h zconf.h inftrees.h inflate.h \
[all …]
DMakefile.tc41 adler32.obj: adler32.c zlib.h zconf.h
43 compress.obj: compress.c zlib.h zconf.h
45 crc32.obj: crc32.c zlib.h zconf.h crc32.h
47 deflate.obj: deflate.c deflate.h zutil.h zlib.h zconf.h
49 gzclose.obj: gzclose.c zlib.h zconf.h gzguts.h
51 gzlib.obj: gzlib.c zlib.h zconf.h gzguts.h
53 gzread.obj: gzread.c zlib.h zconf.h gzguts.h
55 gzwrite.obj: gzwrite.c zlib.h zconf.h gzguts.h
57 infback.obj: infback.c zutil.h zlib.h zconf.h inftrees.h inflate.h \
60 inffast.obj: inffast.c zutil.h zlib.h zconf.h inftrees.h inflate.h \
[all …]
DMakefile.msc50 adler32.obj: adler32.c zlib.h zconf.h
52 compress.obj: compress.c zlib.h zconf.h
54 crc32.obj: crc32.c zlib.h zconf.h crc32.h
56 deflate.obj: deflate.c deflate.h zutil.h zlib.h zconf.h
58 gzclose.obj: gzclose.c zlib.h zconf.h gzguts.h
60 gzlib.obj: gzlib.c zlib.h zconf.h gzguts.h
62 gzread.obj: gzread.c zlib.h zconf.h gzguts.h
64 gzwrite.obj: gzwrite.c zlib.h zconf.h gzguts.h
66 infback.obj: infback.c zutil.h zlib.h zconf.h inftrees.h inflate.h \
69 inffast.obj: inffast.c zutil.h zlib.h zconf.h inftrees.h inflate.h \
[all …]

12345678910>>...21