Searched refs:jzfile (Results 1 – 4 of 4) sorted by relevance
/libcore/ojluni/src/main/native/ |
D | zip_util.h | 209 typedef struct jzfile { /* Zip file */ struct 231 struct jzfile *next; /* next zip file in search list */ argument 239 } jzfile; argument 247 ZIP_FindEntry(jzfile *zip, char *name, jint *sizeP, jint *nameLenP); 250 ZIP_ReadEntry(jzfile *zip, jzentry *entry, unsigned char *buf, char *entrynm); 253 ZIP_GetNextEntry(jzfile *zip, jint n); 255 jzfile * JNICALL 258 jzfile * 261 jzfile * 264 jzfile * [all …]
|
D | zip_util.c | 69 static jzfile *zfiles = 0; /* currently open zip files */ 72 static void freeCEN(jzfile *); 219 static jzfile * 222 jzfile *zip; in allocZip() 223 if (((zip = calloc(1, sizeof(jzfile))) != NULL) && in allocZip() 241 freeZip(jzfile *zip) in freeZip() 269 static jboolean verifyEND(jzfile *zip, jlong endpos, char *endbuf) { in verifyEND() 294 findEND(jzfile *zip, void *endbuf) in findEND() 371 findEND64(jzfile *zip, void *end64buf, jlong endpos) in findEND64() 452 growMetaNames(jzfile *zip) in growMetaNames() [all …]
|
D | java_util_zip_ZipFile.c | 95 jzfile *zip = 0; in ZipFile_open() 140 jzfile *zip = jlong_to_ptr(zfile); in ZipFile_getTotal() 148 jzfile *zip = jlong_to_ptr(zfile); in ZipFile_startsWithLOC() 161 jzfile *zip = jlong_to_ptr(zfile); in ZipFile_getFileDescriptor() 170 jzfile *zip = jlong_to_ptr(zfile); in ZipFile_getEntry() 197 jzfile *zip = jlong_to_ptr(zfile); in ZipFile_freeEntry() 255 jzfile *zip = jlong_to_ptr(zfile); in ZipFile_getCommentBytes() 307 jzfile *zip = jlong_to_ptr(zfile); in ZipFile_read() 343 jzfile *zip = jlong_to_ptr(zfile); in ZipFile_getZipMessage() 355 jzfile *zip; in JarFile_getMetaInfEntryNames()
|
/libcore/ojluni/src/main/java/java/util/zip/ |
D | ZipFile.java | 65 private long jzfile; // address of jzfile data field in ZipFile 235 jzfile = open(name, mode, file.lastModified(), usemmap); in ZipFile() 240 this.total = getTotal(jzfile); in ZipFile() 241 this.locsig = startsWithLOC(jzfile); in ZipFile() 314 byte[] bcomm = getCommentBytes(jzfile); in getComment() 336 jzentry = getEntry(jzfile, zc.getBytes(name), true); in getEntry() 339 freeEntry(jzfile, jzentry); in getEntry() 346 private static native long getEntry(long jzfile, byte[] name, in getEntry() argument 350 private static native void freeEntry(long jzfile, long jzentry); in freeEntry() argument 380 jzentry = getEntry(jzfile, zc.getBytesUTF8(entry.name), true); in getInputStream() [all …]
|