Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/unicode/
Drbnf.h771 virtual UnicodeString getRuleSetDisplayName(const UnicodeString& ruleSetName,
824 const UnicodeString& ruleSetName,
840 const UnicodeString& ruleSetName,
856 const UnicodeString& ruleSetName,
937 virtual void setDefaultRuleSet(const UnicodeString& ruleSetName, UErrorCode& status);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRuleBasedNumberFormat.java1110 public String getRuleSetDisplayName(String ruleSetName, ULocale loc) { in getRuleSetDisplayName() argument
1113 if (rsnames[ix].equals(ruleSetName)) { in getRuleSetDisplayName()
1121 throw new IllegalArgumentException("unrecognized rule set name: " + ruleSetName); in getRuleSetDisplayName()
1131 public String getRuleSetDisplayName(String ruleSetName) { in getRuleSetDisplayName() argument
1132 return getRuleSetDisplayName(ruleSetName, ULocale.getDefault(Category.DISPLAY)); in getRuleSetDisplayName()
1409 public void setDefaultRuleSet(String ruleSetName) { in setDefaultRuleSet() argument
1410 if (ruleSetName == null) { in setDefaultRuleSet()
1435 } else if (ruleSetName.startsWith("%%")) { in setDefaultRuleSet()
1436 throw new IllegalArgumentException("cannot use private rule set: " + ruleSetName); in setDefaultRuleSet()
1438 defaultRuleSet = findRuleSet(ruleSetName); in setDefaultRuleSet()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRuleBasedNumberFormat.java1091 public String getRuleSetDisplayName(String ruleSetName, ULocale loc) { in getRuleSetDisplayName() argument
1094 if (rsnames[ix].equals(ruleSetName)) { in getRuleSetDisplayName()
1102 throw new IllegalArgumentException("unrecognized rule set name: " + ruleSetName); in getRuleSetDisplayName()
1111 public String getRuleSetDisplayName(String ruleSetName) { in getRuleSetDisplayName() argument
1112 return getRuleSetDisplayName(ruleSetName, ULocale.getDefault(Category.DISPLAY)); in getRuleSetDisplayName()
1376 public void setDefaultRuleSet(String ruleSetName) { in setDefaultRuleSet() argument
1377 if (ruleSetName == null) { in setDefaultRuleSet()
1402 } else if (ruleSetName.startsWith("%%")) { in setDefaultRuleSet()
1403 throw new IllegalArgumentException("cannot use private rule set: " + ruleSetName); in setDefaultRuleSet()
1405 defaultRuleSet = findRuleSet(ruleSetName); in setDefaultRuleSet()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/rbnf/
DRbnfDemo.java114 textField.setText(spelloutFormatter.format(theNumber, ruleSetName)); in createDemoFrame()
232 textField.setText(spelloutFormatter.format(theNumber, ruleSetName)); in createDemoFrame()
346 ruleSetName = ruleSetMenu.getSelectedItem(); in createDemoFrame()
390 textField.setText(spelloutFormatter.format(theNumber, ruleSetName)); in redisplay()
423 ruleSetName = ruleSetMenu.getSelectedItem(); in populateRuleSetMenu()
426 ruleSetName = ruleSetNames[0]; in populateRuleSetMenu()
450 private String ruleSetName; field in RbnfDemo
/external/icu/icu4c/source/i18n/
Drbnf.cpp1053 RuleBasedNumberFormat::getRuleSetDisplayName(const UnicodeString& ruleSetName, const Locale& locale… in getRuleSetDisplayName() argument
1055 UnicodeString rsn(ruleSetName); in getRuleSetDisplayName()
1125 const UnicodeString& ruleSetName, in format() argument
1132 if (ruleSetName.indexOf(gPercentPercent, 2, 0) == 0) { in format()
1136 NFRuleSet *rs = findRuleSet(ruleSetName, status); in format()
1150 const UnicodeString& ruleSetName, in format() argument
1156 if (ruleSetName.indexOf(gPercentPercent, 2, 0) == 0) { in format()
1160 NFRuleSet *rs = findRuleSet(ruleSetName, status); in format()
1174 const UnicodeString& ruleSetName, in format() argument
1180 if (ruleSetName.indexOf(gPercentPercent, 2, 0) == 0) { in format()
[all …]
/external/icu/icu4c/source/test/intltest/
Ditrbnf.cpp250 UnicodeString ruleSetName; in TestAPI() local
260 ruleSetName = formatter->getRuleSetName(i); in TestAPI()
262 log(ruleSetName); in TestAPI()
264 intFormatResult = formatter->format(intFormatNum, ruleSetName, intFormatResult, pos1, status); in TestAPI()
265 …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 ...