/libcore/ojluni/src/main/java/java/text/ |
D | AttributedString.java | 201 int beginIndex, in AttributedString() argument 203 this(text, beginIndex, endIndex, null); in AttributedString() 229 int beginIndex, in AttributedString() argument 239 if (beginIndex < textBeginIndex || endIndex > textEndIndex || beginIndex > endIndex) in AttributedString() 244 text.setIndex(beginIndex); in AttributedString() 249 if (beginIndex == endIndex) in AttributedString() 278 if (start >= beginIndex && limit <= endIndex) { in AttributedString() 279 … addAttribute(attributeKey, value, start - beginIndex, limit - beginIndex); in AttributedString() 289 if (limit > beginIndex) { in AttributedString() 291 if (start < beginIndex) in AttributedString() [all …]
|
D | FieldPosition.java | 92 int beginIndex = 0; field in FieldPosition 175 return beginIndex; in getBeginIndex() 195 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()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | NumberFormatException.java | 80 int beginIndex, int endIndex, int errorIndex) { in forCharSequence() argument 82 + (errorIndex - beginIndex) + " in: \"" in forCharSequence() 83 + s.subSequence(beginIndex, endIndex) + "\""); in forCharSequence()
|
D | Integer.java | 831 public static int parseInt(CharSequence s, int beginIndex, int endIndex, int radix) 835 if (beginIndex < 0 || beginIndex > endIndex || endIndex > s.length()) { 848 int i = beginIndex; 858 throw NumberFormatException.forCharSequence(s, beginIndex, 863 throw NumberFormatException.forCharSequence(s, beginIndex, 873 throw NumberFormatException.forCharSequence(s, beginIndex, 878 throw NumberFormatException.forCharSequence(s, beginIndex, 1014 public static int parseUnsignedInt(CharSequence s, int beginIndex, int endIndex, int radix) 1018 if (beginIndex < 0 || beginIndex > endIndex || endIndex > s.length()) { 1021 int start = beginIndex, len = endIndex - beginIndex;
|
D | Long.java | 785 public static long parseLong(CharSequence s, int beginIndex, int endIndex, int radix) in parseLong() argument 789 if (beginIndex < 0 || beginIndex > endIndex || endIndex > s.length()) { in parseLong() 802 int i = beginIndex; in parseLong() 812 throw NumberFormatException.forCharSequence(s, beginIndex, in parseLong() 818 throw NumberFormatException.forCharSequence(s, beginIndex, in parseLong() 827 throw NumberFormatException.forCharSequence(s, beginIndex, in parseLong() 832 throw NumberFormatException.forCharSequence(s, beginIndex, in parseLong() 1031 public static long parseUnsignedLong(CharSequence s, int beginIndex, int endIndex, int radix) in parseUnsignedLong() argument 1035 if (beginIndex < 0 || beginIndex > endIndex || endIndex > s.length()) { in parseUnsignedLong() 1038 int start = beginIndex, len = endIndex - beginIndex; in parseUnsignedLong()
|
D | String.java | 953 public int codePointCount(int beginIndex, int endIndex) { in codePointCount() argument 954 if (beginIndex < 0 || beginIndex > endIndex || in codePointCount() 965 return Character.codePointCount(this, beginIndex, endIndex); in codePointCount() 2483 public String substring(int beginIndex) { in substring() argument 2484 if (beginIndex < 0) { in substring() 2485 throw new StringIndexOutOfBoundsException(this, beginIndex); in substring() 2487 int subLen = length() - beginIndex; in substring() 2489 throw new StringIndexOutOfBoundsException(this, beginIndex); in substring() 2491 if (beginIndex == 0) { in substring() 2499 return fastSubstring(beginIndex, subLen); in substring() [all …]
|
D | AbstractStringBuilder.java | 402 public int codePointCount(int beginIndex, int endIndex) { in codePointCount() argument 403 if (beginIndex < 0 || endIndex > count || beginIndex > endIndex) { in codePointCount() 407 return endIndex - beginIndex; in codePointCount() 409 return StringUTF16.codePointCountSB(value, beginIndex, endIndex); in codePointCount()
|
D | StringUTF16.java | 146 private static int codePointCount(byte[] value, int beginIndex, int endIndex, boolean checked) { 147 assert beginIndex <= endIndex; 148 int count = endIndex - beginIndex; 149 int i = beginIndex; 163 public static int codePointCount(byte[] value, int beginIndex, int endIndex) { 164 return codePointCount(value, beginIndex, endIndex, false /* unchecked */); 1542 public static int codePointCountSB(byte[] val, int beginIndex, int endIndex) { 1543 return codePointCount(val, beginIndex, endIndex, true /* checked */);
|
D | StringBuffer.java | 272 public synchronized int codePointCount(int beginIndex, int endIndex) { in codePointCount() argument 273 return super.codePointCount(beginIndex, endIndex); in codePointCount()
|
D | StringLatin1.java | 68 public static int codePointCount(byte[] value, int beginIndex, int endIndex) { in codePointCount() argument 69 return endIndex - beginIndex; in codePointCount()
|
/libcore/ojluni/src/test/java/lang/String/CompactString/ |
D | SubString.java | 71 public void testSubstring(String str, int beginIndex, int endIndex, in testSubstring() argument 77 data.substring(beginIndex, endIndex), in testSubstring() 81 escapeNonASCIIs(data), beginIndex, in testSubstring()
|
D | CodePointCount.java | 76 public void testCodePointCount(String str, int beginIndex, int endIndex, in testCodePointCount() argument 82 data.codePointCount(beginIndex, endIndex), in testCodePointCount() 86 escapeNonASCIIs(data), beginIndex, in testCodePointCount()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | String.java | 125 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
|
D | AbstractStringBuilder.java | 85 public int codePointCount(int beginIndex, int endIndex) { in codePointCount() argument
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixPath.java | 340 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/annotations/sdk/nullability/java/lang/ |
D | String.annotated.java | 84 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) { throw new RuntimeExceptio… in substring() argument 140 @libcore.util.NonNull public java.lang.String substring(int beginIndex, int endIndex) { throw new R… in substring() argument 142 @libcore.util.NonNull public java.lang.CharSequence subSequence(int beginIndex, int endIndex) { thr… in subSequence() argument
|
D | Integer.annotated.java | 56 public static int parseInt(@libcore.util.NonNull java.lang.CharSequence s, int beginIndex, int endI… in parseInt() argument 62 public static int parseUnsignedInt(@libcore.util.NonNull java.lang.CharSequence s, int beginIndex, … in parseUnsignedInt() argument
|
D | Long.annotated.java | 57 public static long parseLong(@libcore.util.NonNull java.lang.CharSequence s, int beginIndex, int en… in parseLong() argument 63 public static long parseUnsignedLong(@libcore.util.NonNull java.lang.CharSequence s, int beginIndex… in parseUnsignedLong() argument
|
D | StringBuffer.annotated.java | 57 public synchronized int codePointCount(int beginIndex, int endIndex) { throw new RuntimeException("… in codePointCount() argument
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | Path.java | 329 Path subpath(int beginIndex, int endIndex); in subpath() argument
|
/libcore/ojluni/src/test/java/lang/StringBuffer/ |
D | Supplementary.java | 352 static void testCodePointCount(StringBuffer sb, int beginIndex, int endIndex, in testCodePointCount() argument 355 int n = sb.codePointCount(beginIndex, endIndex); in testCodePointCount()
|
/libcore/ojluni/src/test/java/lang/StringBuilder/ |
D | Supplementary.java | 367 static void testCodePointCount(StringBuilder sb, int beginIndex, int endIndex, in testCodePointCount() argument 370 int n = sb.codePointCount(beginIndex, endIndex); in testCodePointCount()
|
/libcore/ojluni/annotations/hiddenapi/java/util/regex/ |
D | Matcher.java | 183 java.lang.CharSequence getSubSequence(int beginIndex, int endIndex) { in getSubSequence() argument
|
/libcore/ojluni/src/main/java/java/util/regex/ |
D | Matcher.java | 1782 CharSequence getSubSequence(int beginIndex, int endIndex) { in getSubSequence() argument 1783 return text.subSequence(beginIndex, endIndex); in getSubSequence()
|
/libcore/ojluni/src/test/java/lang/Character/ |
D | Supplementary.java | 819 private static void callCodePointCount(Object data, int beginIndex, int endIndex, in callCodePointCount() argument 824 Character.codePointCount((CharSequence) data, beginIndex, endIndex) in callCodePointCount() 825 : Character.codePointCount((char[]) data, beginIndex, endIndex); in callCodePointCount()
|