Lines Matching refs:rule
28 Rule rule; in EqRule() local
29 rule.op = Rule::EQUALS; in EqRule()
30 rule.key = key; in EqRule()
31 rule.longArgs.add(value); in EqRule()
32 return rule; in EqRule()
36 Rule rule; in GtRule() local
37 rule.op = Rule::GREATER_THAN; in GtRule()
38 rule.key = key; in GtRule()
39 rule.longArgs.add(value); in GtRule()
40 return rule; in GtRule()
44 Rule rule; in LtRule() local
45 rule.op = Rule::LESS_THAN; in LtRule()
46 rule.key = key; in LtRule()
47 rule.longArgs.add(value); in LtRule()
48 return rule; in LtRule()
52 Rule rule; in ContainsAnyRule() local
53 rule.op = Rule::CONTAINS_ANY; in ContainsAnyRule()
54 rule.key = key; in ContainsAnyRule()
55 rule.stringArgs.add(String8(str1)); in ContainsAnyRule()
56 return rule; in ContainsAnyRule()
60 Rule rule; in ContainsAnyRule() local
61 rule.op = Rule::CONTAINS_ANY; in ContainsAnyRule()
62 rule.key = key; in ContainsAnyRule()
63 rule.stringArgs.add(String8(str1)); in ContainsAnyRule()
64 rule.stringArgs.add(String8(str2)); in ContainsAnyRule()
65 return rule; in ContainsAnyRule()
69 Rule rule; in AlwaysTrue() local
70 rule.op = Rule::ALWAYS_TRUE; in AlwaysTrue()
71 return rule; in AlwaysTrue()