Home
last modified time | relevance | path

Searched refs:DateTimeRule (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/base/global/i18n/frameworks/intl/entity_recognition/date_time_recognition/src/
H A Ddate_time_rule.cpp23 DateTimeRule::DateTimeRule(std::string& locale) in DateTimeRule() function in OHOS::Global::I18n::DateTimeRule
37 DateTimeRule::~DateTimeRule() in ~DateTimeRule()
49 void DateTimeRule::Init(std::string& locale) in Init()
65 std::string DateTimeRule::GetLocale() in GetLocale()
70 void DateTimeRule::RuleLevel() in RuleLevel()
91 void DateTimeRule::InitRules(std::string& xmlPath) in InitRules()
127 void DateTimeRule::InitRuleBackup(std::string& xmlPathBackup) in InitRuleBackup()
281 std::string DateTimeRule::GetWithoutB(const std::string& ruleName) in GetWithoutB()
304 std::string DateTimeRule::trim(const std::string& src) in trim()
315 int DateTimeRule::CompareLevel(std::string& key1, std::string& key2) in CompareLevel()
[all …]
H A Drules_engine.cpp27 RulesEngine::RulesEngine(DateTimeRule* dateTimeRule, RulesSet& rulesSet) in RulesEngine()
123 !DateTimeRule::CompareBeginEnd(paramValue, "]", false) && in InitRules()
124 !DateTimeRule::CompareBeginEnd(paramValue, "]\\b", false)) ? in InitRules()
128 if (DateTimeRule::trim(paramValue).length() != 0) { in InitRules()
170 } else if (DateTimeRule::trim(paramValue).length() != 0 && in InitOptRules()
171 DateTimeRule::trim(paramBackupValue).length() != 0) { in InitOptRules()
H A Ddate_rule_init.cpp23 dateTimeRule = new DateTimeRule(locale); in DateRuleInit()
H A Ddate_time_filter.cpp23 DateTimeFilter::DateTimeFilter(std::string& locale, DateTimeRule* dateTimeRule) in DateTimeFilter()
/ohos5.0/base/global/i18n/frameworks/intl/test/fuzztest/datetimerule_fuzzer/
H A Ddatetimerule_fuzzer.cpp35 DateTimeRule* dateTimeRule = new DateTimeRule(input); in DoSomethingInterestingWithMyAPI()
54 DateTimeRule::trim(input); in DoSomethingInterestingWithMyAPI()
55 DateTimeRule::CompareBeginEnd(input, input, false); in DoSomethingInterestingWithMyAPI()
/ohos5.0/base/global/i18n/frameworks/intl/test/fuzztest/rulesengine_fuzzer/
H A Drulesengine_fuzzer.cpp39 DateTimeRule* dateTimeRule = new DateTimeRule(input); in DoSomethingInterestingWithMyAPI()
/ohos5.0/base/global/i18n/frameworks/intl/entity_recognition/date_time_recognition/include/
H A Ddate_time_rule.h31 class DateTimeRule {
33 DateTimeRule(std::string& locale);
34 ~DateTimeRule();
H A Drules_engine.h49 RulesEngine(DateTimeRule* dateTimeRule, RulesSet& rulesSet);
58 DateTimeRule* dateTimeRule = nullptr;
H A Ddate_time_filter.h30 DateTimeFilter(std::string& locale, DateTimeRule* dateTimeRule);
77 DateTimeRule* dateTimeRule;
H A Ddate_rule_init.h46 DateTimeRule* dateTimeRule;
/ohos5.0/base/global/i18n/frameworks/intl/test/fuzztest/datetimefilter_fuzzer/
H A Ddatetimefilter_fuzzer.cpp33 DateTimeRule* dateTimeRule = new DateTimeRule(input); in DoSomethingTestWithMyAPI()
/ohos5.0/base/global/i18n/frameworks/intl/test/unittest/
H A Dintl_test_extent.cpp540 DateTimeRule* dateTimeRule = new DateTimeRule(localeRule);
1049 DateTimeRule* dateTimeRule = nullptr;