/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | RbnfTest.java | 1281 RuleBasedNumberFormat rbnf = new RuleBasedNumberFormat("dummy"); in TestEquals() local 1282 if (rbnf.equals("dummy") || in TestEquals() 1283 rbnf.equals(new Character('a')) || in TestEquals() 1284 rbnf.equals(new Object()) || in TestEquals() 1285 rbnf.equals(-1) || in TestEquals() 1286 rbnf.equals(0) || in TestEquals() 1287 rbnf.equals(1) || in TestEquals() 1288 rbnf.equals(-1.0) || in TestEquals() 1289 rbnf.equals(0.0) || in TestEquals() 1290 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()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | RbnfTest.java | 1284 RuleBasedNumberFormat rbnf = new RuleBasedNumberFormat("dummy"); in TestEquals() local 1285 if (rbnf.equals("dummy") || in TestEquals() 1286 rbnf.equals(new Character('a')) || in TestEquals() 1287 rbnf.equals(new Object()) || in TestEquals() 1288 rbnf.equals(-1) || in TestEquals() 1289 rbnf.equals(0) || in TestEquals() 1290 rbnf.equals(1) || in TestEquals() 1291 rbnf.equals(-1.0) || in TestEquals() 1292 rbnf.equals(0.0) || in TestEquals() 1293 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()
|
/external/cldr/tools/java/org/unicode/cldr/icu/ |
D | ListNumbers.java | 180 for (RuleBasedNumberFormat rbnf : rbnfs) { in printLine() 181 for (String name : rbnf.getRuleSetNames()) { in printLine() 182 …System.out.print("<td" + getNumberStyle(name, num, isRTL) + ">" + rbnf.format(num, name) + "</td>"… in printLine() 191 for (RuleBasedNumberFormat rbnf : rbnfs) { in printSkipLine() 192 for (String name : rbnf.getRuleSetNames()) { in printSkipLine() 193 … System.out.print("<th class=\"thead\"><b>" + getDisplayName(rbnf, name) + "</b></th>"); in printSkipLine() 204 for (RuleBasedNumberFormat rbnf : rbnfs) { in printTable() 205 int numColumns = rbnf.getRuleSetNames().length; in printTable() 207 + getRulePrefix(rbnf.getDefaultRuleSetName())); in printTable() 209 + getDisplayName(rbnf, rbnf.getDefaultRuleSetName())); in printTable() [all …]
|
/external/cldr/tools/java/org/unicode/cldr/json/ |
D | JSON_config_rbnf.txt | 1 section=rbnf ; path=//cldr/rbnf/rbnf/.* ; package=rbnf
|
D | Ldml2JsonConverter.java | 62 main, supplemental, segments, rbnf, annotations, annotationsDerived enumConstant 233 case rbnf: in Ldml2JsonConverter() 460 if (type == RunType.rbnf) { in convertCldrItems() 472 if (type != RunType.supplemental && type != RunType.rbnf) { in convertCldrItems() 494 } else if (type == RunType.rbnf) { in convertCldrItems() 504 if (type != RunType.supplemental && type != RunType.rbnf) { in convertCldrItems() 551 if (type == RunType.rbnf) { in convertCldrItems() 571 if (type == RunType.rbnf) { in convertCldrItems() 762 } else if (type == RunType.rbnf) { in writeBowerJson() 999 if (i == nodesInPath.size() && type != RunType.rbnf) { in outputCldrItem() [all …]
|
/external/icu/icu4c/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
|
/external/icu/icu4c/source/test/intltest/ |
D | itrbnf.cpp | 1976 RuleBasedNumberFormat *rbnf = in TestMultiplierSubstitution() local 1982 rbnf->format(n, res, pos); in TestMultiplierSubstitution() 1983 delete rbnf; in TestMultiplierSubstitution() 2000 RuleBasedNumberFormat rbnf(URBNF_ORDINAL, Locale::getEnglish(), status); in TestSetDecimalFormatSymbols() local 2021 rbnf.format(number, result); in TestSetDecimalFormatSymbols() 2030 rbnf.setDecimalFormatSymbols(dfs); in TestSetDecimalFormatSymbols() 2032 rbnf.format(number, result); in TestSetDecimalFormatSymbols() 2228 RuleBasedNumberFormat rbnf(URBNF_SPELLOUT, Locale::getEnglish(), status); in TestLargeNumbers() local 2251 doTest(&rbnf, enTestFullData, false); in TestLargeNumbers() 2264 …RuleBasedNumberFormat rbnf(numberPattern, UnicodeString(), Locale::getEnglish(), parseError, statu… in TestCompactDecimalFormatStyle() local [all …]
|
/external/icu/libicu/cts_headers/ |
D | nfrule.h | 50 const RuleBasedNumberFormat* rbnf, 54 NFRule(const RuleBasedNumberFormat* rbnf, const UnicodeString &ruleText, UErrorCode &status);
|
D | nfsubs.h | 62 const RuleBasedNumberFormat* rbnf,
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | MessageFormat.java | 2233 RuleBasedNumberFormat rbnf = new RuleBasedNumberFormat(ulocale, in createAppropriateFormat() local 2238 rbnf.setDefaultRuleSet(ruleset); in createAppropriateFormat() 2244 newFormat = rbnf; in createAppropriateFormat() 2249 RuleBasedNumberFormat rbnf = new RuleBasedNumberFormat(ulocale, in createAppropriateFormat() local 2254 rbnf.setDefaultRuleSet(ruleset); in createAppropriateFormat() 2260 newFormat = rbnf; in createAppropriateFormat() 2265 RuleBasedNumberFormat rbnf = new RuleBasedNumberFormat(ulocale, in createAppropriateFormat() local 2270 rbnf.setDefaultRuleSet(ruleset); in createAppropriateFormat() 2276 newFormat = rbnf; in createAppropriateFormat()
|
/external/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()
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/rbnf/ |
D | RbnfSampleRuleSets.java | 9 package com.ibm.icu.dev.demo.rbnf;
|
D | RbnfDemo.java | 9 package com.ibm.icu.dev.demo.rbnf;
|
/external/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…
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | Factory.java | 91 main, supplemental, bcp47, casing, collation, dtd, rbnf, segments, transforms, other enumConstant
|
/external/icu/tools/icu4c_srcgen/ |
D | cxxfiles.txt | 116 rbnf.h
|
/external/icu/icu4c/packaging/rpm/ |
D | icu.spec | 173 /usr/share/icu/%{version}/icudt34l/rbnf/*.res
|
/external/icu/icu4c/source/test/depstest/ |
D | dependencies.txt | 1058 # rbnf 1059 nfrs.o nfrule.o nfsubs.o rbnf.o 1081 collation collation_builder # for rbnf
|
/external/cldr/tools/java/org/unicode/cldr/util/data/ |
D | PathHeader.txt | 305 //ldml/rbnf/rulesetGrouping[@type="%A"]/ruleset[@type="%A"]/rbnfrule_/_value ; Supplemental ; RBN… 306 //ldml/rbnf/rulesetGrouping[@type="%A"]/ruleset[@type="%A"]/rbnfrule_/_radix ; Supplemental ; RBN… 307 //ldml/rbnf/rulesetGrouping[@type="%A"]/ruleset[@type="%A"]/rbnfrule ; Supplemental ; RBNF ; $1-$… 308 //ldml/rbnf/rulesetGrouping[@type="%A"]/ruleset[@type="%A"]/_access ; Supplemental ; RBNF ; $1-$2…
|