Searched defs:nf (Results 26 - 50 of 77) sorted by relevance

1234

/external/icu/icu4c/source/test/intltest/
H A Duobjtest.cpp586 NumberFormat *nf = NumberFormat::createInstance("de", errorCode); local
591 if (dynamic_cast<DecimalFormat *>(nf) == NULL || dynamic_cast<ChoiceFormat *>(nf) != NULL) {
595 if (&typeid(*nf) == NULL || typeid(*nf) == typeid(UObject) || typeid(*nf) == typeid(Format) ||
596 typeid(*nf) != typeid(DecimalFormat) || typeid(*nf) == typeid(ChoiceFormat) ||
597 typeid(*nf) == typeid(emptySet)
601 delete nf;
[all...]
H A Dreldatefmttest.cpp283 NumberFormat *nf; local
292 nf = (NumberFormat *) fmt.getNumberFormat().clone();
294 nf->setMinimumFractionDigits(1);
295 nf->setMaximumFractionDigits(1);
296 RelativeDateTimeFormatter fmt("en", nf, status);
H A Dmeasfmttest.cpp430 LocalPointer<NumberFormat> nf(NumberFormat::createInstance(en, status));
435 nf->setMaximumFractionDigits(4);
436 MeasureFormat mf(en, UMEASFMT_WIDTH_WIDE, (NumberFormat *) nf->clone(), status);
453 mf = MeasureFormat(en, UMEASFMT_WIDTH_SHORT, (NumberFormat *) nf->clone(), status);
458 mf = MeasureFormat(en, UMEASFMT_WIDTH_NARROW, (NumberFormat *) nf->clone(), status);
463 mf = MeasureFormat(en, UMEASFMT_WIDTH_NUMERIC, (NumberFormat *) nf->clone(), status);
470 nf.adoptInstead(NumberFormat::createInstance(de, status));
474 nf->setMaximumFractionDigits(4);
475 mf = MeasureFormat(de, UMEASFMT_WIDTH_WIDE, (NumberFormat *) nf->clone(), status);
480 mf = MeasureFormat(de, UMEASFMT_WIDTH_NUMERIC, (NumberFormat *) nf
874 NumberFormat *nf = NumberFormat::createInstance(en, status); local
[all...]
/external/libedit/src/
H A Dmap.c1399 size_t nf = (size_t)el->el_map.nfunc + 1; local
1404 if ((p = el_realloc(el->el_map.func, nf *
1408 if ((p = el_realloc(el->el_map.help, nf * sizeof(*el->el_map.help)))
1413 nf = (size_t)el->el_map.nfunc;
1414 el->el_map.func[nf] = func;
1416 el->el_map.help[nf].name = name;
1417 el->el_map.help[nf].func = (int)nf;
1418 el->el_map.help[nf].description = help;
/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_arm64_helpers.c121 ULong nf = (cc_dep1 >> ARM64G_CC_SHIFT_N) & 1; local
122 return nf;
129 ULong nf = (ULong)(res >> 31); local
130 return nf;
137 ULong nf = (ULong)(res >> 63); local
138 return nf;
145 ULong nf = (ULong)(res >> 31); local
146 return nf;
153 ULong nf = res >> 63; local
154 return nf;
163 ULong nf = res >> 31; local
173 ULong nf = res >> 63; local
183 ULong nf = res >> 31; local
193 ULong nf = res >> 63; local
199 ULong nf = res >> 31; local
205 ULong nf = res >> 63; local
617 ULong nf, zf, vf, cf; local
[all...]
H A Dguest_arm_helpers.c121 UInt nf = (cc_dep1 >> ARMG_CC_SHIFT_N) & 1; local
122 return nf;
129 UInt nf = res >> 31; local
130 return nf;
137 UInt nf = res >> 31; local
138 return nf;
147 UInt nf = res >> 31; local
148 return nf;
157 UInt nf = res >> 31; local
158 return nf;
163 UInt nf = res >> 31; local
169 UInt nf = res >> 31; local
175 UInt nf = resHi32 >> 31; local
476 UInt nf, zf, vf, cf, inv; local
[all...]
/external/chromium_org/third_party/icu/source/i18n/
H A Dunum.cpp138 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); local
139 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf);
143 const RuleBasedNumberFormat* rbnf = dynamic_cast<const RuleBasedNumberFormat*>(nf);
466 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); local
469 return nf->isLenient();
473 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf);
487 NumberFormat* nf = reinterpret_cast<NumberFormat*>(fmt); local
491 return nf->setLenient(newValue != 0);
494 DecimalFormat* df = dynamic_cast<DecimalFormat*>(nf);
505 const NumberFormat* nf local
519 NumberFormat* nf = reinterpret_cast<NumberFormat*>(fmt); local
543 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); local
606 NumberFormat* nf = reinterpret_cast<NumberFormat*>(fmt); local
666 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); local
695 const NumberFormat *nf = reinterpret_cast<const NumberFormat *>(fmt); local
722 NumberFormat *nf = reinterpret_cast<NumberFormat *>(fmt); local
758 NumberFormat* nf = reinterpret_cast<NumberFormat*>(fmt); local
[all...]
H A Dnfsubs.cpp1242 int64_t nf =longNF; local
1244 while ((nf *= 10) < denominator) {
H A Dmsgfmt.cpp1032 const NumberFormat* nf = getDefaultNumberFormat(success); local
1033 appendTo.formatAndAppend(nf, pluralNumber.number, success);
1107 const NumberFormat* nf = getDefaultNumberFormat(success); local
1108 appendTo.formatAndAppend(nf, *arg, success);
1197 const NumberFormat* nf = getDefaultNumberFormat(success); local
1198 sb.append(nf->format(pluralNumber.number, sb, success));
H A Dsmpdtfmt.cpp236 delete cur->nf;
1099 NumberFormat *nf = NULL; local
1103 nf = cur->nf;
1117 nf = NumberFormat::createInstance(ovrLoc,status);
1124 nf->setGroupingUsed(FALSE);
1125 DecimalFormat* decfmt = dynamic_cast<DecimalFormat*>(nf);
1129 nf->setParseIntegerOnly(TRUE);
1130 nf->setMinimumFractionDigits(0); // To prevent "Jan 1.00, 1997.00"
1132 cur->nf
[all...]
/external/icu/icu4c/source/i18n/
H A Dunum.cpp142 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); local
143 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf);
147 const RuleBasedNumberFormat* rbnf = dynamic_cast<const RuleBasedNumberFormat*>(nf);
470 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); local
473 return nf->isLenient();
477 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf);
491 NumberFormat* nf = reinterpret_cast<NumberFormat*>(fmt); local
495 return nf->setLenient(newValue != 0);
498 DecimalFormat* df = dynamic_cast<DecimalFormat*>(nf);
509 const NumberFormat* nf local
523 NumberFormat* nf = reinterpret_cast<NumberFormat*>(fmt); local
547 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); local
610 NumberFormat* nf = reinterpret_cast<NumberFormat*>(fmt); local
670 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); local
699 const NumberFormat *nf = reinterpret_cast<const NumberFormat *>(fmt); local
726 NumberFormat *nf = reinterpret_cast<NumberFormat *>(fmt); local
762 NumberFormat* nf = reinterpret_cast<NumberFormat*>(fmt); local
[all...]
H A Dnfsubs.cpp1242 int64_t nf =longNF; local
1244 while ((nf *= 10) < denominator) {
H A Dmeasfmt.cpp610 const NumberFormat *nf = cache->getIntegerFormat(); local
612 nf = numberFormat->get();
616 *nf,
632 LocalPointer<NumberFormat> nf(nfToAdopt);
651 if (nf.isNull()) {
661 adoptNumberFormat(nf.orphan(), status);
676 LocalPointer<NumberFormat> nf(nfToAdopt);
680 SharedNumberFormat *shared = new SharedNumberFormat(nf.getAlias());
685 nf.orphan();
715 const NumberFormat &nf,
713 formatMeasure( const Measure &measure, const NumberFormat &nf, UnicodeString &appendTo, FieldPosition &pos, UErrorCode &status) const argument
912 const NumberFormat *nf = cache->getIntegerFormat(); local
[all...]
/external/chromium_org/third_party/icu/source/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.c97 UNumberFormat* nf; local
102 nf = unum_open(UNUM_DEFAULT, NULL, -1, NULL, NULL, status);
112 a = unum_parseInt64(nf, text, size, 0, status);
125 unum_close(nf);
1154 UNumberFormat *nf = unum_open(UNUM_SPELLOUT, NULL, 0, testPtr->locale, NULL, &status); local
1159 value = unum_parse(nf, testPtr->source, -1, &position, &status);
1166 unum_close(nf);
1842 UNumberFormat *nf = unum_open(UNUM_CURRENCY, NULL, 0, "en_US", NULL, &status); local
1847 unum_setTextAttribute(nf, UNUM_CURRENCY_CODE, ubuffer, 3, &status);
1852 used = unum_getTextAttribute(nf, UNUM_NEGATIVE_PREFI
1877 TestNBSPPatternRtNum(const char *testcase, int line, UNumberFormat *nf, double myNumber) argument
1900 TestNBSPPatternRT(const char *testcase, UNumberFormat *nf) argument
1907 UNumberFormat* nf = NULL; local
[all...]
/external/expat/tests/
H A Druntests.c1489 int i, nf; local
1511 nf = srunner_ntests_failed(sr);
1514 return (nf == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
/external/icu/icu4c/source/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);
/external/libvorbis/lib/
H A Dsmallft.c47 int nf=0; local
61 nf++;
62 ifac[nf+1]=ntry;
65 if(nf==1)goto L107;
67 for (i=1;i<nf;i++){
68 ib=nf-i+1;
76 ifac[1]=nf;
79 nfm1=nf-1;
575 int na,kh,nf; local
578 nf
1157 int nf,ip,iw,ix2,ix3,ido,idl1; 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/valgrind/main/coregrind/
H A Dm_stacktrace.c148 UInt nf; // nr of frames computed member in struct:__anon32572
425 if (do_stats) stats.nf += i;
427 VG_(printf)("nr %u nf %u "
433 stats.nr, stats.nf,
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/
H A Dcode.c595 unsigned int nf = fg->go.nSpans, nb = bg->go.nSpans; local
607 ++x; ++f; --nf; ++b; --nb;
608 if(nf == 0 && nb == 0)
619 ++x; ++f; --nf;
/external/clang/test/CXX/expr/expr.const/
H A Dp2-0x.cpp204 constexpr const int &nf = nb->n; // expected-error {{constant expression}} expected-note {{cannot access field of null pointer}} member in namespace:UndefinedBehavior::Ptr
/external/srec/srec/include/
H A Dfront.h166 int np, ns, nf, lognp; member in struct:__anon31104
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dloctest.cpp1205 NumberFormat *nf = NumberFormat::createCurrencyInstance(loc, status); local
1213 nf->format(271828.182845, pos);
1215 nf->format(-271828.182845, neg);
1228 delete nf;
1869 NumberFormat* nf = NumberFormat::createInstance(Locale::createFromName(req), ec); local
1873 DecimalFormat* dec = dynamic_cast<DecimalFormat*>(nf);
1899 delete nf;

Completed in 490 milliseconds

1234