Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DStringCharacterIteratorTest.java219 assertEquals("fixture".length(), fixture.getEndIndex()); in test_getEndIndex()
221 assertEquals("fixture".length(), fixture.getEndIndex()); in test_getEndIndex()
224 assertEquals("fixture".length(), fixture.getEndIndex()); in test_getEndIndex()
226 assertEquals(4, fixture.getEndIndex()); in test_getEndIndex()
230 assertEquals("Wrong end index 6", 6, it1.getEndIndex()); in test_getEndIndex()
409 assertEquals("Wrong end index", 7, it.getEndIndex()); in test_ConstructorLjava_lang_String()
422 assertEquals("Wrong end index", 7, it.getEndIndex()); in test_ConstructorLjava_lang_StringI()
436 assertEquals("Wrong end index", 6, it.getEndIndex()); in test_ConstructorLjava_lang_StringIII()
518 assertEquals("Wrong end index", 4, it1.getEndIndex()); in test_setTextLjava_lang_String()
DFieldPositionTest.java128 3, fpos.getEndIndex()); in test_getEndIndex()
203 .getEndIndex()); in test_setEndIndexI()
207 Integer.MAX_VALUE, fpos.getEndIndex()); in test_setEndIndexI()
211 -1, fpos.getEndIndex()); in test_setEndIndexI()
DSupport_Format.java52 if (begin != pos.getBeginIndex() || end != pos.getEndIndex()) { in t_FormatWithField()
54 pos.getFieldAttribute() + " " + pos.getBeginIndex() + ".." + pos.getEndIndex()); in t_FormatWithField()
83 while (iterator.getIndex() != iterator.getEndIndex()) { in findFields()
DAttributedStringTest.java93 public int getEndIndex() { in getEndIndex() method in AttributedStringTest.testAttributedCharacterIterator
DAttributedCharacterIteratorTest.java79 assertEquals("Wrong begin index", 6, it.getEndIndex()); in test_getEndIndex()
DDecimalFormatTest.java2032 assertEquals(11, iterator.getEndIndex()); in test_formatToCharacterIterator()
2069 assertEquals(402, iterator.getEndIndex()); in test_formatToCharacterIterator()
2083 assertEquals(10, iterator.getEndIndex()); in test_formatToCharacterIterator()
2107 assertEquals(1646, iterator.getEndIndex()); in test_formatToCharacterIterator_veryLarge()
DSimpleDateFormatTest.java406 position.getEndIndex() == result.length()); in assertFormat()
/libcore/ojluni/src/main/java/java/text/
DCharacterIterator.java179 public int getEndIndex(); in getEndIndex() method
DDecimalFormat.java551 icuFieldPosition.setEndIndex(fp.getEndIndex()); in getIcuFieldPosition()
683 fieldPosition.setEndIndex(icuFieldPosition.getEndIndex()); in format()
800 fieldPosition.setEndIndex(icuFieldPosition.getEndIndex()); in format()
901 fieldPosition.setEndIndex(icuFieldPosition.getEndIndex()); in format()
970 fieldPosition.setEndIndex(icuFieldPosition.getEndIndex()); in format()
1085 original.getEndIndex() - original.getBeginIndex()); in formatToCharacterIterator()
1087 for (int i = original.getBeginIndex(); i < original.getEndIndex(); i++) { in formatToCharacterIterator()
1094 for (int i = original.getBeginIndex(); i < original.getEndIndex(); i++) { in formatToCharacterIterator()
DIcuIteratorWrapper.java321 if (offset < text.getBeginIndex() || offset > text.getEndIndex()) { in checkOffset()
DAttributedString.java100 int end = iterator.getEndIndex(); in AttributedString()
183 this(text, text.getBeginIndex(), text.getEndIndex(), null); in AttributedString()
241 int textEndIndex = text.getEndIndex(); in AttributedString()
692 int end = iterator.getEndIndex(); in appendContents()
863 public int getEndIndex() { in getEndIndex() method in AttributedString.AttributedStringIterator
DFieldPosition.java183 public int getEndIndex() { in getEndIndex() method in FieldPosition
DStringCharacterIterator.java218 public int getEndIndex() in getEndIndex() method in StringCharacterIterator
/libcore/support/src/test/java/tests/support/
DSupport_Format.java56 + field, end, pos.getEndIndex()); in t_FormatWithField()
86 while (iterator.getIndex() != iterator.getEndIndex()) { in findFields()
/libcore/luni/src/test/java/libcore/java/text/
DOldAttributedStringTest.java247 public int getEndIndex() { in getEndIndex() method in OldAttributedStringTest.testAttributedCharacterIterator
DOldDateFormatTest.java123 fp.getEndIndex() == sb.lastIndexOf("/") + 3); in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition()