/external/cldr/tools/java/org/unicode/cldr/draft/ |
D | RegexTransformBuilder.java | 33 for (String ruleString : ruleSet) { in createFromRules() 34 ruleString = ruleString.trim(); in createFromRules() 35 if (DEBUG) System.out.print(ruleString + "\t=>\t"); in createFromRules() 37 if (ruleString.startsWith("::")) { in createFromRules() 42 final String body = ruleString.substring(2).trim(); in createFromRules() 57 if (!m.reset(ruleString).matches()) { in createFromRules() 62 … throw new IllegalArgumentException("Bad rule: {" + Utility.escape(ruleString) + "} ;"); in createFromRules()
|
/external/cldr/tools/java/org/unicode/cldr/icu/ |
D | RBNFWriter.java | 129 String ruleString = null; in main() local 151 ruleString = parts[1].trim(); in main() 156 ruleString = parts[1]; in main() 176 ruleString = ruleText; in main() 186 … + radixString + "\">" + ruleString.trim().replace('<', LARROW).replace('>', RARROW) in main() 190 … + ruleString.trim().replace('<', LARROW).replace('>', RARROW) + "</rbnfrule>"); in main() 192 int i = ruleString.indexOf(";"); in main() 194 i = ruleString.indexOf(";", i + 1); in main()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | CLDRTransforms.java | 357 String ruleString; in registerTransliteratorsFromXML() local 360 ruleString = getIcuRulesFromXmlFile(dir, cldrFileName2, directionInfo); in registerTransliteratorsFromXML() 372 internalRegister(id, ruleString, Transliterator.FORWARD); in registerTransliteratorsFromXML() 381 internalRegister(id, ruleString, Transliterator.REVERSE); in registerTransliteratorsFromXML() 407 private void internalRegister(String id, String ruleString, int direction) { in internalRegister() argument 411 internalRegisterNoReverseId(id, ruleString, direction); in internalRegister() 414 private void internalRegisterNoReverseId(String id, String ruleString, int direction) { in internalRegisterNoReverseId() argument 416 Transliterator t = Transliterator.createFromRules(id, ruleString, direction); in internalRegisterNoReverseId() 588 internalRegisterNoReverseId(id2, stuff.ruleString, stuff.direction); in registerFromIcuFormatFiles() 618 String ruleString; field in CLDRTransforms.RuleDirection [all …]
|
/external/icu/icu4c/source/i18n/ |
D | number_utils.h | 80 UnicodeString ruleString = rules->select(fdec); in getStandardPlural() local 81 return StandardPlural::orOtherFromString(ruleString); in getStandardPlural()
|
D | collationruleparser.h | 128 void parse(const UnicodeString &ruleString, 148 void parse(const UnicodeString &ruleString, UErrorCode &errorCode);
|
D | collationruleparser.cpp | 71 CollationRuleParser::parse(const UnicodeString &ruleString, in parse() argument 85 parse(ruleString, errorCode); in parse() 89 CollationRuleParser::parse(const UnicodeString &ruleString, UErrorCode &errorCode) { in parse() argument 91 rules = &ruleString; in parse()
|
D | collationbuilder.h | 47 CollationTailoring *parseAndBuild(const UnicodeString &ruleString,
|
D | collationbuilder.cpp | 233 CollationBuilder::parseAndBuild(const UnicodeString &ruleString, in parseAndBuild() argument 260 parser.parse(ruleString, ownedSettings, outParseError, errorCode); in parseAndBuild() 287 tailoring->rules = ruleString; in parseAndBuild()
|
/external/icu/icu4c/source/common/ |
D | ubrk.cpp | 109 UnicodeString ruleString(rules, rulesLength); in ubrk_openRules() local 110 result = RBBIRuleBuilder::createRuleBasedBreakIterator(ruleString, parseErr, *status); in ubrk_openRules()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | PluralRulesTest.java | 654 String ruleString = ""; 658 ruleString += " NOR " + rules.getRules(keyword2).split("@")[0]; 662 ruleString = rule == null ? null : rule.split("@")[0]; 664 ruleString = "; rule: '" + keyword + ": " + ruleString + "'"; 668 return message + (locale == null ? "" : "; locale: '" + locale + "'") + ruleString;
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | PluralRulesTest.java | 651 String ruleString = ""; 655 ruleString += " NOR " + rules.getRules(keyword2).split("@")[0]; 659 ruleString = rule == null ? null : rule.split("@")[0]; 661 ruleString = "; rule: '" + keyword + ": " + ruleString + "'"; 665 return message + (locale == null ? "" : "; locale: '" + locale + "'") + ruleString;
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | CLDRFileTransformer.java | 133 …String ruleString = CLDRTransforms.getIcuRulesFromXmlFile(transformDir, localeTransform.getTransfo… in loadTransliterator() local 135 ruleString, localeTransform.getDirection()); in loadTransliterator()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
D | CollationRuleParser.java | 114 void parse(String ruleString, CollationSettings outSettings) throws ParseException { in parse() argument 116 parse(ruleString); in parse() 134 private void parse(String ruleString) throws ParseException { in parse() argument 135 rules = ruleString; in parse()
|
D | CollationBuilder.java | 60 public CollationTailoring parseAndBuild(String ruleString) throws ParseException { in parseAndBuild() argument 79 parser.parse(ruleString, ownedSettings); in parseAndBuild() 102 tailoring.setRules(ruleString); in parseAndBuild()
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
D | CollationRuleParser.java | 110 void parse(String ruleString, CollationSettings outSettings) throws ParseException { in parse() argument 112 parse(ruleString); in parse() 130 private void parse(String ruleString) throws ParseException { in parse() argument 131 rules = ruleString; in parse()
|
D | CollationBuilder.java | 56 public CollationTailoring parseAndBuild(String ruleString) throws ParseException { in parseAndBuild() argument 75 parser.parse(ruleString, ownedSettings); in parseAndBuild() 98 tailoring.setRules(ruleString); in parseAndBuild()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/impl/number/ |
D | DecimalQuantity_SimpleStorage.java | 580 String ruleString = rules.select(toDouble()); 581 return StandardPlural.orOtherFromString(ruleString);
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | DecimalQuantity_AbstractBCD.java | 233 String ruleString = rules.select(this); in getStandardPlural() local 234 return StandardPlural.orOtherFromString(ruleString); in getStandardPlural()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/impl/number/ |
D | DecimalQuantity_SimpleStorage.java | 577 String ruleString = rules.select(toDouble()); 578 return StandardPlural.orOtherFromString(ruleString);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | DecimalQuantity_AbstractBCD.java | 231 String ruleString = rules.select(this); in getStandardPlural() local 232 return StandardPlural.orOtherFromString(ruleString); in getStandardPlural()
|