Searched defs:nf (Results 1 - 25 of 31) sorted by relevance

12

/external/icu4c/samples/numfmt/
H A Dmain.cpp92 * @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) { argument
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) { argument
208 nf
228 NumberFormat *nf; local
[all...]
/external/srec/srec/cfront/
H A Dchelmel4.c55 //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) argument
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) argument
119 for (i = 0;i < nf;
[all...]
/external/icu4c/test/intltest/
H A Dpptest.cpp179 NumberFormat *nf = NumberFormat::createInstance(status); local
181 delete nf;
185 DecimalFormat *fmt = dynamic_cast<DecimalFormat *>(nf);
213 delete nf;
H A Ddtfmapts.cpp235 const NumberFormat *nf = def->getNumberFormat(); local
236 NumberFormat *newNf = (NumberFormat*) nf->clone();
H A Duobjtest.cpp566 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...]
H A Dloctest.cpp1184 NumberFormat *nf = NumberFormat::createCurrencyInstance(loc, status); local
1192 nf->format(271828.182845, pos);
1194 nf->format(-271828.182845, neg);
1207 delete nf;
1846 NumberFormat* nf = NumberFormat::createInstance(Locale::createFromName(req), ec); local
1850 DecimalFormat* dec = dynamic_cast<DecimalFormat*>(nf);
1876 delete nf;
H A Dnumrgts.cpp472 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 toLocPattern
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...]
/external/icu4c/i18n/unicode/
H A Dsmpdtfmt.h1101 NumberFormat *nf; member in struct:SimpleDateFormat::NSOverride
/external/icu4c/i18n/
H A Dwinnmfmt.cpp221 NumberFormat *nf = fCurrency? NumberFormat::createCurrencyInstance(loc, status) : NumberFormat::createInstance(loc, status); local
223 nf->parse(text, result, parsePosition);
224 delete nf;
H A Dunum.cpp170 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 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...]
H A Dnfsubs.cpp1195 int64_t nf =longNF; local
1197 while ((nf *= 10) < denominator) {
H A Dnumfmt.cpp374 ArgExtractor(const NumberFormat& nf, const Formattable& obj, UErrorCode& status);
385 ArgExtractor::ArgExtractor(const NumberFormat& nf, const Formattable& obj, UErrorCode& status) argument
386 : ncnf((NumberFormat*) &nf), num(&obj), setCurr(FALSE) {
394 u_strcpy(save, nf.getCurrency());
H A Dmsgfmt.cpp1275 const NumberFormat* nf = getDefaultNumberFormat(success); local
1276 if (nf == NULL) {
1280 nf->format(obj->getDouble(), appendTo);
1282 nf->format(obj->getLong(), appendTo);
1284 nf->format(obj->getInt64(), appendTo);
/external/opencv/cxcore/src/
H A Dcxdxt.cpp179 int nf = 0, f, i, j; local
190 factors[nf++] = f;
199 factors[nf++] = f;
211 factors[nf++] = n;
214 for( i = f; i < (nf+f)/2; i++ )
215 CV_SWAP( factors[i], factors[nf-i-1+f], j );
217 return nf;
221 icvDFTInit( int n0, int nf, int* factors, int* itab, int elem_size, void* _wave, int inv_itab ) argument
258 // radix[] is initialized from index 'nf' down to zero
259 assert (nf < 3
[all...]
/external/valgrind/main/VEX/priv/
H A Dguest_arm_helpers.c81 UInt nf = lshift( res & (1<<31), ARMG_CC_SHIFT_N - 31 ); local
89 // argL, argR, nf, zf, cf, vf);
90 return nf | zf | cf | vf;
97 UInt nf = lshift( res & (1<<31), ARMG_CC_SHIFT_N - 31 ); local
105 // argL, argR, nf, zf, cf, vf);
106 return nf | zf | cf | vf;
114 UInt nf = lshift( res & (1<<31), ARMG_CC_SHIFT_N - 31 ); local
122 // argL, argR, nf, zf, cf, vf);
123 return nf | zf | cf | vf;
131 UInt nf local
147 UInt nf = lshift( res & (1<<31), ARMG_CC_SHIFT_N - 31 ); local
158 UInt nf = lshift( res & (1<<31), ARMG_CC_SHIFT_N - 31 ); local
170 UInt nf = lshift( resHi32 & (1<<31), ARMG_CC_SHIFT_N - 31 ); local
230 UInt nf, zf, vf, cf, nzcv, inv; local
[all...]
/external/libffi/src/powerpc/
H A Dffi_darwin.c648 long nf; /* number of floating registers already used. */ local
658 nf = 0;
729 if (nf < NUM_FPR_ARG_REGISTERS)
740 nf++;
748 if (nf < NUM_FPR_ARG_REGISTERS)
757 nf++;
767 if (nf < NUM_FPR_ARG_REGISTERS - 1)
775 else if (nf == NUM_FPR_ARG_REGISTERS - 1)
785 nf += 2;
H A Dffi.c1008 long nf; /* number of floating registers already used */ local
1018 nf = 0;
1161 if (nf < 8)
1166 nf++;
1188 if (nf < 8)
1191 nf++;
1223 if (nf < 7)
1227 nf += 2;
1235 nf = 8;
/external/expat/tests/
H A Druntests.c1488 int i, nf; local
1510 nf = srunner_ntests_failed(sr);
1513 return (nf == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
/external/icu4c/test/cintltst/
H A Dcnmdptst.c637 static void roundingTest(UNumberFormat* nf, double x, int32_t maxFractionDigits, const char* expected) argument
645 unum_setAttribute(nf, UNUM_MAX_FRACTION_DIGITS, maxFractionDigits);
647 lneed=unum_formatDouble(nf, x, NULL, lneed, NULL, &status);
652 unum_formatDouble(nf, x, out, lneed+1, &pos, &status);
1035 static void roundingTest2(UNumberFormat* nf, double x, int32_t roundingMode, const char* expected) argument
1043 unum_setAttribute(nf, UNUM_ROUNDING_MODE, roundingMode);
1045 lneed=unum_formatDouble(nf, x, NULL, lneed, NULL, &status);
1050 unum_formatDouble(nf, x, out, lneed+1, &pos, &status);
H A Dcnumtst.c108 UNumberFormat* nf; local
113 nf = unum_open(UNUM_DEFAULT, NULL, -1, NULL, NULL, status);
123 a = unum_parseInt64(nf, text, size, 0, status);
135 unum_close(nf);
983 UNumberFormat *nf = unum_open(UNUM_SPELLOUT, NULL, 0, testPtr->locale, NULL, &status); local
988 value = unum_parse(nf, testPtr->source, -1, &position, &status);
995 unum_close(nf);
1645 UNumberFormat *nf = unum_open(UNUM_CURRENCY, NULL, 0, "en_US", NULL, &status); local
1650 unum_setTextAttribute(nf, UNUM_CURRENCY_CODE, ubuffer, 3, &status);
1655 used = unum_getTextAttribute(nf, UNUM_NEGATIVE_PREFI
1680 TestNBSPPatternRtNum(const char *testcase, UNumberFormat *nf, double myNumber) argument
1703 TestNBSPPatternRT(const char *testcase, UNumberFormat *nf) argument
1710 UNumberFormat* nf = NULL; local
[all...]
/external/speex/libspeex/
H A Dsmallft.c49 int nf=0; local
63 nf++;
64 ifac[nf+1]=ntry;
67 if(nf==1)goto L107;
69 for (i=1;i<nf;i++){
70 ib=nf-i+1;
78 ifac[1]=nf;
81 nfm1=nf-1;
577 int na,kh,nf; local
580 nf
1159 int nf,ip,iw,ix2,ix3,ido,idl1; local
[all...]
/external/srec/srec/include/
H A Dfront.h166 int np, ns, nf, lognp; member in struct:__anon9854
/external/bluetooth/bluez/lib/
H A Dhci.c1087 struct hci_filter nf, of; local
1096 hci_filter_clear(&nf);
1097 hci_filter_set_ptype(HCI_EVENT_PKT, &nf);
1098 hci_filter_set_event(EVT_CMD_STATUS, &nf);
1099 hci_filter_set_event(EVT_CMD_COMPLETE, &nf);
1100 hci_filter_set_event(EVT_LE_META_EVENT, &nf);
1101 hci_filter_set_event(r->event, &nf);
1102 hci_filter_set_opcode(opcode, &nf);
1103 if (setsockopt(dd, SOL_HCI, HCI_FILTER, &nf, sizeof(nf)) <
[all...]
/external/bluetooth/bluez/tools/
H A Dhcitool.c2352 struct hci_filter nf, of; local
2362 hci_filter_clear(&nf);
2363 hci_filter_set_ptype(HCI_EVENT_PKT, &nf);
2364 hci_filter_set_event(EVT_LE_META_EVENT, &nf);
2366 if (setsockopt(dd, SOL_HCI, HCI_FILTER, &nf, sizeof(nf)) < 0) {
/external/webkit/Source/JavaScriptCore/wtf/
H A Ddtoa.cpp752 e, e1, esign, i, j, k, nd, nd0, nf, nz, nz0, sign; local
793 for (nd = nf = 0; (c = *s) >= '0' && c <= '9'; nd++, s++)
806 nf += nz;
816 nf += nz;
873 e1 = e -= nf;

Completed in 4617 milliseconds

12