/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/chrome/common/ |
D | zip_unittest.cc | 27 FilePath zip_path(test_dir_); in SetUp() local 28 zip_contents_.insert(zip_path.AppendASCII("foo.txt")); in SetUp() 29 zip_path = zip_path.AppendASCII("foo"); in SetUp() 30 zip_contents_.insert(zip_path); in SetUp() 31 zip_contents_.insert(zip_path.AppendASCII("bar.txt")); in SetUp() 32 zip_path = zip_path.AppendASCII("bar"); in SetUp() 33 zip_contents_.insert(zip_path); in SetUp() 34 zip_contents_.insert(zip_path.AppendASCII("baz.txt")); in SetUp() 35 zip_contents_.insert(zip_path.AppendASCII("quux.txt")); in SetUp() 36 zip_contents_.insert(zip_path.AppendASCII(".hidden")); in SetUp()
|
/external/chromium/chrome/browser/extensions/ |
D | extension_creator.cc | 153 FilePath* zip_path) { in CreateZip() argument 154 *zip_path = temp_path.Append(FILE_PATH_LITERAL("extension.zip")); in CreateZip() 156 if (!Zip(extension_dir, *zip_path, false)) { // no hidden files in CreateZip() 165 bool ExtensionCreator::SignZip(const FilePath& zip_path, in SignZip() argument 170 ScopedStdioHandle zip_handle(file_util::OpenFile(zip_path, "rb")); in SignZip() 188 bool ExtensionCreator::WriteCRX(const FilePath& zip_path, in WriteCRX() argument 226 ScopedStdioHandle zip_handle(file_util::OpenFile(zip_path, "rb")); in WriteCRX() 262 FilePath zip_path; in Run() local 265 if (CreateZip(extension_dir, temp_dir.path(), &zip_path) && in Run() 266 SignZip(zip_path, key_pair.get(), &signature) && in Run() [all …]
|
D | extension_creator.h | 56 FilePath* zip_path); 59 bool SignZip(const FilePath& zip_path, 64 bool WriteCRX(const FilePath& zip_path,
|
/external/chromium_org/third_party/zlib/google/ |
D | zip_unittest.cc | 30 base::FilePath zip_path(test_dir_); in SetUp() local 31 zip_contents_.insert(zip_path.AppendASCII("foo.txt")); in SetUp() 32 zip_path = zip_path.AppendASCII("foo"); in SetUp() 33 zip_contents_.insert(zip_path); in SetUp() 34 zip_contents_.insert(zip_path.AppendASCII("bar.txt")); in SetUp() 35 zip_path = zip_path.AppendASCII("bar"); in SetUp() 36 zip_contents_.insert(zip_path); in SetUp() 37 zip_contents_.insert(zip_path.AppendASCII("baz.txt")); in SetUp() 38 zip_contents_.insert(zip_path.AppendASCII("quux.txt")); in SetUp() 39 zip_contents_.insert(zip_path.AppendASCII(".hidden")); in SetUp()
|
/external/chromium_org/chrome/browser/extensions/ |
D | extension_creator.cc | 196 base::FilePath* zip_path) { in CreateZip() argument 197 *zip_path = temp_path.Append(FILE_PATH_LITERAL("extension.zip")); in CreateZip() 202 if (!zip::ZipWithFilterCallback(extension_dir, *zip_path, filter_cb)) { in CreateZip() 211 bool ExtensionCreator::SignZip(const base::FilePath& zip_path, in SignZip() argument 216 ScopedStdioHandle zip_handle(base::OpenFile(zip_path, "rb")); in SignZip() 238 bool ExtensionCreator::WriteCRX(const base::FilePath& zip_path, in WriteCRX() argument 276 ScopedStdioHandle 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/chrome/test/chromedriver/ |
D | util.py | 89 zip_path = os.path.join(MakeTempDir(), 'build.zip') 90 f = zipfile.ZipFile(zip_path, 'w', zipfile.ZIP_DEFLATED) 93 return zip_path 96 def Unzip(zip_path, output_dir): argument 111 unzip_cmd += [zip_path] 113 raise RuntimeError('Unable to unzip %s to %s' % (zip_path, output_dir))
|
D | archive.py | 60 zip_path = os.path.join(dest_dir, 'chrome-%s.zip' % revision) 61 if not os.path.exists(zip_path): 65 urllib.urlretrieve(url, zip_path) 66 util.Unzip(zip_path, dest_dir)
|
D | run_buildbot_steps.py | 53 zip_path = util.Zip(os.path.join(chrome_paths.GetBuildDir(['chromedriver']), 56 zip_path, 78 zip_path = os.path.join(util.MakeTempDir(), 'build.zip') 79 if gsutil_download.DownloadLatestFile(GS_PREBUILTS_URL, 'r', zip_path): 82 util.Unzip(zip_path, chrome_paths.GetBuildDir(['host_forwarder'])) 195 zip_path = util.Zip(os.path.join(chrome_paths.GetBuildDir([server_name]), 201 if slave_utils.GSUtilCopy(zip_path, build_url):
|
/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/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/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 | 46 def createZip(zip_path, directory): argument 48 zipfile_base = os.path.splitext(os.path.basename(zip_path))[0] 49 zip = zipfile.ZipFile(zip_path, 'w', zipfile.ZIP_DEFLATED) 66 def buildWebApp(buildtype, version, mimetype, destination, zip_path, plugin, argument 303 createZip(zip_path, destination)
|
/external/chromium/chrome/common/extensions/docs/build/ |
D | directory.py | 634 zip_path = os.path.join(sample_parentpath, zip_filename) 642 if os.path.isfile(zip_path): 644 old_zip_file = zipfile.ZipFile(zip_path, 'r') 646 raise Exception("Could not read zip at %s: %s" % (zip_path, msg)) 648 raise Exception("File at %s is not a zip file: %s" % (zip_path, msg)) 660 zip_file = zipfile.ZipFile(zip_path, 'w') 677 raise Exception("Could not write zip at %s: %s" % (zip_path, msg))
|
/external/chromium_org/content/browser/indexed_db/ |
D | indexed_db_internals_ui.cc | 216 base::FilePath zip_path = in DownloadOriginDataOnIndexedDBThread() local 222 zip::Zip(context->GetFilePath(origin_url), zip_path, true); in DownloadOriginDataOnIndexedDBThread() 231 zip_path, in DownloadOriginDataOnIndexedDBThread() 271 const base::FilePath zip_path, in OnDownloadDataReady() argument 274 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.gyp | 1212 'zip_path': '<(PRODUCT_DIR)/remoting-me2me-host-<(OS).zip', 2026 'zip_path': '<(PRODUCT_DIR)/remoting-me2me-host-<(OS).zip', 2252 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.zip', 2301 'zip_path': '<(PRODUCT_DIR)/remoting-webapp.v2.zip',
|