/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...] |
minizip.c | 358 zipFile zf; 447 printf("error in opening %s in zipfile\n",filenameinzip); 475 printf("error in writing %s in the zipfile\n", 491 printf("error in closing %s in the zipfile\n",
|
/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...] |
/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 | 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...] |
/external/chromium_org/chrome/test/chromedriver/chrome/ |
zip_internal.h | 48 zipFile OpenForZipping(const std::string& file_name_utf8, int append_flag); 53 zipFile OpenFdForZipping(int zip_fd, int append_flag);
|
zip.cc | 27 bool AddFileToZip(zipFile zip_file, const base::FilePath& src_dir) { 52 bool AddEntryToZip(zipFile zip_file, const base::FilePath& path, 132 zipFile zip_file = internal::OpenForZipping(dest_file.AsUTF8Unsafe(), 179 zipFile zip_file = internal::OpenFdForZipping(dest_fd, APPEND_STATUS_CREATE);
|
zip_internal.cc | 292 zipFile OpenForZipping(const std::string& file_name_utf8, int append_flag) { 307 zipFile OpenFdForZipping(int zip_fd, int append_flag) {
|
/external/chromium_org/third_party/zlib/google/ |
zip_internal.h | 48 zipFile OpenForZipping(const std::string& file_name_utf8, int append_flag); 53 zipFile OpenFdForZipping(int zip_fd, int append_flag);
|
zip.cc | 27 bool AddFileToZip(zipFile zip_file, const base::FilePath& src_dir) { 52 bool AddEntryToZip(zipFile zip_file, const base::FilePath& path, 152 zipFile zip_file = internal::OpenForZipping(dest_file.AsUTF8Unsafe(), 199 zipFile zip_file = internal::OpenFdForZipping(dest_fd, APPEND_STATUS_CREATE);
|
zip_internal.cc | 292 zipFile OpenForZipping(const std::string& file_name_utf8, int append_flag) { 307 zipFile OpenFdForZipping(int zip_fd, int append_flag) {
|
/frameworks/base/core/jni/ |
com_android_internal_content_NativeLibraryHelper.cpp | 146 sumFiles(JNIEnv* env, void* arg, ZipFileRO* zipFile, ZipEntryRO zipEntry, const char* fileName) 151 if (!zipFile->getEntryInfo(zipEntry, NULL, &uncompLen, NULL, NULL, NULL, NULL)) { 166 copyFileIfChanged(JNIEnv *env, void* arg, ZipFileRO* zipFile, ZipEntryRO zipEntry, const char* fileName) 176 if (!zipFile->getEntryInfo(zipEntry, NULL, &uncompLen, NULL, NULL, &when, &crc)) { 229 if (!zipFile->uncompressEntry(zipEntry, fd)) { 276 ZipFileRO zipFile; 278 if (zipFile.open(filePath.c_str()) != NO_ERROR) { 283 const int N = zipFile.getNumEntries(); 289 const ZipEntryRO entry = zipFile.findEntryByIndex(i); 295 if (zipFile.getEntryFileName(entry, fileName, sizeof(fileName))) [all...] |
/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);
|
/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...] |
/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; 78 ZipFile zipFile = new ZipFile(jarFile); 79 FileUtil.extractZip(zipFile, localTmpDir);
|
/external/chromium/chrome/common/ |
zip.cc | 204 static bool AddFileToZip(zipFile zip_file, const FilePath& src_dir) { 229 static bool AddEntryToZip(zipFile zip_file, const FilePath& path, 278 zipFile zip_file = zipOpen(dest_file_str.c_str(), APPEND_STATUS_CREATE); 281 zipFile zip_file = zipOpen2(dest_file_str.c_str(), APPEND_STATUS_CREATE,
|
/libcore/dalvik/src/main/java/dalvik/system/ |
DexPathList.java | 28 import java.util.zip.ZipFile; 400 private ZipFile zipFile; 432 zipFile = new ZipFile(zip); 436 * might get thrown by the ZipFile constructor 441 zipFile = null; 461 if (zipFile == null || zipFile.getEntry(name) == null) {
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/ |
DexFile.java | 42 import java.util.zip.ZipFile; 290 ZipFile zipFile = null; 295 zipFile = new ZipFile(file); 296 ZipEntry zipEntry = zipFile.getEntry("classes.dex"); 308 inputStream = new BufferedInputStream(zipFile.getInputStream(zipEntry)); 383 if (zipFile != null) { 384 zipFile.close(); [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();
|
/libcore/dex/src/main/java/com/android/dex/ |
Dex.java | 45 import java.util.zip.ZipFile; 104 ZipFile zipFile = new ZipFile(file); 105 ZipEntry entry = zipFile.getEntry(DexFormat.DEX_IN_JAR_NAME); 107 loadFrom(zipFile.getInputStream(entry)); 108 zipFile.close(); [all...] |