/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...] |