/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/ |
workspace_mock.py | 34 def create_zip(self, zip_path, source_path): 35 self.zip_path = zip_path
|
workspace.py | 58 def create_zip(self, zip_path, source_path, zip_class=zipfile.ZipFile): 60 # zip_file = ZipFile(zip_path, 'w') 68 self._executive.run_command(['zip', '-9', '-r', zip_path, '.'], cwd=source_path) 73 return zip_class(zip_path)
|
/external/chromium_org/chrome/test/chromedriver/ |
archive.py | 61 zip_path = os.path.join(dest_dir, 'chrome-%s.zip' % revision) 62 if not os.path.exists(zip_path): 66 urllib.urlretrieve(url, zip_path) 67 util.Unzip(zip_path, dest_dir)
|
util.py | 97 zip_path = os.path.join(MakeTempDir(), 'build.zip') 98 f = zipfile.ZipFile(zip_path, 'w', zipfile.ZIP_DEFLATED) 101 return zip_path 104 def Unzip(zip_path, output_dir): 108 zip_path: zip file to unzip. 119 unzip_cmd += [zip_path] 121 raise RuntimeError('Unable to unzip %s to %s' % (zip_path, output_dir))
|
run_buildbot_steps.py | 58 zip_path = util.Zip(os.path.join(chrome_paths.GetBuildDir(['chromedriver']), 61 zip_path, 83 zip_path = os.path.join(util.MakeTempDir(), 'build.zip') 86 zip_path): 89 util.Unzip(zip_path, chrome_paths.GetBuildDir(['host_forwarder'])) 206 zip_path = util.Zip(os.path.join(chrome_paths.GetBuildDir([server_name]), 212 if slave_utils.GSUtilCopy(zip_path, build_url): 284 zip_path = os.path.join(temp_dir, os.path.basename(build)) 287 util.Unzip(zip_path, temp_dir) 290 zip_path = util.Zip(server_path [all...] |
/external/chromium_org/tools/telemetry/telemetry/util/ |
find_dependencies_unittest.py | 31 zip_path = os.path.join(temp_dir, 'gsutil.zip') 32 options.zip = zip_path 37 with zipfile.ZipFile(zip_path, 'r') as zip_file: 42 subprocess.call(['unzip', zip_path], cwd=temp_dir, stdout=dev_null)
|
/external/chromium_org/chrome/browser/extensions/ |
extension_creator.h | 81 base::FilePath* zip_path); 84 bool SignZip(const base::FilePath& zip_path, 89 bool WriteCRX(const base::FilePath& zip_path,
|
extension_creator.cc | 195 base::FilePath* zip_path) { 196 *zip_path = temp_path.Append(FILE_PATH_LITERAL("extension.zip")); 201 if (!zip::ZipWithFilterCallback(extension_dir, *zip_path, filter_cb)) { 210 bool ExtensionCreator::SignZip(const base::FilePath& zip_path, 216 base::ScopedFILE zip_handle(base::OpenFile(zip_path, "rb")); 238 bool ExtensionCreator::WriteCRX(const base::FilePath& zip_path, 276 base::ScopedFILE zip_handle(base::OpenFile(zip_path, "rb")); 319 base::FilePath zip_path; 322 if (CreateZip(extension_dir, temp_dir.path(), &zip_path) && 323 SignZip(zip_path, key_pair.get(), &signature) & [all...] |
/external/chromium_org/native_client_sdk/src/tools/ |
oshelpers.py | 323 zip_path = os_path 328 zip_path = ntpath.splitdrive(os_path)[1].replace('\\', '/') 329 if zip_path.startswith('/'): 330 zip_path = zip_path[1:] 331 zip_path = posixpath.normpath(zip_path) 334 zip_path += '/' 335 return zip_path 401 for zip_path in zip_stream.namelist() [all...] |
/external/chromium_org/remoting/host/installer/ |
build-installer-archive.py | 57 def createZip(zip_path, directory): 58 """Creates a zipfile at zip_path for the given directory. 61 zip_path: Path to zip file to create. 64 zipfile_base = os.path.splitext(os.path.basename(zip_path))[0] 65 zip = zipfile.ZipFile(zip_path, 'w', zipfile.ZIP_DEFLATED) 171 def buildHostArchive(temp_dir, zip_path, source_file_roots, source_files, 177 zip_path: Full path to the zip file to create. 209 createZip(zip_path, temp_dir) 235 zip_path = sys.argv[2] 284 result = buildHostArchive(temp_dir, zip_path, source_file_roots [all...] |
/external/chromium_org/build/util/lib/common/ |
util.py | 86 def Unzip(zip_path, output_dir): 90 zip_path: zip file to unzip. 101 unzip_cmd += [zip_path] 103 raise RuntimeError('Unable to unzip %s to %s' % (zip_path, output_dir))
|
/external/chromium_org/third_party/zlib/google/ |
zip_unittest.cc | 38 base::FilePath zip_path(test_dir_); 39 zip_contents_.insert(zip_path.AppendASCII("foo.txt")); 40 zip_path = zip_path.AppendASCII("foo"); 41 zip_contents_.insert(zip_path); 42 zip_contents_.insert(zip_path.AppendASCII("bar.txt")); 43 zip_path = zip_path.AppendASCII("bar"); 44 zip_contents_.insert(zip_path); 45 zip_contents_.insert(zip_path.AppendASCII("baz.txt")) [all...] |
/external/chromium_org/chrome/browser/chromeos/file_manager/ |
zip_file_creator.cc | 21 base::File OpenFileHandleOnBlockingThreadPool(const base::FilePath& zip_path) { 22 return base::File(zip_path, base::File::FLAG_CREATE | base::File::FLAG_WRITE);
|
/external/chromium_org/tools/telemetry/telemetry/core/platform/power_monitor/ |
ippet_power_monitor.py | 56 zip_path = os.path.join(path.GetTelemetryDir(), 'bin', 'win', 'ippet.zip') 57 cloud_storage.GetIfChanged(zip_path, bucket=cloud_storage.PUBLIC_BUCKET) 58 with zipfile.ZipFile(zip_path, 'r') as zip_file: 59 zip_file.extractall(os.path.dirname(zip_path)) 60 os.remove(zip_path)
|
/external/chromium_org/chrome/utility/extensions/ |
extensions_handler.h | 42 void OnUnzipToDir(const base::FilePath& zip_path, const base::FilePath& dir);
|
extensions_handler.cc | 151 void ExtensionsHandler::OnUnzipToDir(const base::FilePath& zip_path, 153 if (!zip::Unzip(zip_path, dir)) {
|
/external/chromium_org/content/browser/indexed_db/ |
indexed_db_internals_ui.h | 49 const base::FilePath zip_path,
|
indexed_db_internals_ui.cc | 221 base::FilePath zip_path = local 227 zip::Zip(context->GetFilePath(origin_url), zip_path, true); 236 zip_path, 277 const base::FilePath zip_path, 280 const GURL url = GURL(FILE_PATH_LITERAL("file://") + zip_path.value());
|
/external/chromium_org/remoting/webapp/ |
build-webapp.py | 47 def createZip(zip_path, directory): 48 """Creates a zipfile at zip_path for the given directory.""" 49 zipfile_base = os.path.splitext(os.path.basename(zip_path))[0] 50 zip = zipfile.ZipFile(zip_path, 'w', zipfile.ZIP_DEFLATED) 78 def buildWebApp(buildtype, version, destination, zip_path, 259 createZip(zip_path, destination)
|
/external/chromium_org/tools/telemetry/telemetry/core/platform/ |
win_platform_backend.py | 61 zip_path = os.path.join(win_binary_dir, 'winring0.zip') 62 cloud_storage.GetIfChanged(zip_path, bucket=cloud_storage.PUBLIC_BUCKET) 64 with zipfile.ZipFile(zip_path, 'r') as zip_file: 72 os.remove(zip_path)
|
/bootable/recovery/updater/ |
install.c | 489 char* zip_path; local 491 if (ReadArgs(state, argv, 2, &zip_path, &dest_path) < 0) return NULL; 498 bool success = mzExtractRecursive(za, zip_path, dest_path, 501 free(zip_path); 527 char* zip_path; local 529 if (ReadArgs(state, argv, 2, &zip_path, &dest_path) < 0) return NULL; 531 const ZipEntry* entry = mzFindZipEntry(za, zip_path); 533 printf("%s: no %s in package\n", name, zip_path); 547 free(zip_path); 554 char* zip_path; local [all...] |
/external/chromium_org/build/android/gyp/ |
process_resources.py | 139 def ZipResources(resource_dirs, zip_path): 150 with zipfile.ZipFile(zip_path, 'w') as outzip:
|
/external/chromium_org/build/android/gyp/util/ |
build_utils.py | 194 def ExtractAll(zip_path, path=None, no_clobber=True, pattern=None): 200 with zipfile.ZipFile(zip_path) as z: 213 % (zip_path, name, output_path))
|