Lines Matching defs:arg1
238 bool mail_search_mime_arg_one_equals(const struct mail_search_mime_arg *arg1,
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->value.subargs == NULL)
302 return mail_search_mime_arg_equals(arg1->value.subargs,
309 return arg1->value.number == arg2->value.number;
314 bool mail_search_mime_arg_equals(const struct mail_search_mime_arg *arg1,
317 while (arg1 != NULL && arg2 != NULL) {
318 if (!mail_search_mime_arg_one_equals(arg1, arg2))
320 arg1 = arg1->next;
323 return arg1 == NULL && arg2 == NULL;