Lines Matching defs:jzentry
303 long jzentry = 0;
306 jzentry = getEntry(jzfile, zc.getBytes(name), true);
307 if (jzentry != 0) {
308 ZipEntry ze = getZipEntry(name, jzentry);
309 freeEntry(jzfile, jzentry);
319 // freeEntry releases the C jzentry struct.
320 private static native void freeEntry(long jzfile, long jzentry);
344 long jzentry = 0;
349 jzentry = getEntry(jzfile, zc.getBytesUTF8(entry.name), false);
351 jzentry = getEntry(jzfile, zc.getBytes(entry.name), false);
353 if (jzentry == 0) {
356 in = new ZipFileInputStream(jzentry);
358 switch (getEntryMethod(jzentry)) {
366 long size = getEntrySize(jzentry) + 2; // Inflater likes a bit of slack
497 long jzentry = getNextEntry(jzfile, i++);
498 if (jzentry == 0) {
505 throw new ZipError("jzentry == 0" +
513 ZipEntry ze = getZipEntry(null, jzentry);
514 freeEntry(jzfile, jzentry);
521 private ZipEntry getZipEntry(String name, long jzentry) {
523 e.flag = getEntryFlag(jzentry); // get the flag first
527 byte[] bname = getEntryBytes(jzentry, JZENTRY_NAME);
534 e.time = getEntryTime(jzentry);
535 e.crc = getEntryCrc(jzentry);
536 e.size = getEntrySize(jzentry);
537 e. csize = getEntryCSize(jzentry);
538 e.method = getEntryMethod(jzentry);
539 e.extra = getEntryBytes(jzentry, JZENTRY_EXTRA);
540 byte[] bcomm = getEntryBytes(jzentry, JZENTRY_COMMENT);
654 protected long jzentry; // address of jzentry data
659 ZipFileInputStream(long jzentry) {
661 rem = getEntryCSize(jzentry);
662 size = getEntrySize(jzentry);
663 this.jzentry = jzentry;
679 len = ZipFile.read(ZipFile.this.jzfile, jzentry, pos, b,
727 if (jzentry != 0 && ZipFile.this.jzfile != 0) {
728 freeEntry(ZipFile.this.jzfile, jzentry);
729 jzentry = 0;
764 private static native int read(long jzfile, long jzentry,
768 private static native long getEntryTime(long jzentry);
769 private static native long getEntryCrc(long jzentry);
770 private static native long getEntryCSize(long jzentry);
771 private static native long getEntrySize(long jzentry);
772 private static native int getEntryMethod(long jzentry);
773 private static native int getEntryFlag(long jzentry);
779 private static native byte[] getEntryBytes(long jzentry, int type);