Home
last modified time | relevance | path

Searched refs:ufpos (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4c/source/i18n/
Dnumber_capi.cpp162 unumf_resultNextFieldPosition(const UFormattedNumber* uresult, UFieldPosition* ufpos, UErrorCode* e… in unumf_resultNextFieldPosition() argument
166 if (ufpos == nullptr) { in unumf_resultNextFieldPosition()
172 fp.setField(ufpos->field); in unumf_resultNextFieldPosition()
173 fp.setBeginIndex(ufpos->beginIndex); in unumf_resultNextFieldPosition()
174 fp.setEndIndex(ufpos->endIndex); in unumf_resultNextFieldPosition()
176 ufpos->beginIndex = fp.getBeginIndex(); in unumf_resultNextFieldPosition()
177 ufpos->endIndex = fp.getEndIndex(); in unumf_resultNextFieldPosition()
/external/icu/icu4c/source/test/cintltst/
Dunumberformattertst.c90 UFieldPosition ufpos = {UNUM_DECIMAL_SEPARATOR_FIELD}; in TestSkeletonFormatToFields() local
91 unumf_resultNextFieldPosition(uresult, &ufpos, &ec); in TestSkeletonFormatToFields()
92 assertIntEquals("Field position should be correct", 14, ufpos.beginIndex); in TestSkeletonFormatToFields()
93 assertIntEquals("Field position should be correct", 15, ufpos.endIndex); in TestSkeletonFormatToFields()
/external/icu/icu4c/source/i18n/unicode/
Dunumberformatter.h585 unumf_resultNextFieldPosition(const UFormattedNumber* uresult, UFieldPosition* ufpos, UErrorCode* e…
/external/icu/icu4c/source/test/intltest/
Dnumbertest_api.cpp2449 UFieldPosition ufpos = {UNUM_PERCENT_FIELD, 0, 0}; in localPointerCAPI() local
2450 unumf_resultNextFieldPosition(uresult.getAlias(), &ufpos, &ec); in localPointerCAPI()
2451 assertEquals("Percent sign location within '0.00987%'", 7, ufpos.beginIndex); in localPointerCAPI()
2452 assertEquals("Percent sign location within '0.00987%'", 8, ufpos.endIndex); in localPointerCAPI()