Home
last modified time | relevance | path

Searched refs:ruleSet (Results 1 – 25 of 37) sorted by relevance

12

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNFSubstitution.java39 final NFRuleSet ruleSet; field in NFSubstitution
72 NFRuleSet ruleSet, in makeSubstitution() argument
96 return new IntegralPartSubstitution(pos, ruleSet, description); in makeSubstitution()
98 else if (ruleSet.isFractionSet()) { in makeSubstitution()
106 return new MultiplierSubstitution(pos, rule, ruleSet, in makeSubstitution()
114 return new AbsoluteValueSubstitution(pos, ruleSet, description); in makeSubstitution()
122 return new FractionalPartSubstitution(pos, ruleSet, description); in makeSubstitution()
124 else if (ruleSet.isFractionSet()) { in makeSubstitution()
137 ruleSet, description); in makeSubstitution()
140 return new SameValueSubstitution(pos, ruleSet, description); in makeSubstitution()
[all …]
DRuleBasedNumberFormat.java966 for (NFRuleSet ruleSet : ruleSets) { in toString()
967 result.append(ruleSet.toString()); in toString()
1147 public String format(double number, String ruleSet) throws IllegalArgumentException { in format() argument
1148 if (ruleSet.startsWith("%%")) { in format()
1151 return adjustForContext(format(number, findRuleSet(ruleSet))); in format()
1166 public String format(long number, String ruleSet) throws IllegalArgumentException { in format() argument
1167 if (ruleSet.startsWith("%%")) { in format()
1170 return adjustForContext(format(number, findRuleSet(ruleSet))); in format()
1498 for (NFRuleSet ruleSet : ruleSets) { in setDecimalFormatSymbols()
1499 ruleSet.setDecimalFormatSymbols(decimalFormatSymbols); in setDecimalFormatSymbols()
[all …]
DRBNFChinesePostProcessor.java35 public void process(StringBuilder buf, NFRuleSet ruleSet) { in process() argument
40 String name = ruleSet.getName(); in process()
DRBNFPostProcessor.java30 void process(StringBuilder output, NFRuleSet ruleSet); in process() argument
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNFSubstitution.java40 final NFRuleSet ruleSet; field in NFSubstitution
73 NFRuleSet ruleSet, in makeSubstitution() argument
97 return new IntegralPartSubstitution(pos, ruleSet, description); in makeSubstitution()
99 else if (ruleSet.isFractionSet()) { in makeSubstitution()
107 return new MultiplierSubstitution(pos, rule, ruleSet, in makeSubstitution()
115 return new AbsoluteValueSubstitution(pos, ruleSet, description); in makeSubstitution()
123 return new FractionalPartSubstitution(pos, ruleSet, description); in makeSubstitution()
125 else if (ruleSet.isFractionSet()) { in makeSubstitution()
138 ruleSet, description); in makeSubstitution()
141 return new SameValueSubstitution(pos, ruleSet, description); in makeSubstitution()
[all …]
DRuleBasedTransliterator.java70 setMaximumContextLength(data.ruleSet.getMaximumContextLength()); in RuleBasedTransliterator()
115 data.ruleSet.transliterate(text, index, incremental)) { in handleTransliterate()
125 ruleSet = new TransliterationRuleSet(); in Data()
131 public TransliterationRuleSet ruleSet; field in RuleBasedTransliterator.Data
199 return data.ruleSet.toRules(escapeUnprintable); in toRules()
225 data.ruleSet.addSourceTargetSet(filter, sourceSet, targetSet); in addSourceTargetSet()
DRuleBasedNumberFormat.java951 for (NFRuleSet ruleSet : ruleSets) { in toString()
952 result.append(ruleSet.toString()); in toString()
1125 public String format(double number, String ruleSet) throws IllegalArgumentException { in format() argument
1126 if (ruleSet.startsWith("%%")) { in format()
1129 return adjustForContext(format(number, findRuleSet(ruleSet))); in format()
1143 public String format(long number, String ruleSet) throws IllegalArgumentException { in format() argument
1144 if (ruleSet.startsWith("%%")) { in format()
1147 return adjustForContext(format(number, findRuleSet(ruleSet))); in format()
1462 for (NFRuleSet ruleSet : ruleSets) { in setDecimalFormatSymbols()
1463 ruleSet.setDecimalFormatSymbols(decimalFormatSymbols); in setDecimalFormatSymbols()
[all …]
DRBNFChinesePostProcessor.java36 public void process(StringBuilder buf, NFRuleSet ruleSet) { in process() argument
41 String name = ruleSet.getName(); in process()
DRBNFPostProcessor.java31 void process(StringBuilder output, NFRuleSet ruleSet); in process() argument
/external/webrtc/talk/session/media/
Dtypewrapping.h.pump196 #define DECLARE_WRAPPING_RULESET(ruleSet) \
197 namespace ruleSet { \
227 #define DECLARE_WRAPPER(ruleSet, wrappedType, unwrappedType, var, wrapCode, unwrapCode) \
228 namespace ruleSet { \
250 #define DECLARE_WRAPPER_BY_REINTERPRET_CAST(ruleSet, wrappedType, unwrappedType) \
251 …DECLARE_WRAPPER(ruleSet, wrappedType, unwrappedType, FROM, reinterpret_cast<wrappedType>(FROM), re…
254 #define DECLARE_WRAPPER_BY_IMPLICIT_CAST(ruleSet, wrappedType, unwrappedType) \
255 DECLARE_WRAPPER(ruleSet, wrappedType, unwrappedType, FROM, FROM, FROM)
258 #define DECLARE_POINTER_WRAPPER(ruleSet, wrappedType, unwrappedType) \
259 DECLARE_WRAPPER_BY_REINTERPRET_CAST(ruleSet, wrappedType*, unwrappedType*) \
[all …]
/external/icu/icu4c/source/i18n/
Dnfsubs.cpp135 const NFRuleSet* ruleSet,
211 const NFRuleSet* ruleSet,
320 const NFRuleSet* ruleSet, in makeSubstitution() argument
346 return new IntegralPartSubstitution(pos, ruleSet, description, status); in makeSubstitution()
351 else if (ruleSet->isFractionRuleSet()) { in makeSubstitution()
358 return new MultiplierSubstitution(pos, rule, ruleSet, in makeSubstitution()
367 return new AbsoluteValueSubstitution(pos, ruleSet, description, status); in makeSubstitution()
375 return new FractionalPartSubstitution(pos, ruleSet, description, status); in makeSubstitution()
380 else if (ruleSet->isFractionRuleSet()) { in makeSubstitution()
389 ruleSet, description, status); in makeSubstitution()
[all …]
Drbt.cpp57 setMaximumContextLength(fData->ruleSet.getMaximumContextLength()); in _construct()
148 setMaximumContextLength(fData->ruleSet.getMaximumContextLength()); in RuleBasedTransliterator()
160 setMaximumContextLength(fData->ruleSet.getMaximumContextLength()); in RuleBasedTransliterator()
272 fData->ruleSet.transliterate(text, index, isIncremental)) { in handleTransliterate()
287 return fData->ruleSet.toRules(rulesSource, escapeUnprintable); in toRules()
294 fData->ruleSet.getSourceTargetSet(result, FALSE); in handleGetSourceSet()
301 return fData->ruleSet.getSourceTargetSet(result, TRUE); in getTargetSet()
Drbt_data.cpp27 : UMemory(), ruleSet(status), variableNames(status), in TransliterationRuleData()
39 UMemory(other), ruleSet(other.ruleSet), in TransliterationRuleData()
86 ruleSet.setData(this); // ruleSet must already be frozen in TransliterationRuleData()
Dnfsubs.h36 const NFRuleSet* ruleSet; variable
41 const NFRuleSet* ruleSet,
49 const NFRuleSet* getRuleSet() const { return ruleSet; } in getRuleSet()
61 const NFRuleSet* ruleSet,
Dnfrule.h48 NFRuleSet* ruleSet,
91 …void extractSubstitutions(const NFRuleSet* ruleSet, const UnicodeString &ruleText, const NFRule* p…
92 …NFSubstitution* extractSubstitution(const NFRuleSet* ruleSet, const NFRule* predecessor, UErrorCod…
Drbt_data.h56 TransliterationRuleSet ruleSet;
Dnfrule.cpp413 NFRule::extractSubstitutions(const NFRuleSet* ruleSet, in extractSubstitutions() argument
422 sub1 = extractSubstitution(ruleSet, predecessor, status); in extractSubstitutions()
428 sub2 = extractSubstitution(ruleSet, predecessor, status); in extractSubstitutions()
468 NFRule::extractSubstitution(const NFRuleSet* ruleSet, in extractSubstitution() argument
517 result = NFSubstitution::makeSubstitution(subStart, this, predecessor, ruleSet, in extractSubstitution()
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DRuleBasedTransliterator.java68 setMaximumContextLength(data.ruleSet.getMaximumContextLength()); in RuleBasedTransliterator()
113 data.ruleSet.transliterate(text, index, incremental)) { in handleTransliterate()
123 ruleSet = new TransliterationRuleSet(); in Data()
129 public TransliterationRuleSet ruleSet; field in RuleBasedTransliterator.Data
197 return data.ruleSet.toRules(escapeUnprintable); in toRules()
223 data.ruleSet.addSourceTargetSet(filter, sourceSet, targetSet); in addSourceTargetSet()
/external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/line/
DLineConverter.java34 final RuleSet ruleSet; field in LineConverter
37 public LineConverter(RuleSet ruleSet) { in LineConverter() argument
38 this.ruleSet = ruleSet; in LineConverter()
55 Iterator<ConversionRule> conversionRuleIterator = ruleSet.iterator(); in getReplacement()
/external/cldr/tools/java/org/unicode/cldr/util/
DBNF.java76 Set ruleSet = map.keySet(); in complete() local
80 if (!ruleSet.equals(variables)) { in complete()
81 String msg = showDiff(variables, ruleSet); in complete()
83 String temp = showDiff(ruleSet, variables); in complete()
93 if (!ruleSet.equals(variables)) { in complete()
94 String msg = showDiff(variables, ruleSet); in complete()
96 String temp = showDiff(ruleSet, variables); in complete()
107 Iterator it = ruleSet.iterator(); in complete()
111 Iterator it2 = ruleSet.iterator(); in complete()
/external/harfbuzz_ng/src/
Dhb-ot-layout-gsubgpos.hh1444 unsigned int count = ruleSet.len; in intersects()
1450 (this+ruleSet[iter.get_coverage ()]).intersects (glyphs, lookup_context)) in intersects()
1465 unsigned int count = ruleSet.len; in closure()
1471 (this+ruleSet[iter.get_coverage ()]).closure (c, lookup_context); in closure()
1485 unsigned int count = ruleSet.len; in collect_glyphs()
1487 (this+ruleSet[i]).collect_glyphs (c, lookup_context); in collect_glyphs()
1494 const RuleSet &rule_set = this+ruleSet[(this+coverage).get_coverage (c->glyphs[0])]; in would_apply()
1511 const RuleSet &rule_set = this+ruleSet[index]; in apply()
1529 return_trace (coverage.sanitize (c, this) && ruleSet.sanitize (c, this)); in sanitize()
1538 ruleSet; /* Array of RuleSet tables member
[all …]
/external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/
DProjectConverter.java41 private RuleSet ruleSet; field in ProjectConverter
66 ruleSet = RuleSetFactory.getMatcherImpl(conversionType); in ProjectConverter()
67 if (ruleSet == null) { in ProjectConverter()
102 InplaceFileConverter fc = new InplaceFileConverter(ruleSet, progressListener); in scanFile()
DInplaceFileConverter.java49 InplaceFileConverter(RuleSet ruleSet, ProgressListener pl) { in InplaceFileConverter() argument
50 this.lineConverter = new LineConverter(ruleSet); in InplaceFileConverter()
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/
DMain.java75 public void execute(RuleSet ruleSet) throws Exception { in execute() argument
88 InputFileGenerator inputFileGenerator = ruleSet.getInputFileGenerator(); in execute()
89 OutputSourceFileGenerator outputSourceFileGenerator = ruleSet.getOutputSourceFileGenerator(); in execute()
99 List<Rule> ruleList = ruleSet.getRuleList(inputFile); in execute()
/external/cldr/tools/java/org/unicode/cldr/draft/
DRegexTransformBuilder.java25 String[] ruleSet = string.split(";"); in createFromRules() local
33 for (String ruleString : ruleSet) { in createFromRules()

12