Home
last modified time | relevance | path

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

/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
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()
DFieldPositionTest.java116 2, fpos.getBeginIndex()); in test_getBeginIndex()
186 2, fpos.getBeginIndex()); in test_setBeginIndexI()
DAttributedStringTest.java96 public int getBeginIndex() { in getBeginIndex() method in AttributedStringTest.testAttributedCharacterIterator
DSupport_Format.java54 + field, begin, pos.getBeginIndex()); in t_FormatWithField()
DAttributedCharacterIteratorTest.java69 assertEquals("Wrong begin index", 2, it.getBeginIndex()); in test_getBeginIndex()
DSimpleDateFormatTest.java60 .getBeginIndex() == 1); in test()
/external/icu4c/i18n/
Dfphdlimp.cpp56 if (delta != 0 && pos.getField() != FieldPosition::DONT_CARE && pos.getBeginIndex() != -1) { in shiftLast()
57 pos.setBeginIndex(delta + pos.getBeginIndex()); in shiftLast()
Dunum.cpp193 pos->beginIndex = fp.getBeginIndex(); in unum_formatInt64()
226 pos->beginIndex = fp.getBeginIndex(); in unum_formatDouble()
269 pos->beginIndex = fp.getBeginIndex(); in unum_formatDecimal()
309 pos->beginIndex = fp.getBeginIndex(); in unum_formatDoubleCurrency()
Dudateintervalformat.cpp98 position->beginIndex = fp.getBeginIndex(); in udtitvfmt_format()
Dudat.cpp230 position->beginIndex = fp.getBeginIndex(); in udat_format()
/external/chromium/chrome/browser/chromeos/status/
Dclock_menu_button.cc90 int ampm_length = ampm_field.getEndIndex() - ampm_field.getBeginIndex(); in UpdateText()
92 int begin = ampm_field.getBeginIndex(); in UpdateText()
/external/icu4c/i18n/unicode/
Dfieldpos.h197 int32_t getBeginIndex(void) const { return fBeginIndex; } in getBeginIndex() function
/external/icu4c/test/intltest/
Ddtfmrgts.cpp198 buf.extractBetween(pos.getBeginIndex(), pos.getEndIndex(), dst); in Test4052408()
202 pos.getBeginIndex() + (UnicodeString)", " + in Test4052408()
723 logln("beginIndex = " + fp.getBeginIndex()); in Test4101483()
725 if (fp.getBeginIndex() == fp.getEndIndex()) in Test4101483()
Dtfsmalls.cpp141 if (fp.getBeginIndex() != i+6) err2 = TRUE; in test_FieldPosition()
Dnumfmtst.cpp6083 int32_t start = fp.getBeginIndex(); in expectPositions()
6121 …ertTrue((UnicodeString)"begin " + start + " == " + pos.getBeginIndex(), start == pos.getBeginIndex in expectPosition()
6361 ASSERT_EQUALS(4, pos.getBeginIndex()); in TestDecimal()
Dnumrgts.cpp1387 if (field.getBeginIndex() != 0 && field.getEndIndex() != 5) in Test4062486()
1391 if (field.getBeginIndex() != 7 && field.getEndIndex() != 4) in Test4062486()
Ddtfmttst.cpp549 buf.extractBetween(pos.getBeginIndex(), pos.getEndIndex(), field); in TestFieldPosition()
566 buf.extractBetween(fp.getBeginIndex(), fp.getEndIndex(), field); in TestFieldPosition()