Searched refs:LOCHDR (Results 1 - 11 of 11) sorted by relevance

/openjdk7/jdk/src/share/classes/java/util/zip/
H A DZipConstants.java46 static final int LOCHDR = 30; // LOC header size field in interface:ZipConstants
H A DZipInputStream.java277 readFully(tmpbuf, 0, LOCHDR);
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/
H A DZipInfo.java79 long len = LOCHDR + CENNAM(cen, pos) + CENEXT(cen, pos) + CENHDR;
84 len = LOCHDR + LOCNAM(buf) + LOCEXT(buf);
117 LOCNAM(loc), new String(loc, LOCHDR, LOCNAM(loc)));
120 printExtra(loc, LOCHDR + LOCNAM(loc), LOCEXT(loc));
H A DZipFileSystem.java930 byte[] buf = new byte[LOCHDR];
933 return locpos + e.locoff + LOCHDR + LOCNAM(buf) + LOCEXT(buf);
1155 if (readFullyAt(buf, 0, LOCHDR , locoff) != LOCHDR)
1158 locoff += LOCHDR + LOCNAM(buf) + LOCEXT(buf); // skip header
1162 os.write(buf, 0, LOCHDR); // write out the loc header
1163 locoff += LOCHDR;
1167 written = LOCHDR + size;
2029 assert (buf.length >= LOCHDR);
2030 if (zipfs.readFullyAt(buf, 0, LOCHDR , po
[all...]
H A DZipConstants.java80 static final int LOCHDR = 30; // LOC header size field in class:ZipConstants
/openjdk7/jdk/src/solaris/bin/
H A Djexec.c119 static const ssize_t MIN_SIZE = LOCHDR + 1 + 4;
320 off_t start = LOCHDR + flen;
/openjdk7/jdk/src/share/bin/
H A Dparse_manifest.c225 Byte locbuf[LOCHDR];
326 if (read(fd, locbuf, LOCHDR) < 0) {
336 entry->offset = base_offset + CENOFF(p) + LOCHDR +
H A Dmanifest_info.h43 #define LOCHDR 30 macro
/openjdk7/jdk/test/java/util/zip/ZipFile/
H A DCorruptedZipFiles.java200 static final int LOCHDR = ZipFile.LOCHDR; field in class:CorruptedZipFiles
/openjdk7/jdk/src/share/native/java/util/zip/
H A Dzip_util.h48 #define LOCHDR 30 macro
H A Dzip_util.c1260 unsigned char loc[LOCHDR];
1261 if (readFullyAt(zip->zfd, loc, LOCHDR, -(entry->pos)) == -1) {
1269 entry->pos = (- entry->pos) + LOCHDR + LOCNAM(loc) + LOCEXT(loc);

Completed in 76 milliseconds