Home
last modified time | relevance | path

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

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestNumberFormat.java36 public NumberFormat fNumberFormat; field in IntlTestNumberFormat
45 fNumberFormat = NumberFormat.getInstance(locale); in _testLocale()
49 fNumberFormat = NumberFormat.getCurrencyInstance(locale); in _testLocale()
53 fNumberFormat = NumberFormat.getPercentInstance(locale); in _testLocale()
58 fNumberFormat = NumberFormat.getScientificInstance(locale); in _testLocale()
72 fNumberFormat = NumberFormat.getInstance(locale); in TestLocale()
76 fNumberFormat = NumberFormat.getCurrencyInstance(locale); in TestLocale()
80 fNumberFormat = NumberFormat.getPercentInstance(locale); in TestLocale()
89 if (fNumberFormat == null){ in _testFormat()
93 DecimalFormat s = (DecimalFormat)fNumberFormat; in _testFormat()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DIntlTestNumberFormat.java39 public NumberFormat fNumberFormat; field in IntlTestNumberFormat
48 fNumberFormat = NumberFormat.getInstance(locale); in _testLocale()
52 fNumberFormat = NumberFormat.getCurrencyInstance(locale); in _testLocale()
56 fNumberFormat = NumberFormat.getPercentInstance(locale); in _testLocale()
61 fNumberFormat = NumberFormat.getScientificInstance(locale); in _testLocale()
75 fNumberFormat = NumberFormat.getInstance(locale); in TestLocale()
79 fNumberFormat = NumberFormat.getCurrencyInstance(locale); in TestLocale()
83 fNumberFormat = NumberFormat.getPercentInstance(locale); in TestLocale()
92 if (fNumberFormat == null){ in _testFormat()
96 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 = other.fNumberFormat->clone(); in operator =()
159 fNumberFormat = NULL; in operator =()
172 delete fNumberFormat; in ~DateFormat()
190 (fNumberFormat && *fNumberFormat == *fmt->fNumberFormat) && in operator ==()
591 delete fNumberFormat; in adoptNumberFormat()
592 fNumberFormat = newNumberFormat; in adoptNumberFormat()
[all …]
Dreldatefmt.cpp751 fNumberFormat(nullptr), in UPRV_FORMATTED_VALUE_SUBCLASS_AUTO_IMPL()
762 fNumberFormat(nullptr), in RelativeDateTimeFormatter()
774 fNumberFormat(nullptr), in RelativeDateTimeFormatter()
790 fNumberFormat(nullptr), in RelativeDateTimeFormatter()
818 fNumberFormat(other.fNumberFormat), in RelativeDateTimeFormatter()
825 fNumberFormat->addRef(); in RelativeDateTimeFormatter()
836 SharedObject::copyPtr(other.fNumberFormat, fNumberFormat); in operator =()
850 if (fNumberFormat != nullptr) { in ~RelativeDateTimeFormatter()
851 fNumberFormat->removeRef(); in ~RelativeDateTimeFormatter()
862 return **fNumberFormat; in getNumberFormat()
[all …]
Dsmpdtfmt.cpp320 return fNumberFormat; in getNumberFormatByIndex()
933 fNumberFormat = NumberFormat::createInstance(locale, status); in initialize()
934 if (fNumberFormat != NULL && U_SUCCESS(status)) in initialize()
936 fixNumberFormatForDates(*fNumberFormat); in initialize()
1300 auto* df = dynamic_cast<const DecimalFormat*>(fNumberFormat); in initFastNumberFormatters()
2072 delete fNumberFormat; in adoptNumberFormat()
2073 fNumberFormat = formatToAdopt; in adoptNumberFormat()
2144 if (currentNumberFormat == fNumberFormat) { in zeroPaddingNumber()
4186 DecimalFormat* decfmt = dynamic_cast<DecimalFormat*>(fNumberFormat); in checkIntSuffix()
/external/icu/libicu/cts_headers/unicode/
Dreldatefmt.h695 const SharedNumberFormat *fNumberFormat; variable
Ddatefmt.h880 NumberFormat* fNumberFormat; variable
/external/icu/icu4c/source/i18n/unicode/
Dreldatefmt.h695 const SharedNumberFormat *fNumberFormat; variable
Ddatefmt.h880 NumberFormat* fNumberFormat; variable