HomeSort by relevance Sort by last modified time
    Searched refs:zip_path (Results 1 - 19 of 19) sorted by null

  /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/chrome/browser/extensions/
extension_creator.h 56 FilePath* zip_path);
59 bool SignZip(const FilePath& zip_path,
64 bool WriteCRX(const FilePath& zip_path,
extension_creator.cc 153 FilePath* zip_path) {
154 *zip_path = temp_path.Append(FILE_PATH_LITERAL("extension.zip"));
156 if (!Zip(extension_dir, *zip_path, false)) { // no hidden files
165 bool ExtensionCreator::SignZip(const FilePath& zip_path,
170 ScopedStdioHandle zip_handle(file_util::OpenFile(zip_path, "rb"));
188 bool ExtensionCreator::WriteCRX(const FilePath& zip_path,
226 ScopedStdioHandle zip_handle(file_util::OpenFile(zip_path, "rb"));
262 FilePath zip_path;
265 if (CreateZip(extension_dir, temp_dir.path(), &zip_path) &&
266 SignZip(zip_path, key_pair.get(), &signature) &
    [all...]
  /external/chromium/chrome/common/
zip_unittest.cc 27 FilePath zip_path(test_dir_);
28 zip_contents_.insert(zip_path.AppendASCII("foo.txt"));
29 zip_path = zip_path.AppendASCII("foo");
30 zip_contents_.insert(zip_path);
31 zip_contents_.insert(zip_path.AppendASCII("bar.txt"));
32 zip_path = zip_path.AppendASCII("bar");
33 zip_contents_.insert(zip_path);
34 zip_contents_.insert(zip_path.AppendASCII("baz.txt"))
    [all...]
  /external/chromium_org/chrome/test/chromedriver/
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)
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):
100 zip_path: zip file to unzip.
111 unzip_cmd += [zip_path]
113 raise RuntimeError('Unable to unzip %s to %s' % (zip_path, output_dir))
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/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 196 base::FilePath* zip_path) {
197 *zip_path = temp_path.Append(FILE_PATH_LITERAL("extension.zip"));
202 if (!zip::ZipWithFilterCallback(extension_dir, *zip_path, filter_cb)) {
211 bool ExtensionCreator::SignZip(const base::FilePath& zip_path,
216 ScopedStdioHandle zip_handle(base::OpenFile(zip_path, "rb"));
238 bool ExtensionCreator::WriteCRX(const base::FilePath& zip_path,
276 ScopedStdioHandle 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/third_party/zlib/google/
zip_unittest.cc 30 base::FilePath zip_path(test_dir_);
31 zip_contents_.insert(zip_path.AppendASCII("foo.txt"));
32 zip_path = zip_path.AppendASCII("foo");
33 zip_contents_.insert(zip_path);
34 zip_contents_.insert(zip_path.AppendASCII("bar.txt"));
35 zip_path = zip_path.AppendASCII("bar");
36 zip_contents_.insert(zip_path);
37 zip_contents_.insert(zip_path.AppendASCII("baz.txt"))
    [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/content/browser/indexed_db/
indexed_db_internals_ui.h 49 const base::FilePath zip_path,
indexed_db_internals_ui.cc 216 base::FilePath zip_path = local
222 zip::Zip(context->GetFilePath(origin_url), zip_path, true);
231 zip_path,
271 const base::FilePath zip_path,
274 const GURL url = GURL(FILE_PATH_LITERAL("file://") + zip_path.value());
  /external/chromium_org/remoting/webapp/
build-webapp.py 46 def createZip(zip_path, directory):
47 """Creates a zipfile at zip_path for the given directory."""
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,
303 createZip(zip_path, destination)
  /external/chromium/chrome/common/extensions/docs/build/
directory.py 290 self['zip_path'] = self._get_relative_zip_path()
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))
  /bootable/recovery/updater/
install.c 399 char* zip_path; local
401 if (ReadArgs(state, argv, 2, &zip_path, &dest_path) < 0) return NULL;
408 bool success = mzExtractRecursive(za, zip_path, dest_path,
411 free(zip_path);
432 char* zip_path; local
434 if (ReadArgs(state, argv, 2, &zip_path, &dest_path) < 0) return NULL;
437 const ZipEntry* entry = mzFindZipEntry(za, zip_path);
439 printf("%s: no %s in package\n", name, zip_path);
453 free(zip_path);
460 char* zip_path; local
    [all...]

Completed in 559 milliseconds