Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/native/
Dzip_util.h209 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 …]
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()
374 findEND64(jzfile *zip, void *end64buf, jlong endpos) in findEND64()
455 growMetaNames(jzfile *zip) in growMetaNames()
[all …]
DZipFile.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()
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()
345 jzfile *zip = jlong_to_ptr(zfile); in ZipFile_getZipMessage()
357 jzfile *zip; in JarFile_getMetaInfEntryNames()
/libcore/ojluni/src/main/java/java/util/zip/
DZipFile.java78 private long jzfile; // address of jzfile data field in ZipFile
265 jzfile = open(name, mode, file.lastModified(), usemmap); in ZipFile()
270 this.total = getTotal(jzfile); in ZipFile()
271 this.locsig = startsWithLOC(jzfile); in ZipFile()
337 byte[] bcomm = getCommentBytes(jzfile); in getComment()
359 jzentry = getEntry(jzfile, zc.getBytes(name), true); in getEntry()
362 freeEntry(jzfile, jzentry); in getEntry()
369 private static native long getEntry(long jzfile, byte[] name, in getEntry() argument
373 private static native void freeEntry(long jzfile, long jzentry); in freeEntry() argument
408 jzentry = getEntry(jzfile, zc.getBytesUTF8(entry.name), true); in getInputStream()
[all …]