Searched refs:CENNAM (Results 1 - 9 of 9) sorted by relevance

/openjdk7/jdk/src/share/classes/java/util/zip/
H A DZipConstants.java82 static final int CENNAM = 28; // filename length field in interface:ZipConstants
/openjdk7/jdk/test/java/util/zip/ZipFile/
H A DCorruptedZipFiles.java71 if (u16(good, locpos+LOCNAM) != u16(good,cenpos+CENNAM))
98 err.println("corrupted CENNAM 1");
100 bad[cenpos+CENNAM]++;
103 err.println("corrupted CENNAM 2");
105 bad[cenpos+CENNAM]--;
108 err.println("corrupted CENNAM 3");
110 bad[cenpos+CENNAM] = (byte)0xfd;
111 bad[cenpos+CENNAM+1] = (byte)0xfd;
223 static final int CENNAM = ZipFile.CENNAM; field in class:CorruptedZipFiles
[all...]
/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;
89 pos += CENHDR + CENNAM(cen, pos) + CENEXT(cen, pos) + CENCOM(cen, pos);
144 CENNAM(cen, off), new String(cen, off + CENHDR, CENNAM(cen, off)));
147 printExtra(cen, off + CENHDR + CENNAM(cen, off), CENEXT(cen, off));
159 int off = pos + CENHDR + CENNAM(cen, pos);
H A DZipConstants.java116 static final int CENNAM = 28; // filename length field in class:ZipConstants
249 static final int CENNAM(byte[] b, int pos) { return SH(b, pos + 28);} method in class:ZipConstants
H A DZipFileSystem.java1060 int nlen = CENNAM(cen, pos);
1888 int nlen = CENNAM(cen, pos);
/openjdk7/jdk/src/share/bin/
H A Dmanifest_info.h87 #define CENNAM(b) SH(b, 28) /* length of filename */ macro
H A Dparse_manifest.c302 entry_size = CENHDR + CENNAM(p) + CENEXT(p) + CENCOM(p);
320 if ((size_t)CENNAM(p) == JLI_StrLen(file_name) &&
/openjdk7/jdk/src/share/native/java/util/zip/
H A Dzip_util.h102 #define CENNAM(b) SH(b, 28) /* length of filename */ macro
H A Dzip_util.c66 #define CENSIZE(cen) (CENHDR + CENNAM(cen) + CENEXT(cen) + CENCOM(cen))
681 nlen = CENNAM(cp);
1007 nlen = CENNAM(cen);

Completed in 72 milliseconds