Lines Matching refs:rule
7 MIME sniffer rule parser declarations
37 status_t parse(const char *rule, Rule *result, BString *parseError = NULL);
66 in a given rule. For example, the floating point number "1.2e-35",
172 //! Handles parsing a sniffer rule, yielding either a parsed rule or a descriptive error message.
173 /*! A MIME sniffer rule is valid if it is well-formed with respect to the
241 The file must start with the string "ABCD". The priority of the rule
245 the first four bytes. The rule priority is 0.8.
248 the first four bytes or the string "EFGH" at position 13. The rule
253 rule priority is 0.8.
257 starting at position 20. The rule priority is 0.3.
260 beginning of the file. The rule priority is 0.2.
277 status_t Parse(const char *rule, Rule *result, BString *parseError = NULL);
279 std::string ErrorMessage(Err *err, const char *rule);