HomeSort by relevance Sort by last modified time
    Searched refs:zipfile (Results 26 - 50 of 89) sorted by null

12 3 4

  /device/asus/flo/
releasetools.py 4 def FindRadio(zipfile):
6 return zipfile.read("RADIO/radio.img")
110 def FindDDR(zipfile):
112 return zipfile.read("RADIO/DDR.bin")
  /external/chromium_org/chrome/common/extensions/docs/server2/
directory_zipper.py 7 from zipfile import ZipFile
29 with ZipFile(zip_bytes, mode='w') as zip_file:
directory_zipper_test.py 8 from zipfile import ZipFile
35 top_zip = ZipFile(StringIO(self._directory_zipper.Zip('top').Get()))
43 two_zip = ZipFile(StringIO(self._directory_zipper.Zip('top/two').Get()))
new_github_file_system_test.py 13 from zipfile import ZipFile
33 'zipfile/': '',
34 'zipfile/hello.txt': 'world',
35 'zipfile/readme': 'test zip',
36 'zipfile/dir/file1': 'contents',
37 'zipfile/dir/file2': 'more contents'
68 self.files['zipfile/hello.txt'] = fake_data
69 self.files['zipfile/new-file'] = fake_data
70 self.files['zipfile/dir/file1'] = fake_dat
    [all...]
  /external/chromium_org/tools/
bisect-builds.py 58 import zipfile namespace
294 zf = zipfile.ZipFile(filename)
352 def RunRevision(context, revision, zipfile, profile, num_runs, command, args):
359 UnzipFilenameToDir(zipfile, tempdir)
415 def __init__(self, context, name, rev, zipfile):
421 self.zipfile = zipfile
429 self.zipfile,
441 os.unlink(self.zipfile)
    [all...]
update_reference_build.py 30 import zipfile namespace
223 if not zipfile.is_zipfile(dl_file):
226 with zipfile.ZipFile(dl_file, 'r') as z:
  /external/chromium_org/native_client_sdk/src/tools/
oshelpers.py 15 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')
357 parser.error('ERROR: expecting ZIPFILE and 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
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/tests/
test_bdist_dumb.py 5 import zipfile namespace
83 fp = zipfile.ZipFile(os.path.join('dist', base))
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_pkgutil.py 10 import zipfile namespace
62 z = zipfile.ZipFile(zip_file, 'w')
script_helper.py 14 import zipfile namespace
17 # fail, which, in turn, means that zipfile cannot be imported
125 zip_file = zipfile.ZipFile(zip_name, 'w')
131 # zip_file = zipfile.ZipFile(zip_name, 'r')
157 zip_file = zipfile.ZipFile(zip_name, 'w')
166 # zip_file = zipfile.ZipFile(zip_name, 'r'
    [all...]
test_zipimport_support.py 10 import zipfile namespace
120 z = zipfile.ZipFile(zip_name, 'a')
125 zip_file = zipfile.ZipFile(zip_name, 'r')
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/tests/
test_bdist_dumb.py 5 import zipfile namespace
83 fp = zipfile.ZipFile(os.path.join('dist', base))
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_pkgutil.py 10 import zipfile namespace
62 z = zipfile.ZipFile(zip_file, 'w')
script_helper.py 14 import zipfile namespace
17 # fail, which, in turn, means that zipfile cannot be imported
125 zip_file = zipfile.ZipFile(zip_name, 'w')
131 # zip_file = zipfile.ZipFile(zip_name, 'r')
157 zip_file = zipfile.ZipFile(zip_name, 'w')
166 # zip_file = zipfile.ZipFile(zip_name, 'r'
    [all...]
test_zipimport_support.py 10 import zipfile namespace
120 z = zipfile.ZipFile(zip_name, 'a')
125 zip_file = zipfile.ZipFile(zip_name, 'r')
  /system/core/libzipfile/
zipfile.c 1 #include <zipfile/zipfile.h>
14 Zipfile *file = malloc(sizeof(Zipfile));
16 memset(file, 0, sizeof(Zipfile));
32 Zipfile* file = (Zipfile*)f;
45 Zipfile* file = (Zipfile*)f;
134 Zipfile* zip = (Zipfile*)file
    [all...]
  /build/tools/releasetools/
img_from_target_files 18 Given a target-files zipfile, produces an image zipfile suitable for
44 import zipfile namespace
240 output_zip = zipfile.ZipFile(args[1], "w", compression=zipfile.ZIP_DEFLATED)
check_target_files_signatures 53 import zipfile namespace
62 # Work around a bug in python's zipfile module that prevents opening
67 class MyZipInfo(zipfile.ZipInfo):
70 zipfile.ZipInfo = MyZipInfo
186 apk = zipfile.ZipFile(f, "r")
sign_target_files_apks 18 Signs all the APK files in a target-files zipfile, producing a new
82 import zipfile namespace
295 # put into a zipfile system/etc/security/otacerts.zip.
299 certs_zip = zipfile.ZipFile(tempfile, "w")
366 input_zip = zipfile.ZipFile(args[0], "r")
367 output_zip = zipfile.ZipFile(args[1], "w")
  /external/chromium_org/remoting/host/installer/
build-installer-archive.py 22 import zipfile namespace
58 """Creates a zipfile at zip_path for the given directory.
65 zip = zipfile.ZipFile(zip_path, 'w', zipfile.ZIP_DEFLATED)
155 # We don't use the 'zipfile' module here because it doesn't restore all the
  /packages/apps/Launcher3/src/com/android/launcher3/
MemoryDumpActivity.java 114 String zipfile = zipUp(paths); local
116 if (zipfile == null) return;
133 final File pathFile = new File(zipfile);
  /pdk/build/
pdk_utils.py 20 import os, string, sys, shutil, zipfile namespace
128 if not zipfile.is_zipfile(zip_file_path):
130 zip_file = zipfile.ZipFile(zip_file_path, 'r')
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
shutil.py 413 "could neither import the 'zipfile' module nor "
420 "zipfile" Python module (if available) or the InfoZIP "zip" utility
434 # If zipfile module is not available, try spawning an external 'zip'
437 import zipfile namespace
439 zipfile = None
441 if zipfile is None:
449 zip = zipfile.ZipFile(zip_filename, "w",
450 compression=zipfile.ZIP_DEFLATED)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
shutil.py 413 "could neither import the 'zipfile' module nor "
420 "zipfile" Python module (if available) or the InfoZIP "zip" utility
434 # If zipfile module is not available, try spawning an external 'zip'
437 import zipfile namespace
439 zipfile = None
441 if zipfile is None:
449 zip = zipfile.ZipFile(zip_filename, "w",
450 compression=zipfile.ZIP_DEFLATED)
  /external/chromium_org/remoting/webapp/
build-webapp.py 24 import zipfile namespace
47 """Creates a zipfile at zip_path for the given directory."""
49 zip = zipfile.ZipFile(zip_path, 'w', zipfile.ZIP_DEFLATED)
68 """Does the main work of building the webapp directory and zipfile.
75 zipfile: A string with path to the zipfile to create containing the
302 # Make the zipfile.

Completed in 2522 milliseconds

12 3 4