HomeSort by relevance Sort by last modified time
    Searched refs:zipfile (Results 1 - 25 of 82) sorted by null

1 2 3 4

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_zipfile.py 13 import zipfile namespace
42 self.line_gen = ["Zipfile test line %d. random float: %f" % (i, random())
52 with zipfile.ZipFile(f, "w", compression) as zipfp:
61 with zipfile.ZipFile(f, "r", compression) as zipfp:
117 self.zip_test(f, zipfile.ZIP_STORED)
123 with zipfile.ZipFile(f, "r", compression) as zipfp:
145 self.zip_open_test(f, zipfile.ZIP_STORED
    [all...]
test_zipfile64.py 1 # Tests of the full ZIP64 functionality of zipfile
20 import zipfile, os, unittest namespace
38 line_gen = ("Test of zipfile line %d." % i for i in xrange(1000000))
48 zipfp = zipfile.ZipFile(f, "w", compression, allowZip64=True)
67 zipfp = zipfile.ZipFile(f, "r", compression)
83 self.zipTest(f, zipfile.ZIP_STORED)
90 self.zipTest(f, zipfile.ZIP_DEFLATED)
101 # and that the resulting archive can be read properly by ZipFile
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_zipfile.py 13 import zipfile namespace
42 self.line_gen = ["Zipfile test line %d. random float: %f" % (i, random())
52 with zipfile.ZipFile(f, "w", compression) as zipfp:
61 with zipfile.ZipFile(f, "r", compression) as zipfp:
117 self.zip_test(f, zipfile.ZIP_STORED)
123 with zipfile.ZipFile(f, "r", compression) as zipfp:
145 self.zip_open_test(f, zipfile.ZIP_STORED
    [all...]
test_zipfile64.py 1 # Tests of the full ZIP64 functionality of zipfile
20 import zipfile, os, unittest namespace
38 line_gen = ("Test of zipfile line %d." % i for i in xrange(1000000))
48 zipfp = zipfile.ZipFile(f, "w", compression, allowZip64=True)
67 zipfp = zipfile.ZipFile(f, "r", compression)
83 self.zipTest(f, zipfile.ZIP_STORED)
90 self.zipTest(f, zipfile.ZIP_DEFLATED)
101 # and that the resulting archive can be read properly by ZipFile
    [all...]
  /external/chromium_org/chrome/test/chromedriver/
embed_extension_in_cpp.py 13 import zipfile namespace
27 zipper = zipfile.ZipFile(string_buffer, 'w')
29 zipper.write(f, os.path.basename(f), zipfile.ZIP_STORED)
run_buildbot_steps.py 17 import zipfile namespace
42 f = zipfile.ZipFile(zip_path, 'w', zipfile.ZIP_DEFLATED)
74 f = zipfile.ZipFile(zip_path, 'r')
122 f = zipfile.ZipFile(zip_path, 'w', zipfile.ZIP_DEFLATED)
  /external/jmonkeyengine/engine/src/core-plugins/com/jme3/asset/plugins/
ZipLocator.java 41 import java.util.zip.ZipFile;
49 private ZipFile zipfile; field in class:ZipLocator
63 return zipfile.getInputStream(entry);
72 zipfile = new ZipFile(new File(rootPath), ZipFile.OPEN_READ);
80 ZipEntry entry = zipfile.getEntry(name);
  /system/core/libzipfile/
Android.mk 8 zipfile.c
24 zipfile.c
test_zipfile.c 1 #include <zipfile/zipfile.h>
27 fprintf(stderr, "usage: test_zipfile ZIPFILE -l\n"
28 " lists the files in the zipfile\n"
29 " test_zipfile ZIPFILE -u FILENAME SAVETO\n"
  /external/chromium_org/native_client_sdk/src/tools/tests/
oshelpers_test.py 12 import zipfile namespace
54 self.zipfile = None
60 if self.zipfile:
61 self.zipfile.close()
76 self.zipfile = zipfile.ZipFile(self.GetTempPath(self.zipname), 'r')
79 self.zipfile.close()
80 self.zipfile = None
83 return self.zipfile.getinfo(oshelpers.OSMakeZipPath(path)
    [all...]
  /development/build/tools/
mk_sources_zip.py 24 import zipfile namespace
48 self.zipfile = None
194 elif p.zipfile is not None:
196 # zipfile is a path. Copy to it.
197 dest_path = os.path.join(p.zipfile, arc_path)
203 # zipfile is a ZipFile object. Compress with it.
204 p.zipfile.write(filepath, arc_path)
226 p.zipfile = p.DST + "_temp_dir"
227 if os.path.exists(p.zipfile)
    [all...]
  /external/chromium_org/tools/deep_memory_profiler/tests/
mock_gsutil.py 9 import zipfile namespace
22 zip_file = zipfile.ZipFile(sys.argv[4], 'r')
  /frameworks/webview/chromium/tools/
jar_check.py 27 import zipfile namespace
43 with contextlib.closing(zipfile.ZipFile(jar_path)) as jar:
48 # Zipfile entries with a trailing / are directories, we can ignore these.
  /external/chromium_org/chrome/tools/build/win/
make_policy_zip.py 14 import zipfile namespace
75 zip_file = zipfile.ZipFile(options.output, 'w', zipfile.ZIP_DEFLATED)
  /development/scripts/
divide_and_compress.py 43 import zipfile namespace
167 A new ZipFile object that points to the modified archive file.
179 compress_bit = zipfile.ZIP_STORED
181 compress_bit = zipfile.ZIP_DEFLATED
195 def OpenZipFileAtPath(self, path, mode=None, compress=zipfile.ZIP_DEFLATED):
204 return zipfile.ZipFile(path, mode)
206 return zipfile.ZipFile(path, mode, compress)
229 compress_bit = zipfile.ZIP_DEFLATE
    [all...]
divide_and_compress_test.py 28 import zipfile namespace
93 only called once on the new ZipFile object.
104 compress=zipfile.ZIP_DEFLATED,
125 source_zip = self.my_mox.CreateMock(zipfile.ZipFile)
143 dest_zip = mox.MockObject(zipfile.ZipFile)
210 """Create a mock ZipFile object for testSingleFileArchive.
217 mock_zip = self.my_mox.CreateMock(zipfile.ZipFile)
    [all...]
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
workspace.py 33 import zipfile namespace
58 def create_zip(self, zip_path, source_path, zip_class=zipfile.ZipFile):
60 # zip_file = ZipFile(zip_path, 'w')
zipfileset.py 25 import zipfile namespace
43 return (temp_file, zipfile.ZipFile(temp_file))
  /external/chromium_org/tools/deep_memory_profiler/subcommands/
upload.py 9 import zipfile namespace
42 file_zip = zipfile.ZipFile(filename_zip, 'w', zipfile.ZIP_DEFLATED)
  /external/chromium_org/build/android/gyp/
jar_toc.py 22 import zipfile namespace
72 classes = GetClassesInZipFile(zipfile.ZipFile(jar_path))
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/
archive_util.py 125 "zipfile" Python module (if available) or the InfoZIP "zip" utility
131 import zipfile namespace
133 zipfile = None
138 # If zipfile module is not available, try spawning an external
140 if zipfile is None:
154 "could neither import the 'zipfile' module nor "
162 zip = zipfile.ZipFile(zip_filename, "w",
163 compression=zipfile.ZIP_DEFLATED)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/
archive_util.py 125 "zipfile" Python module (if available) or the InfoZIP "zip" utility
131 import zipfile namespace
133 zipfile = None
138 # If zipfile module is not available, try spawning an external
140 if zipfile is None:
154 "could neither import the 'zipfile' module nor "
162 zip = zipfile.ZipFile(zip_filename, "w",
163 compression=zipfile.ZIP_DEFLATED)
  /external/chromium_org/tools/
bisect-builds.py 57 import zipfile namespace
246 zf = zipfile.ZipFile(filename)
304 def RunRevision(context, revision, zipfile, profile, num_runs, command, args):
311 UnzipFilenameToDir(zipfile, tempdir)
359 def __init__(self, context, name, rev, zipfile):
365 self.zipfile = zipfile
373 self.zipfile,
385 os.unlink(self.zipfile)
    [all...]
  /frameworks/base/tools/aapt/
printapk.cpp 4 #include <zipfile/zipfile.h>
  /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")

Completed in 1055 milliseconds

1 2 3 4