/external/chromium-trace/catapult/tracing/tracing_build/ |
strip_memory_infra_trace.py | 8 import gzip namespace 27 fin = gzip.open(in_path, 'rb')
|
html2trace.py | 7 import gzip namespace 77 return gzip.GzipFile(fileobj=original_file) 87 with gzip.GzipFile(fileobj=zipped_file, mode='wb') as gzip_wrapper:
|
trace2html.py | 8 import gzip namespace 68 with gzip.GzipFile(fileobj=compressed_trace, mode='w') as f:
|
/external/chromium-trace/catapult/systrace/profile_chrome/ |
util.py | 5 import gzip namespace 18 with gzip.open(output, 'wb') as out, open(host_file, 'rb') as input_file: 31 with gzip.open(output, 'wb') as out:
|
/external/chromium-trace/catapult/third_party/Paste/tests/ |
test_gzipper.py | 3 import gzip namespace 15 '/', extra_environ=dict(HTTP_ACCEPT_ENCODING='gzip')) 18 actual = gzip.GzipFile(fileobj=six.BytesIO(res.body)).read()
|
/external/jsoncpp/devtools/ |
tarball.py | 2 import gzip namespace
|
/external/autotest/client/site_tests/logging_UdevCrash/ |
logging_UdevCrash.py | 5 import gzip, logging, os, utils namespace 30 f = gzip.open(filepath, 'r')
|
/external/autotest/client/site_tests/platform_DebugDaemonGetPerfData/ |
platform_DebugDaemonGetPerfData.py | 5 import cStringIO, collections, dbus, gzip, logging, subprocess namespace 46 Gzip a string. 54 gzip_file = gzip.GzipFile(fileobj=string_file, mode='wb')
|
/external/autotest/contrib/ |
dhcp_failed_machines.py | 7 You can also run it directly on the gzip'd logs. 17 import gzip namespace 47 return gzip.open(f, 'r')
|
/external/chromium-trace/catapult/systrace/systrace/ |
output_generator.py | 8 import gzip namespace 154 with gzip.GzipFile(fileobj=compressed_trace, mode='w') as f:
|
/external/chromium-trace/catapult/third_party/Paste/paste/ |
gzipper.py | 10 Gzip-encodes the response. 13 import gzip namespace 28 if 'gzip' not in environ.get('HTTP_ACCEPT_ENCODING', ''): 60 headers.append(('content-encoding', 'gzip')) 75 output = gzip.GzipFile(mode='wb', compresslevel=self.compress_level,
|
/external/jsoncpp/scons-tools/ |
targz.py | 11 ##tar cvf - FILE-LIST | gzip -c > FILE.tar.gz 20 import gzip namespace 44 fileobj = gzip.GzipFile( target_path, 'wb', compression ) 67 TARGZ_COMPRESSION_LEVEL: integer, [0-9]. 0: no compression, 9: best compression (same as gzip compression level).
|
/external/autotest/client/cros/ |
kernel_config.py | 5 import gzip, logging, os, re namespace 135 return gzip.open(filename, "r")
|
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/ |
RequestBodyCompression.java | 76 .header("Content-Encoding", "gzip") 77 .method(originalRequest.method(), gzip(originalRequest.body())) 82 private RequestBody gzip(final RequestBody body) { method in class:RequestBodyCompression.GzipRequestInterceptor
|
/system/extras/ext4_utils/ |
ext2simg.c | 52 fprintf(stderr, " -z gzip output\n"); 122 int gzip = 0; local 136 gzip = 1; 189 write_ext4_image(outfd, gzip, sparse, crc);
|
make_ext4fs_main.c | 73 int gzip = 0; local 132 gzip = 1; 220 if (wipe && gzip) { 221 fprintf(stderr, "Cannot specifiy both wipe and gzip\n"); 256 exitcode = make_ext4fs_internal(fd, directory, target_out_directory, mountpoint, fs_config_func, gzip,
|
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
DictionaryBackupAgent.java | 162 GZIPOutputStream gzip = null; local 164 gzip = new GZIPOutputStream(baos); 177 gzip.write(sizeBytes); 178 gzip.write(line); 181 gzip.finish(); 186 IoUtils.closeQuietly(gzip); 198 GZIPInputStream gzip = new GZIPInputStream(new ByteArrayInputStream(dictCompressed)); local 202 while ((got = gzip.read(tempData)) > 0) { 205 gzip.close();
|
/external/chromium-trace/catapult/telemetry/telemetry/core/ |
memory_cache_http_server.py | 8 import gzip namespace 90 self.send_header('Content-Encoding', 'gzip') 191 gzf = gzip.GzipFile(fileobj=sio, compresslevel=9, mode='wb')
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
GZIPOutputStreamTest.java | 30 byte[] data = gzip(("Hello World").getBytes("UTF-8")); 38 assertTrue(Arrays.equals(data, GZIPInputStreamTest.gunzip(gzip(data)))); 41 public static byte[] gzip(byte[] bytes) throws IOException { method in class:GZIPOutputStreamTest 69 byte[] responseBytes = "Some data to gzip".getBytes();
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
fileinput.py | 381 import gzip namespace 382 return gzip.open(filename, mode)
|
/prebuilts/gdb/darwin-x86/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...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
fileinput.py | 381 import gzip namespace 382 return gzip.open(filename, mode)
|
/prebuilts/gdb/linux-x86/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...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
fileinput.py | 381 import gzip namespace 382 return gzip.open(filename, mode)
|
/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...] |