HomeSort by relevance Sort by last modified time
    Searched refs:nf (Results 1 - 25 of 178) sorted by null

1 2 3 4 5 6 7 8

  /libcore/luni/src/test/java/libcore/java/text/
NumberFormatTest.java 40 NumberFormat nf = NumberFormat.getNumberInstance(Locale.US); local
41 assertEquals("123", nf.format(new MyNumber()));
60 NumberFormat nf = new MyNumberFormat(); local
61 assertEquals("long", nf.format(BigInteger.valueOf(Long.MAX_VALUE)));
62 assertEquals("double", nf.format(BigInteger.valueOf(Long.MAX_VALUE).add(BigInteger.ONE)));
63 assertEquals("long", nf.format(BigInteger.valueOf(Long.MIN_VALUE)));
64 assertEquals("double", nf.format(BigInteger.valueOf(Long.MIN_VALUE).subtract(BigInteger.ONE)));
76 NumberFormat nf = NumberFormat.getNumberInstance(arabic); local
78 assertEquals("?????????????", nf.format(1234567890));
84 NumberFormat nf = NumberFormat.getPercentInstance(Locale.US) local
95 NumberFormat nf = NumberFormat.getNumberInstance(Locale.US); local
    [all...]
  /external/libnl/src/
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...]
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) {
  /external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/tests/
bitvect_test.c 149 int nf; local
152 nf = testfunc();
155 printf("%c", nf>0 ? 'F':'.');
157 if (nf > 0)
159 return nf;
166 int nf = 0; local
170 nf += runtest(boot, NULL, NULL);
171 nf += runtest(oct_small_num, num_family_setup, num_family_teardown);
172 nf += runtest(oct_large_num, num_family_setup, num_family_teardown);
174 3-nf, nf, 100*(3-nf)/3, failed)
    [all...]
combpath_test.c 121 int nf = 0; local
133 nf += fail;
137 numtests-nf, nf, numtests, 100*(numtests-nf)/numtests, failed);
138 return (nf == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
splitpath_test.c 136 int nf = 0; local
148 nf += fail;
152 numtests-nf, nf, numtests, 100*(numtests-nf)/numtests, failed);
153 return (nf == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
uncstring_test.c 134 int nf = 0; local
148 nf += fail;
152 numtests-nf, nf, numtests, 100*(numtests-nf)/numtests, failed);
155 return (nf == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
leb128_test.c 165 int nf = 0; local
183 nf += fail;
190 nf += fail;
196 numtests*2-nf, nf, numtests*2, 100*(numtests*2-nf)/(numtests*2),
198 return (nf == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
floatnum_test.c 417 int nf; local
420 nf = testfunc();
423 printf("%c", nf>0 ? 'F':'.');
425 if (nf > 0)
428 return nf;
435 int nf = 0; local
442 nf += runtest(new_normalized, NULL, NULL);
443 nf += runtest(new_normalized_edgecase, NULL, NULL);
444 nf += runtest(get_single_normalized, get_family_setup, get_family_teardown);
445 nf += runtest(get_single_normalized_edgecase, get_family_setup, get_family_teardown)
    [all...]
  /external/icu/icu4c/source/samples/numfmt/
main.cpp 92 * @param nf The NumberFormat on which to set the currency; takes effect on
95 * The display style of the output is controlled by nf (its pattern,
103 setNumberFormatCurrency_2_4(NumberFormat &nf, const char *currency, UErrorCode &errorCode) {
116 DecimalFormat *dnf=dynamic_cast<DecimalFormat *>(&nf);
169 nf.setMinimumFractionDigits(currencyMap[i].fractionDigits);
170 nf.setMaximumFractionDigits(currencyMap[i].fractionDigits);
182 * @param nf The NumberFormat on which to set the currency; takes effect on
184 * The display style of the output is controlled by nf (its pattern,
192 setNumberFormatCurrency_2_6(NumberFormat &nf, const char *currency, UErrorCode &errorCode) {
208 nf.setCurrency(uCurrency)
228 NumberFormat *nf; local
    [all...]
  /external/chromium_org/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/srec/srec/cfront/
chelmel4.c 55 //static void mel_cuberoot_offset(cepdata *fbo, cepdata *ch_off, int nf);
57 static void mel_spectrum_correction(cepdata *fbo, cepdata *ch_gain, int nf);
61 //static void mel_exp(cepdata *fbo, int nf);
64 static void icostrans(cepdata *cs, cepdata fb[], cepdata cep[], int nf, int nc);
79 write_scaled_frames(freqobj->nf, 1, channel->filterbank, D_FIXED, 1 / (float)LOG_SCALE);
93 static void icostrans(cepdata *cs, cepdata fb[], cepdata cep[], int nf, int nc)
104 cp = &cs[i*nf];
105 for (j = 0, temp = 0; j < nf; j++)
113 static void mel_spectrum_correction(cepdata *fbo, cepdata *ch_gain, int nf)
119 for (i = 0;i < nf; i++
    [all...]
  /external/chromium_org/v8/test/intl/overrides/
number.js 35 var nf = new Intl.NumberFormat();
36 assertEquals(nf.format(integer), integer.toLocaleString());
37 assertEquals(nf.format(float), float.toLocaleString());
42 nf = new Intl.NumberFormat(locale);
43 assertEquals(nf.format(integer), integer.toLocaleString(locale));
44 assertEquals(nf.format(float), float.toLocaleString(locale));
51 nf = new Intl.NumberFormat(locale, options);
52 assertEquals(nf.format(integer), integer.toLocaleString(locale, options));
53 assertEquals(nf.format(float), float.toLocaleString(locale, options));
  /frameworks/av/media/libstagefright/codecs/amrwbenc/src/
az_isp.c 66 Word32 i, j, nf, ip, order; local
108 nf = 0; /* number of found frequencies */
115 while ((nf < M - 1) && (j < GRID_POINTS))
164 isp[nf] = xint;
166 nf++;
182 if(nf < M - 1)
  /libcore/benchmarks/src/benchmarks/regression/
ExpensiveObjectsBenchmark.java 99 NumberFormat nf = NumberFormat.getInstance(Locale.US); local
101 nf.clone();
106 NumberFormat nf = NumberFormat.getInstance(Locale.US); local
108 nf.format(1024L);
119 NumberFormat nf = NumberFormat.getInstance(Locale.US); local
121 nf.format(1024.0);
  /external/icu/icu4c/source/test/intltest/
numrgts.cpp 477 NumberFormat *nf = NumberFormat::createInstance(status); local
479 delete nf;
482 nf->setMaximumFractionDigits(4);
485 out = nf->format(x, out, pos);
491 delete nf;
513 DecimalFormat *nf = dynamic_cast<DecimalFormat *>(nf1); local
514 if(nf == NULL) {
520 logln("nf toPattern1: " + nf->toPattern(temp));
521 logln("nf toLocPattern1: " + nf->toLocalizedPattern(temp))
843 NumberFormat *nf = NumberFormat::createCurrencyInstance(*de, status); local
1615 NumberFormat *nf = NumberFormat::createInstance(status); local
1790 DecimalFormat *nf = new DecimalFormat("##,###,###.00", status); local
1921 DecimalFormat *nf = dynamic_cast<DecimalFormat *>(nff); local
2193 NumberFormat *nf = NumberFormat::createInstance(Locale::getUS(), status); local
2398 NumberFormat *nf; local
2543 NumberFormat *nf = NumberFormat::createInstance(Locale::getUS(), status); local
2661 NumberFormat *nf = NumberFormat::createInstance(loc, status); local
2719 NumberFormat *nf = NumberFormat::createInstance(Locale::getEnglish(), status); local
2865 NumberFormat *nf = NumberFormat::createInstance(Locale::getUS(), status); local
    [all...]
pptest.cpp 179 NumberFormat *nf = NumberFormat::createInstance(status); local
181 delete nf;
185 DecimalFormat *fmt = dynamic_cast<DecimalFormat *>(nf);
213 delete nf;
  /external/valgrind/main/VEX/priv/
guest_arm64_helpers.c 121 ULong nf = (cc_dep1 >> ARM64G_CC_SHIFT_N) & 1; local
122 return nf;
129 ULong nf = (ULong)(res >> 31); local
130 return nf;
137 ULong nf = (ULong)(res >> 63); local
138 return nf;
145 ULong nf = (ULong)(res >> 31); local
146 return nf;
153 ULong nf = res >> 63; local
154 return nf;
163 ULong nf = res >> 31; local
173 ULong nf = res >> 63; local
183 ULong nf = res >> 31; local
193 ULong nf = res >> 63; local
199 ULong nf = res >> 31; local
205 ULong nf = res >> 63; local
617 ULong nf, zf, vf, cf; local
    [all...]
guest_arm_helpers.c 121 UInt nf = (cc_dep1 >> ARMG_CC_SHIFT_N) & 1; local
122 return nf;
129 UInt nf = res >> 31; local
130 return nf;
137 UInt nf = res >> 31; local
138 return nf;
147 UInt nf = res >> 31; local
148 return nf;
157 UInt nf = res >> 31; local
158 return nf;
163 UInt nf = res >> 31; local
169 UInt nf = res >> 31; local
175 UInt nf = resHi32 >> 31; local
476 UInt nf, zf, vf, cf, inv; local
    [all...]
  /external/chromium_org/third_party/icu/source/i18n/
unum.cpp 9 * 06/24/99 helena Integrated Alan's NF enhancements and Java2 bug fixes
170 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); local
171 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf);
175 const RuleBasedNumberFormat* rbnf = dynamic_cast<const RuleBasedNumberFormat*>(nf);
485 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); local
486 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf);
550 const RuleBasedNumberFormat* rbnf = dynamic_cast<const RuleBasedNumberFormat*>(nf);
567 NumberFormat* nf = reinterpret_cast<NumberFormat*>(fmt); local
568 DecimalFormat* df = dynamic_cast<DecimalFormat*>(nf);
651 RuleBasedNumberFormat* rbnf = dynamic_cast<RuleBasedNumberFormat*>(nf);
665 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); local
679 NumberFormat* nf = reinterpret_cast<NumberFormat*>(fmt); local
703 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); local
767 NumberFormat* nf = reinterpret_cast<NumberFormat*>(fmt); local
827 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); local
856 const NumberFormat *nf = reinterpret_cast<const NumberFormat *>(fmt); local
883 NumberFormat *nf = reinterpret_cast<NumberFormat *>(fmt); local
919 NumberFormat* nf = reinterpret_cast<NumberFormat*>(fmt); local
    [all...]
  /external/icu/icu4c/source/i18n/
unum.cpp 9 * 06/24/99 helena Integrated Alan's NF enhancements and Java2 bug fixes
142 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); local
143 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf);
147 const RuleBasedNumberFormat* rbnf = dynamic_cast<const RuleBasedNumberFormat*>(nf);
470 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); local
473 return nf->isLenient();
477 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf);
491 NumberFormat* nf = reinterpret_cast<NumberFormat*>(fmt); local
495 return nf->setLenient(newValue != 0);
498 DecimalFormat* df = dynamic_cast<DecimalFormat*>(nf);
509 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); local
523 NumberFormat* nf = reinterpret_cast<NumberFormat*>(fmt); local
547 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); local
610 NumberFormat* nf = reinterpret_cast<NumberFormat*>(fmt); local
670 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); local
699 const NumberFormat *nf = reinterpret_cast<const NumberFormat *>(fmt); local
726 NumberFormat *nf = reinterpret_cast<NumberFormat *>(fmt); local
762 NumberFormat* nf = reinterpret_cast<NumberFormat*>(fmt); local
    [all...]
  /external/chromium_org/third_party/icu/source/test/intltest/
numrgts.cpp 472 NumberFormat *nf = NumberFormat::createInstance(status); local
474 delete nf;
477 nf->setMaximumFractionDigits(4);
480 out = nf->format(x, out, pos);
486 delete nf;
508 DecimalFormat *nf = dynamic_cast<DecimalFormat *>(nf1); local
509 if(nf == NULL) {
515 logln("nf toPattern1: " + nf->toPattern(temp));
516 logln("nf toLocPattern1: " + nf->toLocalizedPattern(temp))
838 NumberFormat *nf = NumberFormat::createCurrencyInstance(*de, status); local
1609 NumberFormat *nf = NumberFormat::createInstance(status); local
1784 DecimalFormat *nf = new DecimalFormat("##,###,###.00", status); local
1915 DecimalFormat *nf = dynamic_cast<DecimalFormat *>(nff); local
2187 NumberFormat *nf = NumberFormat::createInstance(Locale::getUS(), status); local
2392 NumberFormat *nf; local
2537 NumberFormat *nf = NumberFormat::createInstance(Locale::getUS(), status); local
2655 NumberFormat *nf = NumberFormat::createInstance(loc, status); local
    [all...]
pptest.cpp 179 NumberFormat *nf = NumberFormat::createInstance(status); local
181 delete nf;
185 DecimalFormat *fmt = dynamic_cast<DecimalFormat *>(nf);
213 delete nf;
  /external/chromium_org/v8/test/intl/number-format/
format-is-bound.js 29 var nf = new Intl.NumberFormat();
35 // The format() method should be properly bound to the nf object.
36 numberArray.forEach(nf.format);
39 nf.format(12345);
  /frameworks/av/media/libstagefright/codecs/amrnb/common/src/
az_lsp.cpp 385 Word16 i, j, nf, ip;
433 nf = 0; // number of found frequencies
442 // while ( (nf < M) && (j < grid_points) )
443 while ((sub (nf, M) < 0) && (sub (j, grid_points) < 0))
505 lsp[nf] = xint;
507 nf++;
526 if (sub (nf, M) < 0)
569 register Word16 nf; local
627 nf = 0; /* number of found frequencies */
637 while ((nf < M) && (j < grid_points)
    [all...]

Completed in 1153 milliseconds

1 2 3 4 5 6 7 8