/external/chromium_org/v8/test/intl/general/ |
D | 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'}); 34 assertEquals('zh-Hant-TW', nf.resolvedOptions().locale); 36 var nf = Intl.NumberFormat(['zh-Hant'], {localeMatcher: 'lookup'}); 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/ |
D | parse-decimal.js | 28 var nf = new Intl.NumberFormat(['en'], {style: 'decimal'}); variable 30 assertEquals(123.43, nf.v8Parse('123.43')); 31 assertEquals(123, nf.v8Parse('123')); 32 assertEquals(NaN, nf.v8Parse(NaN)); 33 assertEquals(12323, nf.v8Parse('123,23')); 34 assertEquals(12323.456, nf.v8Parse('123,23.456')); 35 assertEquals(12323.456, nf.v8Parse('0000000123,23.456')); 36 assertEquals(-12323.456, nf.v8Parse('-123,23.456')); 39 assertEquals(123.456, nf.v8Parse('123.456e-3'));
|
D | parse-percent.js | 28 var nf = new Intl.NumberFormat(['en'], {style: 'percent'}); variable 30 assertEquals(1.2343, nf.v8Parse('123.43%')); 31 assertEquals(1.23, nf.v8Parse('123%')); 32 assertEquals(NaN, nf.v8Parse(NaN)); 33 assertEquals(123.23, nf.v8Parse('123,23%')); 34 assertEquals(123.23456, nf.v8Parse('123,23.456%')); 35 assertEquals(123.23456, nf.v8Parse('0000000123,23.456%')); 36 assertEquals(-123.23456, nf.v8Parse('-123,23.456%'));
|
D | parse-invalid-input.js | 30 var nf = new Intl.NumberFormat(['en']); variable 32 assertEquals(undefined, nf.v8Parse('')); 33 assertEquals(undefined, nf.v8Parse('A')); 34 assertEquals(undefined, nf.v8Parse(new Date())); 35 assertEquals(undefined, nf.v8Parse(undefined)); 36 assertEquals(undefined, nf.v8Parse(null)); 37 assertEquals(undefined, nf.v8Parse()); 38 assertEquals(undefined, nf.v8Parse('Text before 12345'));
|
D | format-is-bound.js | 29 var nf = new Intl.NumberFormat(); variable 36 numberArray.forEach(nf.format); 39 nf.format(12345);
|
/external/libnl/src/ |
D | nl-route-delete.c | 88 int nf = 0; in main() local 141 case 'd': nf++; nl_cli_route_parse_dst(route, optarg); break; in main() 142 case 'n': nf++; nl_cli_route_parse_nexthop(route, optarg, link_cache); break; in main() 143 case 't': nf++; nl_cli_route_parse_table(route, optarg); break; in main() 144 case ARG_FAMILY: nf++; nl_cli_route_parse_family(route, optarg); break; in main() 145 case ARG_SRC: nf++; nl_cli_route_parse_src(route, optarg); break; in main() 146 case ARG_IIF: nf++; nl_cli_route_parse_iif(route, optarg, link_cache); break; in main() 147 case ARG_PREF_SRC: nf++; nl_cli_route_parse_pref_src(route, optarg); break; in main() 148 case ARG_METRICS: nf++; nl_cli_route_parse_metric(route, optarg); break; in main() 149 case ARG_PRIORITY: nf++; nl_cli_route_parse_prio(route, optarg); break; in main() [all …]
|
D | Makefile.am | 10 nf-ct-list nf-log nf-queue nf-monitor \ 29 nf_ct_list_SOURCES = nf-ct-list.c 30 nf_ct_list_LDADD = -lnl-nf 31 nf_log_SOURCES = nf-log.c 32 nf_log_LDADD = -lnl-nf 33 nf_queue_SOURCES = nf-queue.c 34 nf_queue_LDADD = -lnl-nf 35 nf_monitor_SOURCES = nf-monitor.c 36 nf_monitor_LDADD = -lnl-nf
|
D | nl-cls-delete.c | 68 int nf = 0, err; in main() local 107 case 'd': nf++; parse_dev(cls, link_cache, optarg); break; in main() 108 case 'p': nf++; parse_parent(cls, optarg); break; in main() 109 case ARG_PRIO: nf++; parse_prio(cls, optarg); break; in main() 110 case ARG_ID: nf++; parse_handle(cls, optarg); break; in main() 111 case ARG_PROTO: nf++; parse_proto(cls, optarg); break; in main() 115 if (nf == 0 && !interactive && !default_yes) { in main()
|
D | .gitignore | 2 nf-ct-list 3 nf-log 4 nf-monitor 31 nf-queue
|
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/tests/ |
D | bitvect_test.c | 149 int nf; in runtest_() local 152 nf = testfunc(); in runtest_() 155 printf("%c", nf>0 ? 'F':'.'); in runtest_() 157 if (nf > 0) in runtest_() 159 return nf; in runtest_() 166 int nf = 0; in main() local 170 nf += runtest(boot, NULL, NULL); in main() 171 nf += runtest(oct_small_num, num_family_setup, num_family_teardown); in main() 172 nf += runtest(oct_large_num, num_family_setup, num_family_teardown); in main() 174 3-nf, nf, 100*(3-nf)/3, failed); in main() [all …]
|
D | floatnum_test.c | 417 int nf; in runtest_() local 420 nf = testfunc(); in runtest_() 423 printf("%c", nf>0 ? 'F':'.'); in runtest_() 425 if (nf > 0) in runtest_() 428 return nf; in runtest_() 435 int nf = 0; in main() local 442 nf += runtest(new_normalized, NULL, NULL); in main() 443 nf += runtest(new_normalized_edgecase, NULL, NULL); in main() 444 nf += runtest(get_single_normalized, get_family_setup, get_family_teardown); in main() 445 nf += runtest(get_single_normalized_edgecase, get_family_setup, get_family_teardown); in main() [all …]
|
D | combpath_test.c | 121 int nf = 0; in main() local 133 nf += fail; in main() 137 numtests-nf, nf, numtests, 100*(numtests-nf)/numtests, failed); in main() 138 return (nf == 0) ? EXIT_SUCCESS : EXIT_FAILURE; in main()
|
D | splitpath_test.c | 136 int nf = 0; in main() local 148 nf += fail; in main() 152 numtests-nf, nf, numtests, 100*(numtests-nf)/numtests, failed); in main() 153 return (nf == 0) ? EXIT_SUCCESS : EXIT_FAILURE; in main()
|
D | uncstring_test.c | 134 int nf = 0; in main() local 148 nf += fail; in main() 152 numtests-nf, nf, numtests, 100*(numtests-nf)/numtests, failed); in main() 155 return (nf == 0) ? EXIT_SUCCESS : EXIT_FAILURE; in main()
|
D | leb128_test.c | 165 int nf = 0; in main() local 183 nf += fail; in main() 190 nf += fail; in main() 196 numtests*2-nf, nf, numtests*2, 100*(numtests*2-nf)/(numtests*2), in main() 198 return (nf == 0) ? EXIT_SUCCESS : EXIT_FAILURE; in main()
|
/external/chromium_org/v8/test/intl/overrides/ |
D | number.js | 35 var nf = new Intl.NumberFormat(); variable 36 assertEquals(nf.format(integer), integer.toLocaleString()); 37 assertEquals(nf.format(float), float.toLocaleString()); 42 nf = new Intl.NumberFormat(locale); variable 43 assertEquals(nf.format(integer), integer.toLocaleString(locale)); 44 assertEquals(nf.format(float), float.toLocaleString(locale)); 51 nf = new Intl.NumberFormat(locale, options); variable 52 assertEquals(nf.format(integer), integer.toLocaleString(locale, options)); 53 assertEquals(nf.format(float), float.toLocaleString(locale, options));
|
/external/chromium_org/third_party/icu/source/samples/numfmt/ |
D | main.cpp | 103 setNumberFormatCurrency_2_4(NumberFormat &nf, const char *currency, UErrorCode &errorCode) { in setNumberFormatCurrency_2_4() argument 116 DecimalFormat *dnf=dynamic_cast<DecimalFormat *>(&nf); in setNumberFormatCurrency_2_4() 169 nf.setMinimumFractionDigits(currencyMap[i].fractionDigits); in setNumberFormatCurrency_2_4() 170 nf.setMaximumFractionDigits(currencyMap[i].fractionDigits); in setNumberFormatCurrency_2_4() 192 setNumberFormatCurrency_2_6(NumberFormat &nf, const char *currency, UErrorCode &errorCode) { in setNumberFormatCurrency_2_6() argument 208 nf.setCurrency(uCurrency); in setNumberFormatCurrency_2_6() 210 nf.setCurrency(uCurrency, errorCode); in setNumberFormatCurrency_2_6() 228 NumberFormat *nf; in showCurrencyFormatting() local 245 nf=NumberFormat::createCurrencyInstance(sampleLocaleIDs[i], errorCode); in showCurrencyFormatting() 257 setNumberFormatCurrency_2_6(*nf, sampleCurrencies[j], errorCode); in showCurrencyFormatting() [all …]
|
/external/icu/icu4c/source/samples/numfmt/ |
D | main.cpp | 103 setNumberFormatCurrency_2_4(NumberFormat &nf, const char *currency, UErrorCode &errorCode) { in setNumberFormatCurrency_2_4() argument 116 DecimalFormat *dnf=dynamic_cast<DecimalFormat *>(&nf); in setNumberFormatCurrency_2_4() 169 nf.setMinimumFractionDigits(currencyMap[i].fractionDigits); in setNumberFormatCurrency_2_4() 170 nf.setMaximumFractionDigits(currencyMap[i].fractionDigits); in setNumberFormatCurrency_2_4() 192 setNumberFormatCurrency_2_6(NumberFormat &nf, const char *currency, UErrorCode &errorCode) { in setNumberFormatCurrency_2_6() argument 208 nf.setCurrency(uCurrency); in setNumberFormatCurrency_2_6() 210 nf.setCurrency(uCurrency, errorCode); in setNumberFormatCurrency_2_6() 228 NumberFormat *nf; in showCurrencyFormatting() local 245 nf=NumberFormat::createCurrencyInstance(sampleLocaleIDs[i], errorCode); in showCurrencyFormatting() 257 setNumberFormatCurrency_2_6(*nf, sampleCurrencies[j], errorCode); in showCurrencyFormatting() [all …]
|
/external/srec/srec/cfront/ |
D | chelmel4.c | 57 static void mel_spectrum_correction(cepdata *fbo, cepdata *ch_gain, 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); in cepstrum_params() 93 static void icostrans(cepdata *cs, cepdata fb[], cepdata cep[], int nf, int nc) in icostrans() argument 104 cp = &cs[i*nf]; in icostrans() 105 for (j = 0, temp = 0; j < nf; j++) in icostrans() 113 static void mel_spectrum_correction(cepdata *fbo, cepdata *ch_gain, int nf) in mel_spectrum_correction() argument 119 for (i = 0;i < nf; i++) in mel_spectrum_correction()
|
D | frontobj.c | 112 setup_cep_object(config->cepobj, parameters, config->freqobj->nf, in setup_config_object() 177 channel->num_freq = freqobj->nf; in setup_channel_object() 415 for (freqobj->nf = 0; i <= 10; i++, freqobj->nf++) in setup_freq_object() 416 freqobj->fc[freqobj->nf] = (fftdata)(100 * i); /* 100 Hz */ in setup_freq_object() 417 for (f = 1000.; f <= high_cut; freqobj->nf++) in setup_freq_object() 420 freqobj->fc[freqobj->nf] = (fftdata) fixed_round(f); /* 10 % */ in setup_freq_object() 422 freqobj->nf--; in setup_freq_object() 424 if ((freqobj->fc[freqobj->nf] + freqobj->fc[freqobj->nf-1]) / 2. > high_cut) in setup_freq_object() 425 freqobj->nf--; in setup_freq_object() 426 freqobj->fc[freqobj->nf] = (fftdata) high_cut; in setup_freq_object() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | unum.cpp | 142 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); in unum_clone() local 143 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf); in unum_clone() 147 const RuleBasedNumberFormat* rbnf = dynamic_cast<const RuleBasedNumberFormat*>(nf); in unum_clone() 470 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); in unum_getAttribute() local 473 return nf->isLenient(); in unum_getAttribute() 477 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf); in unum_getAttribute() 491 NumberFormat* nf = reinterpret_cast<NumberFormat*>(fmt); in unum_setAttribute() local 495 return nf->setLenient(newValue != 0); in unum_setAttribute() 498 DecimalFormat* df = dynamic_cast<DecimalFormat*>(nf); in unum_setAttribute() 509 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); in unum_getDoubleAttribute() local [all …]
|
/external/chromium_org/third_party/icu/source/i18n/ |
D | unum.cpp | 138 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); in unum_clone() local 139 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf); in unum_clone() 143 const RuleBasedNumberFormat* rbnf = dynamic_cast<const RuleBasedNumberFormat*>(nf); in unum_clone() 466 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); in unum_getAttribute() local 469 return nf->isLenient(); in unum_getAttribute() 473 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf); in unum_getAttribute() 487 NumberFormat* nf = reinterpret_cast<NumberFormat*>(fmt); in unum_setAttribute() local 491 return nf->setLenient(newValue != 0); in unum_setAttribute() 494 DecimalFormat* df = dynamic_cast<DecimalFormat*>(nf); in unum_setAttribute() 505 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); in unum_getDoubleAttribute() local [all …]
|
/external/valgrind/main/VEX/priv/ |
D | guest_arm64_helpers.c | 121 ULong nf = (cc_dep1 >> ARM64G_CC_SHIFT_N) & 1; in arm64g_calculate_flag_n() local 122 return nf; in arm64g_calculate_flag_n() 129 ULong nf = (ULong)(res >> 31); in arm64g_calculate_flag_n() local 130 return nf; in arm64g_calculate_flag_n() 137 ULong nf = (ULong)(res >> 63); in arm64g_calculate_flag_n() local 138 return nf; in arm64g_calculate_flag_n() 145 ULong nf = (ULong)(res >> 31); in arm64g_calculate_flag_n() local 146 return nf; in arm64g_calculate_flag_n() 153 ULong nf = res >> 63; in arm64g_calculate_flag_n() local 154 return nf; in arm64g_calculate_flag_n() [all …]
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
D | numrgts.cpp | 477 NumberFormat *nf = NumberFormat::createInstance(status); in Test4071492() local 479 delete nf; in Test4071492() 482 nf->setMaximumFractionDigits(4); in Test4071492() 485 out = nf->format(x, out, pos); in Test4071492() 491 delete nf; in Test4071492() 513 DecimalFormat *nf = dynamic_cast<DecimalFormat *>(nf1); in Test4086575() local 514 if(nf == NULL) { in Test4086575() 520 logln("nf toPattern1: " + nf->toPattern(temp)); in Test4086575() 521 logln("nf toLocPattern1: " + nf->toLocalizedPattern(temp)); in Test4086575() 525 nf->applyLocalizedPattern(UnicodeString("###,00;(###,00)"), status); in Test4086575() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | numrgts.cpp | 477 NumberFormat *nf = NumberFormat::createInstance(status); in Test4071492() local 479 delete nf; in Test4071492() 482 nf->setMaximumFractionDigits(4); in Test4071492() 485 out = nf->format(x, out, pos); in Test4071492() 491 delete nf; in Test4071492() 513 DecimalFormat *nf = dynamic_cast<DecimalFormat *>(nf1); in Test4086575() local 514 if(nf == NULL) { in Test4086575() 520 logln("nf toPattern1: " + nf->toPattern(temp)); in Test4086575() 521 logln("nf toLocPattern1: " + nf->toLocalizedPattern(temp)); in Test4086575() 525 nf->applyLocalizedPattern(UnicodeString("###,00;(###,00)"), status); in Test4086575() [all …]
|