Searched refs:ENDHDR (Results 1 - 10 of 10) sorted by relevance
/openjdk7/jdk/src/share/classes/java/util/zip/ |
H A D | ZipConstants.java | 49 static final int ENDHDR = 22; // END header size field in interface:ZipConstants
|
/openjdk7/jdk/src/share/bin/ |
H A D | manifest_info.h | 46 #define ENDHDR 22 macro 108 #define END_MAXLEN (0xFFFF + ENDHDR)
|
H A D | parse_manifest.c | 141 if ((pos = lseek(fd, -ENDHDR, SEEK_END)) < (off_t)0) 143 if ((bytes = read(fd, eb, ENDHDR)) < 0) 173 for (cp = &buffer[bytes - ENDHDR]; cp >= &buffer[0]; cp--) 175 (cp + ENDHDR + ENDCOM(cp) == endpos)) { 176 (void) memcpy(eb, cp, ENDHDR); 281 * must have an ENDHDR (with ENDSIG) after the Central Directory.
|
/openjdk7/jdk/test/java/util/zip/ZipFile/ |
H A D | CorruptedZipFiles.java | 65 int endpos = len - ENDHDR; 203 static final int ENDHDR = ZipFile.ENDHDR; field in class:CorruptedZipFiles
|
H A D | Comment.java | 87 - ZipFile.ENDHDR + ZipFile.ENDCOM);
|
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ |
H A D | ZipConstants.java | 83 static final int ENDHDR = 22; // END header size field in class:ZipConstants 258 static final long END_MAXLEN = 0xFFFF + ENDHDR;
|
H A D | ZipFileSystem.java | 902 final byte[] cen; // CEN & ENDHDR 965 long minPos = minHDR - (buf.length - ENDHDR); 967 for (long pos = ziplen - buf.length; pos >= minPos; pos -= (buf.length - ENDHDR)) 980 for (int i = buf.length - ENDHDR; i >= 0; i--) { 985 (pos + i + ENDHDR + ENDCOM(buf, i) == ziplen)) { 987 buf = Arrays.copyOfRange(buf, i, i + ENDHDR); 1048 byte[] cen = new byte[(int)(end.cenlen + ENDHDR)]; 1049 if (readFullyAt(cen, 0, cen.length, cenpos) != end.cenlen + ENDHDR) { 1055 int limit = cen.length - ENDHDR; 1075 if (pos + ENDHDR ! [all...] |
/openjdk7/jdk/src/share/native/java/util/zip/ |
H A D | zip_util.c | 54 /* USE_MMAP means mmap the CEN & ENDHDR part of the zip file. */ 276 static const jlong END_MAXLEN = 0xFFFF + ENDHDR; 312 const jlong minPos = minHDR - (sizeof(buf)-ENDHDR); 315 for (pos = len - sizeof(buf); pos >= minPos; pos -= (sizeof(buf)-ENDHDR)) { 331 for (i = sizeof(buf) - ENDHDR; i >= 0; i--) { 336 ((pos + i + ENDHDR + ENDCOM(buf + i) == len) 339 memcpy(endbuf, buf + i, ENDHDR); 347 if (readFullyAt(zfd, zip->comment, clen, pos + i + ENDHDR) 557 unsigned char endbuf[ENDHDR]; 558 jint endhdrlen = ENDHDR; [all...] |
H A D | zip_util.h | 51 #define ENDHDR 22 macro 207 unsigned char *maddr; /* beginning address of the CEN & ENDHDR */
|
/openjdk7/jdk/test/tools/launcher/6842838/ |
H A D | CreateBadJar.java | 90 int endpos = len - ENDHDR;
|
Completed in 68 milliseconds