• Home
  • Raw
  • Download

Lines Matching refs:nf

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()
527 logln("nf toPattern2: " + nf->toPattern(temp)); in Test4086575()
528 logln("nf toLocPattern2: " + nf->toLocalizedPattern(temp)); in Test4086575()
531 logln("nf: " + nf->format((int32_t)1234, temp, pos)); // 1234,00 in Test4086575()
532 logln("nf: " + nf->format((int32_t)-1234, temp, pos)); // (1234,00) in Test4086575()
544 nf->applyLocalizedPattern(pat, status); in Test4086575()
546 logln("nf toPattern2: " + nf->toPattern(temp)); in Test4086575()
547 logln("nf toLocPattern2: " + nf->toLocalizedPattern(temp)); in Test4086575()
549 buffer = nf->format((int32_t)1234, buffer, pos); in Test4086575()
559 buffer = nf->format((int32_t)-1234, buffer, pos); in Test4086575()
843 NumberFormat *nf = NumberFormat::createCurrencyInstance(*de, status); in Test4087244() local
846 delete nf; in Test4087244()
849 DecimalFormat *df = dynamic_cast<DecimalFormat *>(nf); in Test4087244()
879 delete nf; in Test4087244()
1615 NumberFormat *nf = NumberFormat::createInstance(status); in Test4110936() local
1618 delete nf; in Test4110936()
1622 nf->setMaximumIntegerDigits(MAX_INT_DIGITS); in Test4110936()
1624 if (nf->getMaximumIntegerDigits() != MAX_INT_DIGITS) in Test4110936()
1626 nf->getMaximumIntegerDigits()); in Test4110936()
1628 delete nf; in Test4110936()
1790 DecimalFormat *nf = new DecimalFormat("##,###,###.00", status); in Test4134034() local
1794 f = nf->format(9.02, f, pos); in Test4134034()
1801 f = nf->format((int32_t)0, f, pos); in Test4134034()
1808 delete nf; in Test4134034()
1921 DecimalFormat *nf = dynamic_cast<DecimalFormat *>(nff); in Test4145457() local
1922 if(nf == NULL) { in Test4145457()
1927 DecimalFormatSymbols *sym = (DecimalFormatSymbols*) nf->getDecimalFormatSymbols(); in Test4145457()
1929 nf->setDecimalFormatSymbols(*sym); in Test4145457()
1937 nf->applyPattern(PATS[i], status); in Test4145457()
1941 out = nf->format(pi, out, pos); in Test4145457()
1943 pat = nf->toPattern(pat); in Test4145457()
1946 nf->parse(out, num, pp); in Test4145457()
1949 nf->applyPattern(pat, status); in Test4145457()
1952 out2 = nf->format(pi, out2, pos); in Test4145457()
1954 pat2 = nf->toPattern(pat2); in Test4145457()
1956 nf->parse(out2, num, pp); in Test4145457()
2193 NumberFormat *nf = NumberFormat::createInstance(Locale::getUS(), status); local
2195 delete nf;
2198 DecimalFormat *df = dynamic_cast<DecimalFormat *>(nf);
2211 delete nf;
2398 NumberFormat *nf; local
2401 nf = NumberFormat::createInstance(avail[i], status);
2405 nf = NumberFormat::createCurrencyInstance(avail[i], status);
2409 nf = NumberFormat::createPercentInstance(avail[i], status);
2416 DecimalFormat *df = (DecimalFormat*) nf;
2466 delete nf;
2543 NumberFormat *nf = NumberFormat::createInstance(Locale::getUS(), status); local
2545 delete nf;
2548 nf->setMinimumFractionDigits(1);
2549 nf->setMaximumFractionDigits(1);
2552 nf->format(a, s);
2555 ((DecimalFormat*) nf)->toPattern(pat) + " = " + s);
2559 delete nf;
2661 NumberFormat *nf = NumberFormat::createInstance(loc, status); local
2678 df->adoptNumberFormat(nf);
2719 NumberFormat *nf = NumberFormat::createInstance(Locale::getEnglish(), status); local
2720 if (nf == NULL) {
2731 nf->parse(numStr, val, status);
2742 nf->parse(numStr, val, status);
2751 nf->parse(numStr, val, status);
2759 nf->parse(numStr, val, status);
2771 nf->parse(numStr, val, status);
2780 nf->parse(numStr, val, status);
2790 nf->parse(numStr, val, status);
2808 nf->parse(numStr, val, status);
2818 nf->parse(numStr, val, status);
2827 nf->parse(numStr, val, status); // the ones digit, putting it up to ...994
2834 delete nf;
2865 NumberFormat *nf = NumberFormat::createInstance(Locale::getUS(), status); local
2867 delete nf;
2870 DecimalFormat *df = dynamic_cast<DecimalFormat *>(nf);
2899 delete nf;