Searched refs:startPos (Results 1 - 25 of 38) sorted by relevance

12

/openjdk9/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/
H A DCRTable.java106 if ((pos.startPos == Position.NOPOS) || (pos.endPos == Position.NOPOS))
111 System.out.print("Start: pos = " + pos.startPos + ", pc = " + entry.startPc);
114 // encode startPos into line/column representation
115 int startPos = encodePosition(pos.startPos, lineMap, log);
116 if (startPos == Position.NOPOS)
132 databuf.appendInt(startPos);
245 SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
251 SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
258 // endPos is the same as startPos fo
541 public int startPos(JCTree tree) { method in class:CRTable.SourceComputer
592 int startPos; field in class:CRTable.SourceRange
605 SourceRange(int startPos, int endPos) argument
[all...]
/openjdk9/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/
H A DExportEntryTreeImpl.java35 private final long startPos, endPos; field in class:ExportEntryTreeImpl
41 private ExportEntryTreeImpl(final long startPos, final long endPos, argument
47 this.startPos = startPos;
82 return startPos;
H A DImportEntryTreeImpl.java35 private final long startPos, endPos; field in class:ImportEntryTreeImpl
40 private ImportEntryTreeImpl(final long startPos, final long endPos, argument
45 this.startPos = startPos;
78 return startPos;
/openjdk9/jdk/make/src/classes/build/tools/generatebreakiteratordata/
H A DDictionaryBasedBreakIteratorBuilder.java62 int startPos, String description) {
63 super.handleSpecialSubstitution(replace, replaceWith, startPos, description);
67 error("Dictionary group can't be enclosed in (", startPos, description);
61 handleSpecialSubstitution(String replace, String replaceWith, int startPos, String description) argument
H A DRuleBasedBreakIteratorBuilder.java472 int startPos) {
484 handleSpecialSubstitution(replace, replaceWith, startPos, description);
488 error("Nothing on right-hand side of =", startPos, description);
491 error("Nothing on left-hand side of =", startPos, description);
494 error("Illegal left-hand side for =", startPos, description);
498 error("Illegal left-hand side for =", startPos, description);
504 error("Illegal right-hand side for =", startPos, description);
511 result.append(description.substring(0, startPos));
512 int lastPos = startPos;
513 int pos = description.indexOf(replace, startPos);
471 processSubstitution(String substitutionRule, String description, int startPos) argument
533 handleSpecialSubstitution(String replace, String replaceWith, int startPos, String description) argument
[all...]
/openjdk9/jdk/src/java.desktop/share/classes/java/awt/font/
H A DTextMeasurer.java307 int startPos = pos;
315 if (gaLimit > startPos) {
330 int lineBreak = tlc.getLineBreakIndex(startPos - tlcStart, width);
332 width -= tlc.getAdvanceBetween(startPos - tlcStart, lineBreak);
334 startPos = tlcStart;
363 private int trailingCdWhitespaceStart(int startPos, int limitPos) { argument
368 for (int cdWsStart = limitPos; --cdWsStart >= startPos;) {
376 return startPos;
379 private TextLineComponent[] makeComponentsOnRange(int startPos, argument
386 final int cdWsStart = trailingCdWhitespaceStart(startPos, limitPo
470 makeTextLineOnRange(int startPos, int limitPos) argument
[all...]
H A DTextLine.java1012 int startPos = pos;
1016 LineMetrics lineMetrics = font.getLineMetrics(chars, startPos, chunkLimit, frc);
1021 lmCount = (chunkLimit-startPos);
1025 factory.createExtended(font, cm, decorator, startPos, startPos + lmCount);
/openjdk9/langtools/test/tools/javac/positions/
H A DTreeEndPosTest.java57 int startPos; field in class:TreeEndPosTest.JavaSource
73 js.startPos = js.source.indexOf(expected);
74 js.endPos = js.startPos + expected.length();
98 js.startPos = start;
162 System.out.print("Start position: Expected: " + src.startPos);
166 if (src.startPos != actualStart || src.endPos != actualEnd) {
/openjdk9/jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/org/jvnet/mimepull/
H A DChunkInputStream.java45 public ChunkInputStream(MIMEMessage msg, MIMEPart part, Chunk startPos) { argument
46 this.current = startPos;
/openjdk9/jdk/src/java.base/share/classes/java/util/
H A DStringTokenizer.java242 * after startPos. If retDelims is true, startPos is returned.
244 private int skipDelimiters(int startPos) { argument
248 int position = startPos;
267 * Skips ahead from startPos and returns the index of the next delimiter
270 private int scanToken(int startPos) { argument
271 int position = startPos;
285 if (retDelims && (startPos == position)) {
/openjdk9/jdk/src/java.base/share/classes/sun/text/
H A DDictionaryBasedBreakIterator.java286 int startPos = text.getIndex();
293 if (dictionaryCharCount > 1 && result - startPos > 1) {
294 divideUpDictionaryRange(startPos, result);
342 private void divideUpDictionaryRange(int startPos, int endPos) { argument
349 text.setIndex(startPos);
464 && text.getIndex() != startPos) {
519 cachedBreakPositions[0] = startPos;
/openjdk9/langtools/test/tools/javac/generics/6413682/
H A DTestPos.java82 long startPos = trees.getSourcePositions().getStartPosition(toplevel, node);
85 startPos,
88 if (startPos != 28)
89 error("Start pos for %s is incorrect (%s)!", node, startPos);
/openjdk9/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/parser/
H A DJavadocTokenizer.java78 int startPos; field in class:JavadocTokenizer.DocReader
115 DocReader(ScannerFactory fac, char[] input, int inputLength, int startPos) { argument
117 this.startPos = startPos;
200 || (sp - pbuf[pp - 2] != (startPos + bp) - pbuf[pp - 1])) {
207 pbuf[pp + 1] = startPos + bp;
/openjdk9/jaxp/src/java.xml/share/classes/com/sun/org/apache/xml/internal/dtm/ref/
H A DChunkedIntArray.java133 // of the node at index "startPos". IF IT IS, DO NOT ACCEPT IT AND
138 int specialFind(int startPos, int position) argument
142 int ancestor = startPos;
/openjdk9/corba/src/java.corba/share/classes/com/sun/corba/se/impl/encoding/
H A DWrapperInputStream.java71 private int startPos = 0; field in class:WrapperInputStream
76 startPos = stream.getPosition();
182 //"returning getPosition " + getPosition() + " - startPos " + startPos +
183 //" = " + (getPosition() - startPos));
184 return getPosition() - startPos;
/openjdk9/jdk/test/sanity/client/lib/jemmy/src/org/netbeans/jemmy/operators/
H A DJTextAreaOperator.java383 int startPos = 0;
385 startPos = getLineStartOffset(startRow) + startColumn;
399 selectText(startPos, endPos);
/openjdk9/jaxp/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/util/
H A DURI.java556 int startPos = index;
571 if (index > startPos) {
574 if (!initializeAuthority(uriSpec.substring(startPos, index))) {
575 index = startPos - 2;
672 int startPos = index;
687 if (index > startPos) {
690 if (!initializeAuthority(uriSpec.substring(startPos, index))) {
691 index = startPos - 2;
/openjdk9/langtools/test/tools/javac/processing/errors/CrashOnNonExistingAnnotation/
H A DProcessor.java116 int startPos = (int) trees.getSourcePositions().getStartPosition(cut, node);
119 annotation2Target.put(new int[] {startPos, endPos}, target);
/openjdk9/jdk/src/jdk.internal.le/share/classes/jdk/internal/jline/console/
H A DConsoleReader.java1226 * @param startPos The start position
1234 private boolean viDeleteTo(int startPos, int endPos, boolean isChange) throws IOException { argument
1235 if (startPos == endPos) {
1239 if (endPos < startPos) {
1241 endPos = startPos;
1242 startPos = tmp;
1245 setCursorPosition(startPos);
1246 buf.cursor = startPos;
1247 buf.buffer.delete(startPos, endPos);
1248 drawBuffer(endPos - startPos);
1271 viYankTo(int startPos, int endPos) argument
[all...]
/openjdk9/jdk/src/java.desktop/share/classes/com/sun/imageio/plugins/png/
H A DPNGImageWriter.java98 private final long startPos; field in class:ChunkStream
103 this.startPos = stream.getStreamPosition();
137 stream.seek(startPos);
138 stream.writeInt((int)(pos - startPos) - 12);
163 private long startPos; field in class:IDATOutputStream
185 this.startPos = stream.getStreamPosition();
200 stream.seek(startPos);
201 stream.writeInt((int)(pos - startPos) - 12);
209 * If flushBefore() fails we try to access startPos in finally
210 * block of write_IDAT(). We should update startPos t
[all...]
/openjdk9/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/messaging/saaj/util/
H A DJaxmURI.java369 int startPos = index;
383 if (index > startPos) {
384 initializeAuthority(uriSpec.substring(startPos, index));
/openjdk9/jdk/src/java.desktop/share/classes/javax/swing/text/
H A DGlyphView.java452 int startPos = 0;
458 if (startPos != curPos) {
461 p0 + startPos, p0 + curPos);
467 startPos = curPos;
H A DFlowView.java653 void reparentViews(View pool, int startPos) { argument
654 int n = pool.getViewIndex(startPos, Position.Bias.Forward);
/openjdk9/hotspot/test/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/sparc/
H A DSPARCTestAssembler.java185 int startPos = code.position();
189 while (code.position() < (startPos + 28)) {
/openjdk9/jdk/test/javax/net/ssl/Stapling/
H A DStapleEnableProps.java479 int startPos = data.position();
522 while (data.position() < recLen + startPos + 5) {

Completed in 276 milliseconds

12