Home
last modified time | relevance | path

Searched refs:output_pattern (Results 1 – 6 of 6) sorted by relevance

/external/libtextclassifier/native/actions/
Dregex-actions.h65 std::unique_ptr<UniLib::RegexPattern> output_pattern; member
68 std::unique_ptr<UniLib::RegexPattern> output_pattern) in CompiledRule()
71 output_pattern(std::move(output_pattern)) {} in CompiledRule()
Dzlib-utils.cc54 if (!rule->output_pattern.empty()) { in CompressActionsModel()
56 zlib_compressor->Compress(rule->output_pattern, in CompressActionsModel()
58 rule->output_pattern.clear(); in CompressActionsModel()
118 rule->compressed_output_pattern.get(), &rule->output_pattern)) { in DecompressActionsModel()
Dregex-actions.cc111 if (rule->output_pattern() != nullptr || in InitializeRulesModel()
114 unilib_, rule->output_pattern(), rule->compressed_output_pattern(), in InitializeRulesModel()
146 if (rule.output_pattern != nullptr) { in IsLowConfidenceInput()
147 post_check_rules->push_back(rule.output_pattern.get()); in IsLowConfidenceInput()
Dzlib-utils_test.cc43 model.rules->regex_rule.back()->output_pattern = kTestOutputPattern; in TEST()
76 EXPECT_EQ(model.rules->regex_rule[1]->output_pattern, kTestOutputPattern); in TEST()
Dactions-suggestions_test.cc649 actions_model->low_confidence_rules->regex_rule.back()->output_pattern = in TEST_F()
712 preconditions.low_confidence_rules->regex_rule.back()->output_pattern = in TEST_F()
Dactions_model.fbs471 output_pattern:string (shared);