Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/cintltst/
Dcrelativedateformattest.c355 UNumberFormat* nfToAdopt = NULL; in TestRelDateFmt() local
360 nfToAdopt = unum_open(UNUM_DECIMAL, NULL, 0, itemPtr->locale, NULL, &status); in TestRelDateFmt()
365 unum_setAttribute(nfToAdopt, UNUM_MIN_FRACTION_DIGITS, itemPtr->decPlaces); in TestRelDateFmt()
366 unum_setAttribute(nfToAdopt, UNUM_MAX_FRACTION_DIGITS, itemPtr->decPlaces); in TestRelDateFmt()
367 unum_setAttribute(nfToAdopt, UNUM_ROUNDING_MODE, UNUM_ROUND_DOWN); in TestRelDateFmt()
369 …reldatefmt = ureldatefmt_open(itemPtr->locale, nfToAdopt, itemPtr->width, itemPtr->capContext, &st… in TestRelDateFmt()
436 UNumberFormat* nfToAdopt = NULL; in TestNumericField() local
441 nfToAdopt = unum_open(UNUM_DECIMAL, NULL, 0, itemPtr->locale, NULL, &status); in TestNumericField()
446 unum_setAttribute(nfToAdopt, UNUM_MIN_FRACTION_DIGITS, itemPtr->decPlaces); in TestNumericField()
447 unum_setAttribute(nfToAdopt, UNUM_MAX_FRACTION_DIGITS, itemPtr->decPlaces); in TestNumericField()
[all …]
/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()
366 NumberFormat *nfToAdopt, in MeasureFormat() argument
373 initMeasureFormat(locale, w, nfToAdopt, status); in MeasureFormat()
582 NumberFormat *nfToAdopt, in initMeasureFormat() argument
585 LocalPointer<NumberFormat> nf(nfToAdopt); in initMeasureFormat()
628 NumberFormat *nfToAdopt, UErrorCode &status) { in adoptNumberFormat() argument
629 LocalPointer<NumberFormat> nf(nfToAdopt); in adoptNumberFormat()
Dreldatefmt.cpp772 const Locale& locale, NumberFormat *nfToAdopt, UErrorCode& status) : in RelativeDateTimeFormatter() argument
780 init(nfToAdopt, nullptr, status); in RelativeDateTimeFormatter()
785 NumberFormat *nfToAdopt, in RelativeDateTimeFormatter() argument
808 init(nfToAdopt, bi, status); in RelativeDateTimeFormatter()
810 init(nfToAdopt, nullptr, status); in RelativeDateTimeFormatter()
1213 NumberFormat *nfToAdopt, in init() argument
1216 LocalPointer<NumberFormat> nf(nfToAdopt); in init()
1278 UNumberFormat* nfToAdopt, in ureldatefmt_open() argument
1287 (NumberFormat*)nfToAdopt, width, in ureldatefmt_open()
Dsmpdtfmt.cpp275 NumberFormat *nfToAdopt) { in createSharedNumberFormat() argument
276 fixNumberFormatForDates(*nfToAdopt); in createSharedNumberFormat()
277 const SharedNumberFormat *result = new SharedNumberFormat(nfToAdopt); in createSharedNumberFormat()
279 delete nfToAdopt; in createSharedNumberFormat()
/external/icu/libicu/cts_headers/
Dsharednumberformat.h23 SharedNumberFormat(NumberFormat *nfToAdopt) : ptr(nfToAdopt) { } in SharedNumberFormat() argument
/external/icu/icu4c/source/i18n/unicode/
Dmeasfmt.h125 NumberFormat *nfToAdopt,
307 NumberFormat *nfToAdopt,
323 void adoptNumberFormat(NumberFormat *nfToAdopt, UErrorCode &status);
Dreldatefmt.h422 const Locale& locale, NumberFormat *nfToAdopt, UErrorCode& status);
441 NumberFormat *nfToAdopt,
702 NumberFormat *nfToAdopt,
Dureldatefmt.h242 UNumberFormat* nfToAdopt,
/external/icu/libicu/cts_headers/unicode/
Dmeasfmt.h125 NumberFormat *nfToAdopt,
307 NumberFormat *nfToAdopt,
323 void adoptNumberFormat(NumberFormat *nfToAdopt, UErrorCode &status);
Dreldatefmt.h422 const Locale& locale, NumberFormat *nfToAdopt, UErrorCode& status);
441 NumberFormat *nfToAdopt,
702 NumberFormat *nfToAdopt,
Dureldatefmt.h242 UNumberFormat* nfToAdopt,
/external/icu/libandroidicu/include/unicode/
Dureldatefmt.h242 UNumberFormat* nfToAdopt,