Home
last modified time | relevance | path

Searched refs:fNumberFormat (Results 1 – 9 of 9) sorted by relevance

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DIntlTestNumberFormat.java37 public NumberFormat fNumberFormat; field in IntlTestNumberFormat
46 fNumberFormat = NumberFormat.getInstance(locale); in _testLocale()
50 fNumberFormat = NumberFormat.getCurrencyInstance(locale); in _testLocale()
54 fNumberFormat = NumberFormat.getPercentInstance(locale); in _testLocale()
59 fNumberFormat = NumberFormat.getScientificInstance(locale); in _testLocale()
73 fNumberFormat = NumberFormat.getInstance(locale); in TestLocale()
77 fNumberFormat = NumberFormat.getCurrencyInstance(locale); in TestLocale()
81 fNumberFormat = NumberFormat.getPercentInstance(locale); in TestLocale()
90 if (fNumberFormat == null){ in _testFormat()
94 DecimalFormat s = (DecimalFormat)fNumberFormat; in _testFormat()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestNumberFormat.java34 public NumberFormat fNumberFormat; field in IntlTestNumberFormat
43 fNumberFormat = NumberFormat.getInstance(locale); in _testLocale()
47 fNumberFormat = NumberFormat.getCurrencyInstance(locale); in _testLocale()
51 fNumberFormat = NumberFormat.getPercentInstance(locale); in _testLocale()
56 fNumberFormat = NumberFormat.getScientificInstance(locale); in _testLocale()
70 fNumberFormat = NumberFormat.getInstance(locale); in TestLocale()
74 fNumberFormat = NumberFormat.getCurrencyInstance(locale); in TestLocale()
78 fNumberFormat = NumberFormat.getPercentInstance(locale); in TestLocale()
87 if (fNumberFormat == null){ in _testFormat()
91 DecimalFormat s = (DecimalFormat)fNumberFormat; in _testFormat()
[all …]
/external/icu/icu4c/source/io/
Dlocbund.cpp52 if (result->fNumberFormat[style-1] == NULL) { in copyInvariantFormatter()
64 result->fNumberFormat[style-1] = unum_clone(gPosixNumberFormat[style-1], &status); in copyInvariantFormatter()
67 return result->fNumberFormat[style-1]; in copyInvariantFormatter()
150 if (bundle->fNumberFormat[styleIdx]) { in u_locbund_close()
151 unum_close(bundle->fNumberFormat[styleIdx]); in u_locbund_close()
164 formatAlias = bundle->fNumberFormat[style-1]; in u_locbund_getNumberFormat()
177 bundle->fNumberFormat[style-1] = formatAlias; in u_locbund_getNumberFormat()
Dlocbund.h35 UNumberFormat *fNumberFormat[ULOCALEBUNDLE_NUMBERFORMAT_COUNT]; member
/external/icu/icu4c/source/i18n/
Ddatefmt.cpp127 fNumberFormat(0), in DateFormat()
137 fNumberFormat(0), in DateFormat()
150 delete fNumberFormat; in operator =()
156 if(other.fNumberFormat) { in operator =()
157 fNumberFormat = (NumberFormat*)other.fNumberFormat->clone(); in operator =()
159 fNumberFormat = NULL; in operator =()
172 delete fNumberFormat; in ~DateFormat()
190 (fNumberFormat && *fNumberFormat == *fmt->fNumberFormat) && in operator ==()
586 delete fNumberFormat; in adoptNumberFormat()
587 fNumberFormat = newNumberFormat; in adoptNumberFormat()
[all …]
Dreldatefmt.cpp715 fNumberFormat(nullptr), in RelativeDateTimeFormatter()
726 fNumberFormat(nullptr), in RelativeDateTimeFormatter()
738 fNumberFormat(nullptr), in RelativeDateTimeFormatter()
754 fNumberFormat(nullptr), in RelativeDateTimeFormatter()
782 fNumberFormat(other.fNumberFormat), in RelativeDateTimeFormatter()
789 fNumberFormat->addRef(); in RelativeDateTimeFormatter()
800 SharedObject::copyPtr(other.fNumberFormat, fNumberFormat); in operator =()
814 if (fNumberFormat != nullptr) { in ~RelativeDateTimeFormatter()
815 fNumberFormat->removeRef(); in ~RelativeDateTimeFormatter()
826 return **fNumberFormat; in getNumberFormat()
[all …]
Dsmpdtfmt.cpp312 return fNumberFormat; in getNumberFormatByIndex()
861 fNumberFormat = NumberFormat::createInstance(locale, status); in initialize()
862 if (fNumberFormat != NULL && U_SUCCESS(status)) in initialize()
864 fixNumberFormatForDates(*fNumberFormat); in initialize()
1224 auto* df = dynamic_cast<const DecimalFormat*>(fNumberFormat); in initFastNumberFormatters()
1984 delete fNumberFormat; in adoptNumberFormat()
1985 fNumberFormat = formatToAdopt; in adoptNumberFormat()
2056 if (currentNumberFormat == fNumberFormat) { in zeroPaddingNumber()
4065 DecimalFormat* decfmt = dynamic_cast<DecimalFormat*>(fNumberFormat); in checkIntSuffix()
/external/icu/icu4c/source/i18n/unicode/
Dreldatefmt.h513 const SharedNumberFormat *fNumberFormat; variable
Ddatefmt.h870 NumberFormat* fNumberFormat; variable