Home
last modified time | relevance | path

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

12

/external/icu/android_icu4j/src/main/java/android/icu/text/
DNFSubstitution.java38 final NFRuleSet ruleSet; field in NFSubstitution
71 NFRuleSet ruleSet, in makeSubstitution() argument
95 return new IntegralPartSubstitution(pos, ruleSet, description); in makeSubstitution()
97 else if (ruleSet.isFractionSet()) { in makeSubstitution()
105 return new MultiplierSubstitution(pos, rule, ruleSet, in makeSubstitution()
113 return new AbsoluteValueSubstitution(pos, ruleSet, description); in makeSubstitution()
121 return new FractionalPartSubstitution(pos, ruleSet, description); in makeSubstitution()
123 else if (ruleSet.isFractionSet()) { in makeSubstitution()
136 ruleSet, description); in makeSubstitution()
139 return new SameValueSubstitution(pos, ruleSet, description); in makeSubstitution()
[all …]
DRuleBasedTransliterator.java322 setMaximumContextLength(data.ruleSet.getMaximumContextLength()); in RuleBasedTransliterator()
367 data.ruleSet.transliterate(text, index, incremental)) { in handleTransliterate()
377 ruleSet = new TransliterationRuleSet(); in Data()
383 public TransliterationRuleSet ruleSet; field in RuleBasedTransliterator.Data
451 return data.ruleSet.toRules(escapeUnprintable); in toRules()
477 data.ruleSet.addSourceTargetSet(filter, sourceSet, targetSet); in addSourceTargetSet()
DRuleBasedNumberFormat.java955 for (NFRuleSet ruleSet : ruleSets) { in toString()
956 result.append(ruleSet.toString()); in toString()
1129 public String format(double number, String ruleSet) throws IllegalArgumentException { in format() argument
1130 if (ruleSet.startsWith("%%")) { in format()
1133 return adjustForContext(format(number, findRuleSet(ruleSet))); in format()
1147 public String format(long number, String ruleSet) throws IllegalArgumentException { in format() argument
1148 if (ruleSet.startsWith("%%")) { in format()
1151 return adjustForContext(format(number, findRuleSet(ruleSet))); in format()
1466 for (NFRuleSet ruleSet : ruleSets) { in setDecimalFormatSymbols()
1467 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/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNFSubstitution.java37 final NFRuleSet ruleSet; field in NFSubstitution
70 NFRuleSet ruleSet, in makeSubstitution() argument
94 return new IntegralPartSubstitution(pos, ruleSet, description); in makeSubstitution()
96 else if (ruleSet.isFractionSet()) { in makeSubstitution()
104 return new MultiplierSubstitution(pos, rule, ruleSet, in makeSubstitution()
112 return new AbsoluteValueSubstitution(pos, ruleSet, description); in makeSubstitution()
120 return new FractionalPartSubstitution(pos, ruleSet, description); in makeSubstitution()
122 else if (ruleSet.isFractionSet()) { in makeSubstitution()
135 ruleSet, description); in makeSubstitution()
138 return new SameValueSubstitution(pos, ruleSet, description); in makeSubstitution()
[all …]
DRuleBasedNumberFormat.java969 for (NFRuleSet ruleSet : ruleSets) { in toString()
970 result.append(ruleSet.toString()); in toString()
1150 public String format(double number, String ruleSet) throws IllegalArgumentException { in format() argument
1151 if (ruleSet.startsWith("%%")) { in format()
1154 return adjustForContext(format(number, findRuleSet(ruleSet))); in format()
1169 public String format(long number, String ruleSet) throws IllegalArgumentException { in format() argument
1170 if (ruleSet.startsWith("%%")) { in format()
1173 return adjustForContext(format(number, findRuleSet(ruleSet))); in format()
1501 for (NFRuleSet ruleSet : ruleSets) { in setDecimalFormatSymbols()
1502 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/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,
318 const NFRuleSet* ruleSet, in makeSubstitution() argument
344 return new IntegralPartSubstitution(pos, ruleSet, description, status); in makeSubstitution()
349 else if (ruleSet->isFractionRuleSet()) { in makeSubstitution()
356 return new MultiplierSubstitution(pos, rule->getDivisor(), ruleSet, in makeSubstitution()
365 return new AbsoluteValueSubstitution(pos, ruleSet, description, status); in makeSubstitution()
373 return new FractionalPartSubstitution(pos, ruleSet, description, status); in makeSubstitution()
378 else if (ruleSet->isFractionRuleSet()) { in makeSubstitution()
387 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()
Dnfsubs.h36 const NFRuleSet* ruleSet; variable
41 const NFRuleSet* ruleSet,
49 const NFRuleSet* getRuleSet() const { return ruleSet; } in getRuleSet()
61 const NFRuleSet* ruleSet,
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()
Dnfrule.h49 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.cpp412 NFRule::extractSubstitutions(const NFRuleSet* ruleSet, in extractSubstitutions() argument
421 sub1 = extractSubstitution(ruleSet, predecessor, status); in extractSubstitutions()
427 sub2 = extractSubstitution(ruleSet, predecessor, status); in extractSubstitutions()
467 NFRule::extractSubstitution(const NFRuleSet* ruleSet, in extractSubstitution() argument
516 result = NFSubstitution::makeSubstitution(subStart, this, predecessor, ruleSet, in extractSubstitution()
Ddayperiodrules.cpp87 ResourceTable ruleSet = value.getTable(errorCode); in processRules() local
90 for (int32_t j = 0; ruleSet.getKeyAndValue(j, key, value); ++j) { in processRules()
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DRuleBasedTransliterator.java320 setMaximumContextLength(data.ruleSet.getMaximumContextLength()); in RuleBasedTransliterator()
365 data.ruleSet.transliterate(text, index, incremental)) { in handleTransliterate()
375 ruleSet = new TransliterationRuleSet(); in Data()
381 public TransliterationRuleSet ruleSet; field in RuleBasedTransliterator.Data
449 return data.ruleSet.toRules(escapeUnprintable); in toRules()
475 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/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.hh1257 unsigned int count = ruleSet.len; in closure()
1260 const RuleSet &rule_set = this+ruleSet[i]; in closure()
1275 unsigned int count = ruleSet.len; in collect_glyphs()
1277 (this+ruleSet[i]).collect_glyphs (c, lookup_context); in collect_glyphs()
1284 const RuleSet &rule_set = this+ruleSet[(this+coverage).get_coverage (c->glyphs[0])]; in would_apply()
1304 const RuleSet &rule_set = this+ruleSet[index]; in apply()
1315 return_trace (coverage.sanitize (c, this) && ruleSet.sanitize (c, this)); in sanitize()
1324 ruleSet; /* Array of RuleSet tables member
1327 DEFINE_SIZE_ARRAY (6, ruleSet);
1346 unsigned int count = ruleSet.len; in closure()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DDayPeriodRules.java102 UResource.Table ruleSet = value.getTable(); in processRules() local
103 for (int j = 0; ruleSet.getKeyAndValue(j, key, value); ++j) { in processRules()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DDayPeriodRules.java106 UResource.Table ruleSet = value.getTable(); in processRules() local
107 for (int j = 0; ruleSet.getKeyAndValue(j, key, value); ++j) { in processRules()

12