Home
last modified time | relevance | path

Searched refs:jzfile (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/main/java/java/util/zip/
DZipFile.java63 private long jzfile; // address of jzfile data field in ZipFile
218 jzfile = open(name, mode, file.lastModified(), usemmap); in ZipFile()
220 this.total = getTotal(jzfile); in ZipFile()
221 this.locsig = startsWithLOC(jzfile); in ZipFile()
294 byte[] bcomm = getCommentBytes(jzfile); in getComment()
316 jzentry = getEntry(jzfile, zc.getBytes(name), true); in getEntry()
319 freeEntry(jzfile, jzentry); in getEntry()
326 private static native long getEntry(long jzfile, byte[] name, in getEntry() argument
330 private static native void freeEntry(long jzfile, long jzentry); in freeEntry() argument
359 jzentry = getEntry(jzfile, zc.getBytesUTF8(entry.name), true); in getInputStream()
[all …]
/libcore/ojluni/src/main/native/
Dzip_util.h207 typedef struct jzfile { /* Zip file */ struct
229 struct jzfile *next; /* next zip file in search list */ argument
237 } jzfile; argument
245 ZIP_FindEntry(jzfile *zip, char *name, jint *sizeP, jint *nameLenP);
248 ZIP_ReadEntry(jzfile *zip, jzentry *entry, unsigned char *buf, char *entrynm);
251 ZIP_GetNextEntry(jzfile *zip, jint n);
253 jzfile * JNICALL
256 jzfile *
259 jzfile *
262 jzfile *
[all …]
Dzip_util.c71 static jzfile *zfiles = 0; /* currently open zip files */
74 static void freeCEN(jzfile *);
221 static jzfile *
224 jzfile *zip; in allocZip()
225 if (((zip = calloc(1, sizeof(jzfile))) != NULL) && in allocZip()
243 freeZip(jzfile *zip) in freeZip()
271 static jboolean verifyEND(jzfile *zip, jlong endpos, char *endbuf) { in verifyEND()
296 findEND(jzfile *zip, void *endbuf) in findEND()
373 findEND64(jzfile *zip, void *end64buf, jlong endpos) in findEND64()
453 growMetaNames(jzfile *zip) in growMetaNames()
[all …]
Djava_util_zip_ZipFile.c95 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()
201 jzfile *zip = jlong_to_ptr(zfile); in ZipFile_freeEntry()
259 jzfile *zip = jlong_to_ptr(zfile); in ZipFile_getCommentBytes()
311 jzfile *zip = jlong_to_ptr(zfile); in ZipFile_read()
347 jzfile *zip = jlong_to_ptr(zfile); in ZipFile_getZipMessage()
359 jzfile *zip; in JarFile_getMetaInfEntryNames()