Home
last modified time | relevance | path

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

/external/icu4c/i18n/
Dnfsubs.cpp128 const NFRuleSet* ruleSet,
198 const NFRuleSet* ruleSet,
330 const NFRuleSet* ruleSet, in makeSubstitution() argument
337 return new NullSubstitution(pos, ruleSet, formatter, description, status); in makeSubstitution()
356 return new IntegralPartSubstitution(pos, ruleSet, formatter, description, status); in makeSubstitution()
361 else if (ruleSet->isFractionRuleSet()) { in makeSubstitution()
368 return new MultiplierSubstitution(pos, rule->getDivisor(), ruleSet, in makeSubstitution()
377 return new AbsoluteValueSubstitution(pos, ruleSet, formatter, description, status); in makeSubstitution()
385 return new FractionalPartSubstitution(pos, ruleSet, formatter, description, status); in makeSubstitution()
390 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()
263 fData->ruleSet.transliterate(text, index, isIncremental)) { in handleTransliterate()
274 return fData->ruleSet.toRules(rulesSource, escapeUnprintable); in toRules()
281 fData->ruleSet.getSourceTargetSet(result, FALSE); in handleGetSourceSet()
288 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()
66 ruleSet.setData(this); // ruleSet must already be frozen in TransliterationRuleData()
Dnfrule.cpp91 const NFRuleSet *ruleSet, in makeRules() argument
122 rule1->extractSubstitutions(ruleSet, predecessor, rbnf, status); in makeRules()
151 if (!ruleSet->isFractionRuleSet()) { in makeRules()
183 rule2->extractSubstitutions(ruleSet, predecessor, rbnf, status); in makeRules()
195 rule1->extractSubstitutions(ruleSet, predecessor, rbnf, status); in makeRules()
373 NFRule::extractSubstitutions(const NFRuleSet* ruleSet, in extractSubstitutions() argument
379 sub1 = extractSubstitution(ruleSet, predecessor, rbnf, status); in extractSubstitutions()
380 sub2 = extractSubstitution(ruleSet, predecessor, rbnf, status); in extractSubstitutions()
397 NFRule::extractSubstitution(const NFRuleSet* ruleSet, in extractSubstitution() argument
413 ruleSet, rbnf, gEmptyString, 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.cpp1088 data->ruleSet.freeze(parseError, status); in parseRules()
1390 curData->ruleSet.addRule(new TransliterationRule( in parseRule()
/external/icu4c/i18n/unicode/
Drbnf.h973 void format(double number, NFRuleSet& ruleSet);