rule 96 chrome/browser/chromeos/net/onc_utils.cc std::string rule; rule 97 chrome/browser/chromeos/net/onc_utils.cc (*it)->GetAsString(&rule); rule 98 chrome/browser/chromeos/net/onc_utils.cc rules.AddRuleFromString(rule); rule 203 chrome/browser/content_settings/content_settings_origin_identifier_value_map_unittest.cc content_settings::Rule rule = rule_iterator->Next(); rule 204 chrome/browser/content_settings/content_settings_origin_identifier_value_map_unittest.cc EXPECT_EQ(sub_pattern, rule.primary_pattern); rule 205 chrome/browser/content_settings/content_settings_origin_identifier_value_map_unittest.cc EXPECT_EQ(2, content_settings::ValueToContentSetting(rule.value.get())); rule 208 chrome/browser/content_settings/content_settings_origin_identifier_value_map_unittest.cc rule = rule_iterator->Next(); rule 209 chrome/browser/content_settings/content_settings_origin_identifier_value_map_unittest.cc EXPECT_EQ(pattern, rule.primary_pattern); rule 210 chrome/browser/content_settings/content_settings_origin_identifier_value_map_unittest.cc EXPECT_EQ(1, content_settings::ValueToContentSetting(rule.value.get())); rule 72 chrome/browser/content_settings/content_settings_policy_provider_unittest.cc Rule rule = rule_iterator->Next(); rule 75 chrome/browser/content_settings/content_settings_policy_provider_unittest.cc EXPECT_EQ(ContentSettingsPattern::Wildcard(), rule.primary_pattern); rule 76 chrome/browser/content_settings/content_settings_policy_provider_unittest.cc EXPECT_EQ(ContentSettingsPattern::Wildcard(), rule.secondary_pattern); rule 77 chrome/browser/content_settings/content_settings_policy_provider_unittest.cc EXPECT_EQ(CONTENT_SETTING_BLOCK, ValueToContentSetting(rule.value.get())); rule 96 chrome/browser/content_settings/content_settings_policy_provider_unittest.cc Rule rule = rule_iterator->Next(); rule 99 chrome/browser/content_settings/content_settings_policy_provider_unittest.cc EXPECT_EQ(ContentSettingsPattern::Wildcard(), rule.primary_pattern); rule 100 chrome/browser/content_settings/content_settings_policy_provider_unittest.cc EXPECT_EQ(ContentSettingsPattern::Wildcard(), rule.secondary_pattern); rule 101 chrome/browser/content_settings/content_settings_policy_provider_unittest.cc EXPECT_EQ(CONTENT_SETTING_BLOCK, ValueToContentSetting(rule.value.get())); rule 315 chrome/browser/content_settings/content_settings_pref_provider.cc const content_settings::Rule& rule = rule_iterator->Next(); rule 316 chrome/browser/content_settings/content_settings_pref_provider.cc DCHECK(rule.primary_pattern != ContentSettingsPattern::Wildcard()); rule 317 chrome/browser/content_settings/content_settings_pref_provider.cc if (!rule.value.get()) rule 319 chrome/browser/content_settings/content_settings_pref_provider.cc rules_to_delete.push_back(rule); rule 30 chrome/browser/content_settings/content_settings_rule_unittest.cc Rule rule = rules_.front(); rule 32 chrome/browser/content_settings/content_settings_rule_unittest.cc return rule; rule 62 chrome/browser/content_settings/content_settings_rule_unittest.cc Rule rule; rule 64 chrome/browser/content_settings/content_settings_rule_unittest.cc rule = concatenation_iterator.Next(); rule 65 chrome/browser/content_settings/content_settings_rule_unittest.cc EXPECT_EQ(rule.primary_pattern, ContentSettingsPattern::FromString("a")); rule 68 chrome/browser/content_settings/content_settings_rule_unittest.cc rule = concatenation_iterator.Next(); rule 69 chrome/browser/content_settings/content_settings_rule_unittest.cc EXPECT_EQ(rule.primary_pattern, ContentSettingsPattern::FromString("b")); rule 72 chrome/browser/content_settings/content_settings_rule_unittest.cc rule = concatenation_iterator.Next(); rule 73 chrome/browser/content_settings/content_settings_rule_unittest.cc EXPECT_EQ(rule.primary_pattern, ContentSettingsPattern::FromString("c")); rule 76 chrome/browser/content_settings/content_settings_rule_unittest.cc rule = concatenation_iterator.Next(); rule 77 chrome/browser/content_settings/content_settings_rule_unittest.cc EXPECT_EQ(rule.primary_pattern, ContentSettingsPattern::FromString("d")); rule 161 chrome/browser/content_settings/content_settings_utils.cc const Rule& rule = rule_iterator->Next(); rule 162 chrome/browser/content_settings/content_settings_utils.cc if (rule.primary_pattern.Matches(primary_url) && rule 163 chrome/browser/content_settings/content_settings_utils.cc rule.secondary_pattern.Matches(secondary_url)) { rule 165 chrome/browser/content_settings/content_settings_utils.cc *primary_pattern = rule.primary_pattern; rule 167 chrome/browser/content_settings/content_settings_utils.cc *secondary_pattern = rule.secondary_pattern; rule 168 chrome/browser/content_settings/content_settings_utils.cc return rule.value.get()->DeepCopy(); rule 173 chrome/browser/content_settings/host_content_settings_map.cc content_settings::Rule rule = rule_iterator->Next(); rule 174 chrome/browser/content_settings/host_content_settings_map.cc if (rule.primary_pattern == wildcard && rule 175 chrome/browser/content_settings/host_content_settings_map.cc rule.secondary_pattern == wildcard) { rule 176 chrome/browser/content_settings/host_content_settings_map.cc return content_settings::ValueToContentSetting(rule.value.get()); rule 512 chrome/browser/content_settings/host_content_settings_map.cc const content_settings::Rule& rule = rule_iterator->Next(); rule 519 chrome/browser/content_settings/host_content_settings_map.cc rule.value.get() && rule 520 chrome/browser/content_settings/host_content_settings_map.cc rule.primary_pattern != ContentSettingsPattern::Wildcard()) { rule 523 chrome/browser/content_settings/host_content_settings_map.cc setting_value = content_settings::ValueToContentSetting(rule.value.get()); rule 526 chrome/browser/content_settings/host_content_settings_map.cc rule.primary_pattern, rule.secondary_pattern, rule 261 chrome/browser/extensions/api/content_settings/content_settings_store.cc const Rule& rule = rule_iterator->Next(); rule 264 chrome/browser/extensions/api/content_settings/content_settings_store.cc rule.primary_pattern.ToString()); rule 266 chrome/browser/extensions/api/content_settings/content_settings_store.cc rule.secondary_pattern.ToString()); rule 272 chrome/browser/extensions/api/content_settings/content_settings_store.cc ContentSetting content_setting = ValueToContentSetting(rule.value.get()); rule 20 chrome/browser/extensions/api/content_settings/content_settings_store_unittest.cc void CheckRule(const content_settings::Rule& rule, rule 24 chrome/browser/extensions/api/content_settings/content_settings_store_unittest.cc EXPECT_EQ(primary_pattern.ToString(), rule.primary_pattern.ToString()); rule 25 chrome/browser/extensions/api/content_settings/content_settings_store_unittest.cc EXPECT_EQ(secondary_pattern.ToString(), rule.secondary_pattern.ToString()); rule 26 chrome/browser/extensions/api/content_settings/content_settings_store_unittest.cc EXPECT_EQ(setting, content_settings::ValueToContentSetting(rule.value.get())); rule 222 chrome/browser/extensions/api/declarative/declarative_rule.h linked_ptr<JsonRule> rule, rule 435 chrome/browser/extensions/api/declarative/declarative_rule.h linked_ptr<JsonRule> rule, rule 441 chrome/browser/extensions/api/declarative/declarative_rule.h extension, url_matcher_condition_factory, rule->conditions, error); rule 448 chrome/browser/extensions/api/declarative/declarative_rule.h ActionSet::Create(extension, rule->actions, error, &bad_message); rule 466 chrome/browser/extensions/api/declarative/declarative_rule.h CHECK(rule->priority.get()); rule 467 chrome/browser/extensions/api/declarative/declarative_rule.h int priority = *(rule->priority); rule 469 chrome/browser/extensions/api/declarative/declarative_rule.h GlobalRuleId rule_id(extension->id(), *(rule->id)); rule 470 chrome/browser/extensions/api/declarative/declarative_rule.h Tags tags = rule->tags ? *rule->tags : Tags(); rule 337 chrome/browser/extensions/api/declarative/declarative_rule_unittest.cc scoped_ptr<Rule> rule(Rule::Create(matcher.condition_factory(), rule 344 chrome/browser/extensions/api/declarative/declarative_rule_unittest.cc ASSERT_TRUE(rule.get()); rule 346 chrome/browser/extensions/api/declarative/declarative_rule_unittest.cc EXPECT_EQ(kExtensionId, rule->id().first); rule 347 chrome/browser/extensions/api/declarative/declarative_rule_unittest.cc EXPECT_EQ("rule1", rule->id().second); rule 349 chrome/browser/extensions/api/declarative/declarative_rule_unittest.cc EXPECT_EQ(200, rule->priority()); rule 351 chrome/browser/extensions/api/declarative/declarative_rule_unittest.cc const Rule::ConditionSet& condition_set = rule->conditions(); rule 358 chrome/browser/extensions/api/declarative/declarative_rule_unittest.cc const Rule::ActionSet& action_set = rule->actions(); rule 364 chrome/browser/extensions/api/declarative/declarative_rule_unittest.cc rule->Apply(&sum); rule 405 chrome/browser/extensions/api/declarative/declarative_rule_unittest.cc scoped_ptr<Rule> rule(Rule::Create(matcher.condition_factory(), rule 411 chrome/browser/extensions/api/declarative/declarative_rule_unittest.cc EXPECT_TRUE(rule); rule 427 chrome/browser/extensions/api/declarative/declarative_rule_unittest.cc rule = Rule::Create(matcher.condition_factory(), rule 433 chrome/browser/extensions/api/declarative/declarative_rule_unittest.cc EXPECT_FALSE(rule); rule 56 chrome/browser/extensions/api/declarative/rules_registry.cc linked_ptr<extensions::RulesRegistry::Rule> rule( rule 58 chrome/browser/extensions/api/declarative/rules_registry.cc if (extensions::RulesRegistry::Rule::Populate(*dict, rule.get())) rule 59 chrome/browser/extensions/api/declarative/rules_registry.cc rules.push_back(rule); rule 335 chrome/browser/extensions/api/declarative/rules_registry.cc Rule* rule = i->get(); rule 336 chrome/browser/extensions/api/declarative/rules_registry.cc if (rule->id.get()) { rule 337 chrome/browser/extensions/api/declarative/rules_registry.cc std::string id = *(rule->id); rule 350 chrome/browser/extensions/api/declarative/rules_registry.cc Rule* rule = i->get(); rule 351 chrome/browser/extensions/api/declarative/rules_registry.cc if (!rule->id.get()) { rule 352 chrome/browser/extensions/api/declarative/rules_registry.cc rule->id.reset(new std::string(GenerateUniqueId(extension_id))); rule 353 chrome/browser/extensions/api/declarative/rules_registry.cc used_rule_identifiers_[extension_id].insert(*(rule->id)); rule 131 chrome/browser/extensions/api/declarative_content/content_rules_registry.cc ContentRule* rule = rule_iter->second; rule 132 chrome/browser/extensions/api/declarative_content/content_rules_registry.cc if (rule->conditions().IsFulfilled(*url_match, renderer_data)) rule 133 chrome/browser/extensions/api/declarative_content/content_rules_registry.cc result.insert(rule); rule 152 chrome/browser/extensions/api/declarative_content/content_rules_registry.cc for (std::vector<linked_ptr<RulesRegistry::Rule> >::const_iterator rule = rule 153 chrome/browser/extensions/api/declarative_content/content_rules_registry.cc rules.begin(); rule != rules.end(); ++rule) { rule 154 chrome/browser/extensions/api/declarative_content/content_rules_registry.cc ContentRule::GlobalRuleId rule_id(extension_id, *(*rule)->id); rule 161 chrome/browser/extensions/api/declarative_content/content_rules_registry.cc *rule, rule 219 chrome/browser/extensions/api/declarative_content/content_rules_registry.cc ContentRule* rule = content_rules_entry->second.get(); rule 220 chrome/browser/extensions/api/declarative_content/content_rules_registry.cc rule->conditions().GetURLMatcherConditionSets(&condition_sets); rule 231 chrome/browser/extensions/api/declarative_content/content_rules_registry.cc if (ContainsKey(it->second, rule)) { rule 240 chrome/browser/extensions/api/declarative_content/content_rules_registry.cc rule->actions().Revert(rule->extension_id(), base::Time(), &apply_info); rule 241 chrome/browser/extensions/api/declarative_content/content_rules_registry.cc it->second.erase(rule); rule 275 chrome/browser/extensions/api/declarative_content/content_rules_registry.cc ContentRule& rule = *i->second; rule 277 chrome/browser/extensions/api/declarative_content/content_rules_registry.cc condition = rule.conditions().begin(); rule 278 chrome/browser/extensions/api/declarative_content/content_rules_registry.cc condition != rule.conditions().end(); ++condition) { rule 52 chrome/browser/extensions/api/declarative_content/content_rules_registry_unittest.cc linked_ptr<RulesRegistry::Rule> rule(new RulesRegistry::Rule); rule 67 chrome/browser/extensions/api/declarative_content/content_rules_registry_unittest.cc rule.get()); rule 69 chrome/browser/extensions/api/declarative_content/content_rules_registry_unittest.cc rules.push_back(rule); rule 125 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc const WebRequestRule* rule = rule 127 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc CHECK(rule); rule 135 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc if (!rule->tags().empty() && !ignore_tags[extension_id].empty()) { rule 137 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc const WebRequestRule::Tags& tags = rule->tags(); rule 152 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc rule->Apply(&apply_info); rule 156 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc rule->GetMinimumPriority()); rule 178 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc for (std::vector<linked_ptr<RulesRegistry::Rule> >::const_iterator rule = rule 179 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc rules.begin(); rule != rules.end(); ++rule) { rule 180 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc const WebRequestRule::RuleId& rule_id(*(*rule)->id); rule 185 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc extension, extension_installation_time, *rule, rule 293 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc const WebRequestRule* rule, rule 296 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc rule->conditions().GetURLMatcherConditionSets(&condition_sets); rule 303 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc rules_with_untriggered_conditions_.erase(rule); rule 162 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.h void CleanUpAfterRule(const WebRequestRule* rule, rule 123 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc linked_ptr<RulesRegistry::Rule> rule(new RulesRegistry::Rule); rule 124 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc rule->id.reset(new std::string(kRuleId1)); rule 125 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc rule->priority.reset(new int(100)); rule 126 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc rule->actions.push_back(linked_ptr<base::Value>(action_dict.DeepCopy())); rule 127 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc rule->conditions.push_back( rule 129 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc rule->conditions.push_back( rule 131 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc return rule; rule 142 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc linked_ptr<RulesRegistry::Rule> rule(new RulesRegistry::Rule); rule 143 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc rule->id.reset(new std::string(kRuleId2)); rule 144 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc rule->priority.reset(new int(100)); rule 145 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc rule->actions.push_back(linked_ptr<base::Value>(action_dict.DeepCopy())); rule 146 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc rule->conditions.push_back( rule 148 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc return rule; rule 160 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc linked_ptr<RulesRegistry::Rule> rule(new RulesRegistry::Rule); rule 161 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc rule->id.reset(new std::string(kRuleId3)); rule 162 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc rule->priority.reset(new int(100)); rule 163 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc rule->actions.push_back(linked_ptr<base::Value>(action_dict.DeepCopy())); rule 164 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc rule->conditions.push_back( rule 166 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc return rule; rule 182 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc linked_ptr<RulesRegistry::Rule> rule(new RulesRegistry::Rule); rule 183 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc rule->id.reset(new std::string(kRuleId4)); rule 184 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc rule->priority.reset(new int(200)); rule 185 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc rule->actions.push_back(linked_ptr<base::Value>(action_dict.DeepCopy())); rule 186 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc rule->conditions.push_back( rule 188 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc return rule; rule 213 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc linked_ptr<RulesRegistry::Rule> rule(new RulesRegistry::Rule); rule 214 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc rule->id.reset(new std::string(rule_id)); rule 215 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc rule->priority.reset(new int(1)); rule 216 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc rule->actions.push_back(linked_ptr<base::Value>(action_dict.DeepCopy())); rule 220 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc rule->conditions.push_back(CreateCondition(**it)); rule 221 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc return rule; rule 696 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc RulesRegistry::Rule rule; rule 697 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc ASSERT_TRUE(RulesRegistry::Rule::Populate(*value, &rule)); rule 703 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc NULL, matcher.condition_factory(), rule.conditions, &error); rule 709 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc WebRequestActionSet::Create(NULL, rule.actions, &error, &bad_message); rule 530 chrome/browser/omnibox/omnibox_field_trial.cc const std::string& rule, rule 543 chrome/browser/omnibox/omnibox_field_trial.cc rule + ":" + page_classification_str + ":" + instant_extended); rule 547 chrome/browser/omnibox/omnibox_field_trial.cc it = params.find(rule + ":*:" + instant_extended); rule 551 chrome/browser/omnibox/omnibox_field_trial.cc it = params.find(rule + ":" + page_classification_str + ":*"); rule 555 chrome/browser/omnibox/omnibox_field_trial.cc it = params.find(rule + ":*:*"); rule 339 chrome/browser/omnibox/omnibox_field_trial.h const std::string& rule, rule 54 chrome/browser/omnibox/omnibox_field_trial_unittest.cc const std::string& rule, rule 77 chrome/browser/omnibox/omnibox_field_trial_unittest.cc const std::string& rule, rule 81 chrome/browser/omnibox/omnibox_field_trial_unittest.cc rule, page_classification)); rule 230 chrome/browser/omnibox/omnibox_field_trial_unittest.cc const std::string rule(OmniboxFieldTrial::kUndemotableTopTypeRule); rule 231 chrome/browser/omnibox/omnibox_field_trial_unittest.cc params[rule + ":1:*"] = "1,3"; rule 232 chrome/browser/omnibox/omnibox_field_trial_unittest.cc params[rule + ":3:*"] = "5"; rule 233 chrome/browser/omnibox/omnibox_field_trial_unittest.cc params[rule + ":*:*"] = "2"; rule 655 chrome/browser/safe_browsing/client_side_detection_service.cc for (int j = 0; j < model.rule(i).feature_size(); ++j) { rule 656 chrome/browser/safe_browsing/client_side_detection_service.cc if (model.rule(i).feature(j) < 0 || rule 657 chrome/browser/safe_browsing/client_side_detection_service.cc model.rule(i).feature(j) > max_index) { rule 617 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc ClientSideModel::Rule* rule = model.add_rule(); rule 618 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc rule->add_feature(0); rule 619 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc rule->add_feature(1); rule 620 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc rule->set_weight(0.1f); rule 623 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc rule = model.add_rule(); rule 624 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc rule->add_feature(0); rule 625 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc rule->add_feature(1); rule 626 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc rule->add_feature(-1); rule 627 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc rule->set_weight(0.2f); rule 630 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc rule->set_feature(2, 2); rule 633 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc rule->set_feature(2, 1); rule 80 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc ClientSideModel::Rule* rule = model.add_rule(); rule 81 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc rule->set_weight(-1.0); rule 86 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc rule = model.add_rule(); rule 87 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc rule->add_feature(0); rule 88 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc rule->add_feature(1); rule 89 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc rule->add_feature(2); rule 90 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc rule->set_weight(1.0); rule 81 chrome/renderer/safe_browsing/scorer.cc logodds += ComputeRuleScore(model_.rule(i), features); rule 106 chrome/renderer/safe_browsing/scorer.cc double Scorer::ComputeRuleScore(const ClientSideModel::Rule& rule, rule 110 chrome/renderer/safe_browsing/scorer.cc for (int i = 0; i < rule.feature_size(); ++i) { rule 112 chrome/renderer/safe_browsing/scorer.cc model_.hashes(rule.feature(i))); rule 121 chrome/renderer/safe_browsing/scorer.cc return rule_score * rule.weight(); rule 73 chrome/renderer/safe_browsing/scorer.h double ComputeRuleScore(const ClientSideModel::Rule& rule, rule 34 chrome/renderer/safe_browsing/scorer_unittest.cc ClientSideModel::Rule* rule; rule 35 chrome/renderer/safe_browsing/scorer_unittest.cc rule = model_.add_rule(); rule 36 chrome/renderer/safe_browsing/scorer_unittest.cc rule->set_weight(0.5); rule 38 chrome/renderer/safe_browsing/scorer_unittest.cc rule = model_.add_rule(); rule 39 chrome/renderer/safe_browsing/scorer_unittest.cc rule->add_feature(0); // feature1 rule 40 chrome/renderer/safe_browsing/scorer_unittest.cc rule->set_weight(2.0); rule 42 chrome/renderer/safe_browsing/scorer_unittest.cc rule = model_.add_rule(); rule 43 chrome/renderer/safe_browsing/scorer_unittest.cc rule->add_feature(0); // feature1 rule 44 chrome/renderer/safe_browsing/scorer_unittest.cc rule->add_feature(1); // feature2 rule 45 chrome/renderer/safe_browsing/scorer_unittest.cc rule->set_weight(3.0); rule 320 chrome/renderer/spellchecker/spellcheck_worditerator.cc base::string16 rule(attribute->GetRuleSet(allow_contraction)); rule 323 chrome/renderer/spellchecker/spellcheck_worditerator.cc if (rule.empty()) rule 326 chrome/renderer/spellchecker/spellcheck_worditerator.cc iterator_ = ubrk_openRules(rule.c_str(), rule.length(), NULL, 0, rule 185 chrome/tools/convert_dict/aff_reader.cc int AffReader::AddAffixGroup(std::string* rule) { rule 186 chrome/tools/convert_dict/aff_reader.cc TrimLine(rule); rule 191 chrome/tools/convert_dict/aff_reader.cc affix_groups_.insert(std::make_pair(*rule, affix_id)); rule 195 chrome/tools/convert_dict/aff_reader.cc void AffReader::AddAffix(std::string* rule) { rule 196 chrome/tools/convert_dict/aff_reader.cc TrimLine(rule); rule 197 chrome/tools/convert_dict/aff_reader.cc CollapseDuplicateSpaces(rule); rule 211 chrome/tools/convert_dict/aff_reader.cc for (size_t i = 0; i < rule->length(); i++) { rule 212 chrome/tools/convert_dict/aff_reader.cc if ((*rule)[i] == ' ') { rule 223 chrome/tools/convert_dict/aff_reader.cc part = rule->substr(part_start); // From here to end. rule 288 chrome/tools/convert_dict/aff_reader.cc *rule = rule->substr(0, part_start) + reencoded; rule 293 chrome/tools/convert_dict/aff_reader.cc token.push_back((*rule)[i]); rule 297 chrome/tools/convert_dict/aff_reader.cc affix_rules_.push_back(*rule); rule 300 chrome/tools/convert_dict/aff_reader.cc void AffReader::AddReplacement(std::string* rule) { rule 301 chrome/tools/convert_dict/aff_reader.cc TrimLine(rule); rule 302 chrome/tools/convert_dict/aff_reader.cc CollapseDuplicateSpaces(rule); rule 305 chrome/tools/convert_dict/aff_reader.cc if (!EncodingToUTF8(*rule, &utf8rule)) rule 306 chrome/tools/convert_dict/aff_reader.cc Panic("Cannot encode replacement rule '%s' to utf8.", rule->c_str()); rule 64 chrome/tools/convert_dict/aff_reader.h int AddAffixGroup(std::string* rule); // Returns the new affix group ID. rule 65 chrome/tools/convert_dict/aff_reader.h void AddAffix(std::string* rule); // SFX/PFX rule 66 chrome/tools/convert_dict/aff_reader.h void AddReplacement(std::string* rule); rule 151 extensions/common/features/base_feature_provider_unittest.cc scoped_ptr<base::DictionaryValue> rule( rule 165 extensions/common/features/base_feature_provider_unittest.cc new BaseFeatureProvider(*rule, NULL)); rule 53 extensions/common/features/complex_feature_unittest.cc scoped_ptr<base::DictionaryValue> rule( rule 58 extensions/common/features/complex_feature_unittest.cc simple_feature->Parse(rule.get()); rule 63 extensions/common/features/complex_feature_unittest.cc rule = DictionaryBuilder() rule 67 extensions/common/features/complex_feature_unittest.cc simple_feature->Parse(rule.get()); rule 108 extensions/common/features/complex_feature_unittest.cc scoped_ptr<base::DictionaryValue> rule( rule 112 extensions/common/features/complex_feature_unittest.cc simple_feature->Parse(rule.get()); rule 117 extensions/common/features/complex_feature_unittest.cc rule = DictionaryBuilder() rule 121 extensions/common/features/complex_feature_unittest.cc simple_feature->Parse(rule.get()); rule 36 net/base/host_mapping_rules.cc const ExclusionRule& rule = *it; rule 37 net/base/host_mapping_rules.cc if (MatchPattern(host_port->host(), rule.hostname_pattern)) rule 44 net/base/host_mapping_rules.cc const MapRule& rule = *it; rule 53 net/base/host_mapping_rules.cc if (!MatchPattern(host_port->host(), rule.hostname_pattern)) { rule 55 net/base/host_mapping_rules.cc if (!MatchPattern(host_port_string, rule.hostname_pattern)) rule 59 net/base/host_mapping_rules.cc host_port->set_host(rule.replacement_hostname); rule 60 net/base/host_mapping_rules.cc if (rule.replacement_port != -1) rule 61 net/base/host_mapping_rules.cc host_port->set_port(rule.replacement_port); rule 76 net/base/host_mapping_rules.cc ExclusionRule rule; rule 77 net/base/host_mapping_rules.cc rule.hostname_pattern = StringToLowerASCII(parts[1]); rule 78 net/base/host_mapping_rules.cc exclusion_rules_.push_back(rule); rule 84 net/base/host_mapping_rules.cc MapRule rule; rule 85 net/base/host_mapping_rules.cc rule.hostname_pattern = StringToLowerASCII(parts[1]); rule 87 net/base/host_mapping_rules.cc if (!ParseHostAndPort(parts[2], &rule.replacement_hostname, rule 88 net/base/host_mapping_rules.cc &rule.replacement_port)) { rule 92 net/base/host_mapping_rules.cc map_rules_.push_back(rule); rule 109 net/base/registry_controlled_domains/registry_controlled_domain.cc const DomainRule* rule = g_find_domain_function(domain_str, domain_length); rule 116 net/base/registry_controlled_domains/registry_controlled_domain.cc if (rule) { rule 117 net/base/registry_controlled_domains/registry_controlled_domain.cc bool do_check = !(rule->type & kPrivateRule) || rule 120 net/base/registry_controlled_domains/registry_controlled_domain.cc g_stringpool + rule->name_offset, rule 124 net/base/registry_controlled_domains/registry_controlled_domain.cc if (rule->type & kWildcardRule && (prev_start != std::string::npos)) { rule 131 net/base/registry_controlled_domains/registry_controlled_domain.cc if (rule->type & kExceptionRule) { rule 79 net/cert/mock_cert_verifier.cc Rule rule(cert, host_pattern, verify_result, rv); rule 80 net/cert/mock_cert_verifier.cc rules_.push_back(rule); rule 263 net/dns/mock_host_resolver.cc Rule rule(Rule::kResolverTypeSystem, rule 270 net/dns/mock_host_resolver.cc rules_.push_back(rule); rule 285 net/dns/mock_host_resolver.cc Rule rule(Rule::kResolverTypeIPLiteral, host_pattern, rule 288 net/dns/mock_host_resolver.cc rules_.push_back(rule); rule 298 net/dns/mock_host_resolver.cc Rule rule(Rule::kResolverTypeSystem, rule 305 net/dns/mock_host_resolver.cc rules_.push_back(rule); rule 312 net/dns/mock_host_resolver.cc Rule rule(Rule::kResolverTypeSystem, rule 319 net/dns/mock_host_resolver.cc rules_.push_back(rule); rule 326 net/dns/mock_host_resolver.cc Rule rule(Rule::kResolverTypeFail, rule 333 net/dns/mock_host_resolver.cc rules_.push_back(rule); rule 151 net/proxy/proxy_bypass_rules.cc bool ProxyBypassRules::Rule::Equals(const Rule& rule) const { rule 152 net/proxy/proxy_bypass_rules.cc return ToString() == rule.ToString(); rule 226 net/proxy/proxy_bypass_rules.cc for (RuleList::const_iterator rule(rules_.begin()); rule 227 net/proxy/proxy_bypass_rules.cc rule != rules_.end(); rule 228 net/proxy/proxy_bypass_rules.cc ++rule) { rule 229 net/proxy/proxy_bypass_rules.cc result += (*rule)->ToString(); rule 37 net/proxy/proxy_bypass_rules.h bool Equals(const Rule& rule) const; rule 59 net/proxy/proxy_script_decider_unittest.cc Rule rule(GURL(url), OK /*fetch_error*/, true); rule 60 net/proxy/proxy_script_decider_unittest.cc rules_.push_back(rule); rule 61 net/proxy/proxy_script_decider_unittest.cc return rule; rule 111 net/proxy/proxy_script_decider_unittest.cc const Rules::Rule& rule = rules_->GetRuleByUrl(url); rule 112 net/proxy/proxy_script_decider_unittest.cc int rv = rule.fetch_error; rule 115 net/proxy/proxy_script_decider_unittest.cc *text = rule.text(); rule 188 net/proxy/proxy_script_decider_unittest.cc Rules::Rule rule = rules.AddSuccessRule("http://custom/proxy.pac"); rule 195 net/proxy/proxy_script_decider_unittest.cc EXPECT_EQ(rule.text(), decider.script_data()->utf16()); rule 295 net/proxy/proxy_script_decider_unittest.cc Rules::Rule rule = rules.AddSuccessRule("http://wpad/wpad.dat"); rule 301 net/proxy/proxy_script_decider_unittest.cc EXPECT_EQ(rule.text(), decider.script_data()->utf16()); rule 304 net/proxy/proxy_script_decider_unittest.cc EXPECT_EQ(rule.url, decider.effective_config().pac_url()); rule 422 net/proxy/proxy_script_decider_unittest.cc Rules::Rule rule = rules_.AddSuccessRule(kCustomUrl); rule 428 net/proxy/proxy_script_decider_unittest.cc EXPECT_EQ(rule.url, decider_->effective_config().pac_url()); rule 442 net/proxy/proxy_script_decider_unittest.cc Rules::Rule rule = rules.AddSuccessRule("http://custom/proxy.pac"); rule 448 net/proxy/proxy_script_decider_unittest.cc EXPECT_EQ(rule.text(), decider.script_data()->utf16()); rule 451 net/proxy/proxy_script_decider_unittest.cc EXPECT_EQ(rule.url, decider.effective_config().pac_url()); rule 467 net/proxy/proxy_script_decider_unittest.cc Rules::Rule rule = rules.AddSuccessRule("http://custom/proxy.pac"); rule 475 net/proxy/proxy_script_decider_unittest.cc EXPECT_EQ(rule.text(), decider.script_data()->utf16()); rule 75 net/tools/tld_cleanup/tld_cleanup_util.cc NormalizeResult NormalizeRule(std::string* domain, Rule* rule) { rule 96 net/tools/tld_cleanup/tld_cleanup_util.cc rule->exception = true; rule 99 net/tools/tld_cleanup/tld_cleanup_util.cc rule->wildcard = true; rule 170 net/tools/tld_cleanup/tld_cleanup_util.cc Rule rule; rule 171 net/tools/tld_cleanup/tld_cleanup_util.cc rule.wildcard = false; rule 172 net/tools/tld_cleanup/tld_cleanup_util.cc rule.exception = false; rule 173 net/tools/tld_cleanup/tld_cleanup_util.cc rule.is_private = is_private; rule 174 net/tools/tld_cleanup/tld_cleanup_util.cc NormalizeResult new_result = NormalizeRule(&domain, &rule); rule 183 net/tools/tld_cleanup/tld_cleanup_util.cc (*rules)[domain] = rule; rule 37 sandbox/win/src/policy_low_level.cc bool LowLevelPolicy::AddRule(int service, PolicyRule* rule) { rule 38 sandbox/win/src/policy_low_level.cc if (!rule->Done()) { rule 42 sandbox/win/src/policy_low_level.cc PolicyRule* local_rule = new PolicyRule(*rule); rule 52 sandbox/win/src/policy_low_level.cc delete it->rule; rule 70 sandbox/win/src/policy_low_level.cc mmap[it->service].push_back(it->rule); rule 91 sandbox/win/src/policy_low_level.cc const PolicyRule* rule = (*rules_it); rule 92 sandbox/win/src/policy_low_level.cc size_t op_count = rule->GetOpcodeCount(); rule 100 sandbox/win/src/policy_low_level.cc if (!rule->RebindCopy(opcodes_start, opcodes_size, rule 95 sandbox/win/src/policy_low_level.h bool AddRule(int service, PolicyRule* rule); rule 103 sandbox/win/src/policy_low_level.h const PolicyRule* rule; rule 1178 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int num_rules = rule.len; rule 1180 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh (this+rule[i]).closure (c, lookup_context); rule 1186 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int num_rules = rule.len; rule 1188 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh (this+rule[i]).collect_glyphs (c, lookup_context); rule 1194 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int num_rules = rule.len; rule 1197 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh if ((this+rule[i]).would_apply (c, lookup_context)) rule 1206 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int num_rules = rule.len; rule 1209 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh if ((this+rule[i]).apply (c, lookup_context)) rule 1217 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh return TRACE_RETURN (rule.sanitize (c, this)); rule 1222 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh rule; /* Array of Rule tables rule 1225 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh DEFINE_SIZE_ARRAY (2, rule); rule 1742 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int num_rules = rule.len; rule 1744 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh (this+rule[i]).closure (c, lookup_context); rule 1750 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int num_rules = rule.len; rule 1752 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh (this+rule[i]).collect_glyphs (c, lookup_context); rule 1758 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int num_rules = rule.len; rule 1760 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh if ((this+rule[i]).would_apply (c, lookup_context)) rule 1769 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh unsigned int num_rules = rule.len; rule 1771 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh if ((this+rule[i]).apply (c, lookup_context)) rule 1779 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh return TRACE_RETURN (rule.sanitize (c, this)); rule 1784 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh rule; /* Array of ChainRule tables rule 1787 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh DEFINE_SIZE_ARRAY (2, rule); rule 13 third_party/libaddressinput/chromium/chrome_rule_test.cc i18n::addressinput::Rule rule; rule 14 third_party/libaddressinput/chromium/chrome_rule_test.cc ASSERT_TRUE(rule.ParseSerializedRule(base::WideToUTF8( rule 18 third_party/libaddressinput/chromium/chrome_rule_test.cc EXPECT_EQ(4U, rule.GetSubKeys().size()); rule 54 third_party/libaddressinput/chromium/chrome_rule_test.cc rule.CanonicalizeSubKey(input, &output)) rule 65 third_party/libaddressinput/chromium/cpp/src/address_data.cc Rule rule; rule 66 third_party/libaddressinput/chromium/cpp/src/address_data.cc rule.CopyFrom(Rule::GetDefault()); rule 67 third_party/libaddressinput/chromium/cpp/src/address_data.cc rule.ParseSerializedRule(RegionDataConstants::GetRegionData(country_code)); rule 73 third_party/libaddressinput/chromium/cpp/src/address_data.cc rule.GetLatinFormat().empty() || rule 76 third_party/libaddressinput/chromium/cpp/src/address_data.cc NormalizeLanguageCode(rule.GetLanguage()) rule 77 third_party/libaddressinput/chromium/cpp/src/address_data.cc ? rule.GetFormat() : rule.GetLatinFormat(); rule 79 third_party/libaddressinput/chromium/cpp/src/address_ui.cc std::string GetComponentsLanguageCode(const Rule& rule, rule 83 third_party/libaddressinput/chromium/cpp/src/address_ui.cc if (!rule.GetLanguage().empty()) { rule 84 third_party/libaddressinput/chromium/cpp/src/address_ui.cc default_language_code = rule.GetLanguage(); rule 85 third_party/libaddressinput/chromium/cpp/src/address_ui.cc } else if (!rule.GetLanguages().empty()) { rule 86 third_party/libaddressinput/chromium/cpp/src/address_ui.cc default_language_code = rule.GetLanguages()[0]; rule 87 third_party/libaddressinput/chromium/cpp/src/address_ui.cc } else if (!rule.GetInputLanguages().empty()) { rule 88 third_party/libaddressinput/chromium/cpp/src/address_ui.cc default_language_code = rule.GetInputLanguages()[0]; rule 109 third_party/libaddressinput/chromium/cpp/src/address_ui.cc rule.GetLanguages().begin(), rule 110 third_party/libaddressinput/chromium/cpp/src/address_ui.cc rule.GetLanguages().end(), rule 111 third_party/libaddressinput/chromium/cpp/src/address_ui.cc ui_language_code) != rule.GetLanguages().end() || rule 113 third_party/libaddressinput/chromium/cpp/src/address_ui.cc rule.GetLanguages().begin(), rule 114 third_party/libaddressinput/chromium/cpp/src/address_ui.cc rule.GetLanguages().end(), rule 115 third_party/libaddressinput/chromium/cpp/src/address_ui.cc normalized_ui_language_code) != rule.GetLanguages().end() || rule 117 third_party/libaddressinput/chromium/cpp/src/address_ui.cc rule.GetInputLanguages().begin(), rule 118 third_party/libaddressinput/chromium/cpp/src/address_ui.cc rule.GetInputLanguages().end(), rule 119 third_party/libaddressinput/chromium/cpp/src/address_ui.cc ui_language_code) != rule.GetInputLanguages().end() || rule 121 third_party/libaddressinput/chromium/cpp/src/address_ui.cc rule.GetInputLanguages().begin(), rule 122 third_party/libaddressinput/chromium/cpp/src/address_ui.cc rule.GetInputLanguages().end(), rule 123 third_party/libaddressinput/chromium/cpp/src/address_ui.cc normalized_ui_language_code) != rule.GetInputLanguages().end()) { rule 128 third_party/libaddressinput/chromium/cpp/src/address_ui.cc return rule.GetLatinFormat().empty() rule 145 third_party/libaddressinput/chromium/cpp/src/address_ui.cc Rule rule; rule 146 third_party/libaddressinput/chromium/cpp/src/address_ui.cc rule.CopyFrom(Rule::GetDefault()); rule 147 third_party/libaddressinput/chromium/cpp/src/address_ui.cc if (!rule.ParseSerializedRule( rule 154 third_party/libaddressinput/chromium/cpp/src/address_ui.cc GetComponentsLanguageCode(rule, ui_language_code); rule 165 third_party/libaddressinput/chromium/cpp/src/address_ui.cc rule.GetLatinFormat().empty() || rule 168 third_party/libaddressinput/chromium/cpp/src/address_ui.cc NormalizeLanguageCode(rule.GetLanguage()) rule 169 third_party/libaddressinput/chromium/cpp/src/address_ui.cc ? rule.GetFormat() : rule.GetLatinFormat(); rule 202 third_party/libaddressinput/chromium/cpp/src/address_ui.cc rule.GetAdminAreaNameMessageId(), rule 203 third_party/libaddressinput/chromium/cpp/src/address_ui.cc rule.GetPostalCodeNameMessageId()); rule 212 third_party/libaddressinput/chromium/cpp/src/address_ui.cc Rule rule; rule 213 third_party/libaddressinput/chromium/cpp/src/address_ui.cc rule.CopyFrom(Rule::GetDefault()); rule 214 third_party/libaddressinput/chromium/cpp/src/address_ui.cc if (!rule.ParseSerializedRule( rule 219 third_party/libaddressinput/chromium/cpp/src/address_ui.cc return rule.GetRequired(); rule 175 third_party/libaddressinput/chromium/cpp/src/address_validator.cc Rule rule; rule 176 third_party/libaddressinput/chromium/cpp/src/address_validator.cc rule.CopyFrom(Rule::GetDefault()); rule 177 third_party/libaddressinput/chromium/cpp/src/address_validator.cc if (rule.ParseSerializedRule( rule 179 third_party/libaddressinput/chromium/cpp/src/address_validator.cc EnforceRequiredFields(rule, address, filter, problems); rule 214 third_party/libaddressinput/chromium/cpp/src/address_validator.cc const Rule& rule = ruleset->GetLanguageCodeRule(address.language_code); rule 223 third_party/libaddressinput/chromium/cpp/src/address_validator.cc !rule.CanonicalizeSubKey(user_input, &sub_key)) { rule 234 third_party/libaddressinput/chromium/cpp/src/address_validator.cc !rule.GetPostalCodeFormat().empty() && rule 239 third_party/libaddressinput/chromium/cpp/src/address_validator.cc address.postal_code, rule.GetPostalCodeFormat())) { rule 375 third_party/libaddressinput/chromium/cpp/src/address_validator.cc const Rule& rule = ruleset.GetLanguageCodeRule(user_input.language_code); rule 381 third_party/libaddressinput/chromium/cpp/src/address_validator.cc !rule.GetPostalCodeFormat().empty() && rule 383 third_party/libaddressinput/chromium/cpp/src/address_validator.cc user_input.postal_code, rule.GetPostalCodeFormat())) { rule 400 third_party/libaddressinput/chromium/cpp/src/address_validator.cc !rule.GetLatinName().empty() && rule 442 third_party/libaddressinput/chromium/cpp/src/address_validator.cc const Rule& rule = rule 445 third_party/libaddressinput/chromium/cpp/src/address_validator.cc return rule.CanonicalizeSubKey(address_data->administrative_area, rule 88 third_party/libaddressinput/chromium/cpp/src/country_rules_aggregator.cc scoped_ptr<Rule> rule = ParseRule(key, field); rule 89 third_party/libaddressinput/chromium/cpp/src/country_rules_aggregator.cc if (rule == NULL) { rule 97 third_party/libaddressinput/chromium/cpp/src/country_rules_aggregator.cc non_default_languages_ = rule->GetLanguages(); rule 101 third_party/libaddressinput/chromium/cpp/src/country_rules_aggregator.cc rule->GetLanguage()); rule 107 third_party/libaddressinput/chromium/cpp/src/country_rules_aggregator.cc scoped_ptr<Ruleset> ruleset(new Ruleset(field, rule.Pass())); rule 130 third_party/libaddressinput/chromium/cpp/src/country_rules_aggregator.cc ruleset->rule().GetSubKeys().size()) { rule 138 third_party/libaddressinput/chromium/cpp/src/country_rules_aggregator.cc for (size_t i = 0; i < ruleset->rule().GetSubKeys().size(); ++i) { rule 139 third_party/libaddressinput/chromium/cpp/src/country_rules_aggregator.cc const std::string& subkey = key + "/" + ruleset->rule().GetSubKeys()[i]; rule 153 third_party/libaddressinput/chromium/cpp/src/country_rules_aggregator.cc subkey_it = ruleset->rule().GetSubKeys().begin(); rule 154 third_party/libaddressinput/chromium/cpp/src/country_rules_aggregator.cc subkey_it != ruleset->rule().GetSubKeys().end(); ++subkey_it) { rule 177 third_party/libaddressinput/chromium/cpp/src/country_rules_aggregator.cc scoped_ptr<Rule> rule(new Rule); rule 179 third_party/libaddressinput/chromium/cpp/src/country_rules_aggregator.cc rule->CopyFrom(Rule::GetDefault()); rule 181 third_party/libaddressinput/chromium/cpp/src/country_rules_aggregator.cc rule->ParseJsonRule(*value); rule 182 third_party/libaddressinput/chromium/cpp/src/country_rules_aggregator.cc return rule.Pass(); rule 249 third_party/libaddressinput/chromium/cpp/src/rule.cc void Rule::CopyFrom(const Rule& rule) { rule 250 third_party/libaddressinput/chromium/cpp/src/rule.cc key_ = rule.key_; rule 251 third_party/libaddressinput/chromium/cpp/src/rule.cc name_ = rule.name_; rule 252 third_party/libaddressinput/chromium/cpp/src/rule.cc latin_name_ = rule.latin_name_; rule 253 third_party/libaddressinput/chromium/cpp/src/rule.cc format_ = rule.format_; rule 254 third_party/libaddressinput/chromium/cpp/src/rule.cc latin_format_ = rule.latin_format_; rule 255 third_party/libaddressinput/chromium/cpp/src/rule.cc required_ = rule.required_; rule 256 third_party/libaddressinput/chromium/cpp/src/rule.cc sub_keys_ = rule.sub_keys_; rule 257 third_party/libaddressinput/chromium/cpp/src/rule.cc languages_ = rule.languages_; rule 258 third_party/libaddressinput/chromium/cpp/src/rule.cc input_languages_ = rule.input_languages_; rule 259 third_party/libaddressinput/chromium/cpp/src/rule.cc language_ = rule.language_; rule 260 third_party/libaddressinput/chromium/cpp/src/rule.cc sub_keys_ = rule.sub_keys_; rule 261 third_party/libaddressinput/chromium/cpp/src/rule.cc sub_names_ = rule.sub_names_; rule 262 third_party/libaddressinput/chromium/cpp/src/rule.cc sub_lnames_ = rule.sub_lnames_; rule 263 third_party/libaddressinput/chromium/cpp/src/rule.cc postal_code_format_ = rule.postal_code_format_; rule 264 third_party/libaddressinput/chromium/cpp/src/rule.cc admin_area_name_message_id_ = rule.admin_area_name_message_id_; rule 265 third_party/libaddressinput/chromium/cpp/src/rule.cc invalid_admin_area_message_id_ = rule.invalid_admin_area_message_id_; rule 266 third_party/libaddressinput/chromium/cpp/src/rule.cc postal_code_name_message_id_ = rule.postal_code_name_message_id_; rule 267 third_party/libaddressinput/chromium/cpp/src/rule.cc invalid_postal_code_message_id_ = rule.invalid_postal_code_message_id_; rule 82 third_party/libaddressinput/chromium/cpp/src/rule.h void CopyFrom(const Rule& rule); rule 34 third_party/libaddressinput/chromium/cpp/src/ruleset.cc Ruleset::Ruleset(AddressField field, scoped_ptr<Rule> rule) rule 40 third_party/libaddressinput/chromium/cpp/src/ruleset.cc rule_(rule.Pass()), rule 91 third_party/libaddressinput/chromium/cpp/src/ruleset.cc scoped_ptr<Rule> rule) { rule 93 third_party/libaddressinput/chromium/cpp/src/ruleset.cc assert(rule != NULL); rule 94 third_party/libaddressinput/chromium/cpp/src/ruleset.cc language_codes_[language_code] = rule.release(); rule 207 third_party/libaddressinput/chromium/cpp/src/ruleset.cc const Rule& rule = ruleset->GetLanguageCodeRule(language_code); rule 238 third_party/libaddressinput/chromium/cpp/src/ruleset.cc if (!rule.GetKey().empty()) { rule 240 third_party/libaddressinput/chromium/cpp/src/ruleset.cc canonicalizer_->CanonicalizeString(rule.GetKey()), ruleset); rule 243 third_party/libaddressinput/chromium/cpp/src/ruleset.cc if (!rule.GetName().empty()) { rule 245 third_party/libaddressinput/chromium/cpp/src/ruleset.cc canonicalizer_->CanonicalizeString(rule.GetName()), ruleset); rule 248 third_party/libaddressinput/chromium/cpp/src/ruleset.cc if (!rule.GetLatinName().empty()) { rule 250 third_party/libaddressinput/chromium/cpp/src/ruleset.cc canonicalizer_->CanonicalizeString(rule.GetLatinName()), ruleset); rule 52 third_party/libaddressinput/chromium/cpp/src/ruleset.h Ruleset(AddressField field, scoped_ptr<Rule> rule); rule 66 third_party/libaddressinput/chromium/cpp/src/ruleset.h const Rule& rule() const { return *rule_; } rule 82 third_party/libaddressinput/chromium/cpp/src/ruleset.h scoped_ptr<Rule> rule); rule 88 third_party/libaddressinput/chromium/cpp/test/country_rules_aggregator_test.cc const std::vector<std::string>& sub_keys = ruleset_->rule().GetSubKeys(); rule 95 third_party/libaddressinput/chromium/cpp/test/country_rules_aggregator_test.cc ruleset_->rule().GetLanguages(); rule 99 third_party/libaddressinput/chromium/cpp/test/country_rules_aggregator_test.cc ruleset_->rule().GetLanguage()); rule 109 third_party/libaddressinput/chromium/cpp/test/country_rules_aggregator_test.cc ruleset_->rule().GetLanguage()); rule 55 third_party/libaddressinput/chromium/cpp/test/rule_test.cc Rule rule; rule 56 third_party/libaddressinput/chromium/cpp/test/rule_test.cc ASSERT_TRUE(rule.ParseSerializedRule( rule 69 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_NE(rule.GetFormat(), copy.GetFormat()); rule 70 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_NE(rule.GetRequired(), copy.GetRequired()); rule 71 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_NE(rule.GetSubKeys(), copy.GetSubKeys()); rule 72 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_NE(rule.GetLanguages(), copy.GetLanguages()); rule 73 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_NE(rule.GetLanguage(), copy.GetLanguage()); rule 74 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_NE(rule.GetPostalCodeFormat(), copy.GetPostalCodeFormat()); rule 75 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_NE(rule.GetAdminAreaNameMessageId(), rule 77 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_NE(rule.GetInvalidAdminAreaMessageId(), rule 79 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_NE(rule.GetPostalCodeNameMessageId(), rule 81 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_NE(rule.GetInvalidPostalCodeMessageId(), rule 84 third_party/libaddressinput/chromium/cpp/test/rule_test.cc copy.CopyFrom(rule); rule 85 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_EQ(rule.GetFormat(), copy.GetFormat()); rule 86 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_EQ(rule.GetRequired(), copy.GetRequired()); rule 87 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_EQ(rule.GetSubKeys(), copy.GetSubKeys()); rule 88 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_EQ(rule.GetLanguages(), copy.GetLanguages()); rule 89 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_EQ(rule.GetLanguage(), copy.GetLanguage()); rule 90 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_EQ(rule.GetPostalCodeFormat(), copy.GetPostalCodeFormat()); rule 91 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_EQ(rule.GetAdminAreaNameMessageId(), rule 93 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_EQ(rule.GetInvalidAdminAreaMessageId(), rule 95 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_EQ(rule.GetPostalCodeNameMessageId(), rule 97 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_EQ(rule.GetInvalidPostalCodeMessageId(), rule 102 third_party/libaddressinput/chromium/cpp/test/rule_test.cc Rule rule; rule 103 third_party/libaddressinput/chromium/cpp/test/rule_test.cc ASSERT_TRUE(rule.ParseSerializedRule( rule 114 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_FALSE(IsFormatEmpty(rule.GetFormat())); rule 115 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_FALSE(rule.GetRequired().empty()); rule 116 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_FALSE(rule.GetSubKeys().empty()); rule 117 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_FALSE(rule.GetLanguages().empty()); rule 118 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_FALSE(rule.GetLanguage().empty()); rule 119 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_FALSE(rule.GetPostalCodeFormat().empty()); rule 121 third_party/libaddressinput/chromium/cpp/test/rule_test.cc rule.GetAdminAreaNameMessageId()); rule 123 third_party/libaddressinput/chromium/cpp/test/rule_test.cc rule.GetInvalidAdminAreaMessageId()); rule 125 third_party/libaddressinput/chromium/cpp/test/rule_test.cc rule.GetPostalCodeNameMessageId()); rule 127 third_party/libaddressinput/chromium/cpp/test/rule_test.cc rule.GetInvalidPostalCodeMessageId()); rule 129 third_party/libaddressinput/chromium/cpp/test/rule_test.cc ASSERT_TRUE(rule.ParseSerializedRule( rule 140 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_TRUE(IsFormatEmpty(rule.GetFormat())); rule 141 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_TRUE(rule.GetRequired().empty()); rule 142 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_TRUE(rule.GetSubKeys().empty()); rule 143 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_TRUE(rule.GetLanguages().empty()); rule 144 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_TRUE(rule.GetLanguage().empty()); rule 145 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_TRUE(rule.GetPostalCodeFormat().empty()); rule 147 third_party/libaddressinput/chromium/cpp/test/rule_test.cc rule.GetAdminAreaNameMessageId()); rule 149 third_party/libaddressinput/chromium/cpp/test/rule_test.cc rule.GetInvalidAdminAreaMessageId()); rule 151 third_party/libaddressinput/chromium/cpp/test/rule_test.cc rule.GetPostalCodeNameMessageId()); rule 153 third_party/libaddressinput/chromium/cpp/test/rule_test.cc rule.GetInvalidPostalCodeMessageId()); rule 157 third_party/libaddressinput/chromium/cpp/test/rule_test.cc Rule rule; rule 158 third_party/libaddressinput/chromium/cpp/test/rule_test.cc ASSERT_TRUE(rule.ParseSerializedRule( rule 171 third_party/libaddressinput/chromium/cpp/test/rule_test.cc copy.CopyFrom(rule); rule 174 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_EQ(rule.GetFormat(), copy.GetFormat()); rule 175 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_EQ(rule.GetRequired(), copy.GetRequired()); rule 176 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_EQ(rule.GetSubKeys(), copy.GetSubKeys()); rule 177 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_EQ(rule.GetLanguages(), copy.GetLanguages()); rule 178 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_EQ(rule.GetLanguage(), copy.GetLanguage()); rule 179 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_EQ(rule.GetPostalCodeFormat(), copy.GetPostalCodeFormat()); rule 180 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_EQ(rule.GetAdminAreaNameMessageId(), rule 182 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_EQ(rule.GetInvalidAdminAreaMessageId(), rule 184 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_EQ(rule.GetPostalCodeNameMessageId(), rule 186 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_EQ(rule.GetInvalidPostalCodeMessageId(), rule 191 third_party/libaddressinput/chromium/cpp/test/rule_test.cc Rule rule; rule 193 third_party/libaddressinput/chromium/cpp/test/rule_test.cc rule.ParseSerializedRule("{\"fmt\":\"%O%n%N%n%A%nAX-%Z %C%nĂ…LAND\"}")); rule 210 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_EQ(expected_format, rule.GetFormat()); rule 214 third_party/libaddressinput/chromium/cpp/test/rule_test.cc Rule rule; rule 215 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_TRUE(rule.ParseSerializedRule("{\"fmt\":\"%%R\"}")); rule 219 third_party/libaddressinput/chromium/cpp/test/rule_test.cc Rule rule; rule 220 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_TRUE(rule.ParseSerializedRule("{\"fmt\":\"%n%n\"}")); rule 224 third_party/libaddressinput/chromium/cpp/test/rule_test.cc Rule rule; rule 225 third_party/libaddressinput/chromium/cpp/test/rule_test.cc ASSERT_TRUE(rule.ParseSerializedRule("{\"fmt\":\"R\"}")); rule 229 third_party/libaddressinput/chromium/cpp/test/rule_test.cc Rule rule; rule 230 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_TRUE(rule.ParseSerializedRule("{\"fmt\":\"%R%R\"}")); rule 234 third_party/libaddressinput/chromium/cpp/test/rule_test.cc Rule rule; rule 235 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_TRUE(rule.ParseSerializedRule("{\"fmt\":\"%K%L\"}")); rule 239 third_party/libaddressinput/chromium/cpp/test/rule_test.cc Rule rule; rule 240 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_TRUE(rule.ParseSerializedRule("{\"fmt\":\"%\"}")); rule 244 third_party/libaddressinput/chromium/cpp/test/rule_test.cc Rule rule; rule 245 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_TRUE(rule.ParseSerializedRule("{\"fmt\":\"\"}")); rule 249 third_party/libaddressinput/chromium/cpp/test/rule_test.cc Rule rule; rule 250 third_party/libaddressinput/chromium/cpp/test/rule_test.cc ASSERT_TRUE(rule.ParseSerializedRule("{\"require\":\"ONAZC\"}")); rule 257 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_EQ(expected, rule.GetRequired()); rule 261 third_party/libaddressinput/chromium/cpp/test/rule_test.cc Rule rule; rule 262 third_party/libaddressinput/chromium/cpp/test/rule_test.cc ASSERT_TRUE(rule.ParseSerializedRule("{\"require\":\"\"}")); rule 263 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_TRUE(rule.GetRequired().empty()); rule 267 third_party/libaddressinput/chromium/cpp/test/rule_test.cc Rule rule; rule 268 third_party/libaddressinput/chromium/cpp/test/rule_test.cc ASSERT_TRUE(rule.ParseSerializedRule("{\"require\":\"garbage\"}")); rule 269 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_TRUE(rule.GetRequired().empty()); rule 273 third_party/libaddressinput/chromium/cpp/test/rule_test.cc Rule rule; rule 274 third_party/libaddressinput/chromium/cpp/test/rule_test.cc ASSERT_TRUE(rule.ParseSerializedRule("{\"require\":\"SSS\"}")); rule 275 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_EQ(std::vector<AddressField>(3, ADMIN_AREA), rule.GetRequired()); rule 279 third_party/libaddressinput/chromium/cpp/test/rule_test.cc Rule rule; rule 280 third_party/libaddressinput/chromium/cpp/test/rule_test.cc ASSERT_TRUE(rule.ParseSerializedRule("{\"sub_keys\":\"CA~NY~TX\"}")); rule 285 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_EQ(expected, rule.GetSubKeys()); rule 289 third_party/libaddressinput/chromium/cpp/test/rule_test.cc Rule rule; rule 290 third_party/libaddressinput/chromium/cpp/test/rule_test.cc ASSERT_TRUE(rule.ParseSerializedRule("{\"lang\":\"en\"}")); rule 291 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_EQ("en", rule.GetLanguage()); rule 295 third_party/libaddressinput/chromium/cpp/test/rule_test.cc Rule rule; rule 296 third_party/libaddressinput/chromium/cpp/test/rule_test.cc ASSERT_TRUE(rule.ParseSerializedRule("{\"languages\":\"de~fr~it\"}")); rule 301 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_EQ(expected, rule.GetLanguages()); rule 305 third_party/libaddressinput/chromium/cpp/test/rule_test.cc Rule rule; rule 306 third_party/libaddressinput/chromium/cpp/test/rule_test.cc ASSERT_TRUE(rule.ParseSerializedRule( rule 310 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_EQ("\\d{5}([ \\-]\\d{4})?", rule.GetPostalCodeFormat()); rule 314 third_party/libaddressinput/chromium/cpp/test/rule_test.cc Rule rule; rule 315 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_FALSE(rule.ParseSerializedRule(std::string())); rule 319 third_party/libaddressinput/chromium/cpp/test/rule_test.cc Rule rule; rule 320 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_TRUE(rule.ParseSerializedRule("{}")); rule 324 third_party/libaddressinput/chromium/cpp/test/rule_test.cc i18n::addressinput::Rule rule; rule 325 third_party/libaddressinput/chromium/cpp/test/rule_test.cc ASSERT_TRUE(rule.ParseSerializedRule( rule 329 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_EQ(3U, rule.GetSubKeys().size()); rule 332 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_TRUE(rule.CanonicalizeSubKey("BAR", &sub_key)); rule 336 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_TRUE(rule.CanonicalizeSubKey("Bartopolis", &sub_key)); rule 340 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_TRUE(rule.CanonicalizeSubKey("Bartopolis2", &sub_key)); rule 344 third_party/libaddressinput/chromium/cpp/test/rule_test.cc EXPECT_FALSE(rule.CanonicalizeSubKey("Beertopia", &sub_key)); rule 443 third_party/libaddressinput/chromium/cpp/test/rule_test.cc Rule rule; rule 449 third_party/libaddressinput/chromium/cpp/test/rule_test.cc ASSERT_TRUE(rule.ParseSerializedRule(region_data)); rule 452 third_party/libaddressinput/chromium/cpp/test/rule_test.cc line_it = rule.GetFormat().begin(); rule 453 third_party/libaddressinput/chromium/cpp/test/rule_test.cc line_it != rule.GetFormat().end(); rule 479 third_party/libaddressinput/chromium/cpp/test/rule_test.cc Rule rule; rule 485 third_party/libaddressinput/chromium/cpp/test/rule_test.cc ASSERT_TRUE(rule.ParseSerializedRule(region_data)); rule 487 third_party/libaddressinput/chromium/cpp/test/rule_test.cc line_it = rule.GetFormat().begin(); rule 488 third_party/libaddressinput/chromium/cpp/test/rule_test.cc line_it != rule.GetFormat().end(); rule 2566 third_party/liblouis/overrides/liblouis/compileTranslationTable.c TranslationTableRule *rule = NULL; rule 2734 third_party/liblouis/overrides/liblouis/compileTranslationTable.c rule = (TranslationTableRule *) & table->ruleArea[ruleOffset]; rule 2735 third_party/liblouis/overrides/liblouis/compileTranslationTable.c if (rule && rule->opcode == CTO_Grouping) rule 2772 third_party/liblouis/overrides/liblouis/compileTranslationTable.c rule = (TranslationTableRule *) & table->ruleArea[ruleOffset]; rule 2773 third_party/liblouis/overrides/liblouis/compileTranslationTable.c if (rule rule 2774 third_party/liblouis/overrides/liblouis/compileTranslationTable.c && (rule->opcode == CTO_SwapCc || rule->opcode == CTO_SwapCd rule 2775 third_party/liblouis/overrides/liblouis/compileTranslationTable.c || rule->opcode == CTO_SwapDd)) rule 2878 third_party/liblouis/overrides/liblouis/compileTranslationTable.c rule = (TranslationTableRule *) & table->ruleArea[ruleOffset]; rule 2879 third_party/liblouis/overrides/liblouis/compileTranslationTable.c if (rule rule 2880 third_party/liblouis/overrides/liblouis/compileTranslationTable.c && (rule->opcode == CTO_SwapCc || rule->opcode == CTO_SwapCd rule 2881 third_party/liblouis/overrides/liblouis/compileTranslationTable.c || rule->opcode == CTO_SwapDd)) rule 3050 third_party/liblouis/overrides/liblouis/compileTranslationTable.c rule = (TranslationTableRule *) & table->ruleArea[ruleOffset]; rule 3051 third_party/liblouis/overrides/liblouis/compileTranslationTable.c if (rule && rule->opcode == CTO_Grouping) rule 3075 third_party/liblouis/overrides/liblouis/compileTranslationTable.c rule = (TranslationTableRule *) & table->ruleArea[ruleOffset]; rule 3076 third_party/liblouis/overrides/liblouis/compileTranslationTable.c if (rule rule 3077 third_party/liblouis/overrides/liblouis/compileTranslationTable.c && (rule->opcode == CTO_SwapCc || rule->opcode == CTO_SwapCd rule 3078 third_party/liblouis/overrides/liblouis/compileTranslationTable.c || rule->opcode == CTO_SwapDd)) rule 3178 third_party/liblouis/overrides/liblouis/compileTranslationTable.c rule = (TranslationTableRule *) & table->ruleArea[ruleOffset]; rule 3179 third_party/liblouis/overrides/liblouis/compileTranslationTable.c if (rule && rule->opcode == CTO_Grouping) rule 3195 third_party/liblouis/overrides/liblouis/compileTranslationTable.c rule = (TranslationTableRule *) & table->ruleArea[ruleOffset]; rule 3196 third_party/liblouis/overrides/liblouis/compileTranslationTable.c if (rule rule 3197 third_party/liblouis/overrides/liblouis/compileTranslationTable.c && (rule->opcode == CTO_SwapCc || rule->opcode == CTO_SwapCd rule 3198 third_party/liblouis/overrides/liblouis/compileTranslationTable.c || rule->opcode == CTO_SwapDd)) rule 3291 third_party/liblouis/overrides/liblouis/compileTranslationTable.c TranslationTableOffset * rule) rule 3299 third_party/liblouis/overrides/liblouis/compileTranslationTable.c *rule = newRuleOffset; rule 4637 third_party/liblouis/overrides/liblouis/compileTranslationTable.c TranslationTableRule *rule; rule 4640 third_party/liblouis/overrides/liblouis/compileTranslationTable.c rule = (TranslationTableRule *) & table->ruleArea[*singleRule]; rule 4641 third_party/liblouis/overrides/liblouis/compileTranslationTable.c memcpy (dots.chars, &rule->charsdots[0], rule->dotslen * CHARSIZE); rule 4642 third_party/liblouis/overrides/liblouis/compileTranslationTable.c memcpy (&dots.chars[rule->dotslen], &rule->charsdots[0], rule 4643 third_party/liblouis/overrides/liblouis/compileTranslationTable.c rule->dotslen * CHARSIZE); rule 4644 third_party/liblouis/overrides/liblouis/compileTranslationTable.c dots.length = 2 * rule->dotslen; rule 270 third_party/libxml/src/relaxng.c xmlRelaxNGDefinePtr rule; /* the rule to satisfy */ rule 4356 third_party/libxml/src/relaxng.c groups[nbgroups]->rule = cur; rule 9264 third_party/libxml/src/relaxng.c if (partitions->groups[0]->rule->type == XML_RELAXNG_TEXT) rule 9267 third_party/libxml/src/relaxng.c rule); rule 9271 third_party/libxml/src/relaxng.c rule); rule 9388 third_party/libxml/src/relaxng.c ret = xmlRelaxNGValidateDefinition(ctxt, group->rule); rule 307 third_party/libxml/src/schematron.c xmlSchematronRulePtr rule, rule 313 third_party/libxml/src/schematron.c if ((ctxt == NULL) || (rule == NULL) || (node == NULL) || rule 341 third_party/libxml/src/schematron.c if (rule->tests == NULL) { rule 342 third_party/libxml/src/schematron.c rule->tests = ret; rule 344 third_party/libxml/src/schematron.c xmlSchematronTestPtr prev = rule->tests; rule 849 third_party/libxml/src/schematron.c xmlNodePtr rule) rule 859 third_party/libxml/src/schematron.c if ((ctxt == NULL) || (rule == NULL)) return; rule 861 third_party/libxml/src/schematron.c context = xmlGetNoNsProp(rule, BAD_CAST "context"); rule 863 third_party/libxml/src/schematron.c xmlSchematronPErr(ctxt, rule, rule 869 third_party/libxml/src/schematron.c xmlSchematronPErr(ctxt, rule, rule 877 third_party/libxml/src/schematron.c rule, context, NULL); rule 884 third_party/libxml/src/schematron.c cur = rule->children; rule 943 third_party/libxml/src/schematron.c xmlSchematronPErr(ctxt, rule, rule 1668 third_party/libxml/src/schematron.c xmlSchematronRulePtr rule; rule 1689 third_party/libxml/src/schematron.c rule = ctxt->schema->rules; rule 1690 third_party/libxml/src/schematron.c while (rule != NULL) { rule 1691 third_party/libxml/src/schematron.c if (xmlPatternMatch(rule->pattern, cur) == 1) { rule 1692 third_party/libxml/src/schematron.c test = rule->tests; rule 1694 third_party/libxml/src/schematron.c xmlSchematronRunTest(ctxt, test, instance, cur, (xmlSchematronPatternPtr)rule->pattern); rule 1698 third_party/libxml/src/schematron.c rule = rule->next; rule 1720 third_party/libxml/src/schematron.c rule = pattern->rules; rule 1721 third_party/libxml/src/schematron.c while (rule != NULL) { rule 1722 third_party/libxml/src/schematron.c if (xmlPatternMatch(rule->pattern, cur) == 1) { rule 1723 third_party/libxml/src/schematron.c test = rule->tests; rule 1729 third_party/libxml/src/schematron.c rule = rule->patnext; rule 71 third_party/sqlite/src/tool/lemon.c struct rule; rule 88 third_party/sqlite/src/tool/lemon.c struct config *Configlist_add(struct rule *, int); rule 89 third_party/sqlite/src/tool/lemon.c struct config *Configlist_addbasis(struct rule *, int); rule 167 third_party/sqlite/src/tool/lemon.c struct rule *rule; /* Linked list of rules of this (if an NT) */ rule 202 third_party/sqlite/src/tool/lemon.c struct rule *nextlhs; /* Next rule with the same LHS */ rule 203 third_party/sqlite/src/tool/lemon.c struct rule *next; /* Next rule in the global list */ rule 216 third_party/sqlite/src/tool/lemon.c struct rule *rp; /* The rule upon which the configuration is based */ rule 246 third_party/sqlite/src/tool/lemon.c struct rule *rp; /* The rule, if a reduce */ rule 279 third_party/sqlite/src/tool/lemon.c struct rule *rule; /* List of all rules */ rule 437 third_party/sqlite/src/tool/lemon.c newaction->x.rp = (struct rule *)arg; rule 660 third_party/sqlite/src/tool/lemon.c struct rule *rp; rule 661 third_party/sqlite/src/tool/lemon.c for(rp=xp->rule; rp; rp=rp->next){ rule 690 third_party/sqlite/src/tool/lemon.c struct rule *rp; rule 703 third_party/sqlite/src/tool/lemon.c for(rp=lemp->rule; rp; rp=rp->next){ rule 720 third_party/sqlite/src/tool/lemon.c for(rp=lemp->rule; rp; rp=rp->next){ rule 752 third_party/sqlite/src/tool/lemon.c struct rule *rp; rule 763 third_party/sqlite/src/tool/lemon.c symbol instead.",lemp->start,lemp->rule->lhs->name); rule 765 third_party/sqlite/src/tool/lemon.c sp = lemp->rule->lhs; rule 768 third_party/sqlite/src/tool/lemon.c sp = lemp->rule->lhs; rule 774 third_party/sqlite/src/tool/lemon.c for(rp=lemp->rule; rp; rp=rp->next){ rule 790 third_party/sqlite/src/tool/lemon.c for(rp=sp->rule; rp; rp=rp->nextlhs){ rule 998 third_party/sqlite/src/tool/lemon.c struct rule *rp; rule 1022 third_party/sqlite/src/tool/lemon.c if( sp==0 ) sp = lemp->rule->lhs; rule 1024 third_party/sqlite/src/tool/lemon.c sp = lemp->rule->lhs; rule 1048 third_party/sqlite/src/tool/lemon.c for(rp=lemp->rule; rp; rp=rp->next) rp->canReduce = LEMON_FALSE; rule 1055 third_party/sqlite/src/tool/lemon.c for(rp=lemp->rule; rp; rp=rp->next){ rule 1198 third_party/sqlite/src/tool/lemon.c struct rule *rp, /* The rule */ rule 1224 third_party/sqlite/src/tool/lemon.c struct config *Configlist_addbasis(struct rule *rp, int dot) rule 1255 third_party/sqlite/src/tool/lemon.c struct rule *rp, *newrp; rule 1266 third_party/sqlite/src/tool/lemon.c if( sp->rule==0 && sp!=lemp->errsym ){ rule 1271 third_party/sqlite/src/tool/lemon.c for(newrp=sp->rule; newrp; newrp=newrp->nextlhs){ rule 1980 third_party/sqlite/src/tool/lemon.c struct rule *prevrule; /* Previous rule parsed */ rule 1987 third_party/sqlite/src/tool/lemon.c struct rule *firstrule; /* Pointer to first rule in the grammar */ rule 1988 third_party/sqlite/src/tool/lemon.c struct rule *lastrule; /* Pointer to the most recently parsed rule */ rule 2114 third_party/sqlite/src/tool/lemon.c struct rule *rp; rule 2115 third_party/sqlite/src/tool/lemon.c rp = (struct rule *)calloc( sizeof(struct rule) + rule 2137 third_party/sqlite/src/tool/lemon.c rp->nextlhs = rp->lhs->rule; rule 2138 third_party/sqlite/src/tool/lemon.c rp->lhs->rule = rp; rule 2655 third_party/sqlite/src/tool/lemon.c gp->rule = ps.firstrule; rule 2788 third_party/sqlite/src/tool/lemon.c struct rule *rp; rule 2810 third_party/sqlite/src/tool/lemon.c for(rp=lemp->rule; rp; rp=rp->next){ rule 2833 third_party/sqlite/src/tool/lemon.c struct rule *rp; rule 3299 third_party/sqlite/src/tool/lemon.c PRIVATE void translate_code(struct lemon *lemp, struct rule *rp){ rule 3392 third_party/sqlite/src/tool/lemon.c struct rule *rp, rule 3584 third_party/sqlite/src/tool/lemon.c static void writeRuleText(FILE *out, struct rule *rp){ rule 3610 third_party/sqlite/src/tool/lemon.c struct rule *rp; rule 3903 third_party/sqlite/src/tool/lemon.c for(i=0, rp=lemp->rule; rp; rp=rp->next, i++){ rule 3982 third_party/sqlite/src/tool/lemon.c for(rp=lemp->rule; rp; rp=rp->next){ rule 3988 third_party/sqlite/src/tool/lemon.c for(rp=lemp->rule; rp; rp=rp->next){ rule 3992 third_party/sqlite/src/tool/lemon.c for(rp=lemp->rule; rp; rp=rp->next){ rule 3993 third_party/sqlite/src/tool/lemon.c struct rule *rp2; /* Other rules with the same action */ rule 4014 third_party/sqlite/src/tool/lemon.c for(rp=lemp->rule; rp; rp=rp->next){ rule 4088 third_party/sqlite/src/tool/lemon.c struct rule *rp, *rp2, *rbest; rule 4424 third_party/sqlite/src/tool/lemon.c sp->rule = 0;