• Home
  • Raw
  • Download

Lines Matching refs:nf

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()
523 logln("nf toPattern2: " + nf->toPattern(temp)); in Test4086575()
524 logln("nf toLocPattern2: " + nf->toLocalizedPattern(temp)); in Test4086575()
527 logln("nf: " + nf->format((int32_t)1234, temp, pos)); // 1234,00 in Test4086575()
528 logln("nf: " + nf->format((int32_t)-1234, temp, pos)); // (1234,00) in Test4086575()
540 nf->applyLocalizedPattern(pat, status); in Test4086575()
542 logln("nf toPattern2: " + nf->toPattern(temp)); in Test4086575()
543 logln("nf toLocPattern2: " + nf->toLocalizedPattern(temp)); in Test4086575()
545 buffer = nf->format((int32_t)1234, buffer, pos); in Test4086575()
555 buffer = nf->format((int32_t)-1234, buffer, pos); in Test4086575()
839 NumberFormat *nf = NumberFormat::createCurrencyInstance(*de, status); in Test4087244() local
842 delete nf; in Test4087244()
845 DecimalFormat *df = dynamic_cast<DecimalFormat *>(nf); in Test4087244()
875 delete nf; in Test4087244()
1610 NumberFormat *nf = NumberFormat::createInstance(status); in Test4110936() local
1613 delete nf; in Test4110936()
1617 nf->setMaximumIntegerDigits(MAX_INT_DIGITS); in Test4110936()
1619 if (nf->getMaximumIntegerDigits() != MAX_INT_DIGITS) in Test4110936()
1621 nf->getMaximumIntegerDigits()); in Test4110936()
1623 delete nf; in Test4110936()
1785 DecimalFormat *nf = new DecimalFormat("##,###,###.00", status); in Test4134034() local
1789 f = nf->format(9.02, f, pos); in Test4134034()
1796 f = nf->format((int32_t)0, f, pos); in Test4134034()
1803 delete nf; in Test4134034()
1916 DecimalFormat *nf = dynamic_cast<DecimalFormat *>(nff); in Test4145457() local
1917 if(nf == NULL) { in Test4145457()
1922 DecimalFormatSymbols *sym = (DecimalFormatSymbols*) nf->getDecimalFormatSymbols(); in Test4145457()
1924 nf->setDecimalFormatSymbols(*sym); in Test4145457()
1932 nf->applyPattern(PATS[i], status); in Test4145457()
1936 out = nf->format(pi, out, pos); in Test4145457()
1938 pat = nf->toPattern(pat); in Test4145457()
1941 nf->parse(out, num, pp); in Test4145457()
1944 nf->applyPattern(pat, status); in Test4145457()
1947 out2 = nf->format(pi, out2, pos); in Test4145457()
1949 pat2 = nf->toPattern(pat2); in Test4145457()
1951 nf->parse(out2, num, pp); in Test4145457()
2188 NumberFormat *nf = NumberFormat::createInstance(Locale::getUS(), status); local
2190 delete nf;
2193 DecimalFormat *df = dynamic_cast<DecimalFormat *>(nf);
2206 delete nf;
2393 NumberFormat *nf; local
2396 nf = NumberFormat::createInstance(avail[i], status);
2400 nf = NumberFormat::createCurrencyInstance(avail[i], status);
2404 nf = NumberFormat::createPercentInstance(avail[i], status);
2411 DecimalFormat *df = (DecimalFormat*) nf;
2461 delete nf;
2538 NumberFormat *nf = NumberFormat::createInstance(Locale::getUS(), status); local
2540 delete nf;
2543 nf->setMinimumFractionDigits(1);
2544 nf->setMaximumFractionDigits(1);
2547 nf->format(a, s);
2550 ((DecimalFormat*) nf)->toPattern(pat) + " = " + s);
2554 delete nf;
2656 NumberFormat *nf = NumberFormat::createInstance(loc, status); local
2673 df->adoptNumberFormat(nf);
2711 NumberFormat *nf = NumberFormat::createInstance(Locale::getEnglish(), status); local
2712 if (nf == NULL) {
2723 nf->parse(numStr, val, status);
2734 nf->parse(numStr, val, status);
2743 nf->parse(numStr, val, status);
2751 nf->parse(numStr, val, status);
2763 nf->parse(numStr, val, status);
2772 nf->parse(numStr, val, status);
2782 nf->parse(numStr, val, status);
2800 nf->parse(numStr, val, status);
2810 nf->parse(numStr, val, status);
2819 nf->parse(numStr, val, status); // the ones digit, putting it up to ...994
2826 delete nf;