Lines Matching refs:rule
29 string_t *rule;
38 virtual_search_args_parse(const string_t *rule, const char **error_r)
48 if (str_len(rule) == 0) {
54 input = i_stream_create_from_data(str_data(rule), str_len(rule));
85 i_assert(str_len(ctx->rule) == 0);
90 crc32_str_more(ctx->mbox->search_args_crc32, str_c(ctx->rule));
91 search_args = virtual_search_args_parse(ctx->rule, error_r);
92 str_truncate(ctx->rule, 0);
95 *error_r = t_strconcat("Previous search rule is invalid: ",
101 rule. */
125 /* continues the previous search rule */
127 *error_r = "Search rule without a mailbox";
131 str_append_c(ctx->rule, ' ');
132 str_append(ctx->rule, line);
135 /* if there is no rule yet, it means we want the previous mailboxes
136 to use the rule that comes later */
137 if (str_len(ctx->rule) > 0) {
499 ctx.rule = t_str_new(256);