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

1 2 3 4 5

  /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());
  /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/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/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', ' ');
RelativeDateTimeFormatterTest.java 680 NumberFormat nf = NumberFormat.getInstance(loc); local
721 NumberFormat nf = fmt.getNumberFormat(); local
    [all...]
WriteNumberFormatSerialTestData.java 39 NumberFormat nf = NumberFormat.getInstance(Locale.US); local
47 write(file,(Object)nf,"generalInstance", "//NumberFormat.getInstance(Locale.US)");
  /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/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 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/aac/libFDK/src/
mdct.cpp 180 int nt, nf, i; local
184 nf = fMin(hMdct->prev_nr, nrSamples);
185 nrSamples -= nf;
190 for (i=0; i<nf; i++) {
196 return (nt+nf);
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
ICUServiceTest.java 944 ICUNotifier nf = new ICUNSubclass(); local
946 nf.addListener(null);
    [all...]
  /external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
Timer.java 58 return nf;
66 return nf.format(getDuration()) + "\tns";
72 return nf.format(getDuration()/iterations) + "\tns";
76 return nf.format(getDuration()/iterations) + "\tns\t" + pf.format((double)getDuration()/other - 1D) + "";
79 private DecimalFormat nf = (DecimalFormat) NumberFormat.getNumberInstance(ULocale.ENGLISH); field in class:Timer
  /external/libedit/src/
map.c 1399 size_t nf = (size_t)el->el_map.nfunc + 1; local
    [all...]
  /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 Word16 nf; local
627 nf = 0; /* number of found frequencies */
637 while ((nf < M) && (j < grid_points)
    [all...]
  /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/luni/src/test/java/libcore/java/text/
NumberFormatTest.java 42 NumberFormat nf = NumberFormat.getNumberInstance(Locale.US); local
43 assertEquals("123", nf.format(new MyNumber()));
62 NumberFormat nf = new MyNumberFormat(); local
63 assertEquals("long", nf.format(BigInteger.valueOf(Long.MAX_VALUE)));
64 assertEquals("double", nf.format(BigInteger.valueOf(Long.MAX_VALUE).add(BigInteger.ONE)));
65 assertEquals("long", nf.format(BigInteger.valueOf(Long.MIN_VALUE)));
66 assertEquals("double", nf.format(BigInteger.valueOf(Long.MIN_VALUE).subtract(BigInteger.ONE)));
78 NumberFormat nf = NumberFormat.getNumberInstance(arabic); local
80 assertEquals("?????????????", nf.format(1234567890));
87 NumberFormat nf = NumberFormat.getPercentInstance(Locale.US) local
98 NumberFormat nf = NumberFormat.getPercentInstance(Locale.US); local
114 NumberFormat nf = NumberFormat.getNumberInstance(Locale.US); local
151 NumberFormat nf = NumberFormat.getCurrencyInstance(Locale.US); local
    [all...]
  /bionic/libc/upstream-openbsd/lib/libc/gdtoa/
strtod.c 94 e, e1, esign, i, j, k, nd, nd0, nf, nz, nz0, sign; local
208 for(nd = nf = 0; (c = *s) >= '0' && c <= '9'; nd++, s++)
231 nf += nz;
241 nf += nz;
304 if (match(&s,"nf")) {
340 e1 = e -= nf;
  /bootable/recovery/edify/
expr.c 374 NamedFunction* nf = bsearch(&key, fn_table, fn_entries, local
376 if (nf == NULL) {
379 return nf->fn;
  /external/icu/icu4c/source/i18n/
plurfmt.cpp 335 NumberFormat* nf = (NumberFormat*)format->clone(); local
336 if (nf != NULL) {
338 numberFormat = nf;
unum.cpp 9 * 06/24/99 helena Integrated Alan's NF enhancements and Java2 bug fixes
143 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); local
144 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf);
148 const RuleBasedNumberFormat* rbnf = dynamic_cast<const RuleBasedNumberFormat*>(nf);
471 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); local
474 return nf->isLenient();
478 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf);
492 NumberFormat* nf = reinterpret_cast<NumberFormat*>(fmt); local
496 return nf->setLenient(newValue != 0);
499 DecimalFormat* df = dynamic_cast<DecimalFormat*>(nf);
510 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); local
524 NumberFormat* nf = reinterpret_cast<NumberFormat*>(fmt); local
548 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); local
611 NumberFormat* nf = reinterpret_cast<NumberFormat*>(fmt); local
671 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); local
700 const NumberFormat *nf = reinterpret_cast<const NumberFormat *>(fmt); local
727 NumberFormat *nf = reinterpret_cast<NumberFormat *>(fmt); local
763 NumberFormat* nf = reinterpret_cast<NumberFormat*>(fmt); local
    [all...]

Completed in 4487 milliseconds

1 2 3 4 5