Home
last modified time | relevance | path

Searched refs:getBeginIndex (Results 1 – 19 of 19) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DFieldPositionTest.java116 2, fpos.getBeginIndex()); in test_getBeginIndex()
187 .getBeginIndex()); in test_setBeginIndexI()
191 Integer.MAX_VALUE, fpos.getBeginIndex()); in test_setBeginIndexI()
195 -1, fpos.getBeginIndex()); in test_setBeginIndexI()
DStringCharacterIteratorTest.java202 assertEquals(0, fixture.getBeginIndex()); in test_getBeginIndex()
204 assertEquals(0, fixture.getBeginIndex()); in test_getBeginIndex()
207 assertEquals(1, fixture.getBeginIndex()); in test_getBeginIndex()
211 assertEquals("Wrong begin index 2", 2, it1.getBeginIndex()); in test_getBeginIndex()
408 assertEquals("Wrong begin index", 0, it.getBeginIndex()); in test_ConstructorLjava_lang_String()
421 assertEquals("Wrong begin index", 0, it.getBeginIndex()); in test_ConstructorLjava_lang_StringI()
435 assertEquals("Wrong begin index", 2, it.getBeginIndex()); in test_ConstructorLjava_lang_StringIII()
517 assertEquals("Wrong begin index", 0, it1.getBeginIndex()); in test_setTextLjava_lang_String()
DSupport_Format.java52 if (begin != pos.getBeginIndex() || end != pos.getEndIndex()) { in t_FormatWithField()
54 pos.getFieldAttribute() + " " + pos.getBeginIndex() + ".." + pos.getEndIndex()); in t_FormatWithField()
DAttributedStringTest.java96 public int getBeginIndex() { in getBeginIndex() method in AttributedStringTest.testAttributedCharacterIterator
DAttributedCharacterIteratorTest.java69 assertEquals("Wrong begin index", 2, it.getBeginIndex()); in test_getBeginIndex()
DDecimalFormatTest.java2031 assertEquals(0, iterator.getBeginIndex()); in test_formatToCharacterIterator()
2068 assertEquals(0, iterator.getBeginIndex()); in test_formatToCharacterIterator()
2082 assertEquals(0, iterator.getBeginIndex()); in test_formatToCharacterIterator()
2106 assertEquals(0, iterator.getBeginIndex()); in test_formatToCharacterIterator_veryLarge()
DSimpleDateFormatTest.java408 "field: " + field, 1, position.getBeginIndex()); in assertFormat()
/libcore/luni/src/main/java/java/text/
DRuleBasedBreakIterator.java52 if (offset < it.getBeginIndex() || offset > it.getEndIndex()) { in checkOffset()
53 String message = "Valid range is [" + it.getBeginIndex() + " " + it.getEndIndex() + "]"; in checkOffset()
DCharacterIterator.java63 public int getBeginIndex(); in getBeginIndex() method
DFieldPosition.java79 public int getBeginIndex() { in getBeginIndex() method in FieldPosition
DStringCharacterIterator.java166 public int getBeginIndex() { in getBeginIndex() method in StringCharacterIterator
DAttributedString.java132 public int getBeginIndex() { in getBeginIndex() method in AttributedString.AttributedIterator
389 if (iterator.getBeginIndex() > iterator.getEndIndex()) { in AttributedString()
393 for (int i = iterator.getBeginIndex(); i < iterator.getEndIndex(); i++) { in AttributedString()
424 if (start < iterator.getBeginIndex() || end > iterator.getEndIndex() in AttributedString()
DBidi.java117 int begin = paragraph.getBeginIndex(); in Bidi()
DSimpleDateFormat.java482 as.addAttribute(attribute, attribute, pos.getBeginIndex(), pos.getEndIndex()); in formatToCharacterIteratorImpl()
/libcore/luni/src/test/java/libcore/java/text/
DOldFormatTest.java70 assertEquals(0, aci.getBeginIndex()); in test_formatToCharacterIteratorLjava_lang_Object()
DOldAttributedStringTest.java254 public int getBeginIndex() { in getBeginIndex() method in OldAttributedStringTest.testAttributedCharacterIterator
DOldDateFormatTest.java117 .getBeginIndex() == sb.lastIndexOf("/") + 1); in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition()
/libcore/support/src/test/java/tests/support/
DSupport_Format.java54 + field, begin, pos.getBeginIndex()); in t_FormatWithField()
/libcore/luni/src/main/native/
Dlibcore_icu_NativeDecimalFormat.cpp232 data.push_back(fp.getBeginIndex()); in formatResult()