/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 …]
|
D | spec_anl.c | 134 …write_scaled_frames(freqobj->nf, 1, channel->filterbank, D_FIXED, (float)(0x01 << channel->shift)); in filterbank_emulation() 136 …write_scaled_frames(freqobj->nf, 1, channel->filterbank, D_FIXED, (float)1 / (0x01 << -channel->sh… in filterbank_emulation() 290 for (i = 0, k = 2; i < freqobj->nf; i++, k++) in filtbank()
|
/external/icu4c/i18n/ |
D | unum.cpp | 170 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); in unum_clone() local 171 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf); in unum_clone() 175 const RuleBasedNumberFormat* rbnf = dynamic_cast<const RuleBasedNumberFormat*>(nf); in unum_clone() 485 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); in unum_getAttribute() local 486 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf); in unum_getAttribute() 550 const RuleBasedNumberFormat* rbnf = dynamic_cast<const RuleBasedNumberFormat*>(nf); in unum_getAttribute() 567 NumberFormat* nf = reinterpret_cast<NumberFormat*>(fmt); in unum_setAttribute() local 568 DecimalFormat* df = dynamic_cast<DecimalFormat*>(nf); in unum_setAttribute() 651 RuleBasedNumberFormat* rbnf = dynamic_cast<RuleBasedNumberFormat*>(nf); in unum_setAttribute() 665 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 | smpdtfmt.cpp | 184 delete cur->nf; in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 1342 NumberFormat *nf = NULL; in processOverrideString() local 1346 nf = cur->nf; in processOverrideString() 1360 nf = NumberFormat::createInstance(ovrLoc,status); in processOverrideString() 1367 nf->setGroupingUsed(FALSE); in processOverrideString() 1368 DecimalFormat* decfmt = dynamic_cast<DecimalFormat*>(nf); in processOverrideString() 1372 nf->setParseIntegerOnly(TRUE); in processOverrideString() 1373 nf->setMinimumFractionDigits(0); // To prevent "Jan 1.00, 1997.00" in processOverrideString() 1375 cur->nf = nf; in processOverrideString() 1402 fNumberFormatters[kDateFields[i]] = nf; in processOverrideString() [all …]
|
/external/valgrind/main/VEX/priv/ |
D | guest_arm_helpers.c | 81 UInt nf = lshift( res & (1<<31), ARMG_CC_SHIFT_N - 31 ); in armg_calculate_flags_nzcv() local 90 return nf | zf | cf | vf; in armg_calculate_flags_nzcv() 97 UInt nf = lshift( res & (1<<31), ARMG_CC_SHIFT_N - 31 ); in armg_calculate_flags_nzcv() local 106 return nf | zf | cf | vf; in armg_calculate_flags_nzcv() 114 UInt nf = lshift( res & (1<<31), ARMG_CC_SHIFT_N - 31 ); in armg_calculate_flags_nzcv() local 123 return nf | zf | cf | vf; in armg_calculate_flags_nzcv() 131 UInt nf = lshift( res & (1<<31), ARMG_CC_SHIFT_N - 31 ); in armg_calculate_flags_nzcv() local 140 return nf | zf | cf | vf; in armg_calculate_flags_nzcv() 147 UInt nf = lshift( res & (1<<31), ARMG_CC_SHIFT_N - 31 ); in armg_calculate_flags_nzcv() local 151 return nf | zf | cf | vf; in armg_calculate_flags_nzcv() [all …]
|
/external/icu4c/test/intltest/ |
D | numrgts.cpp | 472 NumberFormat *nf = NumberFormat::createInstance(status); in Test4071492() local 474 delete nf; in Test4071492() 477 nf->setMaximumFractionDigits(4); in Test4071492() 480 out = nf->format(x, out, pos); in Test4071492() 486 delete nf; in Test4071492() 508 DecimalFormat *nf = dynamic_cast<DecimalFormat *>(nf1); in Test4086575() local 509 if(nf == NULL) { in Test4086575() 515 logln("nf toPattern1: " + nf->toPattern(temp)); in Test4086575() 516 logln("nf toLocPattern1: " + nf->toLocalizedPattern(temp)); in Test4086575() 520 nf->applyLocalizedPattern(UnicodeString("###,00;(###,00)"), status); in Test4086575() [all …]
|
D | uobjtest.cpp | 566 NumberFormat *nf = NumberFormat::createInstance("de", errorCode); in TestCompilerRTTI() local 571 if (dynamic_cast<DecimalFormat *>(nf) == NULL || dynamic_cast<ChoiceFormat *>(nf) != NULL) { in TestCompilerRTTI() 575 if (&typeid(*nf) == NULL || typeid(*nf) == typeid(UObject) || typeid(*nf) == typeid(Format) || in TestCompilerRTTI() 576 typeid(*nf) != typeid(DecimalFormat) || typeid(*nf) == typeid(ChoiceFormat) || in TestCompilerRTTI() 577 typeid(*nf) == typeid(emptySet) in TestCompilerRTTI() 581 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 | 199 void expectCurrency(NumberFormat& nf, const Locale& locale, 243 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 | 856 NumberFormat *nf = NumberFormat::createInstance(status); in TestRounding487() local 862 roundingTest(*nf, 0.00159999, 4, "0.0016"); in TestRounding487() 863 roundingTest(*nf, 0.00995, 4, "0.01"); in TestRounding487() 865 roundingTest(*nf, 12.3995, 3, "12.4"); in TestRounding487() 867 roundingTest(*nf, 12.4999, 0, "12"); in TestRounding487() 868 roundingTest(*nf, - 19.5, 0, "-20"); in TestRounding487() 869 delete nf; in TestRounding487() 974 NumberFormatTest::roundingTest(NumberFormat& nf, double x, int32_t maxFractionDigits, const char* e… in roundingTest() argument 976 nf.setMaximumFractionDigits(maxFractionDigits); in roundingTest() 977 UnicodeString out; nf.format(x, out); in roundingTest() [all …]
|
/external/icu4c/test/cintltst/ |
D | cnumtst.c | 108 UNumberFormat* nf; in TestInt64Parse() local 113 nf = unum_open(UNUM_DEFAULT, NULL, -1, NULL, NULL, status); in TestInt64Parse() 123 a = unum_parseInt64(nf, text, size, 0, status); in TestInt64Parse() 135 unum_close(nf); in TestInt64Parse() 983 UNumberFormat *nf = unum_open(UNUM_SPELLOUT, NULL, 0, testPtr->locale, NULL, &status); in TestSpelloutNumberParse() local 988 value = unum_parse(nf, testPtr->source, -1, &position, &status); in TestSpelloutNumberParse() 995 unum_close(nf); in TestSpelloutNumberParse() 1645 UNumberFormat *nf = unum_open(UNUM_CURRENCY, NULL, 0, "en_US", NULL, &status); in TestTextAttributeCrash() local 1650 unum_setTextAttribute(nf, UNUM_CURRENCY_CODE, ubuffer, 3, &status); in TestTextAttributeCrash() 1655 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/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/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/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
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
D | MessageFormatTest.java | 263 NumberFormat nf = NumberFormat.getInstance(); in test_applyPatternLjava_lang_String() local 264 nf.setMaximumFractionDigits(0); in test_applyPatternLjava_lang_String() 265 nf.setParseIntegerOnly(true); in test_applyPatternLjava_lang_String() 267 .equals(nf)); in test_applyPatternLjava_lang_String()
|
/external/svox/pico/lib/ |
D | picoos.c | 934 picopal_File nf; member 997 (*f)->nf = picopal_get_fnil(); in LOpen() 1001 (*f)->nf = picopal_fopen((*f)->name, mode); in LOpen() 1002 done = !(picopal_is_fnil((*f)->nf)); in LOpen() 1004 (*f)->lFileLen = picopal_flength((*f)->nf); in LOpen() 1026 done = (PICO_OK == picopal_fclose((*f)->nf)); in LClose() 1054 res = picopal_fread_bytes(f->nf, (void *) &bytes[(0)], 1, (*len)); in LReadBytes() 1080 res = picopal_fwrite_bytes(f->nf, (void *) bytes, 1, *len); in LWriteBytes() 1111 done = (PICO_OK == picopal_fseek(f->nf, pos, PICOPAL_SEEK_SET)); in LSetPos() 1140 isEof = picopal_feof(f->nf); in LEof()
|