Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/native/
Dzip_util.h210 typedef struct jzfile { /* Zip file */ struct
232 struct jzfile *next; /* next zip file in search list */ argument
240 } jzfile; argument
248 ZIP_FindEntry(jzfile *zip, char *name, jint *sizeP, jint *nameLenP);
251 ZIP_ReadEntry(jzfile *zip, jzentry *entry, unsigned char *buf, char *entrynm);
254 ZIP_GetNextEntry(jzfile *zip, jint n);
256 JNIEXPORT jzfile *
259 jzfile *
262 jzfile *
265 jzfile *
[all …]
Dzip_util.c73 static jzfile *zfiles = 0; /* currently open zip files */
76 static void freeCEN(jzfile *);
257 static jzfile *
260 jzfile *zip; in allocZip()
261 if (((zip = calloc(1, sizeof(jzfile))) != NULL) && in allocZip()
279 freeZip(jzfile *zip) in freeZip()
307 static jboolean verifyEND(jzfile *zip, jlong endpos, char *endbuf) { in verifyEND()
332 findEND(jzfile *zip, void *endbuf) in findEND()
410 findEND64(jzfile *zip, void *end64buf, jlong endpos) in findEND64()
491 growMetaNames(jzfile *zip) in growMetaNames()
[all …]
DZipFile.c89 jzfile *zip = 0; in ZipFile_open()
135 jzfile *zip = jlong_to_ptr(zfile); in ZipFile_getTotal()
143 jzfile *zip = jlong_to_ptr(zfile); in ZipFile_startsWithLOC()
156 jzfile *zip = jlong_to_ptr(zfile); in ZipFile_getFileDescriptor()
165 jzfile *zip = jlong_to_ptr(zfile); in ZipFile_getEntry()
192 jzfile *zip = jlong_to_ptr(zfile); in ZipFile_freeEntry()
250 jzfile *zip = jlong_to_ptr(zfile); in ZipFile_getCommentBytes()
302 jzfile *zip = jlong_to_ptr(zfile); in ZipFile_read()
340 jzfile *zip = jlong_to_ptr(zfile); in ZipFile_getZipMessage()
352 jzfile *zip; in JarFile_getMetaInfEntryNames()
/libcore/ojluni/annotations/hiddenapi/java/util/zip/
DZipFile.java69 private static native long getEntry(long jzfile, byte[] name, boolean addSlash); in getEntry() argument
71 private static native void freeEntry(long jzfile, long jzentry); in freeEntry() argument
102 private static native long getNextEntry(long jzfile, int i); in getNextEntry() argument
117 private static native void close(long jzfile); in close() argument
135 private static native int getFileDescriptor(long jzfile); in getFileDescriptor() argument
141 private static native int getTotal(long jzfile); in getTotal() argument
143 private static native boolean startsWithLOC(long jzfile); in startsWithLOC() argument
145 private static native int read(long jzfile, long jzentry, long pos, byte[] b, int off, int len); in read() argument
159 private static native byte[] getCommentBytes(long jzfile); in getCommentBytes() argument
163 private static native java.lang.String getZipMessage(long jzfile); in getZipMessage() argument
[all …]