Lines Matching refs:description
133 UnicodeString& description = descriptions[index]; // !!! make sure index is valid
135 if (description.length() == 0) {
136 // throw new IllegalArgumentException("Empty rule set description");
141 // if the description begins with a rule set name (the rule set
144 // and delete it from the description
145 if (description.charAt(0) == gPercent) {
146 int32_t pos = description.indexOf(gColon);
151 name.setTo(description, 0, pos);
152 while (pos < description.length() && uprv_isRuleWhiteSpace(description.charAt(++pos))) {
154 description.remove(0, pos);
160 if (description.length() == 0) {
161 // throw new IllegalArgumentException("Empty rule set description");
172 NFRuleSet::parseRules(UnicodeString& description, const RuleBasedNumberFormat* owner, UErrorCode& status)
183 // dlf - the original code kept a separate description array for no reason,
188 while (oldP < description.length()) {
189 int32_t p = description.indexOf(gSemicolon, oldP);
191 p = description.length();
193 currentDescription.setTo(description, oldP, p - oldP);