Home
last modified time | relevance | path

Searched refs:MakePattern (Results 1 – 3 of 3) sorted by relevance

/external/libtextclassifier/native/utils/testing/
Dannotator.cc36 std::unique_ptr<RegexModel_::PatternT> MakePattern( in MakePattern() function
56 std::unique_ptr<RegexModel_::PatternT> MakePattern( in MakePattern() function
60 return MakePattern(collection_name, pattern, enabled_for_classification, in MakePattern()
68 unpacked_model->regex_model->patterns.push_back(MakePattern( in AddTestRegexModel()
Dannotator.h54 std::unique_ptr<RegexModel_::PatternT> MakePattern(
61 std::unique_ptr<RegexModel_::PatternT> MakePattern(
/external/libtextclassifier/native/annotator/
Dannotator_test-include.cc259 unpacked_model->regex_model->patterns.push_back(MakePattern( in TEST_F()
262 unpacked_model->regex_model->patterns.push_back(MakePattern( in TEST_F()
266 MakePattern("payment_card", "\\d{4}(?: \\d{4}){3}", in TEST_F()
322 MakePattern("parcel_tracking", "((\\d{2})-00-\\d{6}-\\d{8})", in TEST_F()
465 unpacked_model->regex_model->patterns.push_back(MakePattern( in TEST_F()
469 unpacked_model->regex_model->patterns.push_back(MakePattern( in TEST_F()
511 unpacked_model->regex_model->patterns.push_back(MakePattern( in TEST_F()
515 unpacked_model->regex_model->patterns.push_back(MakePattern( in TEST_F()
560 unpacked_model->regex_model->patterns.push_back(MakePattern( in TEST_F()
563 unpacked_model->regex_model->patterns.push_back(MakePattern( in TEST_F()
[all …]