/openjdk7/jaxp/src/com/sun/org/apache/regexp/internal/ |
H A D | CharacterArrayCharacterIterator.java | 46 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 D | CharacterIterator.java | 32 String substring(int beginIndex, int endIndex); argument 35 String substring(int beginIndex); argument
|
H A D | StringCharacterIterator.java | 40 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 D | ReaderCharacterIterator.java | 51 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 D | StreamCharacterIterator.java | 51 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 D | FieldPosition.java | 91 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 D | AttributedString.java | 194 * @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 D | FontMetrics.java | 468 * @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 D | Font.java | 2254 * @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 D | ModelByteBuffer.java | 139 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 D | InputMethodRequests.java | 143 * @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 D | Lexer.java | 86 * 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 D | XMLStringDefault.java | 629 * @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 D | XMLString.java | 539 * @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 D | InputMethodContext.java | 154 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 D | CompositionAreaHandler.java | 308 public AttributedCharacterIterator getCommittedText(int beginIndex, argument 313 return req.getCommittedText(beginIndex, endIndex, attributes);
|
/openjdk7/jdk/src/share/classes/java/lang/ |
H A D | String.java | 725 * 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 D | StringBuffer.java | 200 public synchronized int codePointCount(int beginIndex, int endIndex) { argument 201 return super.codePointCount(beginIndex, endIndex);
|
H A D | AbstractStringBuilder.java | 267 * <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 D | XStringForFSB.java | 748 * @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 D | XString.java | 869 * @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 D | MFontConfiguration.java | 234 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 D | Path.java | 194 * <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 D | WindowsPath.java | 625 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 D | UnixPath.java | 340 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];
|