Home
last modified time | relevance | path

Searched refs:insensitive (Results 1 - 13 of 13) sorted by relevance

/base/global/i18n/frameworks/intl/entity_recognition/phone_number_recognition/src/
H A Dfind_rule.cpp21 FindRule::FindRule(icu::UnicodeString& regex, std::string& insensitive) in FindRule() argument
25 this->insensitive = insensitive; in FindRule()
37 if (insensitive == "True") { in GetPattern()
H A Dphone_number_rule.cpp120 std::string insensitive = XmlNodePtrToString(value); in ParseXmlNode() local
123 commonExit = (insensitive == "True"); in ParseXmlNode()
131 if (IsXmlNodeValueEmpty(insensitive, type, valid, handle)) { in ParseXmlNode()
144 SetRules(category, content, valid, handle, insensitive, type); in ParseXmlNode()
149 bool PhoneNumberRule::IsXmlNodeValueEmpty(const std::string& insensitive, const std::string& type, in IsXmlNodeValueEmpty() argument
152 if (insensitive.empty() || type.empty() || in IsXmlNodeValueEmpty()
174 std::string& handle, std::string& insensitive, std::string& type) in SetRules()
177 negativeRules.push_back(new NegativeRule(content, insensitive)); in SetRules()
179 positiveRules.push_back(new PositiveRule(content, handle, insensitive)); in SetRules()
181 borderRules.push_back(new BorderRule(content, insensitive, typ in SetRules()
173 SetRules(std::string& category, icu::UnicodeString& content, std::string& valid, std::string& handle, std::string& insensitive, std::string& type) SetRules() argument
[all...]
H A Dnegative_rule.cpp20 NegativeRule::NegativeRule(icu::UnicodeString& regex, std::string& insensitive) in NegativeRule() argument
24 this->insensitive = insensitive; in NegativeRule()
33 if (this->insensitive == "True") { in GetPattern()
H A Dborder_rule.cpp22 BorderRule::BorderRule(icu::UnicodeString& regex, std::string& insensitive, std::string& type) in BorderRule() argument
35 this->insensitive = insensitive; in BorderRule()
52 if (insensitive == "True") { in GetPattern()
H A Dregex_rule.cpp30 std::string& insensitive, std::string& type) in RegexRule()
45 this->insensitive = insensitive; in RegexRule()
78 if (insensitive == "True") { in GetPattern()
29 RegexRule(icu::UnicodeString& regex, std::string& isValidType, std::string& handleType, std::string& insensitive, std::string& type) RegexRule() argument
H A Dpositive_rule.cpp27 PositiveRule::PositiveRule(icu::UnicodeString& regex, std::string& handleType, std::string& insensitive) in PositiveRule() argument
32 this->insensitive = insensitive; in PositiveRule()
44 if (insensitive == "True") { in GetPattern()
/base/global/i18n/frameworks/intl/entity_recognition/phone_number_recognition/include/
H A Dfind_rule.h25 FindRule(icu::UnicodeString& regex, std::string& insensitive);
31 std::string insensitive; member in OHOS::Global::I18n::FindRule
H A Dborder_rule.h28 BorderRule(icu::UnicodeString& regex, std::string& insensitive, std::string& type);
37 std::string insensitive; member in OHOS::Global::I18n::BorderRule
H A Dnegative_rule.h25 NegativeRule(icu::UnicodeString& regex, std::string& insensitive);
33 std::string insensitive; member in OHOS::Global::I18n::NegativeRule
H A Dphone_number_rule.h51 std::string& handle, std::string& insensitive, std::string& type);
54 bool IsXmlNodeValueEmpty(const std::string& insensitive, const std::string& type,
H A Dpositive_rule.h28 PositiveRule(icu::UnicodeString& regex, std::string& HandleType, std::string& insensitive);
50 std::string insensitive; member in OHOS::Global::I18n::PositiveRule
H A Dregex_rule.h31 std::string& insensitive, std::string& type);
71 std::string insensitive; // positive Rules, negative rules, border rules, find rules member in OHOS::Global::I18n::RegexRule
/base/global/i18n/frameworks/intl/test/unittest/
H A Dintl_test_extent.cpp559 std::string insensitive = "False"; in HWTEST_F() local
562 isValidType, handleType, insensitive, type); in HWTEST_F()
566 handleType, insensitive, type); in HWTEST_F()
585 handleType, insensitive, type); in HWTEST_F()
593 handleType, insensitive, type); in HWTEST_F()
596 handleType, insensitive, type); in HWTEST_F()
1099 std::string insensitive = "True"; in HWTEST_F() local
1100 std::unique_ptr<PositiveRule> pRule = std::make_unique<PositiveRule>(regex, handleType, insensitive); in HWTEST_F()
1106 std::unique_ptr<PositiveRule> pRule2 = std::make_unique<PositiveRule>(regex, handleType, insensitive); in HWTEST_F()
1110 std::unique_ptr<PositiveRule> pRule3 = std::make_unique<PositiveRule>(regex, handleType, insensitive); in HWTEST_F()
1134 std::string insensitive = "False"; HWTEST_F() local
1216 std::string insensitive = "True"; HWTEST_F() local
1248 std::string insensitive = "False"; HWTEST_F() local
1289 std::string insensitive = "False"; HWTEST_F() local
1320 std::string insensitive = "False"; HWTEST_F() local
1350 std::string insensitive = "False"; HWTEST_F() local
1377 std::string insensitive = "False"; HWTEST_F() local
1408 std::string insensitive = "False"; HWTEST_F() local
1575 std::string insensitive = "True"; HWTEST_F() local
1621 std::string insensitive = "False"; HWTEST_F() local
1663 std::string insensitive = "False"; HWTEST_F() local
1718 std::string insensitive = "False"; HWTEST_F() local
1760 std::string insensitive = "False"; HWTEST_F() local
[all...]

Completed in 8 milliseconds