/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | RbnfTest.java | 1194 RuleBasedNumberFormat rbnf = new RuleBasedNumberFormat("dummy"); in TestEquals() local 1195 if (rbnf.equals("dummy") || in TestEquals() 1196 rbnf.equals(new Character('a')) || in TestEquals() 1197 rbnf.equals(new Object()) || in TestEquals() 1198 rbnf.equals(-1) || in TestEquals() 1199 rbnf.equals(0) || in TestEquals() 1200 rbnf.equals(1) || in TestEquals() 1201 rbnf.equals(-1.0) || in TestEquals() 1202 rbnf.equals(0.0) || in TestEquals() 1203 rbnf.equals(1.0)) in TestEquals() [all …]
|
D | RBNFParseTest.java | 105 private void parseFormat(RuleBasedNumberFormat rbnf, String s, String target) { in parseFormat() argument 107 Number n = rbnf.parse(s); in parseFormat() 108 String t = rbnf.format(n); in parseFormat() 109 assertEquals(rbnf.getLocale(ULocale.ACTUAL_LOCALE) + ": " + s + " : " + n, target, t); in parseFormat()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | RbnfTest.java | 1193 RuleBasedNumberFormat rbnf = new RuleBasedNumberFormat("dummy"); in TestEquals() local 1194 if (rbnf.equals("dummy") || in TestEquals() 1195 rbnf.equals(new Character('a')) || in TestEquals() 1196 rbnf.equals(new Object()) || in TestEquals() 1197 rbnf.equals(-1) || in TestEquals() 1198 rbnf.equals(0) || in TestEquals() 1199 rbnf.equals(1) || in TestEquals() 1200 rbnf.equals(-1.0) || in TestEquals() 1201 rbnf.equals(0.0) || in TestEquals() 1202 rbnf.equals(1.0)) in TestEquals() [all …]
|
D | RBNFParseTest.java | 104 private void parseFormat(RuleBasedNumberFormat rbnf, String s, String target) { in parseFormat() argument 106 Number n = rbnf.parse(s); in parseFormat() 107 String t = rbnf.format(n); in parseFormat() 108 assertEquals(rbnf.getLocale(ULocale.ACTUAL_LOCALE) + ": " + s + " : " + n, target, t); in parseFormat()
|
/external/icu/icu4c/source/i18n/ |
D | unum.cpp | 160 const RuleBasedNumberFormat* rbnf = dynamic_cast<const RuleBasedNumberFormat*>(nf); in unum_clone() local 161 U_ASSERT(rbnf != NULL); in unum_clone() 162 res = rbnf->clone(); in unum_clone() 593 const RuleBasedNumberFormat* rbnf = dynamic_cast<const RuleBasedNumberFormat*>(nf); in unum_getTextAttribute() local 594 U_ASSERT(rbnf != NULL); in unum_getTextAttribute() 596 res = rbnf->getDefaultRuleSetName(); in unum_getTextAttribute() 598 int32_t count = rbnf->getNumberOfRuleSetNames(); in unum_getTextAttribute() 600 res += rbnf->getRuleSetName(i); in unum_getTextAttribute() 656 RuleBasedNumberFormat* rbnf = dynamic_cast<RuleBasedNumberFormat*>(nf); in unum_setTextAttribute() local 657 U_ASSERT(rbnf != NULL); in unum_setTextAttribute() [all …]
|
D | nfrule.h | 51 const RuleBasedNumberFormat* rbnf, 55 NFRule(const RuleBasedNumberFormat* rbnf, const UnicodeString &ruleText, UErrorCode &status);
|
D | nfsubs.h | 62 const RuleBasedNumberFormat* rbnf,
|
D | nfrule.cpp | 110 const RuleBasedNumberFormat *rbnf, in makeRules() argument 118 NFRule* rule1 = new NFRule(rbnf, description, status); in makeRules() 162 rule2 = new NFRule(rbnf, UnicodeString(), status); in makeRules()
|
D | Android.bp | 132 "rbnf.cpp",
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | MessageFormat.java | 2215 RuleBasedNumberFormat rbnf = new RuleBasedNumberFormat(ulocale, in createAppropriateFormat() local 2220 rbnf.setDefaultRuleSet(ruleset); in createAppropriateFormat() 2226 newFormat = rbnf; in createAppropriateFormat() 2231 RuleBasedNumberFormat rbnf = new RuleBasedNumberFormat(ulocale, in createAppropriateFormat() local 2236 rbnf.setDefaultRuleSet(ruleset); in createAppropriateFormat() 2242 newFormat = rbnf; in createAppropriateFormat() 2247 RuleBasedNumberFormat rbnf = new RuleBasedNumberFormat(ulocale, in createAppropriateFormat() local 2252 rbnf.setDefaultRuleSet(ruleset); in createAppropriateFormat() 2258 newFormat = rbnf; in createAppropriateFormat()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | MessageFormat.java | 2259 RuleBasedNumberFormat rbnf = new RuleBasedNumberFormat(ulocale, in createAppropriateFormat() local 2264 rbnf.setDefaultRuleSet(ruleset); in createAppropriateFormat() 2270 newFormat = rbnf; in createAppropriateFormat() 2275 RuleBasedNumberFormat rbnf = new RuleBasedNumberFormat(ulocale, in createAppropriateFormat() local 2280 rbnf.setDefaultRuleSet(ruleset); in createAppropriateFormat() 2286 newFormat = rbnf; in createAppropriateFormat() 2291 RuleBasedNumberFormat rbnf = new RuleBasedNumberFormat(ulocale, in createAppropriateFormat() local 2296 rbnf.setDefaultRuleSet(ruleset); in createAppropriateFormat() 2302 newFormat = rbnf; in createAppropriateFormat()
|
/external/icu/icu4c/source/data/rbnf/ |
D | nn.txt | 4 * ICU <specials> source: <path>/xml/rbnf/nn.xml
|
D | cy.txt | 4 * ICU <specials> source: <path>/xml/rbnf/cy.xml
|
D | fo.txt | 4 * ICU <specials> source: <path>/xml/rbnf/fo.xml
|
D | is.txt | 4 * ICU <specials> source: <path>/xml/rbnf/is.xml
|
D | en.txt | 4 * ICU <specials> source: <path>/xml/rbnf/en.xml
|
D | da.txt | 4 * ICU <specials> source: <path>/xml/rbnf/da.xml
|
D | de.txt | 4 * ICU <specials> source: <path>/xml/rbnf/de.xml
|
D | ga.txt | 4 * ICU <specials> source: <path>/xml/rbnf/ga.xml
|
D | ca.txt | 4 * ICU <specials> source: <path>/xml/rbnf/ca.xml
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/rbnf/ |
D | RbnfSampleRuleSets.java | 9 package com.ibm.icu.dev.demo.rbnf;
|
/external/icu/icu4c/source/config/ |
D | dist.mk | 20 DISTY_RMV=brkitr coll curr lang locales mappings rbnf region translit xml zone
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu/META-INF/ |
D | MANIFEST.MF | 20 com.ibm.icu.impl.data.icudt@DATA_VERSION_NUMBER@b.rbnf;x-internal:=true,
|
/external/icu/icu4c/source/test/intltest/ |
D | itrbnf.cpp | 1971 RuleBasedNumberFormat *rbnf = in TestMultiplierSubstitution() local 1977 rbnf->format(n, res, pos); in TestMultiplierSubstitution() 1978 delete rbnf; in TestMultiplierSubstitution() 1995 RuleBasedNumberFormat rbnf(URBNF_ORDINAL, Locale::getEnglish(), status); in TestSetDecimalFormatSymbols() local 2016 rbnf.format(number, result); in TestSetDecimalFormatSymbols() 2025 rbnf.setDecimalFormatSymbols(dfs); in TestSetDecimalFormatSymbols() 2027 rbnf.format(number, result); in TestSetDecimalFormatSymbols()
|
/external/icu/icu4c/source/test/hdrtst/ |
D | cxxfiles.txt | 72 rbnf.h
|