Lines Matching refs:rule
58 const char *rule;
750 // cout << endl << testCases[i].rule << endl;
753 stream.SetTo(testCases[i].rule);
815 const char *rule;
860 // R5 chokes on this rule :-(
891 "Sniffer pattern error: unterminated rule"
918 "Sniffer pattern error: unterminated rule" },
945 "Sniffer pattern error: unterminated rule"
1048 // I don't currently understand what's wrong with the above rule... R5
1057 //cout << endl << testCase.rule << endl;
1059 status_t error = BMimeType::CheckSnifferRule(testCase.rule,
1064 << endl << "RULE: '" << testCase.rule << "'"
1085 if (testCase.rule && error != B_BAD_MIME_SNIFFER_RULE) {
1086 printf("rule: `%s'", testCase.rule);
1089 CHK(error == (testCase.rule ? B_BAD_MIME_SNIFFER_RULE : B_BAD_VALUE));
1367 Rule rule;
1369 status_t err = parse(rules[j], &rule, &errorMsg);
1379 bool match = rule.Sniff(&data);