Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/icu/source/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()
835 pos->beginIndex = fp.getBeginIndex(); in unum_formatUFormattable()
Dudateintervalformat.cpp98 position->beginIndex = fp.getBeginIndex(); in udtitvfmt_format()
Dudat.cpp230 position->beginIndex = fp.getBeginIndex(); in udat_format()
/external/icu/icu4c/source/i18n/
Dfphdlimp.cpp56 if (delta != 0 && pos.getField() != FieldPosition::DONT_CARE && pos.getBeginIndex() != -1) { in shiftLast()
57 pos.setBeginIndex(delta + pos.getBeginIndex()); in shiftLast()
Dmeasfmt.cpp833 intFieldPosition.getBeginIndex() == 0 && in formatNumeric()
849 if (smallestFieldPosition.getBeginIndex() != 0 || in formatNumeric()
851 appendRange(draft, 0, smallestFieldPosition.getBeginIndex(), appendTo); in formatNumeric()
855 intFieldPosition.getBeginIndex(), in formatNumeric()
859 smallestFieldPosition.getBeginIndex(), in formatNumeric()
922 if (fpos.getBeginIndex() != 0 || fpos.getEndIndex() != 0) { in formatMeasuresSlowTrack()
942 pos.setBeginIndex(fpos.getBeginIndex() + offset); in formatMeasuresSlowTrack()
Dquantityformatter.cpp171 if (fpos.getBeginIndex() != 0 || fpos.getEndIndex() != 0) { in format()
172 pos.setBeginIndex(fpos.getBeginIndex() + offsets[0]); in format()
Dunum.cpp197 pos->beginIndex = fp.getBeginIndex(); in unum_formatInt64()
230 pos->beginIndex = fp.getBeginIndex(); in unum_formatDouble()
273 pos->beginIndex = fp.getBeginIndex(); in unum_formatDecimal()
313 pos->beginIndex = fp.getBeginIndex(); in unum_formatDoubleCurrency()
858 pos->beginIndex = fp.getBeginIndex(); in unum_formatUFormattable()
Dudateintervalformat.cpp98 position->beginIndex = fp.getBeginIndex(); in udtitvfmt_format()
Dudat.cpp233 position->beginIndex = fp.getBeginIndex(); in udat_format()
/external/chromium_org/base/i18n/
Dtime_formatting.cc36 int ampm_length = ampm_field.getEndIndex() - ampm_field.getBeginIndex(); in TimeFormatWithoutAmPm()
38 int begin = ampm_field.getBeginIndex(); in TimeFormatWithoutAmPm()
/external/icu/icu4c/source/test/intltest/
Dcompactdecimalformattest.cpp255 …UnicodeString subString = result.tempSubString(fp.getBeginIndex(), fp.getEndIndex() - fp.getBeginI… in TestFieldPosition()
Ddtfmrgts.cpp201 buf.extractBetween(pos.getBeginIndex(), pos.getEndIndex(), dst); in Test4052408()
205 pos.getBeginIndex() + (UnicodeString)", " + in Test4052408()
726 logln(UnicodeString("beginIndex = ") + fp.getBeginIndex()); in Test4101483()
728 if (fp.getBeginIndex() == fp.getEndIndex()) in Test4101483()
Dtfsmalls.cpp141 if (fp.getBeginIndex() != i+6) err2 = TRUE; in test_FieldPosition()
Dnumrgts.cpp1389 if (field.getBeginIndex() != 0 && field.getEndIndex() != 5) in Test4062486()
1393 if (field.getBeginIndex() != 7 && field.getEndIndex() != 4) in Test4062486()
3019 TEST_ASSERT(999997 == pos.getBeginIndex());
Dmeasfmttest.cpp928 assertEquals(beginIndex.data(), start, pos.getBeginIndex()); in verifyFieldPosition()
Dnumfmtst.cpp6201 int32_t start = fp.getBeginIndex(); in expectPositions()
6239 …ertTrue((UnicodeString)"begin " + start + " == " + pos.getBeginIndex(), start == pos.getBeginIndex in expectPosition()
6479 ASSERT_EQUALS(4, pos.getBeginIndex()); in TestDecimal()
/external/chromium_org/third_party/icu/source/test/intltest/
Dcompactdecimalformattest.cpp255 …UnicodeString subString = result.tempSubString(fp.getBeginIndex(), fp.getEndIndex() - fp.getBeginI… in TestFieldPosition()
Ddtfmrgts.cpp198 buf.extractBetween(pos.getBeginIndex(), pos.getEndIndex(), dst); in Test4052408()
202 pos.getBeginIndex() + (UnicodeString)", " + in Test4052408()
723 logln(UnicodeString("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()
Dnumrgts.cpp1389 if (field.getBeginIndex() != 0 && field.getEndIndex() != 5) in Test4062486()
1393 if (field.getBeginIndex() != 7 && field.getEndIndex() != 4) in Test4062486()
3019 TEST_ASSERT(999997 == pos.getBeginIndex());
Dnumfmtst.cpp6172 int32_t start = fp.getBeginIndex(); in expectPositions()
6210 …ertTrue((UnicodeString)"begin " + start + " == " + pos.getBeginIndex(), start == pos.getBeginIndex in expectPosition()
6450 ASSERT_EQUALS(4, pos.getBeginIndex()); in TestDecimal()
Ddtfmttst.cpp561 buf.extractBetween(pos.getBeginIndex(), pos.getEndIndex(), field); in TestFieldPosition()
578 buf.extractBetween(fp.getBeginIndex(), fp.getEndIndex(), field); in TestFieldPosition()
/external/icu/icu4c/source/i18n/unicode/
Dfieldpos.h197 int32_t getBeginIndex(void) const { return fBeginIndex; } in getBeginIndex() function
/external/chromium_org/third_party/icu/source/i18n/unicode/
Dfieldpos.h197 int32_t getBeginIndex(void) const { return fBeginIndex; } in getBeginIndex() function

12