/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);
|
/libcore/benchmarks/src/benchmarks/ |
BufferedZipFileBenchmark.java | 27 import java.util.zip.ZipFile; 56 ZipFile zipFile = new ZipFile(file); 57 ZipEntry entry = zipFile.getEntry("entry.data"); 58 InputStream in = zipFile.getInputStream(entry); 63 zipFile.close(); 69 ZipFile zipFile = new ZipFile(file) [all...] |
/build/tools/zipalign/ |
ZipAlign.cpp | 20 #include "ZipFile.h" 47 static int copyAndAlign(ZipFile* pZin, ZipFile* pZout, int alignment) 103 ZipFile zin, zout; 120 if (zin.open(inFileName, ZipFile::kOpenReadOnly) != NO_ERROR) { 125 ZipFile::kOpenReadWrite|ZipFile::kOpenCreate|ZipFile::kOpenTruncate) 145 ZipFile zipFile; [all...] |
ZipFile.h | 44 class ZipFile { 46 ZipFile(void) 49 ~ZipFile(void) { 126 status_t add(const ZipFile* pSourceZip, const ZipEntry* pSourceEntry, 169 ZipFile(const ZipFile& src); 170 ZipFile& operator=(const ZipFile& src);
|
Android.mk | 13 ZipFile.cpp
|
/frameworks/base/tools/aapt/ |
ZipFile.h | 44 class ZipFile { 46 ZipFile(void) 49 ~ZipFile(void) { 126 status_t add(const ZipFile* pSourceZip, const ZipEntry* pSourceEntry, 169 ZipFile(const ZipFile& src); 170 ZipFile& operator=(const ZipFile& src);
|
Package.cpp | 39 ssize_t processAssets(Bundle* bundle, ZipFile* zip, const sp<AaptAssets>& assets); 40 ssize_t processAssets(Bundle* bundle, ZipFile* zip, const sp<AaptDir>& dir, 42 bool processFile(Bundle* bundle, ZipFile* zip, 45 ssize_t processJarFiles(Bundle* bundle, ZipFile* zip); 63 ZipFile* zip = NULL; 103 zip = new ZipFile; 104 status = zip->open(outputFile.string(), ZipFile::kOpenReadWrite | ZipFile::kOpenCreate); 221 ssize_t processAssets(Bundle* bundle, ZipFile* zip, 247 ssize_t processAssets(Bundle* bundle, ZipFile* zip, const sp<AaptDir>& dir [all...] |
/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...] |
/libcore/luni/src/test/java/libcore/java/util/zip/ |
ZipEntryTest.java | 28 import java.util.zip.ZipFile; 67 ZipFile zipFile = new ZipFile(f); 69 assertNotNull(filename, zipFile.getEntry(filename)); 114 ZipFile zipFile = new ZipFile(f); 115 assertNotNull(zipFile.getEntry(maxLengthName)); 116 zipFile.close() [all...] |
ZipFileTest.java | 32 import java.util.zip.ZipFile; 47 ZipFile zipFile = new ZipFile(createZipFile(1, originalSize)); 48 for (Enumeration<? extends ZipEntry> e = zipFile.entries(); e.hasMoreElements(); ) { 52 InputStream is = zipFile.getInputStream(zipEntry); 56 zipFile.close(); 115 ZipFile bad = new ZipFile(badZip); 147 File zipFile = createTemporaryZipFile() [all...] |
OldAndroidZipFileTest.java | 26 import java.util.zip.ZipFile; 32 * Basic tests for ZipFile. 101 ZipFile zipFile = new ZipFile(fileName); 105 // System.out.println("Contents of " + zipFile + ":"); 106 for (fileList = zipFile.entries(); fileList.hasMoreElements();) { 113 zipFile.close(); 124 ZipFile zipFile; [all...] |
OldAndroidZipStressTest.java | 31 import java.util.zip.ZipFile; 84 ZipFile zip = new ZipFile(file); 102 ZipFile zip = new ZipFile(file);
|
OldZipFileTest.java | 34 import java.util.zip.ZipFile; 81 private ZipFile zfile; 85 * java.util.zip.ZipFile#close() 88 // Test for method void java.util.zip.ZipFile.close() 90 ZipFile zf = new ZipFile(fl); 128 * java.util.zip.ZipFile#getInputStream(java.util.zip.ZipEntry) 132 // java.util.zip.ZipFile.getInputStream(java.util.zip.ZipEntry) 170 zfile = new ZipFile(f);
|
/libcore/luni/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
ZipFileTest.java | 34 import java.util.zip.ZipFile; 54 private ZipFile zfile; 73 * java.util.zip.ZipFile#ZipFile(java.io.File) 76 // Test for method java.util.zip.ZipFile(java.io.File) 81 * java.util.zip.ZipFile#ZipFile(java.io.File, int) 86 ZipFile zip = new ZipFile(file, ZipFile.OPEN_DELETE | ZipFile.OPEN_READ) [all...] |
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
ZipFileTest.java | 27 import java.util.zip.ZipFile; 49 private ZipFile zfile; 53 * @tests java.util.zip.ZipFile#ZipFile(java.io.File) 56 // Test for method java.util.zip.ZipFile(java.io.File) 59 ZipFile zip = new ZipFile(file); 65 * @tests java.util.zip.ZipFile#ZipFile(java.io.File, int) 70 ZipFile zip = new ZipFile(file, ZipFile.OPEN_DELET [all...] |
/development/tools/mkstubs/src/com/android/mkstubs/ |
AsmAnalyzer.java | 30 import java.util.zip.ZipFile; 47 ZipFile zip = new ZipFile(inputJarPath);
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
example_zipper.py | 6 from zipfile import ZipFile 21 zip_file = ZipFile(zip_bytes, mode='w')
|
/libcore/luni/src/test/java/libcore/java/util/jar/ |
OldJarFileTest.java | 25 import java.util.zip.ZipFile; 84 ZipFile.OPEN_READ); 91 ZipFile.OPEN_READ); 96 ZipFile.OPEN_READ | ZipFile.OPEN_DELETE + 33);
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
VMHostTest.java | 27 import java.util.zip.ZipFile; 78 ZipFile zipFile = new ZipFile(jarFile); 79 FileUtil.extractZip(zipFile, localTmpDir);
|
/libcore/luni/src/main/java/java/util/zip/ |
InflaterInputStream.java | 115 if (is instanceof ZipFile.RAFStream) { 191 ZipFile.RAFStream is = (ZipFile.RAFStream) in;
|
/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)
|
/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.
|