Searched defs:arg1 (Results 1 - 5 of 5) sorted by relevance

/dovecot/src/lib-storage/
H A Dmail-search-register.c49 mail_search_register_arg_cmp(const struct mail_search_register_arg *arg1, argument
52 return strcmp(arg1->key, arg2->key);
H A Dmail-search-mime.c238 bool mail_search_mime_arg_one_equals(const struct mail_search_mime_arg *arg1, argument
241 if (arg1->type != arg2->type ||
242 arg1->match_not != arg2->match_not)
245 switch (arg1->type) {
248 return mail_search_mime_arg_equals(arg1->value.subargs,
254 return arg1->value.size == arg2->value.size;
259 if (strcasecmp(arg1->field_name, arg2->field_name) != 0)
289 return strcmp(arg1->value.str, arg2->value.str) == 0;
294 return arg1->value.time == arg2->value.time;
298 if (arg1
314 mail_search_mime_arg_equals(const struct mail_search_mime_arg *arg1, const struct mail_search_mime_arg *arg2) argument
[all...]
H A Dmail-search-mime-register.c73 const struct mail_search_mime_register_arg *arg1,
76 return strcmp(arg1->key, arg2->key);
72 mail_search_mime_register_arg_cmp( const struct mail_search_mime_register_arg *arg1, const struct mail_search_mime_register_arg *arg2) argument
H A Dmail-search-args-simplify.c34 mail_search_simplify_prev_arg_cmp(const struct mail_search_simplify_prev_arg *arg1, argument
39 ret = memcmp(&arg1->bin_mask, &arg2->bin_mask, sizeof(arg1->bin_mask));
41 ret = null_strcmp(arg1->hdr_field_name_mask, arg2->hdr_field_name_mask);
43 ret = null_strcmp(arg1->str_mask, arg2->str_mask);
H A Dmail-search.c591 bool mail_search_arg_one_equals(const struct mail_search_arg *arg1, argument
594 if (arg1->type != arg2->type ||
595 arg1->match_not != arg2->match_not ||
596 arg1->fuzzy != arg2->fuzzy ||
597 arg1->value.search_flags != arg2->value.search_flags)
600 switch (arg1->type) {
603 return mail_search_arg_equals(arg1->value.subargs,
613 return array_cmp(&arg1->value.seqset, &arg2->value.seqset);
615 return array_cmp(&arg1->value.seqset, &arg2->value.seqset);
618 return arg1
670 mail_search_arg_equals(const struct mail_search_arg *arg1, const struct mail_search_arg *arg2) argument
[all...]

Completed in 552 milliseconds