Home | History | Annotate | Download | only in i18n

Lines Matching refs:description

648 RuleBasedNumberFormat::RuleBasedNumberFormat(const UnicodeString& description, 
663 init(description, locinfo, perror, status);
666 RuleBasedNumberFormat::RuleBasedNumberFormat(const UnicodeString& description,
681 init(description, locinfo, perror, status);
684 RuleBasedNumberFormat::RuleBasedNumberFormat(const UnicodeString& description,
698 init(description, info, perror, status);
701 RuleBasedNumberFormat::RuleBasedNumberFormat(const UnicodeString& description,
715 init(description, NULL, perror, status);
718 RuleBasedNumberFormat::RuleBasedNumberFormat(const UnicodeString& description,
733 init(description, NULL, perror, status);
1288 UnicodeString description(rules);
1289 if (!description.length()) {
1296 // description). This allows us to look for rule-set boundaries
1299 stripWhitespace(description);
1303 // and delete them from the description before the real desciption-
1305 int32_t lp = description.indexOf(gLenientParse, -1, 0);
1310 if (lp == 0 || description.charAt(lp - 1) == gSemiColon) {
1313 // the first token in the description)
1314 int lpEnd = description.indexOf(gSemiPercent, 2, lp);
1317 lpEnd = description.length() - 1;
1320 while (PatternProps::isWhiteSpace(description.charAt(lpStart))) {
1325 // from the description
1332 lenientParseRules->setTo(description, lpStart, lpEnd - lpStart);
1334 description.remove(lp, lpEnd + 1 - lp);
1338 // pre-flight parsing the description and count the number of
1342 for (int32_t p = description.indexOf(gSemiPercent, 2, 0); p != -1; p = description.indexOf(gSemiPercent, 2, p)) {
1363 // and remove it from its description. We can't actually parse
1381 for (int32_t p = description.indexOf(gSemiPercent, 2, 0); p != -1; p = description.indexOf(gSemiPercent, 2, start)) {
1382 ruleSetDescriptions[curRuleSet].setTo(description, start, p + 1 - start);
1391 ruleSetDescriptions[curRuleSet].setTo(description, start, description.length() - start);
1400 // is the last public rule set in the description (it's the last
1445 RuleBasedNumberFormat::stripWhitespace(UnicodeString& description)
1451 while (start != -1 && start < description.length()) {
1453 while (start < description.length()
1454 && PatternProps::isWhiteSpace(description.charAt(start))) {
1460 int32_t p = description.indexOf(gSemiColon, start);
1464 result.append(description, start, description.length() - start);
1467 else if (p < description.length()) {
1468 result.append(description, start, p + 1 - start);
1475 // rule in the description)
1481 description.setTo(result);
1537 // rules specified in the description, and create a _new_