Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/text/CharacterIterator/
DCharacterIteratorTest.java116 if (iter.getBeginIndex() != 0 || iter.getEndIndex() != text.length()) in TestIteration()
161 if (iter.getBeginIndex() != 5 || iter.getEndIndex() != 15) in TestIteration()
251 int expectedIndex = iter.getEndIndex(); in TestPathologicalCases()
278 int index = iter.getEndIndex(); in TestBug4123771()
285 System.out.println(" getEndIndex(): " + iter.getEndIndex()); in TestBug4123771()
/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.java2069 assertEquals(11, iterator.getEndIndex()); in test_formatToCharacterIterator()
2107 assertEquals(402, iterator.getEndIndex()); in test_formatToCharacterIterator()
2122 assertEquals(10, iterator.getEndIndex()); in test_formatToCharacterIterator()
2147 assertEquals(1646, iterator.getEndIndex()); in test_formatToCharacterIterator_veryLarge()
DSimpleDateFormatTest.java406 position.getEndIndex() == result.length()); in assertFormat()
/libcore/ojluni/src/main/java/java/text/
DCharacterIterator.java180 public int getEndIndex(); in getEndIndex() method
DDecimalFormat.java558 icuFieldPosition.setEndIndex(fp.getEndIndex()); in getIcuFieldPosition()
704 fieldPosition.setEndIndex(icuFieldPosition.getEndIndex()); in format()
873 fieldPosition.setEndIndex(icuFieldPosition.getEndIndex()); in format()
980 fieldPosition.setEndIndex(icuFieldPosition.getEndIndex()); in format()
1055 fieldPosition.setEndIndex(icuFieldPosition.getEndIndex()); in format()
1170 original.getEndIndex() - original.getBeginIndex()); in formatToCharacterIterator()
1172 for (int i = original.getBeginIndex(); i < original.getEndIndex(); i++) { in formatToCharacterIterator()
1179 for (int i = original.getBeginIndex(); i < original.getEndIndex(); i++) { in formatToCharacterIterator()
DIcuIteratorWrapper.java321 if (offset < text.getBeginIndex() || offset > text.getEndIndex()) { in checkOffset()
DAttributedString.java97 int end = iterator.getEndIndex(); in AttributedString()
180 this(text, text.getBeginIndex(), text.getEndIndex(), null); in AttributedString()
238 int textEndIndex = text.getEndIndex(); in AttributedString()
685 int end = iterator.getEndIndex(); in appendContents()
854 public int getEndIndex() { in getEndIndex() method in AttributedString.AttributedStringIterator
DStringCharacterIterator.java219 public int getEndIndex() in getEndIndex() method in StringCharacterIterator
DFieldPosition.java184 public int getEndIndex() { in getEndIndex() method in FieldPosition
/libcore/ojluni/src/test/java/text/Format/NumberFormat/
DPositionTest.java167 int tempOffset = (tempLen <= (tempLen - pos.getEndIndex())) ? in TestFieldPosition_example()
168 tempLen : (tempLen - pos.getEndIndex()); in TestFieldPosition_example()
DBigDecimalFormat.java1040 if ((position = fp.getEndIndex()) != end) { in checkFieldPosition()
/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/
DDecimalFormatTest.java200 assertEquals(expectedEndIndex, fp.getEndIndex()); in assertFieldPosition()
210 assertEquals(expectedEndIndex, fp.getEndIndex()); in assertFieldPosition()
220 assertEquals(expectedEndIndex, fp.getEndIndex()); in assertFieldPosition()
230 assertEquals(expectedEndIndex, fp.getEndIndex()); in assertFieldPosition()
DOldAttributedStringTest.java247 public int getEndIndex() { in getEndIndex() method in OldAttributedStringTest.testAttributedCharacterIterator
DOldDateFormatTest.java127 assertEquals("Incorrect endIndex of filed position", fp.getEndIndex(), in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition()
/libcore/ojluni/src/test/java/text/AttributedString/
DAttributedStringTest.java141 if (iterator.getEndIndex() - iterator.getBeginIndex() != expectedText.length()) { in checkIteratorText()
/libcore/api/
Dcurrent.txt10948 method public int getEndIndex();
11201 method public int getEndIndex();
11364 method public int getEndIndex();