/external/python/cpython3/Lib/test/ |
D | test_gzip.py | 1 """Test script for the gzip module. 17 gzip = support.import_module('gzip') variable 26 data2 = b"""/* zlibmodule.c -- gzip-compatible data compression */ 27 /* See http://www.gzip.org/zlib/ 59 with gzip.GzipFile(self.filename, 'w'+mode) as f: 62 with gzip.GzipFile(self.filename, 'r'+mode) as f: 66 with gzip.GzipFile(self.filename, 'wb') as f: 81 with gzip.GzipFile(filename, 'w') as f: 84 with gzip.GzipFile(filename, 'a') as f: 86 with gzip.GzipFile(filename) as f: [all …]
|
/external/python/apitools/apitools/base/py/ |
D | gzip_test.py | 9 """Test script for the gzip module. 19 from apitools.base.py import gzip 29 data2 = b"""/* zlibmodule.c -- gzip-compatible data compression */ 30 /* See http://www.gzip.org/zlib/ 66 with gzip.GzipFile(self.filename, 'w' + mode) as f: 69 with gzip.GzipFile(self.filename, 'r' + mode) as f: 73 with gzip.GzipFile(self.filename, 'wb') as f: 99 with gzip.GzipFile(self.filename, 'wb') as f: 109 with gzip.GzipFile(self.filename, 'rb') as f: 115 with gzip.GzipFile(self.filename, 'r') as f: [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_gzip.py | 1 """Test script for the gzip module. 10 gzip = test_support.import_module('gzip') variable 19 data2 = """/* zlibmodule.c -- gzip-compatible data compression */ 20 /* See http://www.gzip.org/zlib/ 36 with gzip.GzipFile(self.filename, 'w'+mode) as f: 39 with gzip.GzipFile(self.filename, 'r'+mode) as f: 50 with gzip.GzipFile(unicode_filename, "wb") as f: 52 with gzip.GzipFile(unicode_filename, "rb") as f: 56 gzip.GzipFile(fileobj=fobj, mode="rb") as f: 60 with gzip.GzipFile(self.filename, 'wb') as f: [all …]
|
/external/rust/crates/libz-sys/src/zlib-ng/cmake/ |
D | test-compress.cmake | 56 # Transparent writing does not use gzip format 57 find_program(GZIP gzip) 58 if(GZIP) 59 # Check gzip can decompress our compressed output 60 set(GZ_DECOMPRESS_COMMAND ${GZIP} --decompress) 65 -DOUTPUT=${OUTPUT}.gzip.out 69 # Compare gzip output with original input file 71 -E compare_files ${INPUT} ${OUTPUT}.gzip.out) 73 # Compress input file with gzip 74 set(GZ_COMPRESS_COMMAND ${GZIP} --stdout) [all …]
|
/external/freetype/src/tools/ |
D | no-copyright | 46 src/gzip/adler32.c 47 src/gzip/infblock.c 48 src/gzip/infblock.h 49 src/gzip/infcodes.c 50 src/gzip/infcodes.h 51 src/gzip/inffixed.h 52 src/gzip/inflate.c 53 src/gzip/inftrees.c 54 src/gzip/inftrees.h 55 src/gzip/infutil.c [all …]
|
/external/python/cpython2/Doc/library/ |
D | gzip.rst | 1 :mod:`gzip` --- Support for :program:`gzip` files 4 .. module:: gzip 5 :synopsis: Interfaces for gzip compression and decompression using file objects. 7 **Source code:** :source:`Lib/gzip.py` 12 like the GNU programs :program:`gzip` and :program:`gunzip` would. 16 The :mod:`gzip` module provides the :class:`GzipFile` class which is modeled 18 :program:`gzip`\ -format files, automatically compressing or decompressing the 22 :program:`gzip` and :program:`gunzip` programs, such as those produced by 41 included in the :program:`gzip` file header, which may include the original 58 the stream when compressing. All :program:`gzip` compressed streams are [all …]
|
/external/python/cpython3/Doc/library/ |
D | gzip.rst | 1 :mod:`gzip` --- Support for :program:`gzip` files 4 .. module:: gzip 5 :synopsis: Interfaces for gzip compression and decompression using file objects. 7 **Source code:** :source:`Lib/gzip.py` 12 like the GNU programs :program:`gzip` and :program:`gunzip` would. 16 The :mod:`gzip` module provides the :class:`GzipFile` class, as well as the 18 The :class:`GzipFile` class reads and writes :program:`gzip`\ -format files, 23 :program:`gzip` and :program:`gunzip` programs, such as those produced by 31 Open a gzip-compressed file in binary or text mode, returning a :term:`file 64 An exception raised for invalid gzip files. It inherits :exc:`OSError`. [all …]
|
/external/toybox/tests/ |
D | gzip.test | 12 testing "with input files" "gzip f1 f2 && 19 testing "no files (stdin to stdout)" "echo hello world | gzip > f.gz && 26 testing "with input files and -c" "gzip -c f1 f2 > out.gz && 33 echo "hello world" | gzip > f.gz 34 testing "-d (act as gunzip)" "gzip -d f.gz && 38 echo "hello world" | gzip > f.gz 39 testing "-dc (act as zcat)" "gzip -dc f.gz && 47 "gzip f1 2>/dev/null || echo refused && cat f1 f1.gz" \ 50 "gzip -f f1 && echo allowed && ! test -f f1 && zcat f1.gz" \ 56 testing "-k" "gzip -k f1 && cat f1 && zcat f1.gz" \ [all …]
|
/external/zstd/tests/gzip/ |
D | mixed.sh | 2 # Ensure that gzip -cdf handles mixed compressed/not-compressed data 3 # Before gzip-1.5, it would produce invalid output. 29 gzip -cdf < in > out || fail=1 34 # (echo xxx; echo yyy|gzip) > in || fail=1 35 # gzip -cdf < in > out || fail=1 39 (echo xxx|gzip; echo yyy) > in || fail=1 40 gzip -cdf < in > out || fail=1 43 (echo xxx|gzip; echo yyy|gzip) > in || fail=1 44 gzip -cdf < in > out || fail=1 53 # gzip's internal buffer size is 32KiB + 64 bytes: [all …]
|
D | gzip-env.sh | 2 # Test the obsolescent GZIP environment variable. 23 #gzip --version 26 gzip <exp >in || framework_failure_ 29 GZIP=-qv gzip -d <in >out 2>err || fail=1 36 GZIP=$badopt gzip -d <in >out 2>err && fail=1 42 GZIP=$goodopt gzip -d <in >out 2>err || fail=1
|
/external/python/cpython2/Modules/zlib/ |
D | inflate.h | 11 /* define NO_GZIP when compiling if you want to disable gzip header and 13 the crc code when it is not needed. For shared libraries, gzip decoding 22 FLAGS, /* i: waiting for method and flags (gzip) */ 23 TIME, /* i: waiting for modification time (gzip) */ 24 OS, /* i: waiting for extra flags and operating system (gzip) */ 25 EXLEN, /* i: waiting for extra length (gzip) */ 26 EXTRA, /* i: waiting for extra bytes (gzip) */ 27 NAME, /* i: waiting for end of file name (gzip) */ 28 COMMENT, /* i: waiting for end of comment (gzip) */ 29 HCRC, /* i: waiting for header crc (gzip) */ [all …]
|
D | zlib.h | 23 jloup@gzip.org madler@alumni.caltech.edu 28 (zlib format), rfc1951 (deflate format) and rfc1952 (gzip format). 63 The library also supports reading and writing files in gzip (.gz) format 65 with "gz". The gzip format is different from the zlib format. gzip is a 66 gzip wrapper, documented in RFC 1952, wrapped around a deflate stream. 68 This library can optionally read and write gzip and raw deflate streams in 72 and on communications channels. The gzip format was designed for single- 111 gzip header information passed to and from zlib routines. See RFC 1952 117 int xflags; /* extra flags (not used when writing a gzip file) */ 127 int done; /* true when done reading gzip header (not used [all …]
|
/external/rust/crates/libz-sys/src/zlib/ |
D | inflate.h | 11 /* define NO_GZIP when compiling if you want to disable gzip header and 13 the crc code when it is not needed. For shared libraries, gzip decoding 22 FLAGS, /* i: waiting for method and flags (gzip) */ 23 TIME, /* i: waiting for modification time (gzip) */ 24 OS, /* i: waiting for extra flags and operating system (gzip) */ 25 EXLEN, /* i: waiting for extra length (gzip) */ 26 EXTRA, /* i: waiting for extra bytes (gzip) */ 27 NAME, /* i: waiting for end of file name (gzip) */ 28 COMMENT, /* i: waiting for end of comment (gzip) */ 29 HCRC, /* i: waiting for header crc (gzip) */ [all …]
|
D | zlib.h | 23 jloup@gzip.org madler@alumni.caltech.edu 28 (zlib format), rfc1951 (deflate format) and rfc1952 (gzip format). 63 The library also supports reading and writing files in gzip (.gz) format 65 with "gz". The gzip format is different from the zlib format. gzip is a 66 gzip wrapper, documented in RFC 1952, wrapped around a deflate stream. 68 This library can optionally read and write gzip and raw deflate streams in 72 and on communications channels. The gzip format was designed for single- 111 gzip header information passed to and from zlib routines. See RFC 1952 117 int xflags; /* extra flags (not used when writing a gzip file) */ 127 int done; /* true when done reading gzip header (not used [all …]
|
/external/libwebsockets/win32port/zlib/ |
D | inflate.h | 11 /* define NO_GZIP when compiling if you want to disable gzip header and 13 the crc code when it is not needed. For shared libraries, gzip decoding 22 FLAGS, /* i: waiting for method and flags (gzip) */ 23 TIME, /* i: waiting for modification time (gzip) */ 24 OS, /* i: waiting for extra flags and operating system (gzip) */ 25 EXLEN, /* i: waiting for extra length (gzip) */ 26 EXTRA, /* i: waiting for extra bytes (gzip) */ 27 NAME, /* i: waiting for end of file name (gzip) */ 28 COMMENT, /* i: waiting for end of comment (gzip) */ 29 HCRC, /* i: waiting for header crc (gzip) */ [all …]
|
/external/angle/third_party/zlib/ |
D | inflate.h | 11 /* define NO_GZIP when compiling if you want to disable gzip header and 13 the crc code when it is not needed. For shared libraries, gzip decoding 22 FLAGS, /* i: waiting for method and flags (gzip) */ 23 TIME, /* i: waiting for modification time (gzip) */ 24 OS, /* i: waiting for extra flags and operating system (gzip) */ 25 EXLEN, /* i: waiting for extra length (gzip) */ 26 EXTRA, /* i: waiting for extra bytes (gzip) */ 27 NAME, /* i: waiting for end of file name (gzip) */ 28 COMMENT, /* i: waiting for end of comment (gzip) */ 29 HCRC, /* i: waiting for header crc (gzip) */ [all …]
|
/external/zlib/ |
D | inflate.h | 11 /* define NO_GZIP when compiling if you want to disable gzip header and 13 the crc code when it is not needed. For shared libraries, gzip decoding 22 FLAGS, /* i: waiting for method and flags (gzip) */ 23 TIME, /* i: waiting for modification time (gzip) */ 24 OS, /* i: waiting for extra flags and operating system (gzip) */ 25 EXLEN, /* i: waiting for extra length (gzip) */ 26 EXTRA, /* i: waiting for extra bytes (gzip) */ 27 NAME, /* i: waiting for end of file name (gzip) */ 28 COMMENT, /* i: waiting for end of comment (gzip) */ 29 HCRC, /* i: waiting for header crc (gzip) */ [all …]
|
/external/rust/crates/libz-sys/src/zlib-ng/ |
D | inflate.h | 14 /* define NO_GZIP when compiling if you want to disable gzip header and 16 the crc code when it is not needed. For shared libraries, gzip decoding 25 FLAGS, /* i: waiting for method and flags (gzip) */ 26 TIME, /* i: waiting for modification time (gzip) */ 27 OS, /* i: waiting for extra flags and operating system (gzip) */ 28 EXLEN, /* i: waiting for extra length (gzip) */ 29 EXTRA, /* i: waiting for extra bytes (gzip) */ 30 NAME, /* i: waiting for end of file name (gzip) */ 31 COMMENT, /* i: waiting for end of comment (gzip) */ 32 HCRC, /* i: waiting for header crc (gzip) */ [all …]
|
D | zlib.h | 25 jloup@gzip.org madler@alumni.caltech.edu 30 (zlib format), rfc1951 (deflate format) and rfc1952 (gzip format). 71 The library also supports reading and writing files in gzip (.gz) format 73 with "gz". The gzip format is different from the zlib format. gzip is a 74 gzip wrapper, documented in RFC 1952, wrapped around a deflate stream. 76 This library can optionally read and write gzip and raw deflate streams in 80 and on communications channels. The gzip format was designed for single- 119 gzip header information passed to and from zlib routines. See RFC 1952 125 int xflags; /* extra flags (not used when writing a gzip file) */ 135 …int done; /* true when done reading gzip header (not used when writing a gzip fi… [all …]
|
D | zlib-ng.h | 24 jloup@gzip.org madler@alumni.caltech.edu 29 (zlib format), rfc1951 (deflate format) and rfc1952 (gzip format). 62 The library also supports reading and writing files in gzip (.gz) format 64 with "gz". The gzip format is different from the zlib format. gzip is a 65 gzip wrapper, documented in RFC 1952, wrapped around a deflate stream. 67 This library can optionally read and write gzip and raw deflate streams in 71 and on communications channels. The gzip format was designed for single- 110 gzip header information passed to and from zlib routines. See RFC 1952 116 int32_t xflags; /* extra flags (not used when writing a gzip file) */ 126 …int32_t done; /* true when done reading gzip header (not used when writing a gzip fi… [all …]
|
/external/rust/crates/libz-sys/src/zlib-ng/doc/ |
D | rfc1952.txt | 12 GZIP file format specification version 4.3 43 compatible with the widely used GZIP utility. The format includes a 60 RFC 1952 GZIP File Format Specification May 1996 83 7. Appendix: Jean-Loup Gailly's gzip utility .................. 11 107 widely used gzip utility, in that conforming decompressors 108 will be able to read data produced by the existing gzip 116 RFC 1952 GZIP File Format Specification May 1996 128 to compress data into gzip format and/or decompress data from gzip 161 There have been no technical changes to the gzip format since 172 RFC 1952 GZIP File Format Specification May 1996 [all …]
|
/external/rust/crates/libz-sys/src/zlib/doc/ |
D | rfc1952.txt | 12 GZIP file format specification version 4.3 43 compatible with the widely used GZIP utility. The format includes a 60 RFC 1952 GZIP File Format Specification May 1996 83 7. Appendix: Jean-Loup Gailly's gzip utility .................. 11 107 widely used gzip utility, in that conforming decompressors 108 will be able to read data produced by the existing gzip 116 RFC 1952 GZIP File Format Specification May 1996 128 to compress data into gzip format and/or decompress data from gzip 161 There have been no technical changes to the gzip format since 172 RFC 1952 GZIP File Format Specification May 1996 [all …]
|
/external/libcups/examples/ |
D | ipp-everywhere.test | 50 …EXPECT compression-supported OF-TYPE keyword IN-GROUP printer-attributes-tag WITH-VALUE "gzip" DEF… 221 NAME "Print color.jpg-4x6 @ 150dpi, black-1, gzip" 234 ATTR keyword compression gzip 236 COMPRESSION gzip 287 NAME "Print color.jpg-4x6 @ 150dpi, cmyk-8, gzip" 300 ATTR keyword compression gzip 302 COMPRESSION gzip 353 NAME "Print color.jpg-4x6 @ 150dpi, sgray-8, gzip" 366 ATTR keyword compression gzip 368 COMPRESSION gzip [all …]
|
/external/rust/crates/libz-sys/src/zlib/examples/ |
D | gzappend.c | 1 /* gzappend -- command to append to a gzip file 37 * - Finish off gzip file in gztack() 39 * - Keep gzip file clean on appended file read errors 47 gzappend takes a gzip file and appends to it, compressing files from the 48 command line or data from stdin. The gzip file is written to directly, to 50 unfriendly behavior that if gzappend fails, the gzip file is corrupted. 60 gzappend first decompresses the gzip file internally, discarding all but 63 The gzip trailer containing the CRC-32 and length of the uncompressed data 71 data from the gzip file to initialize the dictionary. If the total 75 append is simply compressed using deflate, and written to the gzip file. [all …]
|
D | README.examples | 14 uncompress a gzip file 17 - is approximately twice as fast as gzip -d 21 append to a gzip file 26 join gzip files without recalculating the crc or recompressing 32 efficiently and robustly maintain a message log file in gzip format 35 - illustrates use of a gzip header extra field 47 index a zlib or gzip stream and randomly access it
|