/dovecot/src/lib/ |
H A D | test-priorityq.c | 12 static int cmp_int(const void *p1, const void *p2) argument 14 const struct pq_test_item *i1 = p1, *i2 = p2;
|
H A D | hash.c | 89 static int direct_cmp(const void *p1, const void *p2) argument 91 return p1 == p2 ? 0 : 1;
|
H A D | ioloop.c | 515 static int timeout_cmp(const void *p1, const void *p2) argument 517 const struct timeout *to1 = p1, *to2 = p2;
|
H A D | strfuncs.c | 485 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 D | mail-index-transaction-sort-appends.c | 15 static int uid_map_cmp(const void *p1, const void *p2) argument 17 const struct uid_map *m1 = p1, *m2 = p2;
|
H A D | mail-index-sync-ext.c | 133 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 D | mail-index-view-sync.c | 260 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 D | maildir-filename-flags.c | 63 static int char_cmp(const void *p1, const void *p2) argument 65 const unsigned char *c1 = p1, *c2 = p2;
|
H A D | maildir-uidlist.c | 1923 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 D | mbox-md5-apop3d.c | 79 static int bsearch_header_func_cmp(const void *p1, const void *p2) argument 81 const char *key = p1;
|
H A D | mbox-sync-parse.c | 447 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 D | test-message-parser.c | 42 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 D | config-filter.c | 140 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 D | doveconf.c | 79 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 D | imap-match.c | 218 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 D | imapc-mail-fetch.c | 148 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 D | test-crypto.c | 600 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 D | replicator-queue.c | 44 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 D | imap-client.c | 669 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 D | mail-storage-service.c | 1171 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 D | mail-storage.c | 1748 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 D | virtual-sync.c | 93 static int virtual_sync_mail_uid_cmp(const void *p1, const void *p2) argument 95 const struct virtual_sync_mail *m1 = p1, *m2 = p2;
|