Searched refs:rbnf (Results 1 - 20 of 20) sorted by relevance

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
H A DRBNFParseTest.java105 private void parseFormat(RuleBasedNumberFormat rbnf, String s, String target) { argument
107 Number n = rbnf.parse(s);
108 String t = rbnf.format(n);
109 assertEquals(rbnf.getLocale(ULocale.ACTUAL_LOCALE) + ": " + s + " : " + n, target, t);
H A DRbnfTest.java1194 RuleBasedNumberFormat rbnf = new RuleBasedNumberFormat("dummy");
1195 if (rbnf.equals("dummy") ||
1196 rbnf.equals(new Character('a')) ||
1197 rbnf.equals(new Object()) ||
1198 rbnf.equals(-1) ||
1199 rbnf.equals(0) ||
1200 rbnf.equals(1) ||
1201 rbnf.equals(-1.0) ||
1202 rbnf.equals(0.0) ||
1203 rbnf
[all...]
H A DNumberFormatTest.java1976 TestNumberingSystemItem(String loc, double val, boolean rbnf, String exp) {
1979 isRBNF = rbnf;
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DRBNFParseTest.java104 private void parseFormat(RuleBasedNumberFormat rbnf, String s, String target) { argument
106 Number n = rbnf.parse(s);
107 String t = rbnf.format(n);
108 assertEquals(rbnf.getLocale(ULocale.ACTUAL_LOCALE) + ": " + s + " : " + n, target, t);
H A DRbnfTest.java1193 RuleBasedNumberFormat rbnf = new RuleBasedNumberFormat("dummy");
1194 if (rbnf.equals("dummy") ||
1195 rbnf.equals(new Character('a')) ||
1196 rbnf.equals(new Object()) ||
1197 rbnf.equals(-1) ||
1198 rbnf.equals(0) ||
1199 rbnf.equals(1) ||
1200 rbnf.equals(-1.0) ||
1201 rbnf.equals(0.0) ||
1202 rbnf
[all...]
H A DNumberFormatTest.java1975 TestNumberingSystemItem(String loc, double val, boolean rbnf, String exp) {
1978 isRBNF = rbnf;
/external/icu/icu4c/source/i18n/
H A Dunum.cpp24 #include "unicode/rbnf.h"
160 const RuleBasedNumberFormat* rbnf = dynamic_cast<const RuleBasedNumberFormat*>(nf); local
161 U_ASSERT(rbnf != NULL);
162 res = rbnf->clone();
593 const RuleBasedNumberFormat* rbnf = dynamic_cast<const RuleBasedNumberFormat*>(nf); local
594 U_ASSERT(rbnf != NULL);
596 res = rbnf->getDefaultRuleSetName();
598 int32_t count = rbnf->getNumberOfRuleSetNames();
600 res += rbnf->getRuleSetName(i);
656 RuleBasedNumberFormat* rbnf local
691 const RuleBasedNumberFormat* rbnf = dynamic_cast<const RuleBasedNumberFormat*>(nf); local
[all...]
H A Dnfrule.h13 #include "unicode/rbnf.h"
51 const RuleBasedNumberFormat* rbnf,
55 NFRule(const RuleBasedNumberFormat* rbnf, const UnicodeString &ruleText, UErrorCode &status);
H A Dnfsubs.h62 const RuleBasedNumberFormat* rbnf,
H A Dnfrule.cpp23 #include "unicode/rbnf.h"
110 const RuleBasedNumberFormat *rbnf,
118 NFRule* rule1 = new NFRule(rbnf, description, status);
162 rule2 = new NFRule(rbnf, UnicodeString(), status);
107 makeRules(UnicodeString& description, NFRuleSet *owner, const NFRule *predecessor, const RuleBasedNumberFormat *rbnf, NFRuleList& rules, UErrorCode& status) argument
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/rbnf/
H A DRbnfSampleRuleSets.java9 package com.ibm.icu.dev.demo.rbnf;
H A DRbnfDemo.java9 package com.ibm.icu.dev.demo.rbnf;
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DMessageFormat.java2215 RuleBasedNumberFormat rbnf = new RuleBasedNumberFormat(ulocale,
2220 rbnf.setDefaultRuleSet(ruleset);
2226 newFormat = rbnf;
2231 RuleBasedNumberFormat rbnf = new RuleBasedNumberFormat(ulocale,
2236 rbnf.setDefaultRuleSet(ruleset);
2242 newFormat = rbnf;
2247 RuleBasedNumberFormat rbnf = new RuleBasedNumberFormat(ulocale,
2252 rbnf.setDefaultRuleSet(ruleset);
2258 newFormat = rbnf;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DMessageFormat.java2259 RuleBasedNumberFormat rbnf = new RuleBasedNumberFormat(ulocale,
2264 rbnf.setDefaultRuleSet(ruleset);
2270 newFormat = rbnf;
2275 RuleBasedNumberFormat rbnf = new RuleBasedNumberFormat(ulocale,
2280 rbnf.setDefaultRuleSet(ruleset);
2286 newFormat = rbnf;
2291 RuleBasedNumberFormat rbnf = new RuleBasedNumberFormat(ulocale,
2296 rbnf.setDefaultRuleSet(ruleset);
2302 newFormat = rbnf;
/external/icu/icu4c/source/config/
H A Ddist.mk20 DISTY_RMV=brkitr coll curr lang locales mappings rbnf region translit xml zone
/external/icu/icu4c/source/test/intltest/
H A Ditrbnf.cpp189 LocalUResourceBundlePointer en(ures_open(U_ICUDATA_NAME U_TREE_SEPARATOR_STRING "rbnf", "en", &status));
1444 errcheckln(status, "rbnf status: 0x%x (%s)\n", status, u_errorName(status));
1971 RuleBasedNumberFormat *rbnf = local
1977 rbnf->format(n, res, pos);
1978 delete rbnf;
1995 RuleBasedNumberFormat rbnf(URBNF_ORDINAL, Locale::getEnglish(), status);
2016 rbnf.format(number, result);
2025 rbnf.setDecimalFormatSymbols(dfs);
2027 rbnf.format(number, result);
/external/icu/icu4c/packaging/rpm/
H A Dicu.spec173 /usr/share/icu/%{version}/icudt34l/rbnf/*.res
/external/icu/icu4c/source/data/
H A Dmakedata.mak81 ICURBNF=rbnf
431 RBNF_RES_FILES = $(RBNF_FILES:.txt =.res rbnf\)
433 RBNF_RES_FILES = $(RBNF_RES_FILES:rbnf\ =rbnf\)
H A DMakefile.in99 RBNFSRCDIR=$(SRCDATADIR)/rbnf
100 RBNFBLDDIR=$(BUILDDIR)/rbnf
424 RBNF_TREE=rbnf
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dcom.ibm.icu_4.2.1.v20100412.jar ... impl/data/icudt42b/coll/ com/ibm/icu/impl/data/icudt42b/rbnf/ com/ibm/icu/impl/data/icudt42b/translit/ com/ibm/icu ...

Completed in 449 milliseconds