Searched defs:cen (Results 1 - 3 of 3) sorted by relevance
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ |
H A D | ZipInfo.java | 50 * Print all loc and cen headers of the ZIP file 64 byte[] cen = zfs.cen; 65 if (cen == null) { 72 while (pos + CENHDR < cen.length) { 74 printCEN(cen, pos); 77 // loc.extra is bigger than the cen.extra, try to avoid to read 79 long len = LOCHDR + CENNAM(cen, pos) + CENEXT(cen, pos) + CENHDR; 80 if (zfs.readFullyAt(buf, 0, len, locoff(cen, po 123 printCEN(byte[] cen, int off) argument 156 locoff(byte[] cen, int pos) argument [all...] |
H A D | ZipFileSystem.java | 130 this.cen = initCEN(); 902 final byte[] cen; // CEN & ENDHDR field in class:ZipFileSystem 908 // name -> pos (in cen), IndexNode itself can be used as a "key" 938 // Each/every byte read from here (except the cen, which is mapped). 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; 1057 if (CENSIG(cen, pos) != CENSIG) 1059 int method = CENHOW(cen, po 1874 private Entry cen(ZipFileSystem zipfs, int pos) method in class:ZipFileSystem.Entry [all...] |
/openjdk7/jdk/src/share/native/java/util/zip/ |
H A D | zip_util.c | 66 #define CENSIZE(cen) (CENHDR + CENNAM(cen) + CENEXT(cen) + CENCOM(cen)) 933 char *cen; local 936 if ((cen = malloc(bufsize)) == NULL) goto Catch; 937 if (readFullyAt(zfd, cen, bufsize, cenpos) == -1) goto Catch; 938 censize = CENSIZE(cen); 939 if (censize <= bufsize) return cen; 940 if ((cen 953 char *cen; local 987 char *cen; local [all...] |
Completed in 56 milliseconds