Home
last modified time | relevance | path

Searched refs:endIndex (Results 1 – 19 of 19) sorted by relevance

/libcore/ojluni/src/main/java/java/text/
DAttributedString.java205 int endIndex) { in AttributedString() argument
206 this(text, beginIndex, endIndex, null); in AttributedString()
233 int endIndex, in AttributedString() argument
242 if (beginIndex < textBeginIndex || endIndex > textEndIndex || beginIndex > endIndex) in AttributedString()
248 for (char c = text.current(); text.getIndex() < endIndex; c = text.next()) in AttributedString()
252 if (beginIndex == endIndex) in AttributedString()
274 while (text.getIndex() < endIndex) { in AttributedString()
281 if (start >= beginIndex && limit <= endIndex) { in AttributedString()
284 if (limit > endIndex) in AttributedString()
290 if (start >= endIndex) in AttributedString()
[all …]
DFieldPosition.java85 int endIndex = 0; field in FieldPosition
184 return endIndex; in getEndIndex()
204 endIndex = ei; in setEndIndex()
235 && endIndex == other.endIndex in equals()
244 return (field << 24) | (beginIndex << 16) | endIndex; in hashCode()
255 ",endIndex=" + endIndex + ']'; in toString()
DSimpleDateFormat.java1052 pos.beginIndex = pos.endIndex = 0; in format()
/libcore/ojluni/src/main/java/sun/security/x509/
DDNSName.java84 for (int endIndex,startIndex=0; startIndex < name.length(); startIndex = endIndex+1) { in DNSName()
85 endIndex = name.indexOf('.', startIndex); in DNSName()
86 if (endIndex < 0) { in DNSName()
87 endIndex = name.length(); in DNSName()
89 if ((endIndex-startIndex) < 1) in DNSName()
96 for (int nonStartIndex=startIndex+1; nonStartIndex < endIndex; nonStartIndex++) { in DNSName()
/libcore/ojluni/src/main/java/java/lang/
DString.java703 public int codePointCount(int beginIndex, int endIndex) { in codePointCount() argument
704 if (beginIndex < 0 || endIndex > length() || beginIndex > endIndex) { in codePointCount()
708 return Character.codePointCount(this, beginIndex, endIndex); in codePointCount()
2055 public String substring(int beginIndex, int endIndex) { in substring() argument
2059 if (endIndex > length()) { in substring()
2060 throw new StringIndexOutOfBoundsException(this, endIndex); in substring()
2062 int subLen = endIndex - beginIndex; in substring()
2068 return ((beginIndex == 0) && (endIndex == length())) ? this in substring()
2106 public CharSequence subSequence(int beginIndex, int endIndex) { in subSequence() argument
2107 return this.substring(beginIndex, endIndex); in subSequence()
DAbstractStringBuilder.java318 public int codePointCount(int beginIndex, int endIndex) { in codePointCount() argument
319 if (beginIndex < 0 || endIndex > count || beginIndex > endIndex) { in codePointCount()
322 return Character.codePointCountImpl(value, beginIndex, endIndex-beginIndex); in codePointCount()
/libcore/ojluni/src/main/java/java/nio/file/
DPath.java215 Path subpath(int beginIndex, int endIndex); in subpath() argument
/libcore/luni/src/test/java/libcore/java/util/
DAbstractListTest.java61 private static<T> void assertSubListOutOfBounds(List<T> list, int startIndex, int endIndex) { in assertSubListOutOfBounds() argument
63 list.subList(startIndex, endIndex); in assertSubListOutOfBounds()
DBase64Test.java93 int endIndex = encodedBytes.length; in checkAlphabet() local
94 while (endIndex > 0 && encodedBytes[endIndex - 1] == '=') { in checkAlphabet()
95 endIndex--; in checkAlphabet()
97 for (byte b : Arrays.copyOfRange(encodedBytes, 0, endIndex)) { in checkAlphabet()
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixPath.java340 public UnixPath subpath(int beginIndex, int endIndex) { in subpath() argument
347 if (endIndex > offsets.length) in subpath()
349 if (beginIndex >= endIndex) { in subpath()
356 if (endIndex == offsets.length) { in subpath()
359 len = offsets[endIndex] - begin - 1; in subpath()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DString.java125 public int codePointCount(int beginIndex, int endIndex) { in codePointCount() argument
308 public java.lang.String substring(int beginIndex, int endIndex) { in substring() argument
314 public java.lang.CharSequence subSequence(int beginIndex, int endIndex) { in subSequence() argument
DAbstractStringBuilder.java85 public int codePointCount(int beginIndex, int endIndex) { in codePointCount() argument
DCharacter.java155 public static int codePointCount(java.lang.CharSequence seq, int beginIndex, int endIndex) { in codePointCount() argument
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DString.annotated.java82 public int codePointCount(int beginIndex, int endIndex) { throw new RuntimeException("Stub!"); } in codePointCount() argument
138 @libcore.util.NonNull public java.lang.String substring(int beginIndex, int endIndex) { throw new R… in substring() argument
140 @libcore.util.NonNull public java.lang.CharSequence subSequence(int beginIndex, int endIndex) { thr… in subSequence() argument
DStringBuffer.annotated.java57 public synchronized int codePointCount(int beginIndex, int endIndex) { throw new RuntimeException("… in codePointCount() argument
DStringBuilder.annotated.java138 public int codePointCount(int beginIndex, int endIndex) { throw new RuntimeException("Stub!"); } in codePointCount() argument
DCharacter.annotated.java89 …t(@libcore.util.NonNull java.lang.CharSequence seq, int beginIndex, int endIndex) { throw new Runt… in codePointCount() argument
/libcore/ojluni/src/main/java/java/util/regex/
DMatcher.java1131 CharSequence getSubSequence(int beginIndex, int endIndex) { in getSubSequence() argument
1132 return text.subSequence(beginIndex, endIndex); in getSubSequence()
/libcore/ojluni/annotations/hiddenapi/java/util/regex/
DMatcher.java183 java.lang.CharSequence getSubSequence(int beginIndex, int endIndex) { in getSubSequence() argument