Searched refs:endIndex (Results 1 - 12 of 12) sorted by relevance

/libcore/ojluni/src/main/java/java/text/
H A DFieldPosition.java85 int endIndex = 0; field in class:FieldPosition
184 return endIndex;
204 endIndex = ei;
235 && endIndex == other.endIndex
244 return (field << 24) | (beginIndex << 16) | endIndex;
255 ",endIndex=" + endIndex + ']';
H A DAttributedString.java196 * @param endIndex Index of the character following the last character
200 * beginIndex and endIndex is out of the text range.
205 int endIndex) {
206 this(text, beginIndex, endIndex, null);
221 * @param endIndex Index of the character following the last character
228 * beginIndex and endIndex is out of the text range.
233 int endIndex,
242 if (beginIndex < textBeginIndex || endIndex > textEndIndex || beginIndex > endIndex)
248 for (char c = text.current(); text.getIndex() < endIndex;
203 AttributedString(AttributedCharacterIterator text, int beginIndex, int endIndex) argument
231 AttributedString(AttributedCharacterIterator text, int beginIndex, int endIndex, Attribute[] attributes) argument
342 addAttribute(Attribute attribute, Object value, int beginIndex, int endIndex) argument
369 addAttributes(Map<? extends Attribute, ?> attributes, int beginIndex, int endIndex) argument
402 addAttributeImpl(Attribute attribute, Object value, int beginIndex, int endIndex) argument
594 getIterator(Attribute[] attributes, int beginIndex, int endIndex) argument
627 getAttributeCheckRange(Attribute attribute, int runIndex, int beginIndex, int endIndex) argument
750 private int endIndex; field in class:AttributedString.AttributedStringIterator
765 AttributedStringIterator(Attribute[] attributes, int beginIndex, int endIndex) argument
1059 int endIndex; field in class:AttributedString.AttributeMap
1061 AttributeMap(int runIndex, int beginIndex, int endIndex) argument
[all...]
/libcore/ojluni/src/main/java/sun/security/x509/
H A DDNSName.java83 //endIndex is the index of the last character of a component plus 1
84 for (int endIndex,startIndex=0; startIndex < name.length(); startIndex = endIndex+1) {
85 endIndex = name.indexOf('.', startIndex);
86 if (endIndex < 0) {
87 endIndex = name.length();
89 if ((endIndex-startIndex) < 1)
96 for (int nonStartIndex=startIndex+1; nonStartIndex < endIndex; nonStartIndex++) {
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DArraysTest.java1043 int endIndex = 3 * arraySize / 4;
1050 Arrays.sort(reversedArray, startIndex, endIndex);
1054 for (int counter = startIndex; counter < endIndex - 1; counter++)
1057 for (int counter = endIndex; counter < arraySize; counter++)
1102 int endIndex = 3 * arraySize / 4;
1109 Arrays.sort(reversedArray, startIndex, endIndex);
1113 for (int counter = startIndex; counter < endIndex - 1; counter++)
1116 for (int counter = endIndex; counter < arraySize; counter++)
1195 int endIndex = 3 * arraySize / 4;
1202 Arrays.sort(reversedArray, startIndex, endIndex);
[all...]
H A DTreeMapExtendTest.java1758 int startIndex, endIndex;
1770 endIndex = (Integer) endEntry.getValue();
1772 if (startIndex > endIndex) {
1816 for (int index = startIndex; index < endIndex; index++) {
1825 for (int index = startIndex + 1; index < endIndex; index++) {
1834 for (int index = startIndex + 1; index < endIndex; index++) {
1843 for (int index = startIndex; index < endIndex; index++) {
1851 for (int index = startIndex; index <= endIndex; index++) {
4419 int endIndex = (Integer) endEntry.getValue();
4420 if (startIndex < endIndex) {
[all...]
/libcore/ojluni/src/main/java/java/nio/file/
H A DPath.java194 * <p> The {@code beginIndex} and {@code endIndex} parameters specify the
200 * endIndex-1}.
204 * @param endIndex
212 * the number of elements. If {@code endIndex} is less than or
215 Path subpath(int beginIndex, int endIndex); argument
/libcore/ojluni/src/main/java/java/lang/
H A DString.java647 * {@code char} at index {@code endIndex - 1}. Thus the
649 * {@code endIndex-beginIndex}. Unpaired surrogates within
654 * @param endIndex the index after the last {@code char} of
659 * {@code beginIndex} is negative, or {@code endIndex}
661 * {@code beginIndex} is larger than {@code endIndex}.
664 public int codePointCount(int beginIndex, int endIndex) { argument
665 if (beginIndex < 0 || endIndex > length() || beginIndex > endIndex) {
668 return Character.codePointCount(this, beginIndex, endIndex);
1947 * extends to the character at index {@code endIndex
1966 substring(int beginIndex, int endIndex) argument
2014 subSequence(int beginIndex, int endIndex) argument
[all...]
H A DAbstractStringBuilder.java303 * index {@code endIndex - 1}. Thus the length (in
305 * {@code endIndex-beginIndex}. Unpaired surrogates within
310 * @param endIndex the index after the last {@code char} of
315 * {@code beginIndex} is negative, or {@code endIndex}
317 * {@code beginIndex} is larger than {@code endIndex}.
319 public int codePointCount(int beginIndex, int endIndex) { argument
320 if (beginIndex < 0 || endIndex > count || beginIndex > endIndex) {
323 return Character.codePointCountImpl(value, beginIndex, endIndex-beginIndex);
H A DStringBuffer.java226 public synchronized int codePointCount(int beginIndex, int endIndex) { argument
227 return super.codePointCount(beginIndex, endIndex);
H A DCharacter.java5210 * {@code char} at index {@code endIndex - 1}. Thus the
5212 * {@code endIndex-beginIndex}. Unpaired surrogates within
5218 * @param endIndex the index after the last {@code char} of
5224 * {@code beginIndex} is negative, or {@code endIndex}
5226 * {@code beginIndex} is larger than {@code endIndex}.
5229 public static int codePointCount(CharSequence seq, int beginIndex, int endIndex) { argument
5231 if (beginIndex < 0 || endIndex > length || beginIndex > endIndex) {
5234 int n = endIndex - beginIndex;
5235 for (int i = beginIndex; i < endIndex; ) {
[all...]
/libcore/ojluni/src/main/java/sun/nio/fs/
H A DUnixPath.java340 public UnixPath subpath(int beginIndex, int endIndex) { argument
347 if (endIndex > offsets.length)
349 if (beginIndex >= endIndex) {
356 if (endIndex == offsets.length) {
359 len = offsets[endIndex] - begin - 1;
/libcore/luni/src/test/java/libcore/java/util/
H A DBase64Test.java93 int endIndex = encodedBytes.length;
94 while (endIndex > 0 && encodedBytes[endIndex - 1] == '=') {
95 endIndex--;
97 for (byte b : Arrays.copyOfRange(encodedBytes, 0, endIndex)) {

Completed in 322 milliseconds