Home
last modified time | relevance | path

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

123

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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 …]
/third_party/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 …]
/third_party/skia/third_party/externals/icu/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.cpp56 setMaximumContextLength(fData->ruleSet.getMaximumContextLength()); in _construct()
147 setMaximumContextLength(fData->ruleSet.getMaximumContextLength()); in RuleBasedTransliterator()
159 setMaximumContextLength(fData->ruleSet.getMaximumContextLength()); in RuleBasedTransliterator()
273 fData->ruleSet.transliterate(text, index, isIncremental)) { in handleTransliterate()
288 return fData->ruleSet.toRules(rulesSource, escapeUnprintable); in toRules()
295 fData->ruleSet.getSourceTargetSet(result, FALSE); in handleGetSourceSet()
302 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,
/third_party/flutter/skia/third_party/externals/icu/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,
/third_party/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.cpp56 setMaximumContextLength(fData->ruleSet.getMaximumContextLength()); in _construct()
147 setMaximumContextLength(fData->ruleSet.getMaximumContextLength()); in RuleBasedTransliterator()
159 setMaximumContextLength(fData->ruleSet.getMaximumContextLength()); in RuleBasedTransliterator()
273 fData->ruleSet.transliterate(text, index, isIncremental)) { in handleTransliterate()
288 return fData->ruleSet.toRules(rulesSource, escapeUnprintable); in toRules()
295 fData->ruleSet.getSourceTargetSet(result, FALSE); in handleGetSourceSet()
302 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,
/third_party/node/deps/icu-small/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.cpp56 setMaximumContextLength(fData->ruleSet.getMaximumContextLength()); in _construct()
147 setMaximumContextLength(fData->ruleSet.getMaximumContextLength()); in RuleBasedTransliterator()
159 setMaximumContextLength(fData->ruleSet.getMaximumContextLength()); in RuleBasedTransliterator()
273 fData->ruleSet.transliterate(text, index, isIncremental)) { in handleTransliterate()
288 return fData->ruleSet.toRules(rulesSource, escapeUnprintable); in toRules()
295 fData->ruleSet.getSourceTargetSet(result, FALSE); in handleGetSourceSet()
302 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,
/third_party/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()
/third_party/harfbuzz/src/
Dhb-ot-layout-gsubgpos.hh1801 + hb_zip (this+coverage, ruleSet) in intersects()
1824 + hb_zip (this+coverage, hb_range ((unsigned) ruleSet.len)) in closure()
1826 …_t, unsigned> _) { return hb_pair_t<unsigned, const RuleSet&> (_.first, this+ruleSet[_.second]); }) in closure()
1839 + hb_zip (this+coverage, ruleSet) in closure_lookups()
1858 + hb_iter (ruleSet) in collect_glyphs()
1866 const RuleSet &rule_set = this+ruleSet[(this+coverage).get_coverage (c->glyphs[0])]; in would_apply()
1883 const RuleSet &rule_set = this+ruleSet[index]; in apply()
1903 + hb_zip (this+coverage, ruleSet) in subset()
1905 | hb_filter (subset_offset_array (c, out->ruleSet, this, lookup_map), hb_second) in subset()
1919 return_trace (coverage.sanitize (c, this) && ruleSet.sanitize (c, this)); in sanitize()
[all …]
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-ot-layout-gsubgpos.hh1449 + hb_zip (this+coverage, ruleSet) in intersects()
1465 + hb_zip (this+coverage, ruleSet) in closure()
1482 + hb_iter (ruleSet) in collect_glyphs()
1490 const RuleSet &rule_set = this+ruleSet[(this+coverage).get_coverage (c->glyphs[0])]; in would_apply()
1507 const RuleSet &rule_set = this+ruleSet[index]; in apply()
1525 return_trace (coverage.sanitize (c, this) && ruleSet.sanitize (c, this)); in sanitize()
1534 ruleSet; /* Array of RuleSet tables member
1537 DEFINE_SIZE_ARRAY (6, ruleSet);
1556 + hb_enumerate (ruleSet) in intersects()
1577 + hb_enumerate (ruleSet) in closure()
[all …]
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-layout-gsubgpos.hh1814 + hb_zip (this+coverage, ruleSet) in intersects()
1837 + hb_zip (this+coverage, hb_range ((unsigned) ruleSet.len)) in closure()
1839 …_t, unsigned> _) { return hb_pair_t<unsigned, const RuleSet&> (_.first, this+ruleSet[_.second]); }) in closure()
1852 + hb_zip (this+coverage, ruleSet) in closure_lookups()
1871 + hb_iter (ruleSet) in collect_glyphs()
1879 const RuleSet &rule_set = this+ruleSet[(this+coverage).get_coverage (c->glyphs[0])]; in would_apply()
1896 const RuleSet &rule_set = this+ruleSet[index]; in apply()
1916 + hb_zip (this+coverage, ruleSet) in subset()
1918 | hb_filter (subset_offset_array (c, out->ruleSet, this, lookup_map), hb_second) in subset()
1931 return_trace (coverage.sanitize (c, this) && ruleSet.sanitize (c, this)); in sanitize()
[all …]

123