/external/icu4c/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/icu4c/i18n/ |
D | unum.cpp | 137 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); in unum_clone() local 138 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf); in unum_clone() 142 const RuleBasedNumberFormat* rbnf = dynamic_cast<const RuleBasedNumberFormat*>(nf); in unum_clone() 452 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); in unum_getAttribute() local 455 return nf->isLenient(); in unum_getAttribute() 458 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf); in unum_getAttribute() 531 NumberFormat* nf = reinterpret_cast<NumberFormat*>(fmt); in unum_setAttribute() local 534 return nf->setLenient(newValue != 0); in unum_setAttribute() 537 DecimalFormat* df = dynamic_cast<DecimalFormat*>(nf); in unum_setAttribute() 626 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); in unum_getDoubleAttribute() local [all …]
|
D | winnmfmt.cpp | 221 …NumberFormat *nf = fCurrency? NumberFormat::createCurrencyInstance(loc, status) : NumberFormat::cr… in parse() local 223 nf->parse(text, result, parsePosition); in parse() 224 delete nf; in parse()
|
D | plurfmt.cpp | 289 NumberFormat* nf = (NumberFormat*)format->clone(); in setNumberFormat() local 290 if (nf != NULL) { in setNumberFormat() 292 numberFormat = nf; in setNumberFormat()
|
D | smpdtfmt.cpp | 231 delete cur->nf; in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 1416 NumberFormat *nf = NULL; in processOverrideString() local 1420 nf = cur->nf; in processOverrideString() 1434 nf = NumberFormat::createInstance(ovrLoc,status); in processOverrideString() 1441 nf->setGroupingUsed(FALSE); in processOverrideString() 1442 DecimalFormat* decfmt = dynamic_cast<DecimalFormat*>(nf); in processOverrideString() 1446 nf->setParseIntegerOnly(TRUE); in processOverrideString() 1447 nf->setMinimumFractionDigits(0); // To prevent "Jan 1.00, 1997.00" in processOverrideString() 1449 cur->nf = nf; in processOverrideString() 1476 fNumberFormatters[kDateFields[i]] = nf; in processOverrideString() [all …]
|
/external/icu4c/test/intltest/ |
D | numrgts.cpp | 473 NumberFormat *nf = NumberFormat::createInstance(status); in Test4071492() local 475 delete nf; in Test4071492() 478 nf->setMaximumFractionDigits(4); in Test4071492() 481 out = nf->format(x, out, pos); in Test4071492() 487 delete nf; in Test4071492() 509 DecimalFormat *nf = dynamic_cast<DecimalFormat *>(nf1); in Test4086575() local 510 if(nf == NULL) { in Test4086575() 516 logln("nf toPattern1: " + nf->toPattern(temp)); in Test4086575() 517 logln("nf toLocPattern1: " + nf->toLocalizedPattern(temp)); in Test4086575() 521 nf->applyLocalizedPattern(UnicodeString("###,00;(###,00)"), status); in Test4086575() [all …]
|
D | uobjtest.cpp | 579 NumberFormat *nf = NumberFormat::createInstance("de", errorCode); in TestCompilerRTTI() local 584 if (dynamic_cast<DecimalFormat *>(nf) == NULL || dynamic_cast<ChoiceFormat *>(nf) != NULL) { in TestCompilerRTTI() 588 if (&typeid(*nf) == NULL || typeid(*nf) == typeid(UObject) || typeid(*nf) == typeid(Format) || in TestCompilerRTTI() 589 typeid(*nf) != typeid(DecimalFormat) || typeid(*nf) == typeid(ChoiceFormat) || in TestCompilerRTTI() 590 typeid(*nf) == typeid(emptySet) in TestCompilerRTTI() 594 delete nf; in TestCompilerRTTI()
|
D | pptest.cpp | 179 NumberFormat *nf = NumberFormat::createInstance(status); in TestFieldPosition_example() local 181 delete nf; in TestFieldPosition_example() 185 DecimalFormat *fmt = dynamic_cast<DecimalFormat *>(nf); in TestFieldPosition_example() 213 delete nf; in TestFieldPosition_example()
|
D | numfmtst.h | 202 void expectCurrency(NumberFormat& nf, const Locale& locale, 246 void roundingTest(NumberFormat& nf, double x, int32_t maxFractionDigits, const char* expected);
|
D | icusvtst.cpp | 1470 ICUNotifier nf = new ICUNSubclass(); in testCoverage() 1472 nf.addListener(null); in testCoverage() 1483 nf.addListener(new WrongListener()); in testCoverage() 1494 nf.removeListener(null); in testCoverage() 1504 nf.removeListener(new MyListener()); in testCoverage() 1505 nf.notifyChanged(); in testCoverage() 1506 nf.addListener(new MyListener()); in testCoverage() 1507 nf.removeListener(new MyListener()); in testCoverage()
|
D | numfmtst.cpp | 1109 NumberFormat *nf = NumberFormat::createInstance(status); in TestRounding487() local 1115 roundingTest(*nf, 0.00159999, 4, "0.0016"); in TestRounding487() 1116 roundingTest(*nf, 0.00995, 4, "0.01"); in TestRounding487() 1118 roundingTest(*nf, 12.3995, 3, "12.4"); in TestRounding487() 1120 roundingTest(*nf, 12.4999, 0, "12"); in TestRounding487() 1121 roundingTest(*nf, - 19.5, 0, "-20"); in TestRounding487() 1122 delete nf; in TestRounding487() 1227 NumberFormatTest::roundingTest(NumberFormat& nf, double x, int32_t maxFractionDigits, const char* e… in roundingTest() argument 1229 nf.setMaximumFractionDigits(maxFractionDigits); in roundingTest() 1230 UnicodeString out; nf.format(x, out); in roundingTest() [all …]
|
/external/valgrind/main/VEX/priv/ |
D | guest_arm_helpers.c | 120 UInt nf = (cc_dep1 >> ARMG_CC_SHIFT_N) & 1; in armg_calculate_flag_n() local 121 return nf; in armg_calculate_flag_n() 128 UInt nf = res >> 31; in armg_calculate_flag_n() local 129 return nf; in armg_calculate_flag_n() 136 UInt nf = res >> 31; in armg_calculate_flag_n() local 137 return nf; in armg_calculate_flag_n() 146 UInt nf = res >> 31; in armg_calculate_flag_n() local 147 return nf; in armg_calculate_flag_n() 156 UInt nf = res >> 31; in armg_calculate_flag_n() local 157 return nf; in armg_calculate_flag_n() [all …]
|
/external/libffi/src/powerpc/ |
D | ffi_darwin.c | 648 long nf; /* number of floating registers already used. */ in ffi_closure_helper_DARWIN() local 658 nf = 0; in ffi_closure_helper_DARWIN() 729 if (nf < NUM_FPR_ARG_REGISTERS) in ffi_closure_helper_DARWIN() 740 nf++; in ffi_closure_helper_DARWIN() 748 if (nf < NUM_FPR_ARG_REGISTERS) in ffi_closure_helper_DARWIN() 757 nf++; in ffi_closure_helper_DARWIN() 767 if (nf < NUM_FPR_ARG_REGISTERS - 1) in ffi_closure_helper_DARWIN() 775 else if (nf == NUM_FPR_ARG_REGISTERS - 1) in ffi_closure_helper_DARWIN() 785 nf += 2; in ffi_closure_helper_DARWIN()
|
D | ffi.c | 1008 long nf; /* number of floating registers already used */ in ffi_closure_helper_SYSV() local 1018 nf = 0; in ffi_closure_helper_SYSV() 1161 if (nf < 8) in ffi_closure_helper_SYSV() 1166 nf++; in ffi_closure_helper_SYSV() 1188 if (nf < 8) in ffi_closure_helper_SYSV() 1191 nf++; in ffi_closure_helper_SYSV() 1223 if (nf < 7) in ffi_closure_helper_SYSV() 1227 nf += 2; in ffi_closure_helper_SYSV() 1235 nf = 8; in ffi_closure_helper_SYSV()
|
/external/icu4c/test/cintltst/ |
D | cnumtst.c | 111 UNumberFormat* nf; in TestInt64Parse() local 116 nf = unum_open(UNUM_DEFAULT, NULL, -1, NULL, NULL, status); in TestInt64Parse() 126 a = unum_parseInt64(nf, text, size, 0, status); in TestInt64Parse() 138 unum_close(nf); in TestInt64Parse() 1168 UNumberFormat *nf = unum_open(UNUM_SPELLOUT, NULL, 0, testPtr->locale, NULL, &status); in TestSpelloutNumberParse() local 1173 value = unum_parse(nf, testPtr->source, -1, &position, &status); in TestSpelloutNumberParse() 1180 unum_close(nf); in TestSpelloutNumberParse() 1856 UNumberFormat *nf = unum_open(UNUM_CURRENCY, NULL, 0, "en_US", NULL, &status); in TestTextAttributeCrash() local 1861 unum_setTextAttribute(nf, UNUM_CURRENCY_CODE, ubuffer, 3, &status); in TestTextAttributeCrash() 1866 used = unum_getTextAttribute(nf, UNUM_NEGATIVE_PREFIX, ubuffer, 64, &status); in TestTextAttributeCrash() [all …]
|
D | cnmdptst.c | 637 static void roundingTest(UNumberFormat* nf, double x, int32_t maxFractionDigits, const char* expect… in roundingTest() argument 645 unum_setAttribute(nf, UNUM_MAX_FRACTION_DIGITS, maxFractionDigits); in roundingTest() 647 lneed=unum_formatDouble(nf, x, NULL, lneed, NULL, &status); in roundingTest() 652 unum_formatDouble(nf, x, out, lneed+1, &pos, &status); in roundingTest() 1035 static void roundingTest2(UNumberFormat* nf, double x, int32_t roundingMode, const char* expected) in roundingTest2() argument 1043 unum_setAttribute(nf, UNUM_ROUNDING_MODE, roundingMode); in roundingTest2() 1045 lneed=unum_formatDouble(nf, x, NULL, lneed, NULL, &status); in roundingTest2() 1050 unum_formatDouble(nf, x, out, lneed+1, &pos, &status); in roundingTest2()
|
/external/opencv/cxcore/src/ |
D | cxdxt.cpp | 179 int nf = 0, f, i, j; in icvDFTFactorize() local 190 factors[nf++] = f; in icvDFTFactorize() 199 factors[nf++] = f; in icvDFTFactorize() 211 factors[nf++] = n; in icvDFTFactorize() 214 for( i = f; i < (nf+f)/2; i++ ) in icvDFTFactorize() 215 CV_SWAP( factors[i], factors[nf-i-1+f], j ); in icvDFTFactorize() 217 return nf; in icvDFTFactorize() 221 icvDFTInit( int n0, int nf, int* factors, int* itab, int elem_size, void* _wave, int inv_itab ) in icvDFTInit() argument 259 assert (nf < 34); in icvDFTInit() 260 radix[nf] = 1; in icvDFTInit() [all …]
|
/external/aac/libFDK/src/ |
D | mdct.cpp | 180 int nt, nf, i; in imdct_copy_ov_and_nr() local 184 nf = fMin(hMdct->prev_nr, nrSamples); in imdct_copy_ov_and_nr() 185 nrSamples -= nf; in imdct_copy_ov_and_nr() 190 for (i=0; i<nf; i++) { in imdct_copy_ov_and_nr() 196 return (nt+nf); in imdct_copy_ov_and_nr()
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
D | BarGraph.java | 80 NumberFormat nf= NumberFormat.getInstance(); in paint() local 167 String s3= nf.format(-xx) + "%"; //$NON-NLS-1$ in paint() 171 String s4= nf.format(xx) + "%"; //$NON-NLS-1$ in paint() 177 nf.setMaximumFractionDigits(1); in paint() 248 String label= nf.format(orgDelta); in paint()
|
/external/speex/libspeex/ |
D | smallft.c | 49 int nf=0; in drfti1() local 63 nf++; in drfti1() 64 ifac[nf+1]=ntry; in drfti1() 67 if(nf==1)goto L107; in drfti1() 69 for (i=1;i<nf;i++){ in drfti1() 70 ib=nf-i+1; in drfti1() 78 ifac[1]=nf; in drfti1() 81 nfm1=nf-1; in drfti1() 577 int na,kh,nf; in drftf1() local 580 nf=ifac[1]; in drftf1() [all …]
|
/external/iptables/extensions/ |
D | libipt_icmp.man | 7 .nf
|
D | libip6t_mh.man | 10 .nf
|
D | libip6t_icmp6.man | 12 .nf
|