Home
last modified time | relevance | path

Searched refs:jzentry (Results 1 – 4 of 4) 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/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 …]