Home
last modified time | relevance | path

Searched defs:nf (Results 1 – 25 of 134) sorted by relevance

123456

/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
DNumberFormatTest.java25 NumberFormat nf = new NumberFormat(java.text.NumberFormat.getInstance()); in testNumberFormat() local
128 NumberFormat nf = NumberFormat.getInstance(); in testIsParseIntegerOnly() local
140 NumberFormat nf = NumberFormat.getInstance(); in testSetParseIntegerOnly() local
157 NumberFormat nf = NumberFormat.getInstance(Locale.GERMANY); in testGetInstanceLocale() local
165 NumberFormat nf = NumberFormat.getInstance(ULocale.GERMANY); in testGetInstanceULocale() local
173 NumberFormat nf = NumberFormat.getNumberInstance(); in testGetNumberInstance() local
181 NumberFormat nf = NumberFormat.getNumberInstance(Locale.GERMANY); in testGetNumberInstanceLocale() local
189 NumberFormat nf = NumberFormat.getNumberInstance(ULocale.GERMANY); in testGetNumberInstanceULocale() local
197 NumberFormat nf = NumberFormat.getIntegerInstance(); in testGetIntegerInstance() local
205 NumberFormat nf = NumberFormat.getIntegerInstance(Locale.GERMANY); in testGetIntegerInstanceLocale() local
[all …]
/external/v8/test/intl/number-format/
Dcheck-minimum-fraction-digits.js7 var nf = new Intl.NumberFormat("en-us", { useGrouping: false, minimumFractionDigits: 4, maximumFrac… variable
14 nf = new Intl.NumberFormat("en-us", { useGrouping: false, minimumFractionDigits: 4, maximumFraction… variable
21 nf = new Intl.NumberFormat('en', {minimumFractionDigits: 4, maximumFractionDigits: 8, style: 'curre… variable
29 nf = new Intl.NumberFormat("en-us", { useGrouping: false }); variable
37 nf = new Intl.NumberFormat("en-us", { useGrouping: false, style: 'percent'}); variable
47 nf = new Intl.NumberFormat('en', {minimumFractionDigits: 0, style: 'currency', currency: 'USD'}); variable
53 nf = new Intl.NumberFormat('en', {maximumFractionDigits: 3, style: 'currency', currency: 'USD'}); variable
Dparse-invalid-input.js30 var nf = new Intl.NumberFormat(['en']); variable
Dwellformed-unsupported-locale.js30 var nf = Intl.NumberFormat(['xx']); variable
Dformat-is-bound.js29 var nf = new Intl.NumberFormat(); variable
Dresolved-options-is-method.js31 var nf = new Intl.NumberFormat(); variable
Dparse-percent.js28 var nf = new Intl.NumberFormat(['en'], {style: 'percent'}); variable
Dparse-decimal.js28 var nf = new Intl.NumberFormat(['en'], {style: 'decimal'}); variable
Ddefault-locale.js31 var nf = new Intl.NumberFormat([]); variable
Dparse-currency.js31 var nf = new Intl.NumberFormat(['en'], {style: 'currency', currency: 'USD'}); variable
/external/v8/test/intl/overrides/
Dnumber.js35 var nf = new Intl.NumberFormat(); variable
42 nf = new Intl.NumberFormat(locale); variable
51 nf = new Intl.NumberFormat(locale, options); variable
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatRegressionTest.java43 NumberFormat nf = NumberFormat.getInstance(Locale.US); in Test4161100() local
71 NumberFormat nf = NumberFormat.getInstance(loc); in TestJ691() local
317 void checkNBSPPatternRtNum(String testcase, NumberFormat nf, double myNumber) { in checkNBSPPatternRtNum()
335 void checkNBSPPatternRT(String testcase, NumberFormat nf) { in checkNBSPPatternRT()
341 NumberFormat nf = null; in TestNBSPInPattern() local
DNumberFormatSpecificationTest.java39 NumberFormat nf = nfWithPattern("#,##0.##"); in TestNfSetters() local
158 private static String format(double d, NumberFormat nf) { in format()
DNumberFormatTest.java1276 NumberFormat nf = NumberFormat.getCurrencyInstance(locs[i]); in TestCurrencyPatterns() local
1326 NumberFormat nf = NumberFormat.getInstance(); in TestRounding487() local
1391 …public void roundingTest(NumberFormat nf, double x, int maxFractionDigits, final String expected) { in roundingTest()
2345 … DecimalFormat nf = (DecimalFormat) com.ibm.icu.text.NumberFormat.getInstance(ULocale.ENGLISH); in TestFieldPositionDecimal() local
2357 … DecimalFormat nf = (DecimalFormat) com.ibm.icu.text.NumberFormat.getInstance(ULocale.ENGLISH); in TestFieldPositionInteger() local
2369 … DecimalFormat nf = (DecimalFormat) com.ibm.icu.text.NumberFormat.getInstance(ULocale.ENGLISH); in TestFieldPositionFractionButInteger() local
2381 … DecimalFormat nf = (DecimalFormat) com.ibm.icu.text.NumberFormat.getInstance(ULocale.ENGLISH); in TestFieldPositionFraction() local
2393 … DecimalFormat nf = (DecimalFormat) com.ibm.icu.text.NumberFormat.getCurrencyInstance(Locale.US); in TestFieldPositionCurrency() local
2500 … DecimalFormat nf = (DecimalFormat) com.ibm.icu.text.NumberFormat.getInstance(ULocale.ENGLISH); in TestRounding() local
2589 void checkRounding(DecimalFormat nf, BigDecimal base, int iterations, BigDecimal increment) { in checkRounding()
[all …]
DNumberRegression.java214 NumberFormat nf = NumberFormat.getInstance(); in Test4071492() local
229 NumberFormat nf = NumberFormat.getInstance(Locale.FRANCE); in Test4086575() local
944 NumberFormat nf = NumberFormat.getInstance(); in Test4110936() local
1046 DecimalFormat nf = new DecimalFormat("##,###,###.00"); in Test4134034() local
1148 DecimalFormat nf = (DecimalFormat)NumberFormat.getInstance(); in Test4145457() local
1379 NumberFormat nf = NumberFormat.getInstance(Locale.US); in Test4185761() local
1560 NumberFormat nf; in Test4212072() local
1790 NumberFormat nf = new DecimalFormat("0.##", new DecimalFormatSymbols(Locale.US)); in test4233840() local
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DNumberFormatRegressionTest.java47 NumberFormat nf = NumberFormat.getInstance(Locale.US); in Test4161100() local
75 NumberFormat nf = NumberFormat.getInstance(loc); in TestJ691() local
321 void checkNBSPPatternRtNum(String testcase, NumberFormat nf, double myNumber) { in checkNBSPPatternRtNum()
339 void checkNBSPPatternRT(String testcase, NumberFormat nf) { in checkNBSPPatternRT()
345 NumberFormat nf = null; in TestNBSPInPattern() local
DNumberFormatSpecificationTest.java43 NumberFormat nf = nfWithPattern("#,##0.##"); in TestNfSetters() local
162 private static String format(double d, NumberFormat nf) { in format()
DNumberFormatTest.java1280 NumberFormat nf = NumberFormat.getCurrencyInstance(locs[i]); in TestCurrencyPatterns() local
1330 NumberFormat nf = NumberFormat.getInstance(); in TestRounding487() local
1395 …public void roundingTest(NumberFormat nf, double x, int maxFractionDigits, final String expected) { in roundingTest()
2349 … DecimalFormat nf = (DecimalFormat) android.icu.text.NumberFormat.getInstance(ULocale.ENGLISH); in TestFieldPositionDecimal() local
2361 … DecimalFormat nf = (DecimalFormat) android.icu.text.NumberFormat.getInstance(ULocale.ENGLISH); in TestFieldPositionInteger() local
2373 … DecimalFormat nf = (DecimalFormat) android.icu.text.NumberFormat.getInstance(ULocale.ENGLISH); in TestFieldPositionFractionButInteger() local
2385 … DecimalFormat nf = (DecimalFormat) android.icu.text.NumberFormat.getInstance(ULocale.ENGLISH); in TestFieldPositionFraction() local
2397 … DecimalFormat nf = (DecimalFormat) android.icu.text.NumberFormat.getCurrencyInstance(Locale.US); in TestFieldPositionCurrency() local
2504 … DecimalFormat nf = (DecimalFormat) android.icu.text.NumberFormat.getInstance(ULocale.ENGLISH); in TestRounding() local
2593 void checkRounding(DecimalFormat nf, BigDecimal base, int iterations, BigDecimal increment) { in checkRounding()
[all …]
DNumberRegression.java218 NumberFormat nf = NumberFormat.getInstance(); in Test4071492() local
233 NumberFormat nf = NumberFormat.getInstance(Locale.FRANCE); in Test4086575() local
948 NumberFormat nf = NumberFormat.getInstance(); in Test4110936() local
1050 DecimalFormat nf = new DecimalFormat("##,###,###.00"); in Test4134034() local
1152 DecimalFormat nf = (DecimalFormat)NumberFormat.getInstance(); in Test4145457() local
1383 NumberFormat nf = NumberFormat.getInstance(Locale.US); in Test4185761() local
1564 NumberFormat nf; in Test4212072() local
1794 NumberFormat nf = new DecimalFormat("0.##", new DecimalFormatSymbols(Locale.US)); in test4233840() local
/external/valgrind/VEX/priv/
Dguest_arm64_helpers.c121 ULong nf = (cc_dep1 >> ARM64G_CC_SHIFT_N) & 1; in arm64g_calculate_flag_n() local
129 ULong nf = (ULong)(res >> 31); in arm64g_calculate_flag_n() local
137 ULong nf = (ULong)(res >> 63); in arm64g_calculate_flag_n() local
145 ULong nf = (ULong)(res >> 31); in arm64g_calculate_flag_n() local
153 ULong nf = res >> 63; in arm64g_calculate_flag_n() local
163 ULong nf = (ULong)(res >> 31); in arm64g_calculate_flag_n() local
173 ULong nf = res >> 63; in arm64g_calculate_flag_n() local
183 ULong nf = (ULong)(res >> 31); in arm64g_calculate_flag_n() local
193 ULong nf = res >> 63; in arm64g_calculate_flag_n() local
199 ULong nf = res >> 31; in arm64g_calculate_flag_n() local
[all …]
Dguest_arm_helpers.c121 UInt nf = (cc_dep1 >> ARMG_CC_SHIFT_N) & 1; in armg_calculate_flag_n() local
129 UInt nf = res >> 31; in armg_calculate_flag_n() local
137 UInt nf = res >> 31; in armg_calculate_flag_n() local
147 UInt nf = res >> 31; in armg_calculate_flag_n() local
157 UInt nf = res >> 31; in armg_calculate_flag_n() local
163 UInt nf = res >> 31; in armg_calculate_flag_n() local
169 UInt nf = res >> 31; in armg_calculate_flag_n() local
175 UInt nf = resHi32 >> 31; in armg_calculate_flag_n() local
476 UInt nf, zf, vf, cf, inv; in armg_calculate_condition() local
/external/icu/icu4c/source/i18n/
Dunum.cpp153 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); in unum_clone() local
481 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); in unum_getAttribute() local
502 NumberFormat* nf = reinterpret_cast<NumberFormat*>(fmt); in unum_setAttribute() local
520 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); in unum_getDoubleAttribute() local
534 NumberFormat* nf = reinterpret_cast<NumberFormat*>(fmt); in unum_setDoubleAttribute() local
558 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); in unum_getTextAttribute() local
621 NumberFormat* nf = reinterpret_cast<NumberFormat*>(fmt); in unum_setTextAttribute() local
681 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); in unum_toPattern() local
710 const NumberFormat *nf = reinterpret_cast<const NumberFormat *>(fmt); in unum_getSymbol() local
737 NumberFormat *nf = reinterpret_cast<NumberFormat *>(fmt); in unum_setSymbol() local
[all …]
/external/icu/icu4c/source/samples/numfmt/
Dmain.cpp101 setNumberFormatCurrency_2_4(NumberFormat &nf, const char *currency, UErrorCode &errorCode) { in setNumberFormatCurrency_2_4()
190 setNumberFormatCurrency_2_6(NumberFormat &nf, const char *currency, UErrorCode &errorCode) { in setNumberFormatCurrency_2_6()
226 NumberFormat *nf; in showCurrencyFormatting() local
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DNumberFormatTest.java47 NumberFormat nf; in checkGetInstance() local
79 NumberFormat nf = null; in getJDKInstance() local
179 NumberFormat nf = getJDKInstance(type, iculoc, methodName); in TestICUEquivalent() local
/external/icu/icu4c/source/test/intltest/
Dnumrgts.cpp484 NumberFormat *nf = NumberFormat::createInstance(status); in Test4071492() local
520 DecimalFormat *nf = dynamic_cast<DecimalFormat *>(nf1); in Test4086575() local
850 NumberFormat *nf = NumberFormat::createCurrencyInstance(*de, status); in Test4087244() local
1628 NumberFormat *nf = NumberFormat::createInstance(status); in Test4110936() local
1803 DecimalFormat *nf = new DecimalFormat("##,###,###.00", status); in Test4134034() local
1934 DecimalFormat *nf = dynamic_cast<DecimalFormat *>(nff); in Test4145457() local
2206 NumberFormat *nf = NumberFormat::createInstance(Locale::getUS(), status); local
2411 NumberFormat *nf; local
2558 NumberFormat *nf = NumberFormat::createInstance(Locale::getUS(), status); local
2676 NumberFormat *nf = NumberFormat::createInstance(loc, status); local
[all …]

123456