Searched defs:p1 (Results 1 - 22 of 22) sorted by relevance

/dovecot/src/lib/
H A Dtest-priorityq.c12 static int cmp_int(const void *p1, const void *p2) argument
14 const struct pq_test_item *i1 = p1, *i2 = p2;
H A Dhash.c89 static int direct_cmp(const void *p1, const void *p2) argument
91 return p1 == p2 ? 0 : 1;
H A Dioloop.c515 static int timeout_cmp(const void *p1, const void *p2) argument
517 const struct timeout *to1 = p1, *to2 = p2;
H A Dstrfuncs.c485 int i_memcasecmp(const void *p1, const void *p2, size_t size) argument
487 const unsigned char *s1 = p1;
502 int i_strcmp_p(const char *const *p1, const char *const *p2) argument
504 return strcmp(*p1, *p2);
507 int i_strcasecmp_p(const char *const *p1, const char *const *p2) argument
509 return strcasecmp(*p1, *p2);
512 bool mem_equals_timing_safe(const void *p1, const void *p2, size_t size) argument
514 const unsigned char *s1 = p1, *s2 = p2;
/dovecot/src/lib-index/
H A Dmail-index-transaction-sort-appends.c15 static int uid_map_cmp(const void *p1, const void *p2) argument
17 const struct uid_map *m1 = p1, *m2 = p2;
H A Dmail-index-sync-ext.c133 static int mail_index_ext_align_cmp(const void *p1, const void *p2) argument
135 const struct mail_index_ext *const *e1 = p1, *const *e2 = p2;
H A Dmail-index-view-sync.c260 static int uint_cmp(const void *p1, const void *p2) argument
262 const unsigned int *u1 = p1, *u2 = p2;
/dovecot/src/lib-storage/index/maildir/
H A Dmaildir-filename-flags.c63 static int char_cmp(const void *p1, const void *p2) argument
65 const unsigned char *c1 = p1, *c2 = p2;
H A Dmaildir-uidlist.c1923 static int maildir_assign_uid_cmp(const void *p1, const void *p2) argument
1925 const struct maildir_uidlist_rec *const *rec1 = p1, *const *rec2 = p2;
/dovecot/src/lib-storage/index/mbox/
H A Dmbox-md5-apop3d.c79 static int bsearch_header_func_cmp(const void *p1, const void *p2) argument
81 const char *key = p1;
H A Dmbox-sync-parse.c447 static int mbox_sync_bsearch_header_func_cmp(const void *p1, const void *p2) argument
449 const char *key = p1;
/dovecot/src/lib-mail/
H A Dtest-message-parser.c42 static bool msg_parts_cmp(struct message_part *p1, struct message_part *p2) argument
44 while (p1 != NULL || p2 != NULL) {
45 if ((p1 != NULL) != (p2 != NULL))
47 if ((p1->children != NULL) != (p2->children != NULL))
50 if (p1->children != NULL) {
51 if (!msg_parts_cmp(p1->children, p2->children))
55 if (p1->physical_pos != p2->physical_pos ||
56 p1->header_size.physical_size != p2->header_size.physical_size ||
57 p1->header_size.virtual_size != p2->header_size.virtual_size ||
58 p1
[all...]
/dovecot/src/config/
H A Dconfig-filter.c140 config_filter_parser_cmp(struct config_filter_parser *const *p1, argument
143 const struct config_filter *f1 = &(*p1)->filter, *f2 = &(*p2)->filter;
170 config_filter_parser_cmp_rev(struct config_filter_parser *const *p1, argument
173 return -config_filter_parser_cmp(p1, p2);
H A Ddoveconf.c79 static int config_string_cmp(const char *const *p1, const char *const *p2) argument
81 const char *s1 = *p1, *s2 = *p2;
/dovecot/src/lib-imap/
H A Dimap-match.c218 const struct imap_match_pattern *p1 = glob1->patterns; local
224 for (; p1->pattern != NULL && p2->pattern != NULL; p1++, p2++) {
225 if (strcmp(p1->pattern, p2->pattern) != 0)
227 if (p1->inboxcase != p2->inboxcase)
230 return p1->pattern == p2->pattern;
/dovecot/src/lib-storage/index/imapc/
H A Dimapc-mail-fetch.c148 const char *p1, *p2; local
154 p1 = strchr(s1+10, ' ');
157 if (null_strcmp(p1, p2) != 0)
160 str_truncate(str, p1-s1);
/dovecot/src/lib-dcrypt/
H A Dtest-crypto.c600 struct dcrypt_keypair p1, p2; local
602 bool ret = dcrypt_keypair_generate(&p1, DCRYPT_KEY_EC, 0, "secp521r1", &error);
610 ret = dcrypt_key_store_private(p1.priv, DCRYPT_FORMAT_DOVECOT, "ecdh-aes-256-ctr", buf, NULL, p2.pub, &error);
630 dcrypt_keypair_unref(&p1);
640 struct dcrypt_keypair p1; local
641 i_zero(&p1);
643 bool ret = dcrypt_keypair_generate(&p1, DCRYPT_KEY_EC, 0, "secp521r1", &error);
647 ret = dcrypt_key_store_private(p1.priv, DCRYPT_FORMAT_DOVECOT, "aes-256-ctr", buf, "pw", NULL, &error);
667 dcrypt_keypair_unref(&p1);
/dovecot/src/replication/replicator/
H A Dreplicator-queue.c44 static int user_priority_cmp(const void *p1, const void *p2) argument
46 const struct replicator_user *user1 = p1, *user2 = p2;
/dovecot/src/imap-hibernate/
H A Dimap-client.c669 static int client_unhibernate_cmp(const void *p1, const void *p2) argument
671 const struct imap_client *c1 = p1, *c2 = p2;
/dovecot/src/lib-storage/
H A Dmail-storage-service.c1171 const char *p1 = *s1, *p2 = *s2; local
1173 for (; *p1 == *p2; p1++, p2++) {
1174 if (*p1 == '\0')
1177 if (*p1 == '=')
1181 return *p1 - *p2;
H A Dmail-storage.c1748 static bool nullequals(const void *p1, const void *p2) argument
1750 return (p1 == NULL && p2 == NULL) || (p1 != NULL && p2 != NULL);
/dovecot/src/plugins/virtual/
H A Dvirtual-sync.c93 static int virtual_sync_mail_uid_cmp(const void *p1, const void *p2) argument
95 const struct virtual_sync_mail *m1 = p1, *m2 = p2;

Completed in 66 milliseconds