Searched defs:startPos (Results 1 - 13 of 13) sorted by relevance

/openjdk7/jdk/make/tools/src/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...]
/openjdk7/jdk/src/share/classes/java/text/
H A DDictionaryBasedBreakIterator.java279 int startPos = text.getIndex();
286 if (dictionaryCharCount > 1 && result - startPos > 1) {
287 divideUpDictionaryRange(startPos, result);
333 private void divideUpDictionaryRange(int startPos, int endPos) { argument
340 text.setIndex(startPos);
452 && text.getIndex() != startPos) {
507 cachedBreakPositions[0] = startPos;
/openjdk7/jdk/src/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)) {
/openjdk7/jaxws/src/share/jaxws_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;
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/dtm/ref/
H A DChunkedIntArray.java134 // of the node at index "startPos". IF IT IS, DO NOT ACCEPT IT AND
139 int specialFind(int startPos, int position) argument
143 int ancestor = startPos;
/openjdk7/jdk/src/share/classes/java/awt/font/
H A DTextMeasurer.java302 int startPos = pos;
310 if (gaLimit > startPos) {
325 int lineBreak = tlc.getLineBreakIndex(startPos - tlcStart, width);
327 width -= tlc.getAdvanceBetween(startPos - tlcStart, lineBreak);
329 startPos = tlcStart;
358 private int trailingCdWhitespaceStart(int startPos, int limitPos) { argument
363 for (int cdWsStart = limitPos; --cdWsStart >= startPos;) {
371 return startPos;
374 private TextLineComponent[] makeComponentsOnRange(int startPos, argument
381 final int cdWsStart = trailingCdWhitespaceStart(startPos, limitPo
465 makeTextLineOnRange(int startPos, int limitPos) argument
[all...]
/openjdk7/corba/src/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;
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DFlowView.java639 void reparentViews(View pool, int startPos) { argument
640 int n = pool.getViewIndex(startPos, Position.Bias.Forward);
H A DWrappedPlainView.java764 * @param startPos position to start breaking from
767 final int[] breakLines(int startPos) { argument
773 lineIndex = findLine(startPos - start);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/jvm/
H A DCRTable.java105 if ((pos.startPos == Position.NOPOS) || (pos.endPos == Position.NOPOS))
110 System.out.print("Start: pos = " + pos.startPos + ", pc = " + entry.startPc);
113 // encode startPos into line/column representation
114 int startPos = encodePosition(pos.startPos, lineMap, log);
115 if (startPos == Position.NOPOS)
131 databuf.appendInt(startPos);
244 SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
250 SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
257 // endPos is the same as startPos fo
525 public int startPos(JCTree tree) { method in class:CRTable.SourceComputer
581 int startPos; field in class:CRTable.SourceRange
594 SourceRange(int startPos, int endPos) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/png/
H A DPNGImageWriter.java100 private long startPos; field in class:ChunkStream
105 this.startPos = stream.getStreamPosition();
135 stream.seek(startPos);
136 stream.writeInt((int)(pos - startPos) - 12);
159 private long startPos; field in class:IDATOutputStream
176 this.startPos = stream.getStreamPosition();
191 stream.seek(startPos);
192 stream.writeInt((int)(pos - startPos) - 12);
/openjdk7/jdk/src/share/classes/com/sun/rowset/
H A DCachedRowSetImpl.java236 private int startPos; field in class:CachedRowSetImpl
7261 startPos = start;
7265 if((endPos - startPos) >= getMaxRows() && (getMaxRows() > 0)){
7466 if(startPrev < startPos ){
7607 crsReader.setStartPosition(startPos);
7612 populate(resultSet,startPos);
7651 int start = startPos + (pS * (quo - 1));
7667 int start = startPos + (pS * quo);

Completed in 127 milliseconds