Searched refs:regex_rule (Results 1 – 6 of 6) sorted by relevance
39 model.rules->regex_rule.emplace_back(new RulesModel_::RegexRuleT); in TEST()40 model.rules->regex_rule.back()->pattern = kTestPattern1; in TEST()41 model.rules->regex_rule.emplace_back(new RulesModel_::RegexRuleT); in TEST()42 model.rules->regex_rule.back()->pattern = kTestPattern2; in TEST()43 model.rules->regex_rule.back()->output_pattern = kTestOutputPattern; in TEST()52 EXPECT_THAT(model.rules->regex_rule, in TEST()66 compressed_model->rules()->regex_rule()->Get(0)->compressed_pattern(), in TEST()70 compressed_model->rules()->regex_rule()->Get(1)->compressed_pattern(), in TEST()74 EXPECT_EQ(model.rules->regex_rule[0]->pattern, kTestPattern1); in TEST()75 EXPECT_EQ(model.rules->regex_rule[1]->pattern, kTestPattern2); in TEST()[all …]
36 for (int i = 0; i < model->rules->regex_rule.size(); i++) { in CompressActionsModel()37 RulesModel_::RegexRuleT* rule = model->rules->regex_rule[i].get(); in CompressActionsModel()45 for (int i = 0; i < model->low_confidence_rules->regex_rule.size(); i++) { in CompressActionsModel()47 model->low_confidence_rules->regex_rule[i].get(); in CompressActionsModel()96 for (int i = 0; i < model->rules->regex_rule.size(); i++) { in DecompressActionsModel()97 RulesModel_::RegexRuleT* rule = model->rules->regex_rule[i].get(); in DecompressActionsModel()109 for (int i = 0; i < model->low_confidence_rules->regex_rule.size(); i++) { in DecompressActionsModel()111 model->low_confidence_rules->regex_rule[i].get(); in DecompressActionsModel()
604 actions_model->low_confidence_rules->regex_rule.emplace_back( in TEST_F()606 actions_model->low_confidence_rules->regex_rule.back()->pattern = in TEST_F()619 actions_model->rules->regex_rule.emplace_back(new RulesModel_::RegexRuleT); in TEST_F()620 RulesModel_::RegexRuleT* rule = actions_model->rules->regex_rule.back().get(); in TEST_F()646 actions_model->low_confidence_rules->regex_rule.emplace_back( in TEST_F()648 actions_model->low_confidence_rules->regex_rule.back()->pattern = "hello"; in TEST_F()649 actions_model->low_confidence_rules->regex_rule.back()->output_pattern = in TEST_F()680 actions_model->rules->regex_rule.emplace_back(new RulesModel_::RegexRuleT); in TEST_F()681 RulesModel_::RegexRuleT* rule = actions_model->rules->regex_rule.back().get(); in TEST_F()709 preconditions.low_confidence_rules->regex_rule.emplace_back( in TEST_F()[all …]
96 if (rules->regex_rule() == nullptr) { in InitializeRulesModel()99 for (const RulesModel_::RegexRule* rule : *rules->regex_rule()) { in InitializeRulesModel()
503 regex_rule:[RulesModel_.RegexRule];
470 for (const int regex_rule : nonterminal.regex_rules) { in Finalize() local471 rules.AddRegex(nonterminal_ids[i], regex_rules_[regex_rule]); in Finalize()