Searched refs:locpos (Results 1 - 4 of 4) sorted by relevance
/openjdk7/jdk/test/java/util/zip/ZipFile/ |
H A D | CorruptedZipFiles.java | 67 int locpos = u16(good, cenpos+CENOFF); 70 if (u32(good, locpos) != LOCSIG) fail("Where's LOCSIG?"); 71 if (u16(good, locpos+LOCNAM) != u16(good,cenpos+CENNAM)) 73 if (u16(good, locpos+LOCEXT) != u16(good,cenpos+CENEXT)) 137 bad[locpos]++;
|
/openjdk7/jdk/src/share/native/java/util/zip/ |
H A D | zip_util.c | 288 jlong locpos = cenpos - ENDOFF(endbuf); local 291 locpos >= 0 && 294 readFullyAt(zip->zfd, buf, sizeof(buf), locpos) != -1 && 593 zip->locpos = cenpos - cenoff; 594 if (zip->locpos < 0) 1015 ze->pos = -(zip->locpos + locoff); 1054 ze->pos = -(zip->locpos + LL(extra, off));
|
H A D | zip_util.h | 231 jlong locpos; /* position of first LOC header (usually 0) */ member in struct:jzfile
|
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ |
H A D | ZipFileSystem.java | 904 private long locpos; // position of first LOC header (usually 0) field in class:ZipFileSystem 933 return locpos + e.locoff + LOCHDR + LOCNAM(buf) + LOCEXT(buf); 1033 locpos = 0; 1043 locpos = cenpos - end.cenoff; 1044 if (locpos < 0)
|
Completed in 63 milliseconds