Home
last modified time | relevance | path

Searched refs:jzentry (Results 1 – 5 of 5) sorted by relevance

/libcore/ojluni/src/main/java/java/util/zip/
DZipFile.java356 long jzentry = 0; in getEntry() local
359 jzentry = getEntry(jzfile, zc.getBytes(name), true); in getEntry()
360 if (jzentry != 0) { in getEntry()
361 ZipEntry ze = getZipEntry(name, jzentry); in getEntry()
362 freeEntry(jzfile, jzentry); in getEntry()
373 private static native void freeEntry(long jzfile, long jzentry); in freeEntry() argument
397 long jzentry = 0; in getInputStream() local
408 jzentry = getEntry(jzfile, zc.getBytesUTF8(entry.name), true); in getInputStream()
412 jzentry = getEntry(jzfile, zc.getBytes(entry.name), true); in getInputStream()
414 if (jzentry == 0) { in getInputStream()
[all …]
/libcore/ojluni/annotations/hiddenapi/java/util/zip/
DZipFile.java71 private static native void freeEntry(long jzfile, long jzentry); in freeEntry() argument
98 private java.util.zip.ZipEntry getZipEntry(java.lang.String name, long jzentry) { in getZipEntry() argument
145 private static native int read(long jzfile, long jzentry, long pos, byte[] b, int off, int len); in read() argument
147 private static native long getEntryTime(long jzentry); in getEntryTime() argument
149 private static native long getEntryCrc(long jzentry); in getEntryCrc() argument
151 private static native long getEntryCSize(long jzentry); in getEntryCSize() argument
153 private static native long getEntrySize(long jzentry); in getEntrySize() argument
155 private static native int getEntryMethod(long jzentry); in getEntryMethod() argument
157 private static native int getEntryFlag(long jzentry); in getEntryFlag() argument
161 private static native byte[] getEntryBytes(long jzentry, int type); in getEntryBytes() argument
[all …]
/libcore/ojluni/src/main/native/
Dzip_util.h160 typedef struct jzentry { /* Zip file entry */ struct
171 } jzentry; argument
232 jzentry *cache; /* we cache the most recently freed jzentry */
246 jzentry * JNICALL
250 ZIP_ReadEntry(jzfile *zip, jzentry *entry, unsigned char *buf, char *entrynm);
252 jzentry * JNICALL
273 jzentry * ZIP_GetEntry(jzfile *zip, char *name, jint ulen);
276 jint ZIP_Read(jzfile *zip, jzentry *entry, jlong pos, void *buf, jint len);
277 void ZIP_FreeEntry(jzfile *zip, jzentry *ze);
278 jlong ZIP_GetEntryDataOffset(jzfile *zip, jzentry *entry);
[all …]
DZipFile.c173 jzentry *ze; in ZipFile_getEntry()
198 jzentry *ze = jlong_to_ptr(zentry); in ZipFile_freeEntry()
206 jzentry *ze = ZIP_GetNextEntry(jlong_to_ptr(zfile), n); in ZipFile_getNextEntry()
213 jzentry *ze = jlong_to_ptr(zentry); in ZipFile_getEntryMethod()
220 jzentry *ze = jlong_to_ptr(zentry); in ZipFile_getEntryFlag()
227 jzentry *ze = jlong_to_ptr(zentry); in ZipFile_getEntryCSize()
234 jzentry *ze = jlong_to_ptr(zentry); in ZipFile_getEntrySize()
241 jzentry *ze = jlong_to_ptr(zentry); in ZipFile_getEntryTime()
248 jzentry *ze = jlong_to_ptr(zentry); in ZipFile_getEntryCrc()
269 jzentry *ze = jlong_to_ptr(zentry); in ZipFile_getEntryBytes()
Dzip_util.c1025 static jzentry *
1030 jzentry *ze; in newEntry()
1033 if ((ze = (jzentry *) malloc(sizeof(jzentry))) == NULL) return NULL; in newEntry()
1140 ZIP_FreeEntry(jzfile *jz, jzentry *ze) in ZIP_FreeEntry()
1142 jzentry *last; in ZIP_FreeEntry()
1160 jzentry *
1187 jzentry *
1192 jzentry *ze = 0; in ZIP_GetEntry2()
1283 jzentry * JNICALL
1286 jzentry *result; in ZIP_GetNextEntry()
[all …]