Home
last modified time | relevance | path

Searched refs:ruleString (Results 1 – 20 of 20) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/draft/
DRegexTransformBuilder.java33 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/
DRBNFWriter.java129 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/
DCLDRTransforms.java357 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/
Dnumber_utils.h80 UnicodeString ruleString = rules->select(fdec); in getStandardPlural() local
81 return StandardPlural::orOtherFromString(ruleString); in getStandardPlural()
Dcollationruleparser.h128 void parse(const UnicodeString &ruleString,
148 void parse(const UnicodeString &ruleString, UErrorCode &errorCode);
Dcollationruleparser.cpp71 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()
Dcollationbuilder.h47 CollationTailoring *parseAndBuild(const UnicodeString &ruleString,
Dcollationbuilder.cpp233 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/
Dubrk.cpp109 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/
DPluralRulesTest.java654 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/
DPluralRulesTest.java651 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/
DCLDRFileTransformer.java133 …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/
DCollationRuleParser.java114 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()
DCollationBuilder.java60 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/
DCollationRuleParser.java110 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()
DCollationBuilder.java56 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/
DDecimalQuantity_SimpleStorage.java580 String ruleString = rules.select(toDouble());
581 return StandardPlural.orOtherFromString(ruleString);
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DDecimalQuantity_AbstractBCD.java233 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/
DDecimalQuantity_SimpleStorage.java577 String ruleString = rules.select(toDouble());
578 return StandardPlural.orOtherFromString(ruleString);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DDecimalQuantity_AbstractBCD.java231 String ruleString = rules.select(this); in getStandardPlural() local
232 return StandardPlural.orOtherFromString(ruleString); in getStandardPlural()