Home
last modified time | relevance | path

Searched refs:beginIndex (Results 1 – 16 of 16) sorted by relevance

/libcore/ojluni/src/main/java/java/text/
DAttributedString.java204 int beginIndex, in AttributedString() argument
206 this(text, beginIndex, endIndex, null); in AttributedString()
232 int beginIndex, in AttributedString() argument
242 if (beginIndex < textBeginIndex || endIndex > textEndIndex || beginIndex > endIndex) in AttributedString()
247 text.setIndex(beginIndex); in AttributedString()
252 if (beginIndex == endIndex) in AttributedString()
281 if (start >= beginIndex && limit <= endIndex) { in AttributedString()
282 … addAttribute(attributeKey, value, start - beginIndex, limit - beginIndex); in AttributedString()
292 if (limit > beginIndex) { in AttributedString()
294 if (start < beginIndex) in AttributedString()
[all …]
DFieldPosition.java91 int beginIndex = 0; field in FieldPosition
174 return beginIndex; in getBeginIndex()
194 beginIndex = bi; in setBeginIndex()
234 return (beginIndex == other.beginIndex in equals()
244 return (field << 24) | (beginIndex << 16) | endIndex; in hashCode()
254 ",beginIndex=" + beginIndex + in toString()
DSimpleDateFormat.java1052 pos.beginIndex = pos.endIndex = 0; in format()
/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()
2021 public String substring(int beginIndex) { in substring() argument
2022 if (beginIndex < 0) { in substring()
2023 throw new StringIndexOutOfBoundsException(this, beginIndex); in substring()
2025 int subLen = length() - beginIndex; in substring()
2027 throw new StringIndexOutOfBoundsException(this, beginIndex); in substring()
2030 return (beginIndex == 0) ? this : fastSubstring(beginIndex, subLen); in substring()
2055 public String substring(int beginIndex, int endIndex) { in substring() argument
[all …]
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/annotations/hiddenapi/java/lang/
DString.java125 public int codePointCount(int beginIndex, int endIndex) { in codePointCount() argument
304 public java.lang.String substring(int beginIndex) { in substring() 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/src/main/java/java/nio/file/
DPath.java215 Path subpath(int beginIndex, int endIndex); in subpath() 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
136 @libcore.util.NonNull public java.lang.String substring(int beginIndex) { throw new RuntimeExceptio… in substring() 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 public static int codePointCount(@libcore.util.NonNull java.lang.CharSequence seq, int beginIndex, … in codePointCount() argument
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixPath.java340 public UnixPath subpath(int beginIndex, int endIndex) { in subpath() argument
343 if (beginIndex < 0) in subpath()
345 if (beginIndex >= offsets.length) in subpath()
349 if (beginIndex >= endIndex) { in subpath()
354 int begin = offsets[beginIndex]; in subpath()
/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