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

1 2 3 4 5 6 7

  /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
    [all...]
  /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/icu4c/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));
  /external/icu4c/i18n/
unum.cpp 9 * 06/24/99 helena Integrated Alan's NF enhancements and Java2 bug fixes
138 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); local
139 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf);
143 const RuleBasedNumberFormat* rbnf = dynamic_cast<const RuleBasedNumberFormat*>(nf);
466 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); local
469 return nf->isLenient();
473 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf);
487 NumberFormat* nf = reinterpret_cast<NumberFormat*>(fmt); local
491 return nf->setLenient(newValue != 0);
494 DecimalFormat* df = dynamic_cast<DecimalFormat*>(nf);
505 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); local
519 NumberFormat* nf = reinterpret_cast<NumberFormat*>(fmt); local
543 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); local
606 NumberFormat* nf = reinterpret_cast<NumberFormat*>(fmt); local
666 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); local
695 const NumberFormat *nf = reinterpret_cast<const NumberFormat *>(fmt); local
722 NumberFormat *nf = reinterpret_cast<NumberFormat *>(fmt); local
758 NumberFormat* nf = reinterpret_cast<NumberFormat*>(fmt); local
    [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/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/icu4c/test/intltest/
numrgts.cpp 476 NumberFormat *nf = NumberFormat::createInstance(status); local
478 delete nf;
481 nf->setMaximumFractionDigits(4);
484 out = nf->format(x, out, pos);
490 delete nf;
512 DecimalFormat *nf = dynamic_cast<DecimalFormat *>(nf1); local
513 if(nf == NULL) {
519 logln("nf toPattern1: " + nf->toPattern(temp));
520 logln("nf toLocPattern1: " + nf->toLocalizedPattern(temp))
842 NumberFormat *nf = NumberFormat::createCurrencyInstance(*de, status); local
1613 NumberFormat *nf = NumberFormat::createInstance(status); local
1788 DecimalFormat *nf = new DecimalFormat("##,###,###.00", status); local
1919 DecimalFormat *nf = dynamic_cast<DecimalFormat *>(nff); local
2191 NumberFormat *nf = NumberFormat::createInstance(Locale::getUS(), status); local
2396 NumberFormat *nf; local
2541 NumberFormat *nf = NumberFormat::createInstance(Locale::getUS(), status); local
2659 NumberFormat *nf = NumberFormat::createInstance(loc, status); local
2714 NumberFormat *nf = NumberFormat::createInstance(Locale::getEnglish(), status); local
2860 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;
uobjtest.cpp 586 NumberFormat *nf = NumberFormat::createInstance("de", errorCode); local
591 if (dynamic_cast<DecimalFormat *>(nf) == NULL || dynamic_cast<ChoiceFormat *>(nf) != NULL) {
595 if (&typeid(*nf) == NULL || typeid(*nf) == typeid(UObject) || typeid(*nf) == typeid(Format) ||
596 typeid(*nf) != typeid(DecimalFormat) || typeid(*nf) == typeid(ChoiceFormat) ||
597 typeid(*nf) == typeid(emptySet)
601 delete nf;
    [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/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;
uobjtest.cpp 566 NumberFormat *nf = NumberFormat::createInstance("de", errorCode); local
571 if (dynamic_cast<DecimalFormat *>(nf) == NULL || dynamic_cast<ChoiceFormat *>(nf) != NULL) {
575 if (&typeid(*nf) == NULL || typeid(*nf) == typeid(UObject) || typeid(*nf) == typeid(Format) ||
576 typeid(*nf) != typeid(DecimalFormat) || typeid(*nf) == typeid(ChoiceFormat) ||
577 typeid(*nf) == typeid(emptySet)
581 delete nf;
    [all...]
  /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...]
  /external/valgrind/main/VEX/priv/
guest_arm_helpers.c 120 UInt nf = (cc_dep1 >> ARMG_CC_SHIFT_N) & 1; local
121 return nf;
128 UInt nf = res >> 31; local
129 return nf;
136 UInt nf = res >> 31; local
137 return nf;
146 UInt nf = res >> 31; local
147 return nf;
156 UInt nf = res >> 31; local
157 return nf;
162 UInt nf = res >> 31; local
168 UInt nf = res >> 31; local
174 UInt nf = resHi32 >> 31; local
475 UInt nf, zf, vf, cf, inv; local
    [all...]
  /frameworks/base/graphics/java/android/renderscript/
ScriptGroup.java 319 Node nf = findNode(from); local
320 if (nf == null) {
332 nf.mOutputs.add(cl);
335 validateCycle(nf, nf);
354 Node nf = findNode(from); local
355 if (nf == null) {
367 nf.mOutputs.add(cl);
370 validateCycle(nf, nf);
    [all...]

Completed in 8125 milliseconds

1 2 3 4 5 6 7