Searched defs:p2 (Results 1 - 25 of 30) sorted by relevance

12

/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 Dprintf-format-fix.c76 const char *ret, *p, *p2; local
80 while ((p2 = strchr(p, '%')) != NULL) {
81 const unsigned int start_pos = p2 - format;
83 p = p2+1;
H A Dtest-data-stack.c22 unsigned char *p2 = t_buffer_get(i); local
23 test_assert_idx(p == p2, i);
48 unsigned char *p, *p2; local
56 p2 = t_buffer_get(left + left/2);
57 test_assert_idx(p != p2, left);
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;
/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-mail/
H A Drfc2231-parser.c46 const char *key, *value, *p, *p2; local
69 p2 = p;
87 rfc2231_param.key = t_strdup_until(key, p2);
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))
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->header_size.lines != p2->header_size.lines ||
59 p1->body_size.physical_size != p2
[all...]
/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;
/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
82 const struct mbox_md5_header_func *func = p2;
H A Dmbox-sync-parse.c447 static int mbox_sync_bsearch_header_func_cmp(const void *p1, const void *p2) argument
450 const struct mbox_sync_header_func *func = p2;
/dovecot/src/plugins/push-notification/
H A Dpush-notification-drivers.c50 const char **args, *key, *p2, *value; local
66 p2 = strchr(*args, '=');
67 if (p2 != NULL) {
68 key = t_strdup_until(*args, p2);
69 value = t_strdup(p2 + 1);
/dovecot/src/auth/
H A Dauth-client-connection.c38 const char *p, *p2; local
49 p2 = strchr(*fields, '=');
50 if (p == NULL || p2 == NULL || p2 < p) {
54 str_append_data(newline, *fields, (p2 - *fields)+1);
171 const char *p, *p2; local
181 p2 = strchr(p, '\t');
183 p2, NULL);
H A Dauth-master-connection.c51 char **args, *p, *p2; local
61 p2 = strchr(args[i], '=');
62 if (p != NULL && p < p2) {
63 *p2 = '\0';
/dovecot/src/config/
H A Dconfig-filter.c141 struct config_filter_parser *const *p2)
143 const struct config_filter *f1 = &(*p1)->filter, *f2 = &(*p2)->filter;
171 struct config_filter_parser *const *p2)
173 return -config_filter_parser_cmp(p1, p2);
140 config_filter_parser_cmp(struct config_filter_parser *const *p1, struct config_filter_parser *const *p2) argument
170 config_filter_parser_cmp_rev(struct config_filter_parser *const *p1, struct config_filter_parser *const *p2) argument
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.c219 const struct imap_match_pattern *p2 = glob2->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
155 p2 = strchr(s2+10, ' ');
157 if (null_strcmp(p1, p2) != 0)
161 str_insert(mbox->pending_fetch_cmd, p2-s2, ",");
162 str_insert(mbox->pending_fetch_cmd, p2-s2+1, str_c(str) + 10);
/dovecot/src/log/
H A Dlog-connection.c184 const char *p, *p2, *cmd, *pidstr; local
190 if (p == NULL || (p2 = strchr(++p, ' ')) == NULL ||
200 cmd = p2 + 1;
/dovecot/src/lib-dcrypt/
H A Dtest-crypto.c600 struct dcrypt_keypair p1, p2; local
604 ret = dcrypt_keypair_generate(&p2, 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);
631 dcrypt_keypair_unref(&p2);
/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/lib-auth/
H A Dauth-master.c161 const char *p, *p2; local
178 p2 = strchr(args[i], '=');
179 if (p != NULL && p < p2) {
180 p = t_strconcat(t_strdup_until(args[i], 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;

Completed in 107 milliseconds

12