/external/chromium_org/native_client_sdk/src/tools/ |
D | 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(): 402 if zip_path in files_to_update: 403 os_path = zip_path_to_os_path_dict[zip_path] [all …]
|
/external/chromium_org/chrome/browser/extensions/ |
D | extension_creator.cc | 195 base::FilePath* zip_path) { in CreateZip() argument 196 *zip_path = temp_path.Append(FILE_PATH_LITERAL("extension.zip")); in CreateZip() 201 if (!zip::ZipWithFilterCallback(extension_dir, *zip_path, filter_cb)) { in CreateZip() 210 bool ExtensionCreator::SignZip(const base::FilePath& zip_path, in SignZip() argument 216 base::ScopedFILE zip_handle(base::OpenFile(zip_path, "rb")); in SignZip() 238 bool ExtensionCreator::WriteCRX(const base::FilePath& zip_path, in WriteCRX() argument 276 base::ScopedFILE zip_handle(base::OpenFile(zip_path, "rb")); in WriteCRX() 319 base::FilePath zip_path; in Run() local 322 if (CreateZip(extension_dir, temp_dir.path(), &zip_path) && in Run() 323 SignZip(zip_path, key_pair.get(), &signature) && in Run() [all …]
|
D | extension_creator.h | 81 base::FilePath* zip_path); 84 bool SignZip(const base::FilePath& zip_path, 89 bool WriteCRX(const base::FilePath& zip_path,
|
/external/chromium_org/third_party/zlib/google/ |
D | zip_unittest.cc | 38 base::FilePath zip_path(test_dir_); in SetUp() local 39 zip_contents_.insert(zip_path.AppendASCII("foo.txt")); in SetUp() 40 zip_path = zip_path.AppendASCII("foo"); in SetUp() 41 zip_contents_.insert(zip_path); in SetUp() 42 zip_contents_.insert(zip_path.AppendASCII("bar.txt")); in SetUp() 43 zip_path = zip_path.AppendASCII("bar"); in SetUp() 44 zip_contents_.insert(zip_path); in SetUp() 45 zip_contents_.insert(zip_path.AppendASCII("baz.txt")); in SetUp() 46 zip_contents_.insert(zip_path.AppendASCII("quux.txt")); in SetUp() 47 zip_contents_.insert(zip_path.AppendASCII(".hidden")); in SetUp()
|
/external/chromium_org/chrome/test/chromedriver/ |
D | 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): argument 119 unzip_cmd += [zip_path] 121 raise RuntimeError('Unable to unzip %s to %s' % (zip_path, output_dir))
|
D | 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)
|
D | 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/third_party/WebKit/Tools/Scripts/webkitpy/common/system/ |
D | workspace_mock.py | 34 def create_zip(self, zip_path, source_path): argument 35 self.zip_path = zip_path
|
D | workspace.py | 58 def create_zip(self, zip_path, source_path, zip_class=zipfile.ZipFile): argument 68 self._executive.run_command(['zip', '-9', '-r', zip_path, '.'], cwd=source_path) 73 return zip_class(zip_path)
|
/external/chromium_org/tools/telemetry/telemetry/util/ |
D | 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/remoting/host/installer/ |
D | build-installer-archive.py | 57 def createZip(zip_path, directory): argument 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, argument 209 createZip(zip_path, temp_dir) 235 zip_path = sys.argv[2] 284 result = buildHostArchive(temp_dir, zip_path, source_file_roots,
|
/external/chromium_org/tools/telemetry/telemetry/core/platform/power_monitor/ |
D | 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/build/util/lib/common/ |
D | util.py | 86 def Unzip(zip_path, output_dir): argument 101 unzip_cmd += [zip_path] 103 raise RuntimeError('Unable to unzip %s to %s' % (zip_path, output_dir))
|
/external/chromium_org/remoting/webapp/ |
D | build-webapp.py | 47 def createZip(zip_path, directory): argument 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, argument 259 createZip(zip_path, destination)
|
/external/chromium_org/content/browser/indexed_db/ |
D | indexed_db_internals_ui.cc | 221 base::FilePath zip_path = in DownloadOriginDataOnIndexedDBThread() local 227 zip::Zip(context->GetFilePath(origin_url), zip_path, true); in DownloadOriginDataOnIndexedDBThread() 236 zip_path, in DownloadOriginDataOnIndexedDBThread() 277 const base::FilePath zip_path, in OnDownloadDataReady() argument 280 const GURL url = GURL(FILE_PATH_LITERAL("file://") + zip_path.value()); in OnDownloadDataReady()
|
D | indexed_db_internals_ui.h | 49 const base::FilePath zip_path,
|
/external/chromium_org/remoting/ |
D | remoting_webapp.gypi | 61 '<(zip_path)', 68 '<(zip_path)',
|
D | remoting_client.gypi | 125 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.zip', 135 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.v2.zip',
|
/external/chromium_org/chrome/browser/chromeos/file_manager/ |
D | zip_file_creator.cc | 21 base::File OpenFileHandleOnBlockingThreadPool(const base::FilePath& zip_path) { in OpenFileHandleOnBlockingThreadPool() argument 22 return base::File(zip_path, base::File::FLAG_CREATE | base::File::FLAG_WRITE); in OpenFileHandleOnBlockingThreadPool()
|
/external/chromium_org/tools/telemetry/telemetry/core/platform/ |
D | 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)
|
/external/chromium_org/build/android/gyp/util/ |
D | build_utils.py | 194 def ExtractAll(zip_path, path=None, no_clobber=True, pattern=None): argument 200 with zipfile.ZipFile(zip_path) as z: 213 % (zip_path, name, output_path))
|
/external/chromium_org/chrome/utility/extensions/ |
D | extensions_handler.h | 42 void OnUnzipToDir(const base::FilePath& zip_path, const base::FilePath& dir);
|
D | extensions_handler.cc | 151 void ExtensionsHandler::OnUnzipToDir(const base::FilePath& zip_path, in OnUnzipToDir() argument 153 if (!zip::Unzip(zip_path, dir)) { in OnUnzipToDir()
|
/external/chromium_org/build/android/gyp/ |
D | process_resources.py | 139 def ZipResources(resource_dirs, zip_path): argument 150 with zipfile.ZipFile(zip_path, 'w') as outzip:
|
/external/chromium_org/build/config/android/ |
D | internal_rules.gni | 629 zip_path = invoker.zip_path 646 zip_path, 672 "--resource-zip-out", rebase_path(zip_path, root_build_dir),
|