/libcore/ojluni/src/main/java/java/text/ |
D | AttributedString.java | 202 int endIndex) { in AttributedString() argument 203 this(text, beginIndex, endIndex, null); in AttributedString() 230 int endIndex, in AttributedString() argument 239 if (beginIndex < textBeginIndex || endIndex > textEndIndex || beginIndex > endIndex) in AttributedString() 245 for (char c = text.current(); text.getIndex() < endIndex; c = text.next()) in AttributedString() 249 if (beginIndex == endIndex) in AttributedString() 271 while (text.getIndex() < endIndex) { in AttributedString() 278 if (start >= beginIndex && limit <= endIndex) { in AttributedString() 281 if (limit > endIndex) in AttributedString() 287 if (start >= endIndex) in AttributedString() [all …]
|
D | FieldPosition.java | 86 int endIndex = 0; field in FieldPosition 185 return endIndex; in getEndIndex() 205 endIndex = ei; in setEndIndex() 235 && endIndex == other.endIndex in equals() 244 return (field << 24) | (beginIndex << 16) | endIndex; in hashCode() 255 ",endIndex=" + endIndex + ']'; in toString()
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | DNSName.java | 84 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/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() 82 endIndex, source)); 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() 87 endIndex, source)); in testCodePointCount()
|
/libcore/ojluni/src/main/java/java/lang/ |
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()) { 851 if (i < endIndex) { 859 endIndex, i); 862 if (i == endIndex) { // Cannot have lone "+" or "-" 864 endIndex, i); 869 while (i < endIndex) { 874 endIndex, i); 879 endIndex, i); 1014 public static int parseUnsignedInt(CharSequence s, int beginIndex, int endIndex, int radix) [all …]
|
D | StackStreamFactory.java | 396 int endIndex = fetchStackFrames(mode, anchor, batchSize, in fetchStackFrames() local 401 batchSize, frameBuffer.startIndex(), endIndex); in fetchStackFrames() 403 int numFrames = endIndex - startIndex; in fetchStackFrames() 407 frameBuffer.setBatch(depth, startIndex, endIndex); in fetchStackFrames() 435 int endIndex = fetchStackFrames(mode, anchor, batchSize, startIndex, frames); in callStackWalk() local 436 return doStackWalk(anchor, skipframes, batchSize, startIndex, endIndex); in callStackWalk() 494 int endIndex = nativeFetchStackFrameInfo(mode, stacks.nativeAnchor, startTraceIndex, in fetchStackFrames() local 497 stacks.stackLevel += endIndex - startIndex; in fetchStackFrames() 498 return endIndex; in fetchStackFrames() 992 final void setBatch(int depth, int startIndex, int endIndex) { in setBatch() argument [all …]
|
D | NumberFormatException.java | 80 int beginIndex, int endIndex, int errorIndex) { in forCharSequence() argument 83 + s.subSequence(beginIndex, endIndex) + "\""); in forCharSequence()
|
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() 805 if (i < endIndex) { in parseLong() 813 endIndex, i); in parseLong() 817 if (i >= endIndex) { // Cannot have lone "+", "-" or "" in parseLong() 819 endIndex, i); in parseLong() 823 while (i < endIndex) { in parseLong() 828 endIndex, i); in parseLong() 833 endIndex, i); in parseLong() 1031 public static long parseUnsignedLong(CharSequence s, int beginIndex, int endIndex, int radix) in parseUnsignedLong() argument [all …]
|
D | String.java | 953 public int codePointCount(int beginIndex, int endIndex) { in codePointCount() argument 954 if (beginIndex < 0 || beginIndex > endIndex || in codePointCount() 955 endIndex > length()) { in codePointCount() 965 return Character.codePointCount(this, beginIndex, endIndex); in codePointCount() 2525 public String substring(int beginIndex, int endIndex) { in substring() argument 2527 checkBoundsBeginEnd(beginIndex, endIndex, length); in substring() 2528 int subLen = endIndex - beginIndex; in substring() 2529 if (beginIndex == 0 && endIndex == length) { in substring() 2576 public CharSequence subSequence(int beginIndex, int endIndex) { in subSequence() argument 2577 return this.substring(beginIndex, endIndex); in subSequence()
|
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; 150 if (checked && i < endIndex) { 151 checkBoundsBeginEnd(i, endIndex, value); 153 for (; i < endIndex - 1; ) { 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 | 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 | StringBuffer.java | 272 public synchronized int codePointCount(int beginIndex, int endIndex) { in codePointCount() argument 273 return super.codePointCount(beginIndex, endIndex); in codePointCount()
|
/libcore/ojluni/src/main/java/java/util/zip/ |
D | CRC32.java | 169 int endIndex = off + len - 1; in updateBytesCheck() local 170 if (endIndex < 0 || endIndex >= b.length) { in updateBytesCheck() 171 throw new ArrayIndexOutOfBoundsException(endIndex); in updateBytesCheck()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | ArraysTest.java | 1043 int endIndex = 3 * arraySize / 4; in test_sort$BII() local 1050 Arrays.sort(reversedArray, startIndex, endIndex); in test_sort$BII() 1054 for (int counter = startIndex; counter < endIndex - 1; counter++) in test_sort$BII() 1057 for (int counter = endIndex; counter < arraySize; counter++) in test_sort$BII() 1102 int endIndex = 3 * arraySize / 4; in test_sort$CII() local 1109 Arrays.sort(reversedArray, startIndex, endIndex); in test_sort$CII() 1113 for (int counter = startIndex; counter < endIndex - 1; counter++) in test_sort$CII() 1116 for (int counter = endIndex; counter < arraySize; counter++) in test_sort$CII() 1195 int endIndex = 3 * arraySize / 4; in test_sort$DII() local 1202 Arrays.sort(reversedArray, startIndex, endIndex); in test_sort$DII() [all …]
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | AbstractListTest.java | 61 private static<T> void assertSubListOutOfBounds(List<T> list, int startIndex, int endIndex) { in assertSubListOutOfBounds() argument 63 list.subList(startIndex, endIndex); in assertSubListOutOfBounds()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixPath.java | 340 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/sdk/nullability/java/lang/ |
D | Integer.annotated.java | 56 …Int(@libcore.util.NonNull java.lang.CharSequence s, int beginIndex, int endIndex, int radix) throw… in parseInt() argument 62 …Int(@libcore.util.NonNull java.lang.CharSequence s, int beginIndex, int endIndex, int radix) throw… in parseUnsignedInt() argument
|
D | Long.annotated.java | 57 …ong(@libcore.util.NonNull java.lang.CharSequence s, int beginIndex, int endIndex, int radix) throw… in parseLong() argument 63 …ong(@libcore.util.NonNull java.lang.CharSequence s, int beginIndex, int endIndex, int radix) throw… in parseUnsignedLong() argument
|
D | String.annotated.java | 84 public int codePointCount(int beginIndex, int endIndex) { throw new RuntimeException("Stub!"); } in codePointCount() 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
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | String.java | 125 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
|
/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/src/test/java/nio/file/Path/ |
D | PathOps.java | 105 PathOps subpath(int startIndex, int endIndex, String expected) { in subpath() argument 107 check(path.subpath(startIndex, endIndex), expected); in subpath()
|