/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | RbnfTest.java | 1310 RuleBasedNumberFormat rbnf = new RuleBasedNumberFormat("dummy"); in TestEquals() local 1311 if (rbnf.equals("dummy") || in TestEquals() 1312 rbnf.equals(new Character('a')) || in TestEquals() 1313 rbnf.equals(new Object()) || in TestEquals() 1314 rbnf.equals(-1) || in TestEquals() 1315 rbnf.equals(0) || in TestEquals() 1316 rbnf.equals(1) || in TestEquals() 1317 rbnf.equals(-1.0) || in TestEquals() 1318 rbnf.equals(0.0) || in TestEquals() 1319 rbnf.equals(1.0)) in TestEquals() [all …]
|
D | RBNFParseTest.java | 109 private void parseFormat(RuleBasedNumberFormat rbnf, String s, String target) { in parseFormat() argument 111 Number n = rbnf.parse(s); in parseFormat() 112 String t = rbnf.format(n); in parseFormat() 113 assertEquals(rbnf.getLocale(ULocale.ACTUAL_LOCALE) + ": " + s + " : " + n, target, t); in parseFormat() 170 …RuleBasedNumberFormat rbnf = new RuleBasedNumberFormat(Locale.JAPAN, RuleBasedNumberFormat.SPELLOU… in TestBadParse() local 177 rbnf.parse(testString); in TestBadParse()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
D | RbnfTest.java | 1219 RuleBasedNumberFormat rbnf = new RuleBasedNumberFormat("dummy"); in TestEquals() local 1220 if (rbnf.equals("dummy") || in TestEquals() 1221 rbnf.equals(new Character('a')) || in TestEquals() 1222 rbnf.equals(new Object()) || in TestEquals() 1223 rbnf.equals(-1) || in TestEquals() 1224 rbnf.equals(0) || in TestEquals() 1225 rbnf.equals(1) || in TestEquals() 1226 rbnf.equals(-1.0) || in TestEquals() 1227 rbnf.equals(0.0) || in TestEquals() 1228 rbnf.equals(1.0)) in TestEquals() [all …]
|
D | RBNFParseTest.java | 112 private void parseFormat(RuleBasedNumberFormat rbnf, String s, String target) { in parseFormat() argument 114 Number n = rbnf.parse(s); in parseFormat() 115 String t = rbnf.format(n); in parseFormat() 116 assertEquals(rbnf.getLocale(ULocale.ACTUAL_LOCALE) + ": " + s + " : " + n, target, t); in parseFormat() 173 …RuleBasedNumberFormat rbnf = new RuleBasedNumberFormat(Locale.JAPAN, RuleBasedNumberFormat.SPELLOU… in TestBadParse() local 180 rbnf.parse(testString); in TestBadParse()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | unum.cpp | 165 const RuleBasedNumberFormat* rbnf = dynamic_cast<const RuleBasedNumberFormat*>(nf); in unum_clone() local 166 U_ASSERT(rbnf != NULL); in unum_clone() 167 res = rbnf->clone(); in unum_clone() 672 const RuleBasedNumberFormat* rbnf = dynamic_cast<const RuleBasedNumberFormat*>(nf); in unum_getTextAttribute() local 673 U_ASSERT(rbnf != NULL); in unum_getTextAttribute() 675 res = rbnf->getDefaultRuleSetName(); in unum_getTextAttribute() 677 int32_t count = rbnf->getNumberOfRuleSetNames(); in unum_getTextAttribute() 679 res += rbnf->getRuleSetName(i); in unum_getTextAttribute() 735 RuleBasedNumberFormat* rbnf = dynamic_cast<RuleBasedNumberFormat*>(nf); in unum_setTextAttribute() local 736 U_ASSERT(rbnf != NULL); in unum_setTextAttribute() [all …]
|
D | nfrule.h | 50 const RuleBasedNumberFormat* rbnf, 54 NFRule(const RuleBasedNumberFormat* rbnf, const UnicodeString &ruleText, UErrorCode &status);
|
D | nfsubs.h | 62 const RuleBasedNumberFormat* rbnf,
|
D | nfrule.cpp | 111 const RuleBasedNumberFormat *rbnf, in makeRules() argument 119 NFRule* rule1 = new NFRule(rbnf, description, status); in makeRules() 163 rule2 = new NFRule(rbnf, UnicodeString(), status); in makeRules()
|
D | sources.txt | 148 rbnf.cpp
|
/third_party/icu/icu4c/source/i18n/ |
D | unum.cpp | 162 const RuleBasedNumberFormat* rbnf = dynamic_cast<const RuleBasedNumberFormat*>(nf); in unum_clone() local 163 U_ASSERT(rbnf != NULL); in unum_clone() 164 res = rbnf->clone(); in unum_clone() 691 const RuleBasedNumberFormat* rbnf = dynamic_cast<const RuleBasedNumberFormat*>(nf); in unum_getTextAttribute() local 692 U_ASSERT(rbnf != NULL); in unum_getTextAttribute() 694 res = rbnf->getDefaultRuleSetName(); in unum_getTextAttribute() 696 int32_t count = rbnf->getNumberOfRuleSetNames(); in unum_getTextAttribute() 698 res += rbnf->getRuleSetName(i); in unum_getTextAttribute() 754 RuleBasedNumberFormat* rbnf = dynamic_cast<RuleBasedNumberFormat*>(nf); in unum_setTextAttribute() local 755 U_ASSERT(rbnf != NULL); in unum_setTextAttribute() [all …]
|
D | nfrule.h | 50 const RuleBasedNumberFormat* rbnf, 54 NFRule(const RuleBasedNumberFormat* rbnf, const UnicodeString &ruleText, UErrorCode &status);
|
D | nfsubs.h | 62 const RuleBasedNumberFormat* rbnf,
|
D | nfrule.cpp | 111 const RuleBasedNumberFormat *rbnf, in makeRules() argument 119 NFRule* rule1 = new NFRule(rbnf, description, status); in makeRules() 163 rule2 = new NFRule(rbnf, UnicodeString(), status); in makeRules()
|
D | sources.txt | 149 rbnf.cpp
|
/third_party/node/deps/icu-small/source/i18n/ |
D | unum.cpp | 176 const RuleBasedNumberFormat* rbnf = dynamic_cast<const RuleBasedNumberFormat*>(nf); in unum_clone() local 177 U_ASSERT(rbnf != nullptr); in unum_clone() 178 res = rbnf->clone(); in unum_clone() 705 const RuleBasedNumberFormat* rbnf = dynamic_cast<const RuleBasedNumberFormat*>(nf); in unum_getTextAttribute() local 706 U_ASSERT(rbnf != nullptr); in unum_getTextAttribute() 708 res = rbnf->getDefaultRuleSetName(); in unum_getTextAttribute() 710 int32_t count = rbnf->getNumberOfRuleSetNames(); in unum_getTextAttribute() 712 res += rbnf->getRuleSetName(i); in unum_getTextAttribute() 768 RuleBasedNumberFormat* rbnf = dynamic_cast<RuleBasedNumberFormat*>(nf); in unum_setTextAttribute() local 769 U_ASSERT(rbnf != nullptr); in unum_setTextAttribute() [all …]
|
D | nfrule.h | 50 const RuleBasedNumberFormat* rbnf, 54 NFRule(const RuleBasedNumberFormat* rbnf, const UnicodeString &ruleText, UErrorCode &status);
|
D | nfsubs.h | 62 const RuleBasedNumberFormat* rbnf,
|
D | nfrule.cpp | 111 const RuleBasedNumberFormat *rbnf, in makeRules() argument 119 NFRule* rule1 = new NFRule(rbnf, description, status); in makeRules() 163 rule2 = new NFRule(rbnf, UnicodeString(), status); in makeRules()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | itrbnf.cpp | 2010 RuleBasedNumberFormat *rbnf = in TestMultiplierSubstitution() local 2016 rbnf->format(n, res, pos); in TestMultiplierSubstitution() 2017 delete rbnf; in TestMultiplierSubstitution() 2034 RuleBasedNumberFormat rbnf(URBNF_ORDINAL, Locale::getEnglish(), status); in TestSetDecimalFormatSymbols() local 2055 rbnf.format(number, result); in TestSetDecimalFormatSymbols() 2064 rbnf.setDecimalFormatSymbols(dfs); in TestSetDecimalFormatSymbols() 2066 rbnf.format(number, result); in TestSetDecimalFormatSymbols() 2262 RuleBasedNumberFormat rbnf(URBNF_SPELLOUT, Locale::getEnglish(), status); in TestLargeNumbers() local 2285 doTest(&rbnf, enTestFullData, false); in TestLargeNumbers() 2298 …RuleBasedNumberFormat rbnf(numberPattern, UnicodeString(), Locale::getEnglish(), parseError, statu… in TestCompactDecimalFormatStyle() local [all …]
|
/third_party/icu/docs/userguide/format_parse/numbers/ |
D | index.md | 28 …rt for traditional numbering systems not covered by base-10 decimal digits, see [rbnf.md](rbnf.md).
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | MessageFormat.java | 2261 RuleBasedNumberFormat rbnf = new RuleBasedNumberFormat(ulocale, in createAppropriateFormat() local 2266 rbnf.setDefaultRuleSet(ruleset); in createAppropriateFormat() 2272 newFormat = rbnf; in createAppropriateFormat() 2277 RuleBasedNumberFormat rbnf = new RuleBasedNumberFormat(ulocale, in createAppropriateFormat() local 2282 rbnf.setDefaultRuleSet(ruleset); in createAppropriateFormat() 2288 newFormat = rbnf; in createAppropriateFormat() 2293 RuleBasedNumberFormat rbnf = new RuleBasedNumberFormat(ulocale, in createAppropriateFormat() local 2298 rbnf.setDefaultRuleSet(ruleset); in createAppropriateFormat() 2304 newFormat = rbnf; in createAppropriateFormat()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | MessageFormat.java | 2305 RuleBasedNumberFormat rbnf = new RuleBasedNumberFormat(ulocale, in createAppropriateFormat() local 2310 rbnf.setDefaultRuleSet(ruleset); in createAppropriateFormat() 2316 newFormat = rbnf; in createAppropriateFormat() 2321 RuleBasedNumberFormat rbnf = new RuleBasedNumberFormat(ulocale, in createAppropriateFormat() local 2326 rbnf.setDefaultRuleSet(ruleset); in createAppropriateFormat() 2332 newFormat = rbnf; in createAppropriateFormat() 2337 RuleBasedNumberFormat rbnf = new RuleBasedNumberFormat(ulocale, in createAppropriateFormat() local 2342 rbnf.setDefaultRuleSet(ruleset); in createAppropriateFormat() 2348 newFormat = rbnf; in createAppropriateFormat()
|
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/rbnf/ |
D | RbnfSampleRuleSets.java | 9 package com.ibm.icu.dev.demo.rbnf;
|
/third_party/skia/third_party/externals/icu/source/config/ |
D | dist.mk | 23 DISTY_RMV=brkitr coll curr lang locales mappings rbnf region translit xml zone misc/*.txt misc/*.mk…
|
/third_party/icu/icu4c/source/config/ |
D | dist.mk | 23 DISTY_RMV=brkitr coll curr lang locales mappings rbnf region translit xml zone misc/*.txt misc/*.mk…
|