Home
last modified time | relevance | path

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

12

/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/libicu/cts_headers/
Dnumber_utils.h81 UnicodeString ruleString = rules->select(fdec); in getStandardPlural() local
82 return StandardPlural::orOtherFromString(ruleString); in getStandardPlural()
Dcollationruleparser.h128 void parse(const UnicodeString &ruleString,
148 void parse(const UnicodeString &ruleString, UErrorCode &errorCode);
Dcollationbuilder.h47 CollationTailoring *parseAndBuild(const UnicodeString &ruleString,
/external/icu/icu4c/source/i18n/
Dnumber_utils.h81 UnicodeString ruleString = rules->select(fdec); in getStandardPlural() local
82 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/cldr/tools/java/org/unicode/cldr/tool/
DCLDRFileTransformer.java152 …String ruleString = CLDRTransforms.getIcuRulesFromXmlFile(transformDir, localeTransform.getTransfo… in loadTransliterator() local
154 ruleString, localeTransform.getDirection()); in loadTransliterator()
/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/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/tests/core/src/com/ibm/icu/dev/test/format/
DPluralRulesTest.java757 String ruleString = "";
761 ruleString += " NOR " + rules.getRules(keyword2).split("@")[0];
765 ruleString = rule == null ? null : rule.split("@")[0];
767 ruleString = "; rule: '" + keyword + ": " + ruleString + "'";
771 return message + (locale == null ? "" : "; locale: '" + locale + "'") + ruleString;
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DPluralRulesTest.java760 String ruleString = "";
764 ruleString += " NOR " + rules.getRules(keyword2).split("@")[0];
768 ruleString = rule == null ? null : rule.split("@")[0];
770 ruleString = "; rule: '" + keyword + ": " + ruleString + "'";
774 return message + (locale == null ? "" : "; locale: '" + locale + "'") + ruleString;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DDecimalQuantity_AbstractBCD.java243 String ruleString = rules.select(this); in getStandardPlural() local
244 return StandardPlural.orOtherFromString(ruleString); in getStandardPlural()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/impl/number/
DDecimalQuantity_SimpleStorage.java605 String ruleString = rules.select(toDouble());
606 return StandardPlural.orOtherFromString(ruleString);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/impl/number/
DDecimalQuantity_SimpleStorage.java602 String ruleString = rules.select(toDouble());
603 return StandardPlural.orOtherFromString(ruleString);
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DDecimalQuantity_AbstractBCD.java245 String ruleString = rules.select(this); in getStandardPlural() local
246 return StandardPlural.orOtherFromString(ruleString); in getStandardPlural()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBITest.java822 String ruleString = (new String("!!quoted_literals_only; '#';"))
824 RuleBasedBreakIterator bi = new RuleBasedBreakIterator(ruleString);
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DRBBITest.java825 String ruleString = (new String("!!quoted_literals_only; '#';"))
827 RuleBasedBreakIterator bi = new RuleBasedBreakIterator(ruleString);

12