Home | History | Annotate | Download | only in i18n

Lines Matching refs:description

138     UnicodeString& description = descriptions[index]; // !!! make sure index is valid
140 if (description.length() == 0) {
141 // throw new IllegalArgumentException("Empty rule set description");
146 // if the description begins with a rule set name (the rule set
149 // and delete it from the description
150 if (description.charAt(0) == gPercent) {
151 int32_t pos = description.indexOf(gColon);
156 name.setTo(description, 0, pos);
157 while (pos < description.length() && PatternProps::isWhiteSpace(description.charAt(++pos))) {
159 description.remove(0, pos);
165 if (description.length() == 0) {
166 // throw new IllegalArgumentException("Empty rule set description");
182 NFRuleSet::parseRules(UnicodeString& description, const RuleBasedNumberFormat* owner, UErrorCode& status)
196 // dlf - the original code kept a separate description array for no reason,
201 while (oldP < description.length()) {
202 int32_t p = description.indexOf(gSemicolon, oldP);
204 p = description.length();
206 currentDescription.setTo(description, oldP, p - oldP);