Lines Matching defs:rbnf
195 LocalUResourceBundlePointer en(ures_open(U_ICUDATA_NAME U_TREE_SEPARATOR_STRING "rbnf", "en", &status));
1450 errcheckln(status, "rbnf status: 0x%x (%s)\n", status, u_errorName(status));
2010 RuleBasedNumberFormat *rbnf =
2016 rbnf->format(n, res, pos);
2017 delete rbnf;
2034 RuleBasedNumberFormat rbnf(URBNF_ORDINAL, Locale::getEnglish(), status);
2055 rbnf.format(number, result);
2064 rbnf.setDecimalFormatSymbols(dfs);
2066 rbnf.format(number, result);
2262 RuleBasedNumberFormat rbnf(URBNF_SPELLOUT, Locale::getEnglish(), status);
2285 doTest(&rbnf, enTestFullData, false);
2298 RuleBasedNumberFormat rbnf(numberPattern, UnicodeString(), Locale::getEnglish(), parseError, status);
2320 doTest(&rbnf, enTestFullData, false);
2325 RuleBasedNumberFormat rbnf(URBNF_SPELLOUT, Locale::getJapanese(), status);
2333 rbnf.parse(spelledNumberString, actualNumber, status);
2346 RuleBasedNumberFormat rbnf(URBNF_SPELLOUT, "en", status);
2348 rbnf.setMinimumIntegerDigits(2);
2349 rbnf.setMaximumIntegerDigits(3);
2351 rbnf.format(3, result.remove(), status);
2353 rbnf.format(1012, result.remove(), status);
2496 RuleBasedNumberFormat rbnf(URBNF_NUMBERING_SYSTEM, Locale::getUS(), err);
2500 assertEquals("Wrong result with default rule set", u"123", rbnf.format(123, result, err));
2503 rbnf.setDefaultRuleSet(u"%ethiopic", err);
2504 assertEquals("Wrong result with Ethiopic rule set", u"፻፳፫", rbnf.format(123, result, err));