Home
last modified time | relevance | path

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

/external/icu4c/i18n/
Dnfsubs.cpp135 const NFRuleSet* ruleSet,
213 const NFRuleSet* ruleSet,
357 const NFRuleSet* ruleSet, in makeSubstitution() argument
364 return new NullSubstitution(pos, ruleSet, formatter, description, status); in makeSubstitution()
383 return new IntegralPartSubstitution(pos, ruleSet, formatter, description, status); in makeSubstitution()
388 else if (ruleSet->isFractionRuleSet()) { in makeSubstitution()
395 return new MultiplierSubstitution(pos, rule->getDivisor(), ruleSet, in makeSubstitution()
404 return new AbsoluteValueSubstitution(pos, ruleSet, formatter, description, status); in makeSubstitution()
412 return new FractionalPartSubstitution(pos, ruleSet, formatter, description, status); in makeSubstitution()
417 else if (ruleSet->isFractionRuleSet()) { in makeSubstitution()
[all …]
Drbt.cpp54 setMaximumContextLength(fData->ruleSet.getMaximumContextLength()); in _construct()
145 setMaximumContextLength(fData->ruleSet.getMaximumContextLength()); in RuleBasedTransliterator()
157 setMaximumContextLength(fData->ruleSet.getMaximumContextLength()); in RuleBasedTransliterator()
264 fData->ruleSet.transliterate(text, index, isIncremental)) { in handleTransliterate()
276 return fData->ruleSet.toRules(rulesSource, escapeUnprintable); in toRules()
283 fData->ruleSet.getSourceTargetSet(result, FALSE); in handleGetSourceSet()
290 return fData->ruleSet.getSourceTargetSet(result, TRUE); in getTargetSet()
Dnfsubs.h34 const NFRuleSet* ruleSet; variable
39 const NFRuleSet* ruleSet,
48 const NFRuleSet* getRuleSet() const { return ruleSet; } in getRuleSet()
60 const NFRuleSet* ruleSet,
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()
Dnfrule.cpp89 const NFRuleSet *ruleSet, in makeRules() argument
120 rule1->extractSubstitutions(ruleSet, predecessor, rbnf, status); in makeRules()
149 if (!ruleSet->isFractionRuleSet()) { in makeRules()
181 rule2->extractSubstitutions(ruleSet, predecessor, rbnf, status); in makeRules()
193 rule1->extractSubstitutions(ruleSet, predecessor, rbnf, status); in makeRules()
371 NFRule::extractSubstitutions(const NFRuleSet* ruleSet, in extractSubstitutions() argument
377 sub1 = extractSubstitution(ruleSet, predecessor, rbnf, status); in extractSubstitutions()
378 sub2 = extractSubstitution(ruleSet, predecessor, rbnf, status); in extractSubstitutions()
395 NFRule::extractSubstitution(const NFRuleSet* ruleSet, in extractSubstitution() argument
411 ruleSet, rbnf, UnicodeString(), status); in extractSubstitution()
[all …]
Dnfrule.h44 const NFRuleSet* ruleSet,
79 …void extractSubstitutions(const NFRuleSet* ruleSet, const NFRule* predecessor, const RuleBasedNumb…
80 …NFSubstitution* extractSubstitution(const NFRuleSet* ruleSet, const NFRule* predecessor, const Rul…
Drbt_data.h54 TransliterationRuleSet ruleSet;
Drbt_pars.cpp1134 data->ruleSet.freeze(parseError, status); in parseRules()
1457 curData->ruleSet.addRule(temptr, status); in parseRule()
/external/harfbuzz_ng/src/
Dhb-ot-layout-gsubgpos-private.hh1225 unsigned int count = ruleSet.len; in closure()
1228 const RuleSet &rule_set = this+ruleSet[i]; in closure()
1243 unsigned int count = ruleSet.len; in collect_glyphs()
1245 (this+ruleSet[i]).collect_glyphs (c, lookup_context); in collect_glyphs()
1252 const RuleSet &rule_set = this+ruleSet[(this+coverage).get_coverage (c->glyphs[0])]; in would_apply()
1272 const RuleSet &rule_set = this+ruleSet[index]; in apply()
1282 return TRACE_RETURN (coverage.sanitize (c, this) && ruleSet.sanitize (c, this)); in sanitize()
1291 ruleSet; /* Array of RuleSet tables member
1294 DEFINE_SIZE_ARRAY (6, ruleSet);
1313 unsigned int count = ruleSet.len; in closure()
[all …]
/external/icu4c/i18n/unicode/
Drbnf.h1000 void format(double number, NFRuleSet& ruleSet);
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
DTreeToNFAConverter.g722 IntSet ruleSet = grammar.getSetFromRule(this,$t.text);
723 if ( ruleSet==null )
733 elements.addAll(ruleSet);