Searched refs:zipfile (Results 1 - 25 of 52) sorted by relevance

123

/external/chromium_org/chrome/test/chromedriver/
H A Dembed_extension_in_cpp.py13 import zipfile namespace
27 zipper = zipfile.ZipFile(string_buffer, 'w')
29 zipper.write(f, os.path.basename(f), zipfile.ZIP_STORED)
H A Dutil.py16 import zipfile namespace
98 f = zipfile.ZipFile(zip_path, 'w', zipfile.ZIP_DEFLATED)
/external/chromium_org/tools/telemetry/telemetry/core/platform/profiler/
H A Dandroid_systrace_profiler_unittest.py7 import zipfile namespace
26 self.assertTrue(zipfile.is_zipfile(result))
27 with zipfile.ZipFile(result) as z:
H A Dandroid_systrace_profiler.py8 import zipfile namespace
65 with zipfile.ZipFile(self._output_path, 'w', zipfile.ZIP_DEFLATED) as z:
/external/chromium_org/native_client_sdk/src/tools/tests/
H A Doshelpers_test.py12 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))
95 self.assertEqual(len(self.zipfile
[all...]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
H A Dworkspace.py33 import zipfile namespace
58 def create_zip(self, zip_path, source_path, zip_class=zipfile.ZipFile):
/external/chromium_org/tools/deep_memory_profiler/tests/
H A Dmock_gsutil.py9 import zipfile namespace
22 zip_file = zipfile.ZipFile(sys.argv[4], 'r')
/external/chromium_org/base/android/java/src/org/chromium/base/library_loader/
H A DLibraryLoader.java160 String zipfile = null;
162 zipfile = context.getApplicationInfo().sourceDir;
163 Log.i(TAG, "Loading " + library + " from within " + zipfile);
171 if (zipfile != null) {
172 Linker.loadLibraryInZipFile(zipfile, library);
184 if (zipfile != null) {
185 Linker.loadLibraryInZipFile(zipfile, library);
/external/chromium_org/components/policy/tools/
H A Dmake_policy_zip.py14 import zipfile namespace
75 zip_file = zipfile.ZipFile(options.output, 'w', zipfile.ZIP_DEFLATED)
/external/chromium_org/tools/deep_memory_profiler/subcommands/
H A Dupload.py9 import zipfile namespace
42 file_zip = zipfile.ZipFile(filename_zip, 'w', zipfile.ZIP_DEFLATED)
/external/chromium_org/tools/profile_chrome/
H A Dprofiler_unittest.py8 import zipfile namespace
72 self.assertTrue(zipfile.is_zipfile(result))
73 with zipfile.ZipFile(result) as f:
H A Dtrace_packager.py10 import zipfile namespace
38 with zipfile.ZipFile(output, 'w', zipfile.ZIP_DEFLATED) as z:
/external/chromium_org/build/android/gn/
H A Dzip.py14 import zipfile namespace
20 with zipfile.ZipFile(output, 'w') as outfile:
/external/chromium_org/tools/telemetry/telemetry/util/
H A Dfind_dependencies_unittest.py13 import zipfile namespace
37 with zipfile.ZipFile(zip_path, 'r') as zip_file:
40 # Use unzip instead of Python zipfile to preserve file permissions.
/external/chromium_org/chrome/common/extensions/docs/server2/
H A Ddirectory_zipper.py7 from zipfile import ZipFile
H A Dcontent_provider_test.py9 from zipfile import ZipFile
146 zipfile = ZipFile(StringIO(content_and_type.content))
147 content_and_type.content = zipfile.namelist()
156 zipfile = ZipFile(StringIO(content_and_type.content))
157 content_and_type.content = zipfile.namelist()
H A Ddirectory_zipper_test.py8 from zipfile import ZipFile
/external/chromium_org/build/android/gyp/
H A Djar_toc.py24 import zipfile namespace
74 classes = GetClassesInZipFile(zipfile.ZipFile(jar_path))
H A Dprocess_resources.py18 import zipfile namespace
140 # Python zipfile does not provide a way to replace a file (it just writes
150 with zipfile.ZipFile(zip_path, 'w') as outzip:
161 with zipfile.ZipFile(output_path, 'w') as outzip:
163 with zipfile.ZipFile(z, 'r') as inzip:
/external/chromium_org/tools/usb_gadget/
H A Dpackage.py14 import zipfile namespace
28 archive = zipfile.PyZipFile(buf, 'w')
/external/chromium_org/build/android/gyp/util/
H A Dbuild_utils.py17 import zipfile namespace
200 with zipfile.ZipFile(zip_path) as z:
219 with zipfile.ZipFile(output, 'w') as outfile:
226 with zipfile.ZipFile(output, 'w') as outfile:
243 with zipfile.ZipFile(output, 'w') as out_zip:
245 with zipfile.ZipFile(in_file, 'r') as in_zip:
/external/chromium_org/native_client_sdk/src/tools/
H A Doshelpers.py15 import zipfile namespace
306 """Changes a path into zipfile format.
326 # zipfile paths are always posix-style. They also have the drive
332 # zipfile also always appends a slash to a directory name.
346 parser = optparse.OptionParser(usage='usage: zip [Options] zipfile list')
393 zip_stream = zipfile.ZipFile(dest_zip, 'r')
398 # zipfile; the best you can do is rewrite the archive.
399 # Iterate through the zipfile to maintain file order.
424 zip_stream = zipfile.ZipFile(dest_zip, write_mode, zipfile
[all...]
/external/sepolicy/tools/
H A Dpost_process_mac_perms31 import zipfile namespace
39 with zipfile.ZipFile(filename, 'r') as apkzip:
/external/chromium_org/tools/perf/profile_creators/
H A Dextensions_profile_creator.py15 import zipfile namespace
69 crx_zip = zipfile.ZipFile(crx_path)
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/tools/
H A Dupload_chromevox_to_webstore.py24 from zipfile import ZipFile

Completed in 3927 milliseconds

123