Home
last modified time | relevance | path

Searched refs:TransliterationRule (Results 1 – 25 of 28) sorted by relevance

12

/third_party/icu/icu4c/source/i18n/
Drbt_set.cpp27 delete (icu::TransliterationRule *)rule; in _deleteRule()
112 inline void _debugOut(const char* msg, TransliterationRule* rule, in _debugOut()
139 static void maskingError(const icu::TransliterationRule& rule1, in maskingError()
140 const icu::TransliterationRule& rule2, in maskingError()
194TransliterationRule *tempTranslitRule = new TransliterationRule(*(TransliterationRule*)other.ruleV… in TransliterationRuleSet()
248 void TransliterationRuleSet::addRule(TransliterationRule* adoptedRule, in addRule()
311 TransliterationRule* r = (TransliterationRule*) ruleVector->elementAt(j); in freeze()
326 TransliterationRule* r = (TransliterationRule*) ruleVector->elementAt(j); in freeze()
345 rules = (TransliterationRule **)uprv_malloc(v.size() * sizeof(TransliterationRule *)); in freeze()
352 rules[j] = (TransliterationRule*) v.elementAt(j); in freeze()
[all …]
Drbt_rule.h57 class TransliterationRule : public UMemory {
182 TransliterationRule(const UnicodeString& input,
196 TransliterationRule(TransliterationRule& other);
201 virtual ~TransliterationRule();
253 virtual UBool masks(const TransliterationRule& r2) const;
303TransliterationRule &operator=(const TransliterationRule &other); // forbid copying of this class
Drbt_rule.cpp58 TransliterationRule::TransliterationRule(const UnicodeString& input, in TransliterationRule() function in TransliterationRule
164 TransliterationRule::TransliterationRule(TransliterationRule& other) : in TransliterationRule() function in TransliterationRule
194 TransliterationRule::~TransliterationRule() { in ~TransliterationRule()
211 int32_t TransliterationRule::getContextLength(void) const { in getContextLength()
221 int16_t TransliterationRule::getIndexValue() const { in getIndexValue()
241 UBool TransliterationRule::matchesIndexValue(uint8_t v) const { in matchesIndexValue()
254 UBool TransliterationRule::masks(const TransliterationRule& r2) const { in masks()
352 UMatchDegree TransliterationRule::matchAndReplace(Replaceable& text, in matchAndReplace()
469 UnicodeString& TransliterationRule::toRule(UnicodeString& rule, in toRule()
519 void TransliterationRule::setData(const TransliterationRuleData* d) { in setData()
[all …]
Drbt_set.h26 class TransliterationRule; variable
52 TransliterationRule** rules;
106 virtual void addRule(TransliterationRule* adoptedRule,
Drbt_pars.cpp1445 TransliterationRule* temptr = new TransliterationRule( in parseRule()
/third_party/skia/third_party/externals/icu/source/i18n/
Drbt_set.cpp27 delete (icu::TransliterationRule *)rule; in _deleteRule()
112 inline void _debugOut(const char* msg, TransliterationRule* rule, in _debugOut()
139 static void maskingError(const icu::TransliterationRule& rule1, in maskingError()
140 const icu::TransliterationRule& rule2, in maskingError()
194TransliterationRule *tempTranslitRule = new TransliterationRule(*(TransliterationRule*)other.ruleV… in TransliterationRuleSet()
248 void TransliterationRuleSet::addRule(TransliterationRule* adoptedRule, in addRule()
311 TransliterationRule* r = (TransliterationRule*) ruleVector->elementAt(j); in freeze()
326 TransliterationRule* r = (TransliterationRule*) ruleVector->elementAt(j); in freeze()
345 rules = (TransliterationRule **)uprv_malloc(v.size() * sizeof(TransliterationRule *)); in freeze()
352 rules[j] = (TransliterationRule*) v.elementAt(j); in freeze()
[all …]
Drbt_rule.h57 class TransliterationRule : public UMemory {
182 TransliterationRule(const UnicodeString& input,
196 TransliterationRule(TransliterationRule& other);
201 virtual ~TransliterationRule();
253 virtual UBool masks(const TransliterationRule& r2) const;
303TransliterationRule &operator=(const TransliterationRule &other); // forbid copying of this class
Drbt_rule.cpp58 TransliterationRule::TransliterationRule(const UnicodeString& input, in TransliterationRule() function in TransliterationRule
164 TransliterationRule::TransliterationRule(TransliterationRule& other) : in TransliterationRule() function in TransliterationRule
194 TransliterationRule::~TransliterationRule() { in ~TransliterationRule()
211 int32_t TransliterationRule::getContextLength(void) const { in getContextLength()
221 int16_t TransliterationRule::getIndexValue() const { in getIndexValue()
241 UBool TransliterationRule::matchesIndexValue(uint8_t v) const { in matchesIndexValue()
254 UBool TransliterationRule::masks(const TransliterationRule& r2) const { in masks()
352 UMatchDegree TransliterationRule::matchAndReplace(Replaceable& text, in matchAndReplace()
469 UnicodeString& TransliterationRule::toRule(UnicodeString& rule, in toRule()
519 void TransliterationRule::setData(const TransliterationRuleData* d) { in setData()
[all …]
Drbt_set.h26 class TransliterationRule; variable
52 TransliterationRule** rules;
106 virtual void addRule(TransliterationRule* adoptedRule,
Drbt_pars.cpp1445 TransliterationRule* temptr = new TransliterationRule( in parseRule()
/third_party/node/deps/icu-small/source/i18n/
Drbt_set.cpp27 delete (icu::TransliterationRule *)rule; in _deleteRule()
112 inline void _debugOut(const char* msg, TransliterationRule* rule, in _debugOut()
139 static void maskingError(const icu::TransliterationRule& rule1, in maskingError()
140 const icu::TransliterationRule& rule2, in maskingError()
194TransliterationRule *tempTranslitRule = new TransliterationRule(*(TransliterationRule*)other.ruleV… in TransliterationRuleSet()
248 void TransliterationRuleSet::addRule(TransliterationRule* adoptedRule, in addRule()
311 TransliterationRule* r = (TransliterationRule*) ruleVector->elementAt(j); in freeze()
326 TransliterationRule* r = (TransliterationRule*) ruleVector->elementAt(j); in freeze()
345 rules = (TransliterationRule **)uprv_malloc(v.size() * sizeof(TransliterationRule *)); in freeze()
352 rules[j] = (TransliterationRule*) v.elementAt(j); in freeze()
[all …]
Drbt_rule.h57 class TransliterationRule : public UMemory {
182 TransliterationRule(const UnicodeString& input,
196 TransliterationRule(TransliterationRule& other);
201 virtual ~TransliterationRule();
253 virtual UBool masks(const TransliterationRule& r2) const;
303TransliterationRule &operator=(const TransliterationRule &other); // forbid copying of this class
Drbt_rule.cpp58 TransliterationRule::TransliterationRule(const UnicodeString& input, in TransliterationRule() function in TransliterationRule
164 TransliterationRule::TransliterationRule(TransliterationRule& other) : in TransliterationRule() function in TransliterationRule
194 TransliterationRule::~TransliterationRule() { in ~TransliterationRule()
211 int32_t TransliterationRule::getContextLength(void) const { in getContextLength()
221 int16_t TransliterationRule::getIndexValue() const { in getIndexValue()
241 UBool TransliterationRule::matchesIndexValue(uint8_t v) const { in matchesIndexValue()
254 UBool TransliterationRule::masks(const TransliterationRule& r2) const { in masks()
352 UMatchDegree TransliterationRule::matchAndReplace(Replaceable& text, in matchAndReplace()
469 UnicodeString& TransliterationRule::toRule(UnicodeString& rule, in toRule()
519 void TransliterationRule::setData(const TransliterationRuleData* d) { in setData()
[all …]
Drbt_set.h26 class TransliterationRule; variable
52 TransliterationRule** rules;
106 virtual void addRule(TransliterationRule* adoptedRule,
Drbt_pars.cpp1463 TransliterationRule* temptr = new TransliterationRule( in parseRule()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Drbt_set.cpp27 delete (icu::TransliterationRule *)rule; in _deleteRule()
112 inline void _debugOut(const char* msg, TransliterationRule* rule, in _debugOut()
139 static void maskingError(const icu::TransliterationRule& rule1, in maskingError()
140 const icu::TransliterationRule& rule2, in maskingError()
194TransliterationRule *tempTranslitRule = new TransliterationRule(*(TransliterationRule*)other.ruleV… in TransliterationRuleSet()
248 void TransliterationRuleSet::addRule(TransliterationRule* adoptedRule, in addRule()
311 TransliterationRule* r = (TransliterationRule*) ruleVector->elementAt(j); in freeze()
326 TransliterationRule* r = (TransliterationRule*) ruleVector->elementAt(j); in freeze()
345 rules = (TransliterationRule **)uprv_malloc(v.size() * sizeof(TransliterationRule *)); in freeze()
352 rules[j] = (TransliterationRule*) v.elementAt(j); in freeze()
[all …]
Drbt_rule.h57 class TransliterationRule : public UMemory {
182 TransliterationRule(const UnicodeString& input,
196 TransliterationRule(TransliterationRule& other);
201 virtual ~TransliterationRule();
253 virtual UBool masks(const TransliterationRule& r2) const;
303TransliterationRule &operator=(const TransliterationRule &other); // forbid copying of this class
Drbt_rule.cpp58 TransliterationRule::TransliterationRule(const UnicodeString& input, in TransliterationRule() function in TransliterationRule
164 TransliterationRule::TransliterationRule(TransliterationRule& other) : in TransliterationRule() function in TransliterationRule
194 TransliterationRule::~TransliterationRule() { in ~TransliterationRule()
211 int32_t TransliterationRule::getContextLength(void) const { in getContextLength()
221 int16_t TransliterationRule::getIndexValue() const { in getIndexValue()
241 UBool TransliterationRule::matchesIndexValue(uint8_t v) const { in matchesIndexValue()
254 UBool TransliterationRule::masks(const TransliterationRule& r2) const { in masks()
352 UMatchDegree TransliterationRule::matchAndReplace(Replaceable& text, in matchAndReplace()
469 UnicodeString& TransliterationRule::toRule(UnicodeString& rule, in toRule()
519 void TransliterationRule::setData(const TransliterationRuleData* d) { in setData()
[all …]
Drbt_set.h26 class TransliterationRule; variable
52 TransliterationRule** rules;
106 virtual void addRule(TransliterationRule* adoptedRule,
Drbt_pars.cpp1445 TransliterationRule* temptr = new TransliterationRule( in parseRule()
/third_party/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DTransliterationRuleSet.java34 private List<TransliterationRule> ruleVector;
47 private TransliterationRule[] rules;
60 ruleVector = new ArrayList<TransliterationRule>(); in TransliterationRuleSet()
77 public void addRule(TransliterationRule rule) { in addRule()
111 …List<TransliterationRule> v = new ArrayList<TransliterationRule>(2*n); // heuristic; adjust as nee… in freeze()
117 TransliterationRule r = ruleVector.get(j); in freeze()
132 TransliterationRule r = ruleVector.get(j); in freeze()
143 rules = new TransliterationRule[v.size()]; in freeze()
157 TransliterationRule r1 = rules[j]; in freeze()
159 TransliterationRule r2 = rules[k]; in freeze()
[all …]
DTransliterationRule.java46 class TransliterationRule { class
154 public TransliterationRule(String input, in TransliterationRule() method in TransliterationRule
272 public boolean masks(TransliterationRule r2) { in masks()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DTransliterationRuleSet.java35 private List<TransliterationRule> ruleVector;
48 private TransliterationRule[] rules;
61 ruleVector = new ArrayList<TransliterationRule>(); in TransliterationRuleSet()
78 public void addRule(TransliterationRule rule) { in addRule()
112 …List<TransliterationRule> v = new ArrayList<TransliterationRule>(2*n); // heuristic; adjust as nee… in freeze()
118 TransliterationRule r = ruleVector.get(j); in freeze()
133 TransliterationRule r = ruleVector.get(j); in freeze()
144 rules = new TransliterationRule[v.size()]; in freeze()
158 TransliterationRule r1 = rules[j]; in freeze()
160 TransliterationRule r2 = rules[k]; in freeze()
[all …]
DTransliterationRule.java47 class TransliterationRule { class
155 public TransliterationRule(String input, in TransliterationRule() method in TransliterationRule
273 public boolean masks(TransliterationRule r2) { in masks()
DTransliteratorParser.java1301 curData.ruleSet.addRule(new TransliterationRule( in parseRule()

12