/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/chromium_org/v8/test/intl/number-format/ |
wellformed-unsupported-locale.js | 30 var nf = Intl.NumberFormat(['xx']); variable 32 assertEquals(nf.resolvedOptions().locale, %GetDefaultICULocale());
|
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/tests/ |
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;
|
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...] |
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;
|
/external/chromium_org/third_party/icu/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;
|
dtfmapts.cpp | 235 const NumberFormat *nf = def->getNumberFormat(); local 236 NumberFormat *newNf = (NumberFormat*) nf->clone();
|
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/icu4c/i18n/unicode/ |
smpdtfmt.h | 1697 NumberFormat *nf; member in struct:SimpleDateFormat::NSOverride [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/icu4c/test/intltest/ |
pptest.cpp | 179 NumberFormat *nf = NumberFormat::createInstance(status); local 181 delete nf; 185 DecimalFormat *fmt = dynamic_cast<DecimalFormat *>(nf); 213 delete nf;
|
/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...] |
/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/chromium_org/third_party/icu/source/i18n/unicode/ |
smpdtfmt.h | 1101 NumberFormat *nf; member in struct:SimpleDateFormat::NSOverride [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
winnmfmt.cpp | 221 NumberFormat *nf = fCurrency? NumberFormat::createCurrencyInstance(loc, status) : NumberFormat::createInstance(loc, status); local 223 nf->parse(text, result, parsePosition); 224 delete nf;
|
nfsubs.cpp | 1195 int64_t nf =longNF; local [all...] |
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/icu4c/i18n/ |
plurfmt.cpp | 311 NumberFormat* nf = (NumberFormat*)format->clone(); local 312 if (nf != NULL) { 314 numberFormat = nf;
|
winnmfmt.cpp | 221 NumberFormat *nf = fCurrency? NumberFormat::createCurrencyInstance(loc, status) : NumberFormat::createInstance(loc, status); local 223 nf->parse(text, result, parsePosition); 224 delete nf;
|
/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...] |
/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)
|
/bootable/recovery/edify/ |
expr.c | 376 NamedFunction* nf = bsearch(&key, fn_table, fn_entries, local 378 if (nf == NULL) { 381 return nf->fn;
|