Searched refs:endpos (Results 1 - 14 of 14) sorted by relevance

/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xpath/regex/
H A DMatch.java39 int[] endpos = null; field in class:Match
78 this.endpos = new int[n];
82 this.endpos[i] = -1;
122 this.endpos[index] = v;
155 if (this.endpos == null)
160 return this.endpos[index];
175 int begin = this.beginpos[index], end = this.endpos[index];
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/parser/
H A DEndPosParser.java62 protected void storeEnd(JCTree tree, int endpos) { argument
64 endPositions.put(tree, errorEndPos > endpos ? errorEndPos : endpos);
H A DJavacParser.java391 * @param endpos The ending position to associate with the tree.
393 protected void storeEnd(JCTree tree, int endpos) {} argument
1567 // the Block node has a field "endpos" for first char of last token, which is
1569 t.endpos = S.pos();
/openjdk7/jdk/test/java/util/zip/ZipFile/
H A DCorruptedZipFiles.java65 int endpos = len - ENDHDR;
66 int cenpos = u16(good, endpos+ENDOFF);
68 if (u32(good, endpos) != ENDSIG) fail("Where's ENDSIG?");
80 bad[endpos+ENDSIZ]=(byte)0xff;
85 bad[endpos+ENDOFF]=(byte)0xff;
/openjdk7/jdk/test/tools/launcher/6842838/
H A DCreateBadJar.java90 int endpos = len - ENDHDR;
91 int cenpos = u16(good, endpos+ENDOFF);
/openjdk7/jdk/src/share/bin/
H A Dparse_manifest.c133 Byte *endpos; local
172 endpos = &buffer[bytes];
175 (cp + ENDHDR + ENDCOM(cp) == endpos)) {
178 return (flen - (endpos - cp));
/openjdk7/jdk/src/share/native/java/util/zip/
H A Dzip_util.c280 static jboolean verifyEND(jzfile *zip, jlong endpos, char *endbuf) { argument
287 jlong cenpos = endpos - ENDSIZ(endbuf);
377 * The offset of zip64 end locator can be calculated from endpos as
378 * "endpos - ZIP64_LOCHDR".
382 findEND64(jzfile *zip, void *end64buf, jlong endpos) argument
386 if (readFullyAt(zip->zfd, loc64, ZIP64_LOCHDR, endpos - ZIP64_LOCHDR) == -1) {
547 jlong endpos, end64pos, cenpos, cenlen, cenoff; local
565 if ((endpos = findEND(zip, endbuf)) == -1)
568 if (endpos == 0) return 0; /* only END header present */
578 if ((end64pos = findEND64(zip, end64buf, endpos)) !
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/jvm/
H A DCRTable.java531 * defined endpos, NOPOS otherwise.
536 return ((JCBlock) tree).endpos;
537 Integer endpos = endPositions.get(tree);
538 if (endpos != null)
539 return endpos.intValue();
H A DGen.java525 block.endpos = TreeInfo.endPos(clinitStats.last());
582 if (md.body.endpos == Position.NOPOS)
583 md.body.endpos = TreeInfo.endPos(md.body.stats.last());
1034 code.statBegin(tree.endpos);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/tree/
H A DPretty.java236 int endpos = lineEndPos(dc, pos);
241 print(dc.substring(pos, endpos)); println();
242 pos = endpos + 1;
243 endpos = lineEndPos(dc, pos);
H A DTreeInfo.java248 * defined endpos.
251 if (tree.getTag() == JCTree.BLOCK && ((JCBlock) tree).endpos != Position.NOPOS)
252 return ((JCBlock) tree).endpos;
438 * defined endpos.
H A DJCTree.java775 public int endpos = Position.NOPOS; field in class:JCTree.JCBlock
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/
H A DZipFileSystem.java994 end.endpos = pos + i;
1001 if (readFullyAt(loc64, 0, loc64.length, end.endpos - ZIP64_LOCHDR)
1015 end.endpos = end64pos;
1031 if (end.endpos == 0) {
1037 if (end.cenlen > end.endpos)
1039 long cenpos = end.endpos - end.cenlen; // position of CEN table
1681 long endpos; field in class:ZipFileSystem.END
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/comp/
H A DLower.java3285 body.endpos = TreeInfo.endPos(tree.body);

Completed in 105 milliseconds