/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_zipfile.py | 13 import zipfile namespace 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 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) 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 namespace 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 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) 90 self.zipTest(f, zipfile.ZIP_DEFLATED) 101 # and that the resulting archive can be read properly by ZipFile [all...] |
/external/chromium_org/chrome/test/chromedriver/ |
embed_extension_in_cpp.py | 13 import zipfile namespace 27 zipper = zipfile.ZipFile(string_buffer, 'w') 29 zipper.write(f, os.path.basename(f), zipfile.ZIP_STORED)
|
/external/chromium_org/tools/telemetry/telemetry/core/platform/profiler/ |
android_systrace_profiler_unittest.py | 7 import zipfile namespace 26 assert zipfile.is_zipfile(result) 27 with zipfile.ZipFile(result) as z:
|
android_systrace_profiler.py | 8 import zipfile namespace 61 with zipfile.ZipFile(self._output_path, 'w', zipfile.ZIP_DEFLATED) as z:
|
/system/core/libzipfile/ |
Android.mk | 8 zipfile.c 28 zipfile.c
|
test_zipfile.c | 1 #include <zipfile/zipfile.h>
27 fprintf(stderr, "usage: test_zipfile ZIPFILE -l\n"
28 " lists the files in the zipfile\n"
29 " test_zipfile ZIPFILE -u FILENAME SAVETO\n"
|
/external/chromium_org/native_client_sdk/src/tools/tests/ |
oshelpers_test.py | 12 import zipfile namespace 54 self.zipfile = None 60 if self.zipfile: 61 self.zipfile.close() 76 self.zipfile = zipfile.ZipFile(self.GetTempPath(self.zipname), 'r') 79 self.zipfile.close() 80 self.zipfile = None 83 return self.zipfile.getinfo(oshelpers.OSMakeZipPath(path) [all...] |
/development/build/tools/ |
mk_sources_zip.py | 24 import zipfile namespace 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/chromium_org/build/android/gn/ |
zip.py | 14 import zipfile namespace 17 with zipfile.ZipFile(output, 'w') as outfile:
|
/external/chromium_org/tools/deep_memory_profiler/tests/ |
mock_gsutil.py | 9 import zipfile namespace 22 zip_file = zipfile.ZipFile(sys.argv[4], 'r')
|
/frameworks/webview/chromium/tools/ |
jar_check.py | 27 import zipfile namespace 43 with contextlib.closing(zipfile.ZipFile(jar_path)) as jar: 48 # Zipfile entries with a trailing / are directories, we can ignore these.
|
/external/chromium_org/components/policy/tools/ |
make_policy_zip.py | 14 import zipfile namespace 75 zip_file = zipfile.ZipFile(options.output, 'w', zipfile.ZIP_DEFLATED)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/ |
workspace.py | 33 import zipfile namespace 58 def create_zip(self, zip_path, source_path, zip_class=zipfile.ZipFile): 60 # zip_file = ZipFile(zip_path, 'w')
|
zipfileset.py | 25 import zipfile namespace 43 return (temp_file, zipfile.ZipFile(temp_file))
|
/build/tools/releasetools/ |
img_from_target_files | 18 Given a target-files zipfile, produces an image zipfile suitable for 41 import zipfile namespace 80 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 41 import zipfile namespace 80 output_zip = zipfile.ZipFile(args[1], "w", compression=zipfile.ZIP_DEFLATED)
|
/external/chromium_org/tools/android/adb_profile_chrome/ |
profiler_unittest.py | 8 import zipfile namespace 72 self.assertTrue(zipfile.is_zipfile(result)) 73 with zipfile.ZipFile(result) as f:
|
/external/chromium_org/tools/deep_memory_profiler/subcommands/ |
upload.py | 9 import zipfile namespace 42 file_zip = zipfile.ZipFile(filename_zip, 'w', zipfile.ZIP_DEFLATED)
|
/external/chromium_org/build/android/gyp/ |
jar_toc.py | 23 import zipfile namespace 73 classes = GetClassesInZipFile(zipfile.ZipFile(jar_path))
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/ |
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)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/ |
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/chromium_org/chrome/common/extensions/docs/server2/ |
content_provider_test.py | 9 from zipfile import ZipFile 142 zipfile = ZipFile(StringIO(content_and_type.content)) 143 content_and_type.content = zipfile.namelist() 152 zipfile = ZipFile(StringIO(content_and_type.content)) 153 content_and_type.content = zipfile.namelist()
|