Searched refs:prev (Results 1 - 25 of 108) sorted by relevance

12345

/dovecot/src/lib/
H A Dllist.h5 #define DLLIST_PREPEND_FULL(list, item, prev, next) STMT_START { \
6 (item)->prev = NULL; \
8 if (*(list) != NULL) (*(list))->prev = (item); \
13 DLLIST_PREPEND_FULL(list, item, prev, next)
15 #define DLLIST_REMOVE_FULL(list, item, prev, next) STMT_START { \
16 if ((item)->prev != NULL) \
17 (item)->prev->next = (item)->next; \
21 (item)->next->prev = (item)->prev; \
24 (item)->prev
[all...]
H A Dtest-llist.c8 struct dllist *prev, *next; member in struct:dllist
24 test_assert(l4->prev == NULL && l4->next == NULL);
27 test_assert(l3->prev == NULL && l3->next == l4);
28 test_assert(l4->prev == l3 && l4->next == NULL);
33 test_assert(l2->prev == NULL && l2->next == NULL);
35 test_assert(l1->prev == NULL && l1->next == l3);
36 test_assert(l3->prev == l1 && l3->next == l4);
37 test_assert(l4->prev == l3 && l4->next == NULL);
40 test_assert(l1->prev == NULL && l1->next == NULL);
42 test_assert(l3->prev
[all...]
H A Dioloop-notify-fd.c22 ctx->notifies->prev = io;
32 if (io->prev != NULL)
33 io->prev->next = io->next;
38 io->next->prev = io->prev;
H A Dioloop-notify-fd.h10 struct io_notify *prev, *next; member in struct:io_notify
H A Dioloop-private.h13 struct ioloop *prev; member in struct:ioloop
57 struct io_file *prev, *next; member in struct:io_file
84 struct io_wait_timer *prev, *next; member in struct:io_wait_timer
H A Dtest-priorityq.c36 int prev; local
91 prev = 0;
95 test_assert(item->num >= 0 && prev <= item->num);
96 prev = item->num;
H A Dtest-guid.c69 const int prev = 1 - this; local
73 test_assert(reverse_guid_128_cmp(guids[prev], guids[this]) < 0);
84 const int prev = 1 - this; local
89 test_assert(reverse_guid_128_cmp(guids[prev], guids[this]) < 0);
100 const int prev = 1 - this; local
105 test_assert(reverse_guid_128_cmp(guids[prev], guids[this]) < 0);
121 const int prev = 1 - this; local
124 test_assert(reverse_guid_128_cmp(guids[prev], guids[this]) < 0);
H A Dhook-build.c9 struct hook_stack *prev, *next; member in struct:hook_stack
109 for (stack = ctx->tail->prev; stack != NULL; stack = stack->prev)
/dovecot/src/plugins/old-stats/
H A Dmail-stats.c80 const struct mail_stats *prev = (const struct mail_stats *)_prev; local
83 if (cur->disk_input != prev->disk_input ||
84 cur->disk_output != prev->disk_output ||
85 cur->trans_lookup_path != prev->trans_lookup_path ||
86 cur->trans_lookup_attr != prev->trans_lookup_attr ||
87 cur->trans_files_read_count != prev->trans_files_read_count ||
88 cur->trans_files_read_bytes != prev->trans_files_read_bytes ||
89 cur->trans_cache_hit_count != prev->trans_cache_hit_count)
94 if (timeval_diff_msecs(&cur->user_cpu, &prev->user_cpu) != 0)
96 if (timeval_diff_msecs(&cur->sys_cpu, &prev
[all...]
H A Dstats-plugin.h47 struct stats_transaction_context *prev, *next; member in struct:stats_transaction_context
/dovecot/src/director/
H A Dtest-user-directory.c24 struct user *user, *prev = NULL; local
30 test_assert(user->prev == prev);
31 test_assert(prev == NULL || user->prev->next == user);
34 prev = user;
36 test_assert(prev == NULL || prev->next == NULL);
/dovecot/src/lib-sql/
H A Dsql-db-cache.c14 struct sql_db *prev, *next; /* These are set while refcount=0 */ member in struct:sql_db_cache_context
45 ctx->prev = ctx->cache->unused_head;
55 if (ctx->prev == NULL)
58 prev_ctx = SQL_DB_CACHE_CONTEXT(ctx->prev);
62 ctx->cache->unused_head = ctx->prev;
65 next_ctx->prev = ctx->prev;
105 ctx->prev = ctx->next = NULL;
/dovecot/src/lib-ldap/
H A Dldap-connection-pool.h8 struct ldap_connection_list *prev, *next; member in struct:ldap_connection_list
/dovecot/src/lib-otp/
H A Dotp-hash.h23 void otp_next_hash(unsigned int algo, const unsigned char *prev,
/dovecot/src/auth/
H A Dauth-client-connection.h7 struct auth_client_connection *prev, *next; member in struct:auth_client_connection
H A Dauth-master-connection.h8 struct auth_master_connection *prev, *next; member in struct:auth_master_connection
H A Dauth-cache.h5 struct auth_cache_node *prev, *next; member in struct:auth_cache_node
H A Ddb-oauth2.h14 struct db_oauth2_request *prev,*next; member in struct:db_oauth2_request
/dovecot/src/master/
H A Dservice-process.h5 struct service_process *prev, *next; member in struct:service_process
/dovecot/src/old-stats/
H A Dclient.h5 struct client *prev, *next; member in struct:client
/dovecot/src/ipc/
H A Dipc-connection.h16 /* prev/next within group */
17 struct ipc_connection *prev, *next; member in struct:ipc_connection
/dovecot/src/lib-old-stats/
H A Dstats.h19 bool (*have_changed)(const struct stats *prev, const struct stats *cur);
51 /* Returns TRUE if any fields have changed in cur since prev in a way that
54 bool stats_have_changed(const struct stats *prev, const struct stats *cur);
/dovecot/src/config/
H A Dconfig-parser-private.h21 struct config_section_stack *prev; member in struct:config_section_stack
35 struct input_stack *prev; member in struct:input_stack
/dovecot/src/lib-storage/
H A Dmail-search-parser-imap.c8 struct imap_arg_stack *prev; member in struct:imap_arg_stack
40 stack->prev = parser->cur;
49 parser->cur = parser->cur->prev;
/dovecot/src/lmtp/
H A Dclient.h22 struct client *prev, *next; member in struct:client

Completed in 21 milliseconds

12345