Home
last modified time | relevance | path

Searched refs:matcher (Results 1 – 25 of 29) sorted by relevance

12

/ohos5.0/base/global/i18n/frameworks/intl/entity_recognition/date_time_recognition/src/
H A Drules_engine.cpp60 icu::RegexMatcher* matcher = pattern->matcher(message, status); in Match() local
61 if (matcher == nullptr) { in Match()
72 delete matcher; in Match()
109 icu::RegexMatcher* matcher = pattern->matcher(rules, status); in InitRules() local
110 if (matcher == nullptr) { in InitRules()
132 delete matcher; in InitRules()
153 icu::RegexMatcher* matcher = pattern->matcher(matchedStr, status); in InitOptRules() local
154 if (matcher == nullptr) { in InitOptRules()
183 delete matcher; in InitOptRules()
200 icu::RegexMatcher* matcher = pattern->matcher(matchedStr, status); in InitSubRules() local
[all …]
H A Ddate_time_filter.cpp305 icu::RegexMatcher* matcher = pattern->matcher(joiner, status); in FilterDateTime() local
323 delete matcher; in FilterDateTime()
358 icu::RegexMatcher* matcher = pattern->matcher(matchContent, status); in FilterPeriod() local
373 delete matcher; in FilterPeriod()
438 icu::RegexMatcher* matcher = pattern->matcher(endStr, status); in DealBrackets() local
439 if (matcher == nullptr) { in DealBrackets()
444 if (matcher->find(status)) { in DealBrackets()
448 delete matcher; in DealBrackets()
517 icu::RegexMatcher* matcher = pattern->matcher(endStr, status); in GetResult() local
522 icu::UnicodeString str = matcher->find(status) ? matcher->group(1, status) : ""; in GetResult()
[all …]
/ohos5.0/base/global/i18n/frameworks/intl/entity_recognition/phone_number_recognition/src/
H A Dpositive_rule.cpp127 MatchedNumberInfo matcher; in HandleDefault() local
128 matcher.SetBegin(0); in HandleDefault()
129 matcher.SetEnd(1); in HandleDefault()
131 matcher.SetContent(content); in HandleDefault()
140 MatchedNumberInfo matcher; in HandleOperator() local
161 icu::RegexMatcher* matcher = pattern->matcher(number, status); in HandleBlank() local
168 if (matcher != nullptr && matcher->find()) { in HandleBlank()
181 delete matcher; in HandleBlank()
193 icu::RegexMatcher* matcher = pattern->matcher(number, status); in HandleSlant() local
195 if (matcher != nullptr && matcher->find()) { in HandleSlant()
[all …]
H A Dregex_rule.cpp317 MatchedNumberInfo matcher; in HandleDefault() local
318 matcher.SetBegin(0); in HandleDefault()
319 matcher.SetEnd(1); in HandleDefault()
321 matcher.SetContent(content); in HandleDefault()
329 MatchedNumberInfo matcher; in HandleOperator() local
350 icu::RegexMatcher* matcher = pattern->matcher(number, status); in HandleBlank() local
357 if (matcher != nullptr && matcher->find()) { in HandleBlank()
370 delete matcher; in HandleBlank()
382 icu::RegexMatcher* matcher = pattern->matcher(number, status); in HandleSlant() local
384 if (matcher != nullptr && matcher->find()) { in HandleSlant()
[all …]
H A Dnegative_rule.cpp57 icu::RegexMatcher* matcher = pattern->matcher(ret, status); in Handle() local
58 while (matcher != nullptr && matcher->find(status)) { in Handle()
59 int start = matcher->start(status); in Handle()
60 int end = matcher->end(status); in Handle()
63 delete matcher; in Handle()
H A Dphone_number_matched.cpp143 icu::RegexMatcher* shortMatch = shortPattern->matcher(message, status); in FindShortNumbers()
162 MatchedNumberInfo matcher; in FindShortNumbers() local
163 matcher.SetBegin(shortMatch->start(status)); in FindShortNumbers()
164 matcher.SetEnd(shortMatch->end(status)); in FindShortNumbers()
166 matcher.SetContent(stringShort); in FindShortNumbers()
167 matchedNumberInfoList.push_back(matcher); in FindShortNumbers()
215 icu::RegexMatcher* numberMatcher = numberPattern->matcher(filteredString, status); in FindNumbers()
276 icu::RegexMatcher* matcher = pattern->matcher(str, status); in HandleWithShortAndShort() local
277 if (matcher == nullptr) { in HandleWithShortAndShort()
282 if (!matcher->find(status)) { in HandleWithShortAndShort()
[all …]
H A Dborder_rule.cpp70 icu::RegexMatcher* mat = pattern->matcher(borderStr, status); in Handle()
/ohos5.0/drivers/peripheral/user_auth/test/unittest/co_auth/
H A Dpool_test.cpp169 constexpr uint64_t matcher = 245485; variable
173 SetExecutorConditionExecutorMatcher(&condition, matcher);
175 executorInfo.executorMatcher = matcher;
194 uint32_t matcher = 1245; variable
195 EXPECT_EQ(QueryCollecterMatcher(authType1, executorSensorHint, &matcher), RESULT_NOT_FOUND);
213 EXPECT_EQ(QueryCollecterMatcher(1, 20, &matcher), RESULT_SUCCESS);
/ohos5.0/base/sensors/miscdevice/services/miscdevice_service/src/
H A Dvibrator_thread.cpp155 auto &matcher = CustomVibrationMatcher::GetInstance(); in PlayCustomByCompositeEffect() local
159 int32_t ret = matcher.TransformEffect(info.package, hdfCompositeEffect.compositeEffects); in PlayCustomByCompositeEffect()
166 int32_t ret = matcher.TransformTime(info.package, hdfCompositeEffect.compositeEffects); in PlayCustomByCompositeEffect()
/ohos5.0/base/global/i18n_lite/tools/i18n-dat-tool/src/main/java/ohos/global/i18n/
H A DDataFetcher.java139 Matcher matcher = RE_LANGUAGE.matcher(line); in processWildcard() local
140 if (matcher.matches()) { // special treatment to wildcard language-* in processWildcard()
141 String baseName = matcher.group(1); in processWildcard()
/ohos5.0/drivers/interface/user_auth/v1_2/
H A DUserAuthTypes.idl127 /**< Executor matcher. */
163 /**< Executor matcher. */
273 /**< Executor matcher. */
320 /**< Executor matcher. */
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/user_auth_v1_2/foo/user_auth/v1_2/
H A DUserAuthTypes.idl127 /**< Executor matcher. */
163 /**< Executor matcher. */
273 /**< Executor matcher. */
320 /**< Executor matcher. */
/ohos5.0/drivers/peripheral/user_auth/hdi_service/coauth/src/
H A Dpool.c298 ResultCode QueryCollecterMatcher(uint32_t authType, uint32_t executorSensorHint, uint32_t *matcher) in QueryCollecterMatcher() argument
304 if (matcher == NULL) { in QueryCollecterMatcher()
322 *matcher = executorInfo->executorMatcher; in QueryCollecterMatcher()
/ohos5.0/drivers/interface/user_auth/v1_0/
H A DUserAuthTypes.idl127 /**< Executor matcher. */
163 /**< Executor matcher. */
269 /**< Executor matcher. */
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/user_auth_v1_0/foo/user_auth/v1_0/
H A DUserAuthTypes.idl127 /**< Executor matcher. */
163 /**< Executor matcher. */
269 /**< Executor matcher. */
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/user_auth_v1_1/foo/user_auth/v1_0/
H A DUserAuthTypes.idl127 /**< Executor matcher. */
163 /**< Executor matcher. */
269 /**< Executor matcher. */
/ohos5.0/drivers/peripheral/user_auth/test/unittest/user_auth_test/
H A Dcontext_manager_test.cpp36 uint32_t *sensorHint, uint32_t *matcher, uint32_t *acl);
157 uint32_t matcher = 0; variable
159 EXPECT_EQ(QueryAuthTempletaInfo(&context, &array, &hint, &matcher, &acl), RESULT_UNKNOWN);
/ohos5.0/drivers/peripheral/user_auth/hdi_service/coauth/inc/
H A Dpool.h74 ResultCode QueryCollecterMatcher(uint32_t authType, uint32_t executorSensorHint, uint32_t *matcher);
/ohos5.0/drivers/interface/user_auth/v2_0/
H A DUserAuthTypes.idl181 /**< Executor matcher. */
282 /**< Executor matcher. */
333 /**< Executor matcher. */
/ohos5.0/drivers/interface/user_auth/v3_0/
H A DUserAuthTypes.idl187 /**< Executor matcher. */
290 /**< Executor matcher. */
343 /**< Executor matcher. */
/ohos5.0/drivers/interface/user_auth/v1_1/
H A DUserAuthTypes.idl53 /**< Executor matcher. */
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/user_auth_v1_1/foo/user_auth/v1_1/
H A DUserAuthTypes.idl53 /**< Executor matcher. */
/ohos5.0/docs/zh-cn/contribute/
H A DOpenHarmony-Java-secure-coding-guide.md1828 Matcher matcher = REGEX_PATTER.matcher(args[0]);
1829 if (matcher.matches()) {
1847 Matcher matcher = REGEX_PATTER.matcher(args[0]);
1848 if (matcher.matches()) {
/ohos5.0/drivers/peripheral/user_auth/hdi_service/user_auth/src/
H A Dcontext_manager.c349 uint32_t *sensorHint, uint32_t *matcher, uint32_t *acl) in QueryAuthTempletaInfo() argument
376 *matcher = credentialHal->executorMatcher; in QueryAuthTempletaInfo()
/ohos5.0/drivers/interface/pin_auth/v2_0/
H A DPinAuthTypes.idl102 /**< Indicates the executor matcher. */

12