HomeSort by relevance Sort by last modified time
    Searched defs:gzip (Results 1 - 25 of 32) sorted by null

1 2

  /system/extras/ext4_utils/
make_ext4fs_main.c 67 int gzip = 0; local
119 gzip = 1;
170 if (wipe && gzip) {
171 fprintf(stderr, "Cannot specifiy both wipe and gzip\n");
203 exitcode = make_ext4fs_internal(fd, directory, mountpoint, fs_config_func, gzip,
ext2simg.c 52 fprintf(stderr, " -z gzip output\n");
182 int gzip = 0; local
196 gzip = 1;
249 write_ext4_image(outfd, gzip, sparse, crc);
  /packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
DictionaryBackupAgent.java 161 GZIPOutputStream gzip = null; local
163 gzip = new GZIPOutputStream(baos);
176 gzip.write(sizeBytes);
177 gzip.write(line);
180 gzip.finish();
185 IoUtils.closeQuietly(gzip);
197 GZIPInputStream gzip = new GZIPInputStream(new ByteArrayInputStream(dictCompressed)); local
201 while ((got = gzip.read(tempData)) > 0) {
204 gzip.close();
  /external/chromium_org/tools/telemetry/telemetry/core/
memory_cache_http_server.py 7 import gzip namespace
67 self.send_header('Content-Encoding', 'gzip')
165 gzf = gzip.GzipFile(fileobj=sio, compresslevel=9, mode='wb')
  /libcore/luni/src/test/java/libcore/java/util/zip/
GZIPOutputStreamTest.java 33 byte[] data = gzip(("Hello World").getBytes("UTF-8"));
41 assertTrue(Arrays.equals(data, GZIPInputStreamTest.gunzip(gzip(data))));
44 public static byte[] gzip(byte[] bytes) throws IOException { method in class:GZIPOutputStreamTest
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
fileinput.py 381 import gzip namespace
382 return gzip.open(filename, mode)
xmlrpclib.py 146 import gzip namespace
148 gzip = None #python can be built without zlib/gzip support variable
    [all...]
tarfile.py 391 blockwise. Use of gzip or bzip2 compression is possible.
449 """Initialize for writing with gzip compression.
511 """Initialize for reading a gzip compressed fileobj.
516 # taken from gzip.GzipFile with some alterations
518 raise ReadError("not a gzip file")
644 class which (unlike gzip.GzipFile) has no support for
1716 import gzip namespace
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_gzip.py 2 """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, 'wb') as f:
52 with gzip.GzipFile(self.filename, 'r') as f:
59 with gzip.GzipFile(self.filename, 'rU') as f:
69 f = gzip.GzipFile(self.filename, 'r')
78 f = gzip.GzipFile(self.filename, 'w'
    [all...]
test_xmlrpc.py 682 #A test case that verifies that gzip encoding works in both directions
706 #add a lone gzip header to induce decode error remotely
707 connection.putheader("Content-Encoding", "gzip")
1015 import gzip namespace
    [all...]
test_tarfile.py 17 import gzip namespace
18 gzip.GzipFile
20 gzip = None variable
187 _open = gzip.GzipFile
241 _open = gzip.GzipFile
261 # For Gzip and Bz2 Tests: fail with a ReadError on an uncompressed file.
419 if gzip:
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
fileinput.py 381 import gzip namespace
382 return gzip.open(filename, mode)
xmlrpclib.py 146 import gzip namespace
148 gzip = None #python can be built without zlib/gzip support variable
    [all...]
tarfile.py 391 blockwise. Use of gzip or bzip2 compression is possible.
449 """Initialize for writing with gzip compression.
511 """Initialize for reading a gzip compressed fileobj.
516 # taken from gzip.GzipFile with some alterations
518 raise ReadError("not a gzip file")
644 class which (unlike gzip.GzipFile) has no support for
1716 import gzip namespace
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_gzip.py 2 """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, 'wb') as f:
52 with gzip.GzipFile(self.filename, 'r') as f:
59 with gzip.GzipFile(self.filename, 'rU') as f:
69 f = gzip.GzipFile(self.filename, 'r')
78 f = gzip.GzipFile(self.filename, 'w'
    [all...]
test_xmlrpc.py 682 #A test case that verifies that gzip encoding works in both directions
706 #add a lone gzip header to induce decode error remotely
707 connection.putheader("Content-Encoding", "gzip")
1015 import gzip namespace
    [all...]
test_tarfile.py 17 import gzip namespace
18 gzip.GzipFile
20 gzip = None variable
187 _open = gzip.GzipFile
241 _open = gzip.GzipFile
261 # For Gzip and Bz2 Tests: fail with a ReadError on an uncompressed file.
419 if gzip:
    [all...]
  /external/chromium_org/build/android/
adb_profile_chrome.py 8 import gzip namespace
248 with gzip.open(output, 'wb') as out:
402 'with gzip. ', action='store_true')
  /external/okhttp/src/test/java/com/squareup/okhttp/internal/spdy/
HttpOverSpdyTest.java 147 server.enqueue(new MockResponse().addHeader("Content-Encoding: gzip")
148 .setBody(gzip("ABCABCABC".getBytes(Util.UTF_8))));
287 public byte[] gzip(byte[] bytes) throws IOException { method in class:HttpOverSpdyTest
  /external/chromium/chrome/common/extensions/docs/examples/apps/hello-python/httplib2/
__init__.py 5 A caching http interface that supports ETags and gzip
34 import gzip namespace
347 if encoding in ['gzip', 'deflate']:
348 if encoding == 'gzip':
349 content = gzip.GzipFile(fileobj=StringIO.StringIO(new_content)).read()
    [all...]
  /external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-python/httplib2/
__init__.py 5 A caching http interface that supports ETags and gzip
34 import gzip namespace
347 if encoding in ['gzip', 'deflate']:
348 if encoding == 'gzip':
349 content = gzip.GzipFile(fileobj=StringIO.StringIO(new_content)).read()
    [all...]
  /external/smack/src/org/jivesoftware/smack/util/
Base64.java 35 /** Specify that data should be gzip-compressed. */
36 public final static int GZIP = 2;
430 * The object is not GZip-compressed before being encoded.
450 * GZIP: gzip-compresses object before encoding it.
455 * Example: <code>encodeObject( myObj, Base64.GZIP )</code> or
457 * Example: <code>encodeObject( myObj, Base64.GZIP | Base64.DONT_BREAK_LINES )</code>
462 * @see Base64#GZIP
475 int gzip = (options & GZIP); local
604 int gzip = ( options & GZIP ); local
    [all...]
  /libcore/luni/src/test/java/libcore/java/net/
URLConnectionTest.java 2339 public byte[] gzip(byte[] bytes) throws IOException { method in class:URLConnectionTest
    [all...]
  /external/okhttp/src/test/java/com/squareup/okhttp/internal/http/
URLConnectionTest.java 2511 public byte[] gzip(byte[] bytes) throws IOException { method in class:URLConnectionTest
    [all...]
  /prebuilts/devtools/tools/lib/
commons-compress-1.0.jar 

Completed in 892 milliseconds

1 2