Searched defs:u16 (Results 1 - 2 of 2) sorted by relevance

/openjdk7/jdk/test/tools/launcher/6842838/
H A DCreateBadJar.java91 int cenpos = u16(good, endpos+ENDOFF);
139 int filenameLength = u16(bytes, pos+0x1c); // +0x1c 1 word length of filename
140 int extraLength = u16(bytes, pos+0x1e); // +0x1e 1 world length of extra field
141 int commentLength = u16(bytes, pos+0x20); // +0x20 1 world length of file comment
159 static int u16(byte[] data, int offset) { method in class:CreateBadJar
164 return u16(data,offset) + (u16(data,offset+2)<<16);
/openjdk7/jdk/test/java/util/zip/ZipFile/
H A DCorruptedZipFiles.java66 int cenpos = u16(good, endpos+ENDOFF);
67 int locpos = u16(good, cenpos+CENOFF);
71 if (u16(good, locpos+LOCNAM) != u16(good,cenpos+CENNAM))
73 if (u16(good, locpos+LOCEXT) != u16(good,cenpos+CENEXT))
185 static int u16(byte[] data, int offset) { method in class:CorruptedZipFiles
190 return u16(data,offset) + (u16(data,offset+2)<<16);

Completed in 30 milliseconds