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

12 3 4 5 6 7

  /libcore/luni/src/main/java/java/util/zip/
InflaterInputStream.java 115 if (is instanceof ZipFile.RAFStream) {
191 ZipFile.RAFStream is = (ZipFile.RAFStream) in;
ZipFile.java 50 public class ZipFile implements Closeable, ZipConstants {
111 * Constructs a new {@code ZipFile} allowing read access to the contents of the given file.
118 public ZipFile(File file) throws ZipException, IOException {
123 * Constructs a new {@code ZipFile} allowing read access to the contents of the given file.
129 public ZipFile(String name) throws IOException {
134 * Constructs a new {@code ZipFile} allowing access to the given file.
140 * time that the {@code ZipFile} is closed (the contents will remain accessible until
141 * this {@code ZipFile} is closed); it also calls {@code File.deleteOnExit}.
145 public ZipFile(File file, int mode) throws IOException {
311 if ((gpbf & ZipFile.GPBF_UNSUPPORTED_MASK) != 0)
    [all...]
  /build/tools/zipalign/
ZipFile.cpp 26 #include "ZipFile.h"
61 status_t ZipFile::open(const char* zipFileName, int flags)
137 ZipEntry* ZipFile::getEntryByIndex(int idx) const
148 ZipEntry* ZipFile::getEntryByName(const char* fileName) const
177 void ZipFile::discardEntries(void)
206 status_t ZipFile::readCentralDir(void)
360 status_t ZipFile::addCommon(const char* fileName, const void* data, size_t size,
541 status_t ZipFile::add(const ZipFile* pSourceZip, const ZipEntry* pSourceEntry,
648 status_t ZipFile::addRecompress(const ZipFile* pSourceZip, const ZipEntry* pSourceEntry
    [all...]
ZipEntry.h 20 // The ZipEntry class is tightly meshed with the ZipFile class.
32 class ZipFile;
39 * tuck a pointer to the ZipFile in here for convenience, but that raises
40 * the likelihood of using ZipEntry objects after discarding the ZipFile.)
48 friend class ZipFile;
169 status_t initFromExternal(const ZipFile* pZipFile, const ZipEntry* pEntry);
201 /* mark for deletion; used by ZipFile::remove() */
  /external/chromium_org/base/android/java/src/org/chromium/base/library_loader/
LibraryLoaderHelper.java 18 import java.util.zip.ZipFile;
140 ZipFile file = new ZipFile(new File(appInfo.sourceDir), ZipFile.OPEN_READ);
  /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')
  /external/chromium_org/tools/telemetry/telemetry/core/platform/profiler/
android_systrace_profiler_unittest.py 7 import zipfile namespace
26 self.assertTrue(zipfile.is_zipfile(result))
27 with zipfile.ZipFile(result) as z:
  /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.
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
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_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/browser/resources/chromeos/chromevox/tools/
upload_chromevox_to_webstore.py 24 from zipfile import ZipFile
97 with ZipFile(output_path, 'w') as zip:
  /libcore/luni/src/main/java/java/util/jar/
JarFile.java 30 import java.util.zip.ZipFile;
40 public class JarFile extends ZipFile {
182 this(file, verify, ZipFile.OPEN_READ);
193 * the mode to use, either {@link ZipFile#OPEN_READ OPEN_READ} or
194 * {@link ZipFile#OPEN_DELETE OPEN_DELETE}.
250 this(new File(filename), verify, ZipFile.OPEN_READ);
321 static HashMap<String, byte[]> readMetaEntries(ZipFile zipFile,
324 List<ZipEntry> metaEntries = getMetaEntries(zipFile);
338 zipFile.getInputStream(entry)))
    [all...]
  /frameworks/base/tools/aapt/
ZipFile.cpp 26 #include "ZipFile.h"
59 status_t ZipFile::open(const char* zipFileName, int flags)
135 ZipEntry* ZipFile::getEntryByIndex(int idx) const
146 ZipEntry* ZipFile::getEntryByName(const char* fileName) const
175 void ZipFile::discardEntries(void)
204 status_t ZipFile::readCentralDir(void)
358 status_t ZipFile::addCommon(const char* fileName, const void* data, size_t size,
539 status_t ZipFile::add(const ZipFile* pSourceZip, const ZipEntry* pSourceEntry,
646 status_t ZipFile::copyFpToFp(FILE* dstFp, FILE* srcFp, unsigned long* pCRC32
    [all...]
ZipEntry.h 20 // The ZipEntry class is tightly meshed with the ZipFile class.
32 class ZipFile;
39 * tuck a pointer to the ZipFile in here for convenience, but that raises
40 * the likelihood of using ZipEntry objects after discarding the ZipFile.)
48 friend class ZipFile;
174 status_t initFromExternal(const ZipFile* pZipFile, const ZipEntry* pEntry);
201 /* mark for deletion; used by ZipFile::remove() */
Android.mk 49 ZipFile.cpp
  /dalvik/dx/src/com/android/dx/cf/direct/
ClassPathOpener.java 30 import java.util.zip.ZipFile;
244 ZipFile zip = new ZipFile(file);
  /dalvik/dx/src/com/android/multidex/
MainDexListBuilder.java 30 import java.util.zip.ZipFile;
78 ZipFile jarOfRoots = null;
82 jarOfRoots = new ZipFile(rootJar);
Path.java 31 import java.util.zip.ZipFile;
40 return new ArchivePathElement(new ZipFile(file));
ClassReferenceListBuilder.java 32 import java.util.zip.ZipFile;
61 public void addRoots(ZipFile jarOfRoots) throws IOException {
  /dalvik/tools/dexdeps/src/com/android/dexdeps/
Main.java 26 import java.util.zip.ZipFile;
117 ZipFile zipFile;
123 zipFile = new ZipFile(fileName);
139 ZipEntry entry = zipFile.getEntry(CLASSES_DEX);
143 zipFile.close();
147 InputStream zis = zipFile.getInputStream(entry);
  /external/chromium_org/build/android/gn/
zip.py 14 import zipfile namespace
20 with zipfile.ZipFile(output, 'w') as outfile:
  /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')
  /libcore/luni/src/main/java/libcore/net/url/
JarURLConnectionImpl.java 38 import java.util.zip.ZipFile;
136 return new JarFile(new File(decodedFile), true, ZipFile.OPEN_READ);
152 return new JarFile(tempJar, true, ZipFile.OPEN_READ | ZipFile.OPEN_DELETE);
  /frameworks/multidex/library/src/android/support/multidex/
MultiDexExtractor.java 39 import java.util.zip.ZipFile;
174 final ZipFile apk = new ZipFile(sourceApk);
305 private static void extract(ZipFile apk, ZipEntry dexFile, File extractTo,
347 ZipFile zipFile = new ZipFile(file);
349 zipFile.close();

Completed in 4062 milliseconds

12 3 4 5 6 7