/external/chromium-trace/catapult/devil/devil/utils/ |
zip_utils.py | 7 import zipfile 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/third_party/catapult/devil/devil/utils/ |
zip_utils.py | 7 import zipfile 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)
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_zipfile.py | 13 import zipfile 42 self.line_gen = ["Zipfile test line %d. random float: %f" % (i, random()) 52 with zipfile.ZipFile(f, "w", compression) as zipfp: 61 with zipfile.ZipFile(f, "r", compression) as zipfp: 117 self.zip_test(f, zipfile.ZIP_STORED) 123 with zipfile.ZipFile(f, "r", compression) as zipfp: 145 self.zip_open_test(f, zipfile.ZIP_STORED [all...] |
test_zipfile64.py | 1 # Tests of the full ZIP64 functionality of zipfile 20 import zipfile, os, unittest 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) 90 self.zipTest(f, zipfile.ZIP_DEFLATED) 101 # and that the resulting archive can be read properly by ZipFile [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_zipfile.py | 13 import zipfile 42 self.line_gen = ["Zipfile test line %d. random float: %f" % (i, random()) 52 with zipfile.ZipFile(f, "w", compression) as zipfp: 61 with zipfile.ZipFile(f, "r", compression) as zipfp: 117 self.zip_test(f, zipfile.ZIP_STORED) 123 with zipfile.ZipFile(f, "r", compression) as zipfp: 145 self.zip_open_test(f, zipfile.ZIP_STORED [all...] |
test_zipfile64.py | 1 # Tests of the full ZIP64 functionality of zipfile 20 import zipfile, os, unittest 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) 90 self.zipTest(f, zipfile.ZIP_DEFLATED) 101 # and that the resulting archive can be read properly by ZipFile [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_zipfile.py | 13 import zipfile 42 self.line_gen = ["Zipfile test line %d. random float: %f" % (i, random()) 52 with zipfile.ZipFile(f, "w", compression) as zipfp: 61 with zipfile.ZipFile(f, "r", compression) as zipfp: 117 self.zip_test(f, zipfile.ZIP_STORED) 123 with zipfile.ZipFile(f, "r", compression) as zipfp: 145 self.zip_open_test(f, zipfile.ZIP_STORED [all...] |
test_zipfile64.py | 1 # Tests of the full ZIP64 functionality of zipfile 20 import zipfile, os, unittest 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) 90 self.zipTest(f, zipfile.ZIP_DEFLATED) 101 # and that the resulting archive can be read properly by ZipFile [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_zipfile.py | 13 import zipfile 42 self.line_gen = ["Zipfile test line %d. random float: %f" % (i, random()) 52 with zipfile.ZipFile(f, "w", compression) as zipfp: 61 with zipfile.ZipFile(f, "r", compression) as zipfp: 117 self.zip_test(f, zipfile.ZIP_STORED) 123 with zipfile.ZipFile(f, "r", compression) as zipfp: 145 self.zip_open_test(f, zipfile.ZIP_STORED [all...] |
test_zipfile64.py | 1 # Tests of the full ZIP64 functionality of zipfile 20 import zipfile, os, unittest 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) 90 self.zipTest(f, zipfile.ZIP_DEFLATED) 101 # and that the resulting archive can be read properly by ZipFile [all...] |
/external/chromium-trace/catapult/systrace/profile_chrome/ |
util.py | 8 import zipfile 12 with zipfile.ZipFile(output, 'w', zipfile.ZIP_DEFLATED) as z: 23 with zipfile.ZipFile(output, 'w', zipfile.ZIP_DEFLATED) as z:
|
profiler_unittest.py | 7 import zipfile 55 self.assertTrue(zipfile.is_zipfile(result))
|
/build/make/tools/releasetools/ |
test_common.py | 20 import zipfile 48 expected_compress_type=zipfile.ZIP_STORED): 56 zip_file = zipfile.ZipFile(zip_file_name, "r") 88 zip_file = zipfile.ZipFile(zip_file_name, "w") 97 zipfile.ZIP_STORED) 116 zip_file = zipfile.ZipFile(zip_file_name, "w") 120 zipfile.ZIP_STORED [all...] |
img_from_target_files | 18 Given a target-files zipfile, produces an image zipfile suitable for 39 import zipfile 75 output_zip = zipfile.ZipFile(args[1], "w", compression=zipfile.ZIP_DEFLATED)
|
img_from_target_files.py | 18 Given a target-files zipfile, produces an image zipfile suitable for 39 import zipfile 75 output_zip = zipfile.ZipFile(args[1], "w", compression=zipfile.ZIP_DEFLATED)
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/profiler/ |
android_systrace_profiler_unittest.py | 7 import zipfile 28 self.assertTrue(zipfile.is_zipfile(result)) 29 with zipfile.ZipFile(result) as z:
|
android_systrace_profiler.py | 8 import zipfile 71 with zipfile.ZipFile(self._output_path, 'w', zipfile.ZIP_DEFLATED) as z:
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_zipfile.py | 13 import zipfile
35 self.line_gen = ["Zipfile test line %d. random float: %f" % (i, random())
45 with zipfile.ZipFile(f, "w", compression) as zipfp:
54 with zipfile.ZipFile(f, "r", compression) as zipfp:
110 self.zip_test(f, zipfile.ZIP_STORED)
116 with zipfile.ZipFile(f, "r", compression) as zipfp:
138 self.zip_open_test(f, zipfile.ZIP_STORED) [all...] |
test_zipfile64.py | 1 # Tests of the full ZIP64 functionality of zipfile
20 import zipfile, os, unittest
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)
90 self.zipTest(f, zipfile.ZIP_DEFLATED)
101 # and that the resulting archive can be read properly by ZipFile
[all...] |
/external/skia/infra/bots/ |
zip_utils.py | 14 import zipfile 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:
|
/development/build/tools/ |
mk_sources_zip.py | 24 import zipfile 48 self.zipfile = None 194 elif p.zipfile is not None: 196 # zipfile is a path. Copy to it. 197 dest_path = os.path.join(p.zipfile, arc_path) 203 # zipfile is a ZipFile object. Compress with it. 204 p.zipfile.write(filepath, arc_path) 226 p.zipfile = p.DST + "_temp_dir" 227 if os.path.exists(p.zipfile) [all...] |
/external/libmojo/mojo/public/tools/gn/ |
zip.py | 16 import zipfile 25 with zipfile.ZipFile(output, 'w', zipfile.ZIP_DEFLATED) as outfile: 36 with zipfile.ZipFile(zf_name, 'r') as zf:
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Core/ |
FileHook.py | 22 import zipfile
53 self.zipfile = os.path.join(self.workspace, gBACKUPFILE)
58 self.zip = zipfile.ZipFile(self.zipfile, 'w', zipfile.ZIP_DEFLATED)
115 self.zip = zipfile.ZipFile(self.zipfile, 'r', zipfile.ZIP_DEFLATED) [all...] |
/external/chromium-trace/catapult/dependency_manager/dependency_manager/ |
dependency_manager_util.py | 9 import zipfile 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:
|
/build/make/tools/ijar/ |
zip_main.cc | 159 int extract(char *zipfile, bool verbose, bool extract) { 164 std::unique_ptr<ZipExtractor> extractor(ZipExtractor::Create(zipfile, 167 fprintf(stderr, "Unable to open zip file %s: %s.\n", zipfile, 180 int create(char *zipfile, char **files, bool flatten, bool verbose, 187 std::unique_ptr<ZipBuilder> builder(ZipBuilder::Create(zipfile, size)); 190 zipfile, strerror(errno));
|