Home
last modified time | relevance | path

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

/third_party/icu/icu4c/source/test/cintltst/
Dcrelativedateformattest.c357 UNumberFormat* nfToAdopt = NULL; in TestRelDateFmt() local
362 nfToAdopt = unum_open(UNUM_DECIMAL, NULL, 0, itemPtr->locale, NULL, &status); in TestRelDateFmt()
367 unum_setAttribute(nfToAdopt, UNUM_MIN_FRACTION_DIGITS, itemPtr->decPlaces); in TestRelDateFmt()
368 unum_setAttribute(nfToAdopt, UNUM_MAX_FRACTION_DIGITS, itemPtr->decPlaces); in TestRelDateFmt()
369 unum_setAttribute(nfToAdopt, UNUM_ROUNDING_MODE, UNUM_ROUND_DOWN); in TestRelDateFmt()
371 …reldatefmt = ureldatefmt_open(itemPtr->locale, nfToAdopt, itemPtr->width, itemPtr->capContext, &st… in TestRelDateFmt()
438 UNumberFormat* nfToAdopt = NULL; in TestNumericField() local
443 nfToAdopt = unum_open(UNUM_DECIMAL, NULL, 0, itemPtr->locale, NULL, &status); in TestNumericField()
448 unum_setAttribute(nfToAdopt, UNUM_MIN_FRACTION_DIGITS, itemPtr->decPlaces); in TestNumericField()
449 unum_setAttribute(nfToAdopt, UNUM_MAX_FRACTION_DIGITS, itemPtr->decPlaces); in TestNumericField()
[all …]
/third_party/skia/third_party/externals/icu/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
588 LocalPointer<NumberFormat> nf(nfToAdopt); in initMeasureFormat()
632 NumberFormat *nfToAdopt, UErrorCode &status) { in adoptNumberFormat() argument
633 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()
/third_party/icu/icu4c/source/i18n/
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
588 LocalPointer<NumberFormat> nf(nfToAdopt); in initMeasureFormat()
632 NumberFormat *nfToAdopt, UErrorCode &status) { in adoptNumberFormat() argument
633 LocalPointer<NumberFormat> nf(nfToAdopt); in adoptNumberFormat()
Dsharednumberformat.h24 SharedNumberFormat(NumberFormat *nfToAdopt) : ptr(nfToAdopt) { } in SharedNumberFormat() argument
Dreldatefmt.cpp780 const Locale& locale, NumberFormat *nfToAdopt, UErrorCode& status) : in RelativeDateTimeFormatter() argument
788 init(nfToAdopt, nullptr, status); in RelativeDateTimeFormatter()
793 NumberFormat *nfToAdopt, in RelativeDateTimeFormatter() argument
820 init(nfToAdopt, bi, status); in RelativeDateTimeFormatter()
822 init(nfToAdopt, nullptr, status); in RelativeDateTimeFormatter()
1229 NumberFormat *nfToAdopt, in init() argument
1232 LocalPointer<NumberFormat> nf(nfToAdopt); in init()
1294 UNumberFormat* nfToAdopt, in ureldatefmt_open() argument
1303 (NumberFormat*)nfToAdopt, width, in ureldatefmt_open()
Dsmpdtfmt.cpp276 NumberFormat *nfToAdopt) { in createSharedNumberFormat() argument
277 fixNumberFormatForDates(*nfToAdopt); in createSharedNumberFormat()
278 const SharedNumberFormat *result = new SharedNumberFormat(nfToAdopt); in createSharedNumberFormat()
280 delete nfToAdopt; in createSharedNumberFormat()
/third_party/node/deps/icu-small/source/i18n/
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
588 LocalPointer<NumberFormat> nf(nfToAdopt); in initMeasureFormat()
632 NumberFormat *nfToAdopt, UErrorCode &status) { in adoptNumberFormat() argument
633 LocalPointer<NumberFormat> nf(nfToAdopt); in adoptNumberFormat()
Dsharednumberformat.h24 SharedNumberFormat(NumberFormat *nfToAdopt) : ptr(nfToAdopt) { } in SharedNumberFormat() argument
Dreldatefmt.cpp780 const Locale& locale, NumberFormat *nfToAdopt, UErrorCode& status) : in RelativeDateTimeFormatter() argument
788 init(nfToAdopt, nullptr, status); in RelativeDateTimeFormatter()
793 NumberFormat *nfToAdopt, in RelativeDateTimeFormatter() argument
816 init(nfToAdopt, bi, status); in RelativeDateTimeFormatter()
818 init(nfToAdopt, nullptr, status); in RelativeDateTimeFormatter()
1221 NumberFormat *nfToAdopt, in init() argument
1224 LocalPointer<NumberFormat> nf(nfToAdopt); in init()
1286 UNumberFormat* nfToAdopt, in ureldatefmt_open() argument
1295 (NumberFormat*)nfToAdopt, width, in ureldatefmt_open()
Dsmpdtfmt.cpp277 NumberFormat *nfToAdopt) { in createSharedNumberFormat() argument
278 fixNumberFormatForDates(*nfToAdopt); in createSharedNumberFormat()
279 const SharedNumberFormat *result = new SharedNumberFormat(nfToAdopt); in createSharedNumberFormat()
281 delete nfToAdopt; in createSharedNumberFormat()
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Dmeasfmt.h126 NumberFormat *nfToAdopt,
308 NumberFormat *nfToAdopt,
324 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,
/third_party/node/deps/icu-small/source/i18n/unicode/
Dmeasfmt.h126 NumberFormat *nfToAdopt,
308 NumberFormat *nfToAdopt,
324 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,
/third_party/icu/icu4c/source/i18n/unicode/
Dmeasfmt.h126 NumberFormat *nfToAdopt,
308 NumberFormat *nfToAdopt,
324 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,