Searched defs:gzip (Results 1 - 15 of 15) sorted by relevance

/external/chromium_org/tools/profile_chrome/
H A Dtrace_packager.py5 import gzip namespace
31 with gzip.open(output, 'wb') as out, \
/external/qemu/distrib/ext4_utils/src/
H A Dmake_ext4fs_main.c67 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,
H A Dext2simg.c53 fprintf(stderr, " -z gzip output\n");
183 int gzip = 0; local
197 gzip = 1;
250 write_ext4_image(outfd, gzip, sparse, crc);
H A Dmake_ext4fs.c480 const char *_mountpoint, fs_config_func_t fs_config_func, int gzip,
630 write_ext4_image(fd, gzip, sparse, crc);
479 make_ext4fs_internal(int fd, const char *_directory, const char *_mountpoint, fs_config_func_t fs_config_func, int gzip, int sparse, int crc, int wipe, struct selabel_handle *sehnd, int verbose) argument
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/
H A DBenchmark.java69 /** True to use gzip content-encoding for the response body. */
71 boolean gzip; field in class:Benchmark
145 if (gzip) modifiers.add("gzip");
188 if (gzip) {
189 body = gzip(body);
190 result.addHeader("Content-Encoding: gzip");
216 private byte[] gzip(byte[] bytes) throws IOException { method in class:Benchmark
/external/chromium_org/tools/chrome_proxy/integration_tests/
H A Dnetwork_metrics.py6 import gzip namespace
82 if encoding == 'gzip':
113 with gzip.GzipFile(fileobj=bio, mode="wb", compresslevel=9) as f:
116 logging.warning('Fail to gzip response body: %s', e)
/external/chromium_org/tools/telemetry/telemetry/core/
H A Dmemory_cache_http_server.py7 import gzip namespace
91 self.send_header('Content-Encoding', 'gzip')
192 gzf = gzip.GzipFile(fileobj=sio, compresslevel=9, mode='wb')
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
H A DHttpOverSpdyTest.java227 server.enqueue(new MockResponse().addHeader("Content-Encoding: gzip")
228 .setBody(gzip("ABCABCABC".getBytes(Util.UTF_8))));
456 public byte[] gzip(byte[] bytes) throws IOException { method in class:HttpOverSpdyTest
H A DHttpResponseCacheTest.java939 response.setBody(gzip("ABCABCABC".getBytes("UTF-8"))).addHeader("Content-Encoding: gzip"));
955 .setBody(gzip("ABCABCABC".getBytes("UTF-8")))
956 .addHeader("Content-Encoding: gzip")
961 .addHeader("Content-Encoding: gzip"));
2103 public byte[] gzip(byte[] bytes) throws IOException { method in class:HttpResponseCacheTest
H A DResponseCacheTest.java737 response.setBody(gzip("ABCABCABC".getBytes("UTF-8"))).addHeader("Content-Encoding: gzip"));
753 .setBody(gzip("ABCABCABC".getBytes("UTF-8")))
754 .addHeader("Content-Encoding: gzip")
759 .addHeader("Content-Encoding: gzip"));
1509 public byte[] gzip(byte[] bytes) throws IOException { method in class:ResponseCacheTest
H A DURLConnectionTest.java1185 server.enqueue(new MockResponse().setBody(gzip("ABCABCABC".getBytes("UTF-8")))
1186 .addHeader("Content-Encoding: gzip"));
1195 assertContains(request.getHeaders(), "Accept-Encoding: gzip");
1199 byte[] bodyBytes = gzip("ABCDEFGHIJKLMNOPQRSTUVWXYZ".getBytes("UTF-8"));
1202 .addHeader("Content-Encoding: gzip"));
1206 connection.addRequestProperty("Accept-Encoding", "gzip");
1212 assertContains(request.getHeaders(), "Accept-Encoding: gzip");
1244 * Test a bug where gzip input streams weren't exhausting the input stream,
1260 responseOne.addHeader("Content-Encoding: gzip");
1261 transferKind.setBody(responseOne, gzip("on
3016 public byte[] gzip(byte[] bytes) throws IOException { method in class:URLConnectionTest
[all...]
/external/chromium_org/third_party/cython/src/Cython/Build/
H A DDependencies.py12 import gzip namespace
13 gzip_open = gzip.open
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-python/httplib2/
H A D__init__.py5 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()
1019 headers['accept-encoding'] = 'gzip, deflate'
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.mortbay.jetty.util_6.1.23.v201004211559.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.mortbay.jetty.server_6.1.23.v201004211559.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 512 milliseconds