/external/v8/test/intl/general/ |
mapped-locale.js | 30 var nf = Intl.NumberFormat(['zh-TW'], {localeMatcher: 'lookup'}); variable 31 assertEquals('zh-TW', nf.resolvedOptions().locale); 33 var nf = Intl.NumberFormat(['zh-Hant-TW'], {localeMatcher: 'lookup'}); variable 34 assertEquals('zh-Hant-TW', nf.resolvedOptions().locale); 36 var nf = Intl.NumberFormat(['zh-Hant'], {localeMatcher: 'lookup'}); variable 37 assertEquals('zh-Hant', nf.resolvedOptions().locale); 39 nf = Intl.NumberFormat(['zh'], {localeMatcher: 'lookup'}); 40 assertEquals('zh', nf.resolvedOptions().locale); 42 nf = Intl.NumberFormat(['zh-CN'], {localeMatcher: 'lookup'}); 43 assertEquals('zh-CN', nf.resolvedOptions().locale) [all...] |
/external/v8/test/intl/number-format/ |
wellformed-unsupported-locale.js | 30 var nf = Intl.NumberFormat(['xx']); variable 32 assertEquals(nf.resolvedOptions().locale, %GetDefaultICULocale());
|
/prebuilts/go/darwin-x86/test/fixedbugs/ |
bug196.go | 10 var nf = 0 var 32 nf++ 37 nf++ 45 if nf != 3 { 46 println("too many calls:", nf)
|
bug227.go | 10 nf int 23 nf++ 24 return nf 28 if nf != 3 || x != 1 || y != 2 || z != 3 { 29 println("nf=", nf, " x=", x, " y=", y) 9 nf int var
|
bug244.go | 9 var nf int var 13 nf++ 27 if x != 1 || y != 2 || z != 3 || nf != 1 || v != 0 || ok != false || ng != 1 { 28 println("x=", x, " y=", y, " z=", z, " nf=", nf, " v=", v, " ok=", ok, " ng=", ng)
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
bug196.go | 10 var nf = 0 var 32 nf++ 37 nf++ 45 if nf != 3 { 46 println("too many calls:", nf)
|
bug227.go | 10 nf int 23 nf++ 24 return nf 28 if nf != 3 || x != 1 || y != 2 || z != 3 { 29 println("nf=", nf, " x=", x, " y=", y) 9 nf int var
|
bug244.go | 9 var nf int var 13 nf++ 27 if x != 1 || y != 2 || z != 3 || nf != 1 || v != 0 || ok != false || ng != 1 { 28 println("x=", x, " y=", y, " z=", z, " nf=", nf, " v=", v, " ok=", ok, " ng=", ng)
|
/external/caliper/examples/src/main/java/examples/ |
ExpensiveObjectsBenchmark.java | 50 NumberFormat nf = NumberFormat.getInstance(Locale.US); local 52 nf.clone();
|
/art/test/474-fp-sub-neg/src/ |
Main.java | 20 float nf = -0; local 25 nf -= fc; 26 nf = -nf; 30 System.out.println(nf); 33 System.out.println(-f - (-nf)); 34 System.out.println(-f + (-nf));
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/text/ |
NumberFormatProviderICU.java | 75 NumberFormat nf = null; local 77 nf = DecimalFormatICU.wrap((com.ibm.icu.text.DecimalFormat)icuNfmt); 79 nf = NumberFormatICU.wrap(icuNfmt); 82 return nf;
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/ |
NumberFormatTest.java | 25 NumberFormat nf = new NumberFormat(java.text.NumberFormat.getInstance()); local 26 assertEquals(nf, NumberFormat.getInstance()); 128 NumberFormat nf = NumberFormat.getInstance(); local 129 nf.setParseIntegerOnly(true); 130 assertTrue(nf.isParseIntegerOnly()); 131 nf.setParseIntegerOnly(false); 132 assertFalse(nf.isParseIntegerOnly()); 140 NumberFormat nf = NumberFormat.getInstance(); local 141 assertEquals(new Double(123.456), nf.parse(str)); 142 nf.setParseIntegerOnly(true) 157 NumberFormat nf = NumberFormat.getInstance(Locale.GERMANY); local 165 NumberFormat nf = NumberFormat.getInstance(ULocale.GERMANY); local 173 NumberFormat nf = NumberFormat.getNumberInstance(); local 181 NumberFormat nf = NumberFormat.getNumberInstance(Locale.GERMANY); local 189 NumberFormat nf = NumberFormat.getNumberInstance(ULocale.GERMANY); local 197 NumberFormat nf = NumberFormat.getIntegerInstance(); local 205 NumberFormat nf = NumberFormat.getIntegerInstance(Locale.GERMANY); local 213 NumberFormat nf = NumberFormat.getIntegerInstance(ULocale.GERMANY); local 221 NumberFormat nf = NumberFormat.getCurrencyInstance(); local 229 NumberFormat nf = NumberFormat.getCurrencyInstance(Locale.GERMANY); local 237 NumberFormat nf = NumberFormat.getCurrencyInstance(ULocale.GERMANY); local 245 NumberFormat nf = NumberFormat.getPercentInstance(); local 253 NumberFormat nf = NumberFormat.getPercentInstance(Locale.GERMANY); local 261 NumberFormat nf = NumberFormat.getPercentInstance(ULocale.GERMANY); local 269 NumberFormat nf = NumberFormat.getScientificInstance(); local 277 NumberFormat nf = NumberFormat.getScientificInstance(Locale.GERMANY); local 285 NumberFormat nf = NumberFormat.getScientificInstance(ULocale.GERMANY); local 319 NumberFormat nf = NumberFormat.getInstance(); local 330 NumberFormat nf = NumberFormat.getInstance(); local 340 NumberFormat nf = NumberFormat.getInstance(); local 351 NumberFormat nf = NumberFormat.getInstance(); local 360 NumberFormat nf = NumberFormat.getInstance(); local 371 NumberFormat nf = NumberFormat.getInstance(); local 380 NumberFormat nf = NumberFormat.getInstance(); local 391 NumberFormat nf = NumberFormat.getInstance(); local 400 NumberFormat nf = NumberFormat.getInstance(); local 411 NumberFormat nf = NumberFormat.getInstance(); local 427 NumberFormat nf = NumberFormat.getInstance(); local [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/ |
AbstractFormat.java | 92 final NumberFormat nf = NumberFormat.getNumberInstance(locale); local 93 nf.setMaximumFractionDigits(0); 94 nf.setParseIntegerOnly(true); 95 return nf;
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
CompositeFormat.java | 53 final NumberFormat nf = NumberFormat.getInstance(locale); local 54 nf.setMaximumFractionDigits(2); 55 return nf;
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
NumberFormatSpecificationTest.java | 43 NumberFormat nf = nfWithPattern("#,##0.##"); local 44 nf.setMaximumIntegerDigits(5); 45 nf.setMinimumIntegerDigits(4); 46 assertEquals("", "34 567,89", format(1234567.89, nf)); 47 assertEquals("", "0 034,56", format(34.56, nf)); 162 private static String format(double d, NumberFormat nf) { 163 return nf.format(d).replace('\u00a0', ' ');
|
/external/icu/icu4c/source/samples/numfmt/ |
main.cpp | 90 * @param nf The NumberFormat on which to set the currency; takes effect on 93 * The display style of the output is controlled by nf (its pattern, 101 setNumberFormatCurrency_2_4(NumberFormat &nf, const char *currency, UErrorCode &errorCode) { 114 DecimalFormat *dnf=dynamic_cast<DecimalFormat *>(&nf); 167 nf.setMinimumFractionDigits(currencyMap[i].fractionDigits); 168 nf.setMaximumFractionDigits(currencyMap[i].fractionDigits); 180 * @param nf The NumberFormat on which to set the currency; takes effect on 182 * The display style of the output is controlled by nf (its pattern, 190 setNumberFormatCurrency_2_6(NumberFormat &nf, const char *currency, UErrorCode &errorCode) { 206 nf.setCurrency(uCurrency) 226 NumberFormat *nf; local [all...] |
/external/icu/icu4c/source/test/intltest/ |
pptest.cpp | 179 NumberFormat *nf = NumberFormat::createInstance(status); local 181 delete nf; 185 DecimalFormat *fmt = dynamic_cast<DecimalFormat *>(nf); 213 delete nf;
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
NumberFormatSpecificationTest.java | 39 NumberFormat nf = nfWithPattern("#,##0.##"); local 40 nf.setMaximumIntegerDigits(5); 41 nf.setMinimumIntegerDigits(4); 42 assertEquals("", "34 567,89", format(1234567.89, nf)); 43 assertEquals("", "0 034,56", format(34.56, nf)); 158 private static String format(double d, NumberFormat nf) { 159 return nf.format(d).replace('\u00a0', ' ');
|
/external/icu/icu4j/samples/src/com/ibm/icu/samples/iuc/ |
PopulationData.java | 69 NumberFormat nf = NumberFormat.getInstance(); local 72 System.out.println(".. count="+ nf.format(territoryEntries.size())); 74 System.out.println(" "+ te.territoryName() + " = " + nf.format(te.population()));
|
/external/libnl/src/ |
nl-cls-delete.c | 68 int nf = 0, err; local 107 case 'd': nf++; parse_dev(cls, link_cache, optarg); break; 108 case 'p': nf++; parse_parent(cls, optarg); break; 109 case ARG_PRIO: nf++; parse_prio(cls, optarg); break; 110 case ARG_ID: nf++; parse_handle(cls, optarg); break; 111 case ARG_PROTO: nf++; parse_proto(cls, optarg); break; 115 if (nf == 0 && !interactive && !default_yes) {
|
nl-route-delete.c | 88 int nf = 0; local 141 case 'd': nf++; nl_cli_route_parse_dst(route, optarg); break; 142 case 'n': nf++; nl_cli_route_parse_nexthop(route, optarg, link_cache); break; 143 case 't': nf++; nl_cli_route_parse_table(route, optarg); break; 144 case ARG_FAMILY: nf++; nl_cli_route_parse_family(route, optarg); break; 145 case ARG_SRC: nf++; nl_cli_route_parse_src(route, optarg); break; 146 case ARG_IIF: nf++; nl_cli_route_parse_iif(route, optarg, link_cache); break; 147 case ARG_PREF_SRC: nf++; nl_cli_route_parse_pref_src(route, optarg); break; 148 case ARG_METRICS: nf++; nl_cli_route_parse_metric(route, optarg); break; 149 case ARG_PRIORITY: nf++; nl_cli_route_parse_prio(route, optarg); break [all...] |
/external/opencv3/apps/traincascade/ |
haarfeatures.h | 75 float nf = normfactor.at<float>(0, sampleIdx); local 76 return !nf ? 0.0f : (features[featureIdx].calc( sum, tilted, sampleIdx)/nf);
|
/external/opencv3/modules/core/src/ |
dxt.cpp | 134 int nf = 0, f, i, j; local 145 factors[nf++] = f; 154 factors[nf++] = f; 166 factors[nf++] = n; 169 for( i = f; i < (nf+f)/2; i++ ) 170 CV_SWAP( factors[i], factors[nf-i-1+f], j ); 172 return nf; 176 DFTInit( int n0, int nf, int* factors, int* itab, int elem_size, void* _wave, int inv_itab ) 213 // radix[] is initialized from index 'nf' down to zero 214 assert (nf < 34) [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/ |
Frequency.java | 82 NumberFormat nf = NumberFormat.getPercentInstance(); local 92 outBuffer.append(nf.format(getPct(value))); 94 outBuffer.append(nf.format(getCumPct(value)));
|
/libcore/benchmarks/src/benchmarks/regression/ |
ExpensiveObjectsBenchmark.java | 101 NumberFormat nf = NumberFormat.getInstance(Locale.US); local 103 nf.clone(); 108 NumberFormat nf = NumberFormat.getInstance(Locale.US); local 110 nf.format(1024L); 121 NumberFormat nf = NumberFormat.getInstance(Locale.US); local 123 nf.format(1024.0);
|