/external/chromium_org/extensions/common/features/ |
H A D | complex_feature_unittest.cc | 24 scoped_ptr<base::DictionaryValue> rule( 29 simple_feature->Parse(rule.get()); 34 rule = DictionaryBuilder() 38 simple_feature->Parse(rule.get()); 43 // Test match 1st rule. 52 // Test match 2nd rule. 85 scoped_ptr<base::DictionaryValue> rule = local 90 simple_feature->Parse(rule.get()); 95 rule = DictionaryBuilder() 98 simple_feature->Parse(rule [all...] |
/external/chromium_org/sandbox/mac/ |
H A D | policy_unittest.cc | 25 Rule rule; local 27 policy.rules["test"] = rule; 32 Rule rule(POLICY_SUBSTITUTE_PORT); 34 policy.rules["test"] = rule; 39 Rule rule(POLICY_ALLOW); 40 rule.substitute_port = mach_task_self(); 42 policy.rules["allow"] = rule; 47 Rule rule(POLICY_DENY_ERROR); 48 rule.substitute_port = mach_task_self(); 50 policy.rules["deny_error"] = rule; [all...] |
H A D | policy.cc | 30 static bool IsRuleValid(const Rule& rule) { argument 31 if (!(rule.result > POLICY_DECISION_INVALID && 32 rule.result < POLICY_DECISION_LAST)) { 35 if (rule.result == POLICY_SUBSTITUTE_PORT) { 36 if (rule.substitute_port == MACH_PORT_NULL) 39 if (rule.substitute_port != MACH_PORT_NULL)
|
/external/chromium_org/third_party/libaddressinput/src/cpp/test/ |
H A D | post_box_matchers_test.cc | 22 #include "rule.h" 37 Rule rule; local 38 std::vector<const RE2ptr*> matchers = PostBoxMatchers::GetMatchers(rule); 44 Rule rule; local 45 ASSERT_TRUE(rule.ParseSerializedRule("{\"languages\":\"xx\"}")); 46 std::vector<const RE2ptr*> matchers = PostBoxMatchers::GetMatchers(rule); 52 Rule rule; local 53 ASSERT_TRUE(rule.ParseSerializedRule("{\"languages\":\"sv\"}")); 54 std::vector<const RE2ptr*> matchers = PostBoxMatchers::GetMatchers(rule); 61 Rule rule; local 70 Rule rule; local 79 Rule rule; local [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/ |
H A D | RuleClosureTransition.java | 32 /** A transition used to reference another rule. It tracks two targets 34 * state that refers to the other rule. Conversion of an NFA that 35 * falls off the end of a rule will be able to figure out who invoked 36 * that rule because of these special transitions. 39 /** Ptr to the rule definition object for this rule ref */ 40 public Rule rule; field in class:RuleClosureTransition 42 /** What node to begin computations following ref to rule */ 45 public RuleClosureTransition(Rule rule, argument 50 this.rule [all...] |
/external/chromium_org/chrome/browser/content_settings/ |
H A D | content_settings_origin_identifier_value_map_unittest.cc | 201 content_settings::Rule rule = rule_iterator->Next(); local 202 EXPECT_EQ(sub_pattern, rule.primary_pattern); 203 EXPECT_EQ(2, content_settings::ValueToContentSetting(rule.value.get())); 206 rule = rule_iterator->Next(); 207 EXPECT_EQ(pattern, rule.primary_pattern); 208 EXPECT_EQ(1, content_settings::ValueToContentSetting(rule.value.get()));
|
/external/chromium_org/third_party/libaddressinput/chromium/ |
H A D | chrome_rule_test.cc | 5 #include "third_party/libaddressinput/src/cpp/src/rule.h" 13 i18n::addressinput::Rule rule; local 14 ASSERT_TRUE(rule.ParseSerializedRule(base::WideToUTF8( 18 EXPECT_EQ(4U, rule.GetSubKeys().size()); 54 rule.CanonicalizeSubKey(input, true, &output))
|
/external/chromium_org/third_party/libaddressinput/src/cpp/src/ |
H A D | address_metadata.cc | 24 #include "rule.h" 34 Rule rule; local 35 rule.CopyFrom(Rule::GetDefault()); 36 if (!rule.ParseSerializedRule( 41 return std::find(rule.GetRequired().begin(), 42 rule.GetRequired().end(), 43 field) != rule.GetRequired().end(); 51 Rule rule; local 52 rule.CopyFrom(Rule::GetDefault()); 53 if (!rule [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/ |
H A D | ANTLRTreeRewriter.h | 43 - (id)rule; 51 ANTLRfptr *rule; variable
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/ |
H A D | ANTLRTreeRewriter.h | 43 - (id)rule; 51 ANTLRfptr *rule; variable
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/ |
H A D | ANTLRTreeRewriter.h | 43 - (id)rule; 51 ANTLRfptr *rule; variable
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
H A D | ANTLRTreeRewriter.h | 43 - (id)rule; 53 ANTLRfptr *rule; variable 77 @property (retain) ANTLRfptr *rule; variable
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
H A D | CSSFilterRule.h | 44 static PassRefPtrWillBeRawPtr<CSSFilterRule> create(StyleRuleFilter* rule, CSSStyleSheet* sheet) argument 46 return adoptRefWillBeNoop(new CSSFilterRule(rule, sheet));
|
H A D | CSSImportRule.h | 35 static PassRefPtrWillBeRawPtr<CSSImportRule> create(StyleRuleImport* rule, CSSStyleSheet* sheet) argument 37 return adoptRefWillBeNoop(new CSSImportRule(rule, sheet));
|
H A D | CSSMediaRule.h | 35 static PassRefPtrWillBeRawPtr<CSSMediaRule> create(StyleRuleMedia* rule, CSSStyleSheet* sheet) argument 37 return adoptRefWillBeNoop(new CSSMediaRule(rule, sheet));
|
H A D | CSSPageRule.h | 37 static PassRefPtrWillBeRawPtr<CSSPageRule> create(StyleRulePage* rule, CSSStyleSheet* sheet) argument 39 return adoptRefWillBeNoop(new CSSPageRule(rule, sheet));
|
H A D | CSSSupportsRule.h | 40 static PassRefPtrWillBeRawPtr<CSSSupportsRule> create(StyleRuleSupports* rule, CSSStyleSheet* sheet) argument 42 return adoptRefWillBeNoop(new CSSSupportsRule(rule, sheet));
|
H A D | CSSFilterRule.cpp | 79 void CSSFilterRule::reattach(StyleRuleBase* rule) argument 81 ASSERT(rule); 82 m_filterRule = toStyleRuleFilter(rule);
|
H A D | CSSFontFaceRule.cpp | 65 void CSSFontFaceRule::reattach(StyleRuleBase* rule) argument 67 ASSERT(rule); 68 m_fontFaceRule = toStyleRuleFontFace(rule);
|
H A D | CSSFontFaceRule.h | 36 static PassRefPtrWillBeRawPtr<CSSFontFaceRule> create(StyleRuleFontFace* rule, CSSStyleSheet* sheet) argument 38 return adoptRefWillBeNoop(new CSSFontFaceRule(rule, sheet));
|
/external/chromium_org/third_party/libaddressinput/src/cpp/include/libaddressinput/ |
H A D | supplier.h | 46 RuleHierarchy() : rule() {} 47 const Rule* rule[4]; // Cf. LookupKey::kHierarchy. member in struct:i18n::addressinput::Supplier::RuleHierarchy
|
/external/libnl/src/lib/ |
H A D | rule.c | 2 * src/lib/rule.c CLI Routing Rule Helpers 20 #include <netlink/cli/rule.h> 24 struct rtnl_rule *rule; local 26 rule = rtnl_rule_alloc(); 27 if (!rule) 28 nl_cli_fatal(ENOMEM, "Unable to allocate rule object"); 30 return rule; 39 nl_cli_fatal(err, "Unable to allocate routing rule cache: %s\n", 47 void nl_cli_rule_parse_family(struct rtnl_rule *rule, char *arg) argument 52 rtnl_rule_set_family(rule, famil [all...] |
/external/bison/src/ |
H A D | scan-code.h | 62 * for the LHS symbol of the same rule.) 70 struct symbol_list *rule; member in struct:code_props 125 * - <tt>rule != NULL</tt>. 126 * - \c code is the untranslated action of the rule for which \c rule is the 128 * $2, etc referring to the values of the rule. 131 * - \c self has been overwritten to represent the specified rule action. 132 * - \c self does not claim responsibility for the memory of \c rule. 136 * - The caller frees \c rule. 139 location code_loc, struct symbol_list *rule, [all...] |
/external/chromium_org/chrome/renderer/safe_browsing/ |
H A D | scorer_unittest.cc | 34 ClientSideModel::Rule* rule; local 35 rule = model_.add_rule(); 36 rule->set_weight(0.5); 38 rule = model_.add_rule(); 39 rule->add_feature(0); // feature1 40 rule->set_weight(2.0); 42 rule = model_.add_rule(); 43 rule->add_feature(0); // feature1 44 rule->add_feature(1); // feature2 45 rule [all...] |
/external/chromium_org/components/content_settings/core/browser/ |
H A D | content_settings_rule_unittest.cc | 30 Rule rule = rules_.front(); variable 32 return rule; 62 Rule rule; local 64 rule = concatenation_iterator.Next(); 65 EXPECT_EQ(rule.primary_pattern, ContentSettingsPattern::FromString("a")); 68 rule = concatenation_iterator.Next(); 69 EXPECT_EQ(rule.primary_pattern, ContentSettingsPattern::FromString("b")); 72 rule = concatenation_iterator.Next(); 73 EXPECT_EQ(rule.primary_pattern, ContentSettingsPattern::FromString("c")); 76 rule [all...] |