/external/libmojo/third_party/catapult/devil/devil/utils/ |
H A D | zip_utils.py | 7 import zipfile namespace 13 zip_file: An open instance of zipfile.ZipFile. 22 zip_file.write(dir_path, dir_arc_path, zipfile.ZIP_STORED) 27 zip_file.write(file_path, file_arc_path, zipfile.ZIP_DEFLATED) 30 zip_file.write(path, arc_path, zipfile.ZIP_DEFLATED)
|
/external/chromium-trace/catapult/devil/devil/utils/ |
H A D | zip_utils.py | 7 import zipfile namespace 15 zip_file: An open instance of zipfile.ZipFile. 24 zip_file.write(dir_path, dir_arc_path, zipfile.ZIP_STORED) 29 zip_file.write(file_path, file_arc_path, zipfile.ZIP_DEFLATED) 32 zip_file.write(path, arc_path, zipfile.ZIP_DEFLATED)
|
/external/libmojo/mojo/public/tools/gn/ |
H A D | zip.py | 16 import zipfile namespace 25 with zipfile.ZipFile(output, 'w', zipfile.ZIP_DEFLATED) as outfile: 36 with zipfile.ZipFile(zf_name, 'r') as zf:
|
/external/skia/infra/bots/ |
H A D | zip_utils.py | 14 import zipfile namespace 30 with zipfile.ZipFile(zip_file, 'w', zipfile.ZIP_DEFLATED, True) as z: 35 zi = zipfile.ZipInfo(filepath) 39 zi.compress_type = zipfile.ZIP_DEFLATED 52 with zipfile.ZipFile(zip_file, 'r', zipfile.ZIP_DEFLATED, True) as z:
|
/external/chromium-trace/catapult/systrace/profile_chrome/ |
H A D | util.py | 8 import zipfile namespace 12 with zipfile.ZipFile(output, 'w', zipfile.ZIP_DEFLATED) as z: 23 with zipfile.ZipFile(output, 'w', zipfile.ZIP_DEFLATED) as z:
|
H A D | profiler_unittest.py | 7 import zipfile namespace 55 self.assertTrue(zipfile.is_zipfile(result))
|
/external/boringssl/src/util/bot/ |
H A D | extract.py | 25 import zipfile namespace 59 with zipfile.ZipFile(path, 'r') as zip_file:
|
/external/chromium-trace/catapult/dependency_manager/dependency_manager/ |
H A D | dependency_manager_util.py | 9 import zipfile_2_7_13 as zipfile namespace 57 archive: A zipfile.ZipFile object opened for reading. 82 ValueError: If |archive_path| is not a zipfile. 85 if not (archive_path and zipfile.is_zipfile(archive_path)): 91 with zipfile.ZipFile(archive_path, 'r') as archive:
|
H A D | dependency_manager_util_unittest.py | 12 import zipfile namespace 111 self.assertTrue(zipfile.is_zipfile(archive_path)) 156 self.assertTrue(zipfile.is_zipfile(archive_path)) 170 'dependency_manager.dependency_manager_util.zipfile.ZipFile.extractall' # pylint: disable=line-too-long 180 with zipfile.ZipFile(self.archive_path) as archive: 188 with zipfile.ZipFile(self.archive_path, 'w') as archive:
|
/external/python/cpython2/Lib/distutils/tests/ |
H A D | test_bdist_dumb.py | 5 import zipfile namespace 83 fp = zipfile.ZipFile(os.path.join('dist', base))
|
H A D | test_archive_util.py | 27 import zipfile namespace
|
H A D | test_sdist.py | 6 import zipfile namespace 12 # the tests that use zipfile may fail 126 zip_file = zipfile.ZipFile(join(dist_folder, 'fake-1.0.zip')) 242 zip_file = zipfile.ZipFile(join(dist_folder, 'fake-1.0.zip'))
|
/external/v8/gypfiles/ |
H A D | download_gold_plugin.py | 16 import zipfile namespace
|
/external/python/cpython2/Lib/distutils/ |
H A D | archive_util.py | 125 "zipfile" Python module (if available) or the InfoZIP "zip" utility 131 import zipfile namespace 133 zipfile = None 138 # If zipfile module is not available, try spawning an external 140 if zipfile is None: 154 "could neither import the 'zipfile' module nor " 162 zip = zipfile.ZipFile(zip_filename, "w", 163 compression=zipfile.ZIP_DEFLATED)
|
/external/python/cpython2/Lib/test/ |
H A D | script_helper.py | 14 import zipfile namespace 17 # fail, which, in turn, means that zipfile cannot be imported 125 zip_file = zipfile.ZipFile(zip_name, 'w') 131 # zip_file = zipfile.ZipFile(zip_name, 'r') 157 zip_file = zipfile.ZipFile(zip_name, 'w') 166 # zip_file = zipfile.ZipFile(zip_name, 'r')
|
H A D | test_pkgutil.py | 10 import zipfile namespace 62 z = zipfile.ZipFile(zip_file, 'w')
|
H A D | test_zipfile64.py | 1 # Tests of the full ZIP64 functionality of zipfile 20 import zipfile, os, unittest namespace 38 line_gen = ("Test of zipfile line %d." % i for i in xrange(1000000)) 48 zipfp = zipfile.ZipFile(f, "w", compression, allowZip64=True) 67 zipfp = zipfile.ZipFile(f, "r", compression) 83 self.zipTest(f, zipfile.ZIP_STORED) 85 self.zipTest(TESTFN2, zipfile.ZIP_STORED) 92 self.zipTest(f, zipfile.ZIP_DEFLATED) 94 self.zipTest(TESTFN2, zipfile.ZIP_DEFLATED) 106 zipf = zipfile [all...] |
H A D | test_zipimport_support.py | 10 import zipfile namespace 120 z = zipfile.ZipFile(zip_name, 'a') 125 zip_file = zipfile.ZipFile(zip_name, 'r')
|
/external/autotest/client/site_tests/network_CastTDLS/ |
H A D | network_CastTDLS.py | 5 import json, logging, os, re, tempfile, time, urllib2, zipfile namespace 107 zip_ref = zipfile.ZipFile(zip_file, 'r')
|
/external/autotest/server/cros/ap_configurators/ |
H A D | pyauto_utils.py | 16 import zipfile namespace 105 zf = zipfile.ZipFile(filename)
|
/external/autotest/server/site_tests/cheets_CTS/ |
H A D | generate_controlfiles.py | 15 import zipfile namespace 303 with zipfile.ZipFile(filename) as zf:
|
/external/boringssl/src/util/bot/go/ |
H A D | bootstrap.py | 27 import zipfile namespace 131 with zipfile.ZipFile(pkg_path, 'r') as f:
|
/external/libmojo/build/android/gyp/util/ |
H A D | build_utils.py | 18 import zipfile namespace 228 if not zipfile.is_zipfile(zip_path): 231 with zipfile.ZipFile(zip_path) as z: 270 zipinfo = zipfile.ZipInfo(filename=zip_path, date_time=_HERMETIC_TIMESTAMP) 283 # zipfile will deflate even when it makes the file bigger. To avoid 292 compress_type = zipfile.ZIP_DEFLATED if compress else zipfile.ZIP_STORED 312 with zipfile.ZipFile(output, 'w') as outfile: 335 with zipfile.ZipFile(output, 'w') as out_zip: 337 with zipfile [all...] |
H A D | md5_check.py | 11 import zipfile namespace 404 with zipfile.ZipFile(path) as zip_file:
|
/external/python/cpython2/Lib/ |
H A D | shutil.py | 414 "could neither import the 'zipfile' module nor " 421 "zipfile" Python module (if available) or the InfoZIP "zip" utility 435 # If zipfile module is not available, try spawning an external 'zip' 438 import zipfile namespace 440 zipfile = None 442 if zipfile is None: 450 with zipfile.ZipFile(zip_filename, "w", 451 compression=zipfile.ZIP_DEFLATED) as zf:
|