Searched refs:beginIndex (Results 1 - 25 of 35) sorted by relevance

12

/openjdk7/jaxp/src/com/sun/org/apache/regexp/internal/
H A DCharacterArrayCharacterIterator.java46 public String substring(int beginIndex, int endIndex) argument
52 if (beginIndex < 0 || beginIndex > endIndex) {
53 throw new IndexOutOfBoundsException("beginIndex=" + beginIndex
56 return new String(src, off + beginIndex, endIndex - beginIndex);
60 public String substring(int beginIndex) argument
62 return substring(beginIndex, len);
H A DCharacterIterator.java32 String substring(int beginIndex, int endIndex); argument
35 String substring(int beginIndex); argument
H A DStringCharacterIterator.java40 public String substring(int beginIndex, int endIndex) argument
42 return src.substring(beginIndex, endIndex);
46 public String substring(int beginIndex) argument
48 return src.substring(beginIndex);
H A DReaderCharacterIterator.java51 public String substring(int beginIndex, int endIndex) argument
56 return buff.toString().substring(beginIndex, endIndex);
65 public String substring(int beginIndex) argument
70 return buff.toString().substring(beginIndex);
H A DStreamCharacterIterator.java51 public String substring(int beginIndex, int endIndex) argument
56 return buff.toString().substring(beginIndex, endIndex);
65 public String substring(int beginIndex) argument
70 return buff.toString().substring(beginIndex);
/openjdk7/jdk/src/share/classes/java/text/
H A DFieldPosition.java91 int beginIndex = 0; field in class:FieldPosition
169 return beginIndex;
185 beginIndex = bi;
223 return (beginIndex == other.beginIndex
233 return (field << 24) | (beginIndex << 16) | endIndex;
243 ",beginIndex=" + beginIndex +
H A DAttributedString.java194 * @param beginIndex Index of the first character of the range.
199 * beginIndex and endIndex is out of the text range.
203 int beginIndex,
205 this(text, beginIndex, endIndex, null);
219 * @param beginIndex Index of the first character of the range.
227 * beginIndex and endIndex is out of the text range.
231 int beginIndex,
241 if (beginIndex < textBeginIndex || endIndex > textEndIndex || beginIndex > endIndex)
246 text.setIndex(beginIndex);
202 AttributedString(AttributedCharacterIterator text, int beginIndex, int endIndex) argument
230 AttributedString(AttributedCharacterIterator text, int beginIndex, int endIndex, Attribute[] attributes) argument
341 addAttribute(Attribute attribute, Object value, int beginIndex, int endIndex) argument
368 addAttributes(Map<? extends Attribute, ?> attributes, int beginIndex, int endIndex) argument
400 addAttributeImpl(Attribute attribute, Object value, int beginIndex, int endIndex) argument
582 getIterator(Attribute[] attributes, int beginIndex, int endIndex) argument
615 getAttributeCheckRange(Attribute attribute, int runIndex, int beginIndex, int endIndex) argument
737 private int beginIndex; field in class:AttributedString.AttributedStringIterator
753 AttributedStringIterator(Attribute[] attributes, int beginIndex, int endIndex) argument
1046 int beginIndex; field in class:AttributedString.AttributeMap
1049 AttributeMap(int runIndex, int beginIndex, int endIndex) argument
[all...]
/openjdk7/jdk/src/share/classes/java/awt/
H A DFontMetrics.java468 * @param beginIndex the initial offset of <code>str</code>
476 int beginIndex, int limit,
478 return font.getLineMetrics(str, beginIndex, limit, myFRC(context));
485 * @param beginIndex the initial offset of <code>chars</code>
493 int beginIndex, int limit,
496 chars, beginIndex, limit, myFRC(context));
504 * @param beginIndex the initial offset in <code>ci</code>
512 int beginIndex, int limit,
514 return font.getLineMetrics(ci, beginIndex, limit, myFRC(context));
541 * @param beginIndex th
475 getLineMetrics( String str, int beginIndex, int limit, Graphics context) argument
492 getLineMetrics(char [] chars, int beginIndex, int limit, Graphics context) argument
511 getLineMetrics(CharacterIterator ci, int beginIndex, int limit, Graphics context) argument
549 getStringBounds( String str, int beginIndex, int limit, Graphics context) argument
574 getStringBounds( char [] chars, int beginIndex, int limit, Graphics context) argument
596 getStringBounds(CharacterIterator ci, int beginIndex, int limit, Graphics context) argument
[all...]
H A DFont.java2254 * @param beginIndex the initial offset of <code>str</code>
2261 int beginIndex, int limit,
2264 int numChars = limit - beginIndex;
2273 * @param beginIndex the initial offset of <code>chars</code>
2280 int beginIndex, int limit,
2283 int numChars = limit - beginIndex;
2292 * @param beginIndex the initial offset in <code>ci</code>
2299 int beginIndex, int limit,
2302 int numChars = limit - beginIndex;
2346 * @param beginIndex th
2260 getLineMetrics( String str, int beginIndex, int limit, FontRenderContext frc) argument
2279 getLineMetrics(char [] chars, int beginIndex, int limit, FontRenderContext frc) argument
2298 getLineMetrics(CharacterIterator ci, int beginIndex, int limit, FontRenderContext frc) argument
2360 getStringBounds( String str, int beginIndex, int limit, FontRenderContext frc) argument
2395 getStringBounds(char [] chars, int beginIndex, int limit, FontRenderContext frc) argument
2462 getStringBounds(CharacterIterator ci, int beginIndex, int limit, FontRenderContext frc) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DModelByteBuffer.java139 long beginIndex, long endIndex, boolean independent) {
143 if (beginIndex < 0)
144 beginIndex = 0;
145 if (beginIndex > parent_len)
146 beginIndex = parent_len;
151 if (beginIndex > endIndex)
152 beginIndex = endIndex;
153 offset = beginIndex;
154 len = endIndex - beginIndex;
215 public ModelByteBuffer subbuffer(long beginIndex) { argument
138 ModelByteBuffer(ModelByteBuffer parent, long beginIndex, long endIndex, boolean independent) argument
219 subbuffer(long beginIndex, long endIndex) argument
223 subbuffer(long beginIndex, long endIndex, boolean independent) argument
[all...]
/openjdk7/jdk/src/share/classes/java/awt/im/
H A DInputMethodRequests.java143 * @param beginIndex the index of the first character
149 AttributedCharacterIterator getCommittedText(int beginIndex, int endIndex, argument
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/parser/
H A DLexer.java86 * The returned array begins at the <code>beginIndex</code> and
88 * Thus the length of the substring is <code>endIndex-beginIndex</code>.
90 * <code>String.substring(beginIndex, endIndex)</code>.
93 * @param beginIndex the beginning index, inclusive.
98 char[] getRawCharacters(int beginIndex, int endIndex); argument
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/utils/
H A DXMLStringDefault.java629 * @param beginIndex the beginning index, inclusive.
632 * <code>beginIndex</code> is negative or larger than the
635 public XMLString substring(int beginIndex) argument
637 return new XMLStringDefault(m_str.substring(beginIndex));
642 * substring begins at the specified <code>beginIndex</code> and
644 * Thus the length of the substring is <code>endIndex-beginIndex</code>.
646 * @param beginIndex the beginning index, inclusive.
650 * <code>beginIndex</code> is negative, or
653 * <code>beginIndex</code> is larger than
656 public XMLString substring(int beginIndex, in argument
[all...]
H A DXMLString.java539 * @param beginIndex the beginning index, inclusive.
542 * <code>beginIndex</code> is negative or larger than the
545 public abstract XMLString substring(int beginIndex); argument
549 * substring begins at the specified <code>beginIndex</code> and
551 * Thus the length of the substring is <code>endIndex-beginIndex</code>.
553 * @param beginIndex the beginning index, inclusive.
557 * <code>beginIndex</code> is negative, or
560 * <code>beginIndex</code> is larger than
563 public abstract XMLString substring(int beginIndex, int endIndex); argument
/openjdk7/jdk/src/share/classes/sun/awt/im/
H A DInputMethodContext.java154 int beginIndex = text.getBeginIndex();
156 (new AttributedString(text, beginIndex, beginIndex + committedCharacterCount)).getIterator();
299 public AttributedCharacterIterator getCommittedText(int beginIndex, argument
302 return getReq().getCommittedText(beginIndex, endIndex, attributes);
H A DCompositionAreaHandler.java308 public AttributedCharacterIterator getCommittedText(int beginIndex, argument
313 return req.getCommittedText(beginIndex, endIndex, attributes);
/openjdk7/jdk/src/share/classes/java/lang/
H A DString.java725 * specified <code>beginIndex</code> and extends to the
728 * <code>endIndex-beginIndex</code>. Unpaired surrogates within
731 * @param beginIndex the index to the first <code>char</code> of
738 * <code>beginIndex</code> is negative, or <code>endIndex</code>
740 * <code>beginIndex</code> is larger than <code>endIndex</code>.
743 public int codePointCount(int beginIndex, int endIndex) { argument
744 if (beginIndex < 0 || endIndex > value.length || beginIndex > endIndex) {
747 return Character.codePointCountImpl(value, beginIndex, endIndex - beginIndex);
1869 substring(int beginIndex) argument
1902 substring(int beginIndex, int endIndex) argument
1945 subSequence(int beginIndex, int endIndex) argument
[all...]
H A DStringBuffer.java200 public synchronized int codePointCount(int beginIndex, int endIndex) { argument
201 return super.codePointCount(beginIndex, endIndex);
H A DAbstractStringBuilder.java267 * <code>beginIndex</code> and extends to the <code>char</code> at
270 * <code>endIndex-beginIndex</code>. Unpaired surrogates within
273 * @param beginIndex the index to the first <code>char</code> of
280 * <code>beginIndex</code> is negative, or <code>endIndex</code>
282 * <code>beginIndex</code> is larger than <code>endIndex</code>.
284 public int codePointCount(int beginIndex, int endIndex) { argument
285 if (beginIndex < 0 || endIndex > count || beginIndex > endIndex) {
288 return Character.codePointCountImpl(value, beginIndex, endIndex-beginIndex);
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/objects/
H A DXStringForFSB.java748 * @param beginIndex the beginning index, inclusive.
751 * <code>beginIndex</code> is negative or larger than the
754 public XMLString substring(int beginIndex) argument
757 int len = m_length - beginIndex;
763 int start = m_start + beginIndex;
771 * substring begins at the specified <code>beginIndex</code> and
773 * Thus the length of the substring is <code>endIndex-beginIndex</code>.
775 * @param beginIndex the beginning index, inclusive.
779 * <code>beginIndex</code> is negative, or
782 * <code>beginIndex</cod
785 substring(int beginIndex, int endIndex) argument
[all...]
H A DXString.java869 * @param beginIndex the beginning index, inclusive.
872 * <code>beginIndex</code> is negative or larger than the
875 public XMLString substring(int beginIndex) argument
877 return new XString(str().substring(beginIndex));
882 * substring begins at the specified <code>beginIndex</code> and
884 * Thus the length of the substring is <code>endIndex-beginIndex</code>.
886 * @param beginIndex the beginning index, inclusive.
890 * <code>beginIndex</code> is negative, or
893 * <code>beginIndex</code> is larger than
896 public XMLString substring(int beginIndex, in argument
[all...]
/openjdk7/jdk/src/solaris/classes/sun/awt/motif/
H A DMFontConfiguration.java234 int beginIndex = 0;
236 while (fieldNum-- > 0 && beginIndex >= 0) {
237 beginIndex = awtFontName.indexOf("-", beginIndex) + 1;
239 if (beginIndex == -1) {
242 String xlfdEncoding = awtFontName.substring(beginIndex);
/openjdk7/jdk/src/share/classes/java/nio/file/
H A DPath.java194 * <p> The {@code beginIndex} and {@code endIndex} parameters specify the
199 * that begin at {@code beginIndex} and extend to the element at index {@code
202 * @param beginIndex
211 * if {@code beginIndex} is negative, or greater than or equal to
213 * equal to {@code beginIndex}, or larger than the number of elements.
215 Path subpath(int beginIndex, int endIndex); argument
/openjdk7/jdk/src/windows/classes/sun/nio/fs/
H A DWindowsPath.java625 public WindowsPath subpath(int beginIndex, int endIndex) { argument
627 if (beginIndex < 0)
629 if (beginIndex >= offsets.length)
633 if (beginIndex >= endIndex)
637 Integer[] nelems = new Integer[endIndex - beginIndex];
638 for (int i = beginIndex; i < endIndex; i++) {
639 nelems[i-beginIndex] = sb.length();
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DUnixPath.java340 public UnixPath subpath(int beginIndex, int endIndex) { argument
343 if (beginIndex < 0)
345 if (beginIndex >= offsets.length)
349 if (beginIndex >= endIndex) {
354 int begin = offsets[beginIndex];

Completed in 75 milliseconds

12