Home
last modified time | relevance | path

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

12

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNFSubstitution.java35 final NFRuleSet ruleSet; field in NFSubstitution
68 NFRuleSet ruleSet, in makeSubstitution() argument
92 return new IntegralPartSubstitution(pos, ruleSet, description); in makeSubstitution()
94 else if (ruleSet.isFractionSet()) { in makeSubstitution()
102 return new MultiplierSubstitution(pos, rule.getDivisor(), ruleSet, in makeSubstitution()
110 return new AbsoluteValueSubstitution(pos, ruleSet, description); in makeSubstitution()
118 return new FractionalPartSubstitution(pos, ruleSet, description); in makeSubstitution()
120 else if (ruleSet.isFractionSet()) { in makeSubstitution()
133 ruleSet, description); in makeSubstitution()
136 return new SameValueSubstitution(pos, ruleSet, description); in makeSubstitution()
[all …]
DRuleBasedNumberFormat.java962 for (NFRuleSet ruleSet : ruleSets) { in toString()
963 result.append(ruleSet.toString()); in toString()
1143 public String format(double number, String ruleSet) throws IllegalArgumentException { in format() argument
1144 if (ruleSet.startsWith("%%")) { in format()
1147 return adjustForContext(format(number, findRuleSet(ruleSet))); in format()
1162 public String format(long number, String ruleSet) throws IllegalArgumentException { in format() argument
1163 if (ruleSet.startsWith("%%")) { in format()
1166 return adjustForContext(format(number, findRuleSet(ruleSet))); in format()
1478 for (NFRuleSet ruleSet : ruleSets) { in setDecimalFormatSymbols()
1479 ruleSet.setDecimalFormatSymbols(decimalFormatSymbols); in setDecimalFormatSymbols()
[all …]
DRBNFChinesePostProcessor.java33 public void process(StringBuffer buf, NFRuleSet ruleSet) { in process() argument
38 String name = ruleSet.getName(); in process()
DRBNFPostProcessor.java28 void process(StringBuffer output, NFRuleSet ruleSet); in process() argument
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNFSubstitution.java36 final NFRuleSet ruleSet; field in NFSubstitution
69 NFRuleSet ruleSet, in makeSubstitution() argument
93 return new IntegralPartSubstitution(pos, ruleSet, description); in makeSubstitution()
95 else if (ruleSet.isFractionSet()) { in makeSubstitution()
103 return new MultiplierSubstitution(pos, rule.getDivisor(), ruleSet, in makeSubstitution()
111 return new AbsoluteValueSubstitution(pos, ruleSet, description); in makeSubstitution()
119 return new FractionalPartSubstitution(pos, ruleSet, description); in makeSubstitution()
121 else if (ruleSet.isFractionSet()) { in makeSubstitution()
134 ruleSet, description); in makeSubstitution()
137 return new SameValueSubstitution(pos, ruleSet, description); in makeSubstitution()
[all …]
DRuleBasedTransliterator.java320 setMaximumContextLength(data.ruleSet.getMaximumContextLength()); in RuleBasedTransliterator()
364 data.ruleSet.transliterate(text, index, incremental)) { in handleTransliterate()
374 ruleSet = new TransliterationRuleSet(); in Data()
380 public TransliterationRuleSet ruleSet; field in RuleBasedTransliterator.Data
447 return data.ruleSet.toRules(escapeUnprintable); in toRules()
473 data.ruleSet.addSourceTargetSet(filter, sourceSet, targetSet); in addSourceTargetSet()
DRuleBasedNumberFormat.java948 for (NFRuleSet ruleSet : ruleSets) { in toString()
949 result.append(ruleSet.toString()); in toString()
1122 public String format(double number, String ruleSet) throws IllegalArgumentException { in format() argument
1123 if (ruleSet.startsWith("%%")) { in format()
1126 return adjustForContext(format(number, findRuleSet(ruleSet))); in format()
1140 public String format(long number, String ruleSet) throws IllegalArgumentException { in format() argument
1141 if (ruleSet.startsWith("%%")) { in format()
1144 return adjustForContext(format(number, findRuleSet(ruleSet))); in format()
1443 for (NFRuleSet ruleSet : ruleSets) { in setDecimalFormatSymbols()
1444 ruleSet.setDecimalFormatSymbols(decimalFormatSymbols); in setDecimalFormatSymbols()
[all …]
DRBNFChinesePostProcessor.java34 public void process(StringBuffer buf, NFRuleSet ruleSet) { in process() argument
39 String name = ruleSet.getName(); in process()
DRBNFPostProcessor.java29 void process(StringBuffer 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.cpp133 const NFRuleSet* ruleSet,
209 const NFRuleSet* ruleSet,
316 const NFRuleSet* ruleSet, in makeSubstitution() argument
342 return new IntegralPartSubstitution(pos, ruleSet, description, status); in makeSubstitution()
347 else if (ruleSet->isFractionRuleSet()) { in makeSubstitution()
354 return new MultiplierSubstitution(pos, rule->getDivisor(), ruleSet, in makeSubstitution()
363 return new AbsoluteValueSubstitution(pos, ruleSet, description, status); in makeSubstitution()
371 return new FractionalPartSubstitution(pos, ruleSet, description, status); in makeSubstitution()
376 else if (ruleSet->isFractionRuleSet()) { in makeSubstitution()
385 ruleSet, description, status); in makeSubstitution()
[all …]
Drbt.cpp55 setMaximumContextLength(fData->ruleSet.getMaximumContextLength()); in _construct()
146 setMaximumContextLength(fData->ruleSet.getMaximumContextLength()); in RuleBasedTransliterator()
158 setMaximumContextLength(fData->ruleSet.getMaximumContextLength()); in RuleBasedTransliterator()
274 fData->ruleSet.transliterate(text, index, isIncremental)) { in handleTransliterate()
289 return fData->ruleSet.toRules(rulesSource, escapeUnprintable); in toRules()
296 fData->ruleSet.getSourceTargetSet(result, FALSE); in handleGetSourceSet()
303 return fData->ruleSet.getSourceTargetSet(result, TRUE); in getTargetSet()
Drbt_data.cpp25 : UMemory(), ruleSet(status), variableNames(status), in TransliterationRuleData()
37 UMemory(other), ruleSet(other.ruleSet), in TransliterationRuleData()
84 ruleSet.setData(this); // ruleSet must already be frozen in TransliterationRuleData()
Dnfsubs.h34 const NFRuleSet* ruleSet; variable
39 const NFRuleSet* ruleSet,
47 const NFRuleSet* getRuleSet() const { return ruleSet; } in getRuleSet()
59 const NFRuleSet* ruleSet,
Dnfrule.h47 NFRuleSet* ruleSet,
89 …void extractSubstitutions(const NFRuleSet* ruleSet, const UnicodeString &ruleText, const NFRule* p…
90 …NFSubstitution* extractSubstitution(const NFRuleSet* ruleSet, const NFRule* predecessor, UErrorCod…
Drbt_data.h54 TransliterationRuleSet ruleSet;
Dnfrule.cpp410 NFRule::extractSubstitutions(const NFRuleSet* ruleSet, in extractSubstitutions() argument
419 sub1 = extractSubstitution(ruleSet, predecessor, status); in extractSubstitutions()
425 sub2 = extractSubstitution(ruleSet, predecessor, status); in extractSubstitutions()
465 NFRule::extractSubstitution(const NFRuleSet* ruleSet, in extractSubstitution() argument
514 result = NFSubstitution::makeSubstitution(subStart, this, predecessor, ruleSet, in extractSubstitution()
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DRuleBasedTransliterator.java318 setMaximumContextLength(data.ruleSet.getMaximumContextLength()); in RuleBasedTransliterator()
362 data.ruleSet.transliterate(text, index, incremental)) { in handleTransliterate()
372 ruleSet = new TransliterationRuleSet(); in Data()
378 public TransliterationRuleSet ruleSet; field in RuleBasedTransliterator.Data
445 return data.ruleSet.toRules(escapeUnprintable); in toRules()
471 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/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/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()
92 if (!ruleSet.equals(variables)) { in complete()
93 String msg = showDiff(variables, ruleSet); in complete()
95 String temp = showDiff(ruleSet, variables); in complete()
105 Iterator it = ruleSet.iterator(); in complete()
109 Iterator it2 = ruleSet.iterator(); in complete()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
DBNF.java77 Set ruleSet = map.keySet(); in complete() local
81 if (!ruleSet.equals(variables)) { in complete()
82 String msg = showDiff(variables, ruleSet); in complete()
84 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()
106 Iterator it = ruleSet.iterator(); in complete()
110 Iterator it2 = ruleSet.iterator(); in complete()
/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/harfbuzz_ng/src/
Dhb-ot-layout-gsubgpos-private.hh1248 unsigned int count = ruleSet.len; in closure()
1251 const RuleSet &rule_set = this+ruleSet[i]; in closure()
1266 unsigned int count = ruleSet.len; in collect_glyphs()
1268 (this+ruleSet[i]).collect_glyphs (c, lookup_context); in collect_glyphs()
1275 const RuleSet &rule_set = this+ruleSet[(this+coverage).get_coverage (c->glyphs[0])]; in would_apply()
1295 const RuleSet &rule_set = this+ruleSet[index]; in apply()
1306 return_trace (coverage.sanitize (c, this) && ruleSet.sanitize (c, this)); in sanitize()
1315 ruleSet; /* Array of RuleSet tables member
1318 DEFINE_SIZE_ARRAY (6, ruleSet);
1337 unsigned int count = ruleSet.len; in closure()
[all …]
/external/icu/icu4c/source/i18n/unicode/
Drbnf.h1008 void format(double number, NFRuleSet& ruleSet);

12