Home
last modified time | relevance | path

Searched refs:ruleSetName (Results 1 – 7 of 7) sorted by relevance

/external/icu/icu4c/source/i18n/unicode/
Drbnf.h779 virtual UnicodeString getRuleSetDisplayName(const UnicodeString& ruleSetName,
832 const UnicodeString& ruleSetName,
848 const UnicodeString& ruleSetName,
864 const UnicodeString& ruleSetName,
945 virtual void setDefaultRuleSet(const UnicodeString& ruleSetName, UErrorCode& status);
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRuleBasedNumberFormat.java1098 public String getRuleSetDisplayName(String ruleSetName, ULocale loc) { in getRuleSetDisplayName() argument
1101 if (rsnames[ix].equals(ruleSetName)) { in getRuleSetDisplayName()
1109 throw new IllegalArgumentException("unrecognized rule set name: " + ruleSetName); in getRuleSetDisplayName()
1118 public String getRuleSetDisplayName(String ruleSetName) { in getRuleSetDisplayName() argument
1119 return getRuleSetDisplayName(ruleSetName, ULocale.getDefault(Category.DISPLAY)); in getRuleSetDisplayName()
1399 public void setDefaultRuleSet(String ruleSetName) { in setDefaultRuleSet() argument
1400 if (ruleSetName == null) { in setDefaultRuleSet()
1425 } else if (ruleSetName.startsWith("%%")) { in setDefaultRuleSet()
1426 throw new IllegalArgumentException("cannot use private rule set: " + ruleSetName); in setDefaultRuleSet()
1428 defaultRuleSet = findRuleSet(ruleSetName); in setDefaultRuleSet()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRuleBasedNumberFormat.java1117 public String getRuleSetDisplayName(String ruleSetName, ULocale loc) { in getRuleSetDisplayName() argument
1120 if (rsnames[ix].equals(ruleSetName)) { in getRuleSetDisplayName()
1128 throw new IllegalArgumentException("unrecognized rule set name: " + ruleSetName); in getRuleSetDisplayName()
1138 public String getRuleSetDisplayName(String ruleSetName) { in getRuleSetDisplayName() argument
1139 return getRuleSetDisplayName(ruleSetName, ULocale.getDefault(Category.DISPLAY)); in getRuleSetDisplayName()
1432 public void setDefaultRuleSet(String ruleSetName) { in setDefaultRuleSet() argument
1433 if (ruleSetName == null) { in setDefaultRuleSet()
1458 } else if (ruleSetName.startsWith("%%")) { in setDefaultRuleSet()
1459 throw new IllegalArgumentException("cannot use private rule set: " + ruleSetName); in setDefaultRuleSet()
1461 defaultRuleSet = findRuleSet(ruleSetName); in setDefaultRuleSet()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/rbnf/
DRbnfDemo.java116 textField.setText(spelloutFormatter.format(theNumber, ruleSetName)); in createDemoFrame()
234 textField.setText(spelloutFormatter.format(theNumber, ruleSetName)); in createDemoFrame()
348 ruleSetName = ruleSetMenu.getSelectedItem(); in createDemoFrame()
392 textField.setText(spelloutFormatter.format(theNumber, ruleSetName)); in redisplay()
425 ruleSetName = ruleSetMenu.getSelectedItem(); in populateRuleSetMenu()
428 ruleSetName = ruleSetNames[0]; in populateRuleSetMenu()
452 private String ruleSetName; field in RbnfDemo
/external/icu/icu4c/source/i18n/
Drbnf.cpp1055 RuleBasedNumberFormat::getRuleSetDisplayName(const UnicodeString& ruleSetName, const Locale& locale… in getRuleSetDisplayName() argument
1057 UnicodeString rsn(ruleSetName); in getRuleSetDisplayName()
1127 const UnicodeString& ruleSetName, in format() argument
1134 if (ruleSetName.indexOf(gPercentPercent, 2, 0) == 0) { in format()
1138 NFRuleSet *rs = findRuleSet(ruleSetName, status); in format()
1152 const UnicodeString& ruleSetName, in format() argument
1158 if (ruleSetName.indexOf(gPercentPercent, 2, 0) == 0) { in format()
1162 NFRuleSet *rs = findRuleSet(ruleSetName, status); in format()
1176 const UnicodeString& ruleSetName, in format() argument
1182 if (ruleSetName.indexOf(gPercentPercent, 2, 0) == 0) { in format()
[all …]
/external/icu/icu4c/source/test/intltest/
Ditrbnf.cpp253 UnicodeString ruleSetName; in TestAPI() local
263 ruleSetName = formatter->getRuleSetName(i); in TestAPI()
265 log(ruleSetName); in TestAPI()
267 intFormatResult = formatter->format(intFormatNum, ruleSetName, intFormatResult, pos1, status); in TestAPI()
268 …doubleFormatResult = formatter->format(doubleFormatNum, ruleSetName, doubleFormatResult, pos2, sta… in TestAPI()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...