Home | History | Annotate | Download | only in split-select

Lines Matching refs:Rule

20 #include "Rule.h"
27 struct AndRule : public Rule {
29 op = Rule::AND_SUBRULES;
32 AndRule& add(const Rule& rhs) {
33 subrules.add(new Rule(rhs));
38 struct OrRule : public Rule {
40 op = Rule::OR_SUBRULES;
43 OrRule& add(const Rule& rhs) {
44 subrules.add(new Rule(rhs));
49 const Rule EqRule(Rule::Key key, long value);
50 const Rule LtRule(Rule::Key key, long value);
51 const Rule GtRule(Rule::Key key, long value);
52 const Rule ContainsAnyRule(Rule::Key key, const char* str1);
53 const Rule ContainsAnyRule(Rule::Key key, const char* str1, const char* str2);
54 const Rule AlwaysTrue();
58 const android::sp<Rule>& actual, const Rule& expected);