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

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/third_party/zlib/contrib/minizip/
zip.h 67 typedef zipFile__ *zipFile;
69 typedef voidp zipFile;
116 extern zipFile ZEXPORT zipOpen OF((const char *pathname, int append));
117 extern zipFile ZEXPORT zipOpen64 OF((const void *pathname, int append));
119 Create a zipfile.
127 If the zipfile cannot be opened, the return value is NULL.
128 Else, the return value is a zipFile Handle, usable with other function
132 /* Note : there is no delete function into a zipfile.
133 If you want delete file into a zipfile, you must open a zipfile, and create anothe
    [all...]
zip.c 168 voidpf filestream; /* io structore of the zipfile */
173 ZPOS64_T begin_pos; /* position of the beginning of the zipfile */
475 Locate the Central directory of a zipfile (at the end, just before
537 Locate the End of Zip64 Central directory locator and from there find the CD of a zipfile (at the end, just before
643 ZPOS64_T byte_before_the_zipfile;/* byte before the zipfile, (>0 for sfx)*/
784 /* zipfile global comment length */
849 extern zipFile ZEXPORT zipOpen3 (const void *pathname, int append, zipcharpc* globalcomment, zlib_filefunc64_32_def* pzlib_filefunc64_32_def)
890 /* now we add file in a zipfile */
916 return (zipFile)zi;
920 extern zipFile ZEXPORT zipOpen2 (const char *pathname, int append, zipcharpc* globalcomment, zlib_filefunc_def* p (…)
    [all...]
  /external/zlib/src/contrib/minizip/
zip.h 67 typedef zipFile__ *zipFile;
69 typedef voidp zipFile;
116 extern zipFile ZEXPORT zipOpen OF((const char *pathname, int append));
117 extern zipFile ZEXPORT zipOpen64 OF((const void *pathname, int append));
119 Create a zipfile.
127 If the zipfile cannot be opened, the return value is NULL.
128 Else, the return value is a zipFile Handle, usable with other function
132 /* Note : there is no delete function into a zipfile.
133 If you want delete file into a zipfile, you must open a zipfile, and create anothe
    [all...]
zip.c 168 voidpf filestream; /* io structore of the zipfile */
173 ZPOS64_T begin_pos; /* position of the beginning of the zipfile */
475 Locate the Central directory of a zipfile (at the end, just before
537 Locate the End of Zip64 Central directory locator and from there find the CD of a zipfile (at the end, just before
643 ZPOS64_T byte_before_the_zipfile;/* byte before the zipfile, (>0 for sfx)*/
784 /* zipfile global comment length */
849 extern zipFile ZEXPORT zipOpen3 (const void *pathname, int append, zipcharpc* globalcomment, zlib_filefunc64_32_def* pzlib_filefunc64_32_def)
890 /* now we add file in a zipfile */
916 return (zipFile)zi;
920 extern zipFile ZEXPORT zipOpen2 (const char *pathname, int append, zipcharpc* globalcomment, zlib_filefunc_def* p (…)
    [all...]
  /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...]
  /external/chromium_org/third_party/zlib/google/
zip_internal.h 52 zipFile OpenForZipping(const std::string& file_name_utf8, int append_flag);
57 zipFile OpenFdForZipping(int zip_fd, int append_flag);
64 bool ZipOpenNewFileInZip(zipFile zip_file,
zip.cc 29 bool AddFileToZip(zipFile zip_file, const base::FilePath& src_dir) {
52 bool AddEntryToZip(zipFile zip_file, const base::FilePath& path,
129 zipFile zip_file = internal::OpenForZipping(dest_file.AsUTF8Unsafe(),
176 zipFile zip_file = internal::OpenFdForZipping(dest_fd, APPEND_STATUS_CREATE);
zip_internal.cc 316 zipFile OpenForZipping(const std::string& file_name_utf8, int append_flag) {
331 zipFile OpenFdForZipping(int zip_fd, int append_flag) {
347 bool ZipOpenNewFileInZip(zipFile zip_file,
  /libcore/luni/src/test/java/libcore/java/util/zip/
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...]
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 38 import java.util.zip.ZipFile;
55 ZipFile zipFile = new ZipFile(createZipFile(1, originalSize));
56 for (Enumeration<? extends ZipEntry> e = zipFile.entries(); e.hasMoreElements(); ) {
60 InputStream is = zipFile.getInputStream(zipEntry);
64 zipFile.close();
123 ZipFile bad = new ZipFile(badZip);
155 File zipFile = createTemporaryZipFile()
    [all...]
  /frameworks/base/core/jni/
com_android_internal_content_NativeLibraryHelper.cpp 154 sumFiles(JNIEnv*, void* arg, ZipFileRO* zipFile, ZipEntryRO zipEntry, const char*)
159 if (!zipFile->getEntryInfo(zipEntry, NULL, &uncompLen, NULL, NULL, NULL, NULL)) {
174 copyFileIfChanged(JNIEnv *env, void* arg, ZipFileRO* zipFile, ZipEntryRO zipEntry, const char* fileName)
184 if (!zipFile->getEntryInfo(zipEntry, NULL, &uncompLen, NULL, NULL, &when, &crc)) {
237 if (!zipFile->uncompressEntry(zipEntry, fd)) {
290 NativeLibrariesIterator(ZipFileRO* zipFile, void* cookie)
291 : mZipFile(zipFile), mCookie(cookie), mLastSlash(NULL) {
296 static NativeLibrariesIterator* create(ZipFileRO* zipFile) {
298 if (!zipFile->startIteration(&cookie)) {
302 return new NativeLibrariesIterator(zipFile, cookie)
    [all...]
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/
DexFileFactory.java 44 import java.util.zip.ZipFile;
59 ZipFile zipFile = null;
62 zipFile = new ZipFile(dexFile);
66 ZipEntry zipEntry = zipFile.getEntry("classes.dex");
78 ByteStreams.readFully(zipFile.getInputStream(zipEntry), dexBytes);
86 if (zipFile != null) {
88 zipFile.close();
  /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);
  /frameworks/multidex/library/test/src/android/support/multidex/
ZipUtilTest.java 39 import java.util.zip.ZipFile;
49 private static final File zipFile = new File(System.getenv("ANDROID_BUILD_TOP"),
54 new ZipFile(zipFile).close();
61 ZipUtil.getZipCrc(zipFile);
68 RandomAccessFile raf = new RandomAccessFile(zipFile, "r");
92 ZipFile zip = new ZipFile(zipFile);
113 ZipFile zip = new ZipFile(zipFile)
    [all...]
  /build/tools/zipalign/
ZipAlign.cpp 20 #include "ZipFile.h"
48 static int copyAndAlign(ZipFile* pZin, ZipFile* pZout, int alignment, bool zopfli)
110 ZipFile zin, zout;
127 if (zin.open(inFileName, ZipFile::kOpenReadOnly) != NO_ERROR) {
132 ZipFile::kOpenReadWrite|ZipFile::kOpenCreate|ZipFile::kOpenTruncate)
152 ZipFile zipFile;
    [all...]
  /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/test-runner/src/junit/runner/
TestCaseClassLoader.java 158 ZipFile zipFile= null;
164 zipFile= new ZipFile(archive);
168 ZipEntry entry= zipFile.getEntry(fileName);
173 stream= zipFile.getInputStream(entry);
180 zipFile.close();
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
VMHostTest.java 27 import java.util.zip.ZipFile;
79 ZipFile zipFile = new ZipFile(jarFile);
80 FileUtil.extractZip(zipFile, localTmpDir);
  /external/jarjar/src/main/com/tonicsystems/jarjar/util/
AntJarProcessor.java 63 protected void zipFile(InputStream is, ZipOutputStream zOut, String vPath,
76 super.zipFile(new ByteArrayInputStream(struct.data),
  /libcore/dalvik/src/main/java/dalvik/system/
DexPathList.java 30 import java.util.zip.ZipFile;
399 private ZipFile zipFile;
431 zipFile = new ZipFile(zip);
435 * might get thrown by the ZipFile constructor
440 zipFile = null;
460 if (zipFile == null || zipFile.getEntry(name) == null) {
  /external/chromium_org/build/android/rezip/
rezip.cc 51 // Copy the data from the currently opened file in the zipfile we are unzipping
52 // into the currently opened file of the zipfile we are zipping.
54 zipFile out_file,
65 LOG(ERROR) << "failed to read from " << in_filename << " in zipfile "
75 LOG(ERROR) << "failed to write from " << out_filename << " in zipfile "
108 LOG(ERROR) << "failed to open zipfile " << z_filename_;
116 LOG(ERROR) << "failed to close input zipfile " << z_filename_;
132 zipFile OpenOrDie() {
135 LOG(ERROR) << "failed to open zipfile " << z_filename_;
143 LOG(ERROR) << "failed to close output zipfile" << z_filename_
    [all...]
  /frameworks/base/test-runner/src/android/test/
ClassPathPackageInfoSource.java 32 import java.util.zip.ZipFile;
251 ZipFile zipFile = new ZipFile(jarFile);
252 Enumeration<? extends ZipEntry> entries = zipFile.entries();
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/eclipse/tycho/tycho-compiler-jdt/0.20.0/
tycho-compiler-jdt-0.20.0.jar 
  /frameworks/base/cmds/bootanimation/
BootAnimation.cpp 291 ZipFileRO* zipFile = NULL;
294 ((zipFile = ZipFileRO::open(SYSTEM_ENCRYPTED_BOOTANIMATION_FILE)) != NULL)) ||
297 ((zipFile = ZipFileRO::open(OEM_BOOTANIMATION_FILE)) != NULL)) ||
300 ((zipFile = ZipFileRO::open(SYSTEM_BOOTANIMATION_FILE)) != NULL))) {
301 mZip = zipFile;

Completed in 575 milliseconds

1 2 3 4 5 6 7 8 91011>>