Home
last modified time | relevance | path

Searched refs:nfToAdopt (Results 1 – 10 of 10) sorted by relevance

/external/icu/icu4c/source/test/cintltst/
Dcrelativedateformattest.c170 UNumberFormat* nfToAdopt = NULL; in TestRelDateFmt() local
175 nfToAdopt = unum_open(UNUM_DECIMAL, NULL, 0, itemPtr->locale, NULL, &status); in TestRelDateFmt()
180 unum_setAttribute(nfToAdopt, UNUM_MIN_FRACTION_DIGITS, itemPtr->decPlaces); in TestRelDateFmt()
181 unum_setAttribute(nfToAdopt, UNUM_MAX_FRACTION_DIGITS, itemPtr->decPlaces); in TestRelDateFmt()
182 unum_setAttribute(nfToAdopt, UNUM_ROUNDING_MODE, UNUM_ROUND_DOWN); in TestRelDateFmt()
184 …reldatefmt = ureldatefmt_open(itemPtr->locale, nfToAdopt, itemPtr->width, itemPtr->capContext, &st… in TestRelDateFmt()
/external/icu/icu4c/source/i18n/unicode/
Dreldatefmt.h343 const Locale& locale, NumberFormat *nfToAdopt, UErrorCode& status);
362 NumberFormat *nfToAdopt,
520 NumberFormat *nfToAdopt,
Dmeasfmt.h123 NumberFormat *nfToAdopt,
303 NumberFormat *nfToAdopt,
319 void adoptNumberFormat(NumberFormat *nfToAdopt, UErrorCode &status);
Dureldatefmt.h219 UNumberFormat* nfToAdopt,
/external/icu/icu4c/source/i18n/
Dsharednumberformat.h23 SharedNumberFormat(NumberFormat *nfToAdopt) : ptr(nfToAdopt) { } in SharedNumberFormat() argument
Dmeasfmt.cpp127 void adoptCurrencyFormat(int32_t widthIndex, NumberFormat *nfToAdopt) { in adoptCurrencyFormat() argument
129 currencyFormats[widthIndex] = nfToAdopt; in adoptCurrencyFormat()
134 void adoptIntegerFormat(NumberFormat *nfToAdopt) { in adoptIntegerFormat() argument
136 integerFormat = nfToAdopt; in adoptIntegerFormat()
629 NumberFormat *nfToAdopt, in MeasureFormat() argument
636 initMeasureFormat(locale, w, nfToAdopt, status); in MeasureFormat()
862 NumberFormat *nfToAdopt, in initMeasureFormat() argument
865 LocalPointer<NumberFormat> nf(nfToAdopt); in initMeasureFormat()
907 NumberFormat *nfToAdopt, UErrorCode &status) { in adoptNumberFormat() argument
908 LocalPointer<NumberFormat> nf(nfToAdopt); in adoptNumberFormat()
Dreldatefmt.cpp736 const Locale& locale, NumberFormat *nfToAdopt, UErrorCode& status) : in RelativeDateTimeFormatter() argument
744 init(nfToAdopt, nullptr, status); in RelativeDateTimeFormatter()
749 NumberFormat *nfToAdopt, in RelativeDateTimeFormatter() argument
772 init(nfToAdopt, bi, status); in RelativeDateTimeFormatter()
774 init(nfToAdopt, nullptr, status); in RelativeDateTimeFormatter()
1016 NumberFormat *nfToAdopt, in init() argument
1019 LocalPointer<NumberFormat> nf(nfToAdopt); in init()
1070 UNumberFormat* nfToAdopt, in ureldatefmt_open() argument
1079 (NumberFormat*)nfToAdopt, width, in ureldatefmt_open()
Dsmpdtfmt.cpp267 NumberFormat *nfToAdopt) { in createSharedNumberFormat() argument
268 fixNumberFormatForDates(*nfToAdopt); in createSharedNumberFormat()
269 const SharedNumberFormat *result = new SharedNumberFormat(nfToAdopt); in createSharedNumberFormat()
271 delete nfToAdopt; in createSharedNumberFormat()
/external/icu/libandroidicu/include/unicode/
Dureldatefmt.h219 UNumberFormat* nfToAdopt,
/external/icu/libandroidicu/static_shim/
Dshim.cpp2373 …rmatter * ureldatefmt_open_android(const char * locale, UNumberFormat * nfToAdopt, UDateRelativeDa… in ureldatefmt_open_android() argument
2374 return ureldatefmt_open(locale, nfToAdopt, width, capitalizationContext, status); in ureldatefmt_open_android()