Searched defs:counter (Results 1 - 11 of 11) sorted by relevance

/dovecot/src/lib/
H A Dtest-iostream-proxy.c32 int counter; local
58 iostream_proxy_set_completion_callback(proxy, completed, &counter);
73 counter = 1;
85 counter = 1;
H A Dtest-iostream-pump.c69 const char *run_pump(struct istream *in, struct ostream *out, int *counter, buffer_t *out_buffer) argument
89 iostream_pump_set_completion_callback(pump, completed, counter);
93 struct timeout *to = timeout_add(3000, failed, counter);
101 test_assert(*counter == 0);
139 int counter; local
146 counter = 1;
148 test_assert(strcmp(run_pump(in, out, &counter, buffer), "hello, world") == 0);
157 int counter; local
166 counter = 2;
167 test_assert(strcmp(run_pump(in, out, &counter, buffe
176 int counter; local
195 int counter; local
214 int counter; local
233 int counter; local
258 int counter; local
[all...]
H A Dtest-multiplex.c30 unsigned int counter; member in struct:test_channel
H A Diostream-rawlog.c200 static unsigned int counter = 0; local
215 counter++;
216 prefix = t_strdup_printf("%s/%s.%s.%u", dir, timestamp, my_pid, counter);
/dovecot/src/imap/
H A Dimap-sync-private.h9 unsigned int counter; member in struct:imap_client_sync_context
/dovecot/src/doveadm/
H A Ddoveadm-mail-index.c38 unsigned int counter = 0, max; local
79 if (doveadm_verbose && ++counter % 100 == 0) {
80 printf("\r%u/%u", counter, max);
85 printf("\r%u/%u\n", counter, max);
/dovecot/src/indexer/
H A Dmaster-connection.c67 unsigned int counter = 0, max, percentage, percentage_sent = 0; local
101 if (++counter % 100 == 0) {
102 percentage = counter*100 / max;
113 counter, max);
129 counter, uids);
133 counter, mailbox_get_vname(box), uids);
/dovecot/src/pop3/
H A Dpop3-commands.c759 unsigned int counter; local
763 counter = POINTER_CAST_TO(value, unsigned int) + 1;
764 hash_table_update(prev_uidls, key, POINTER_CAST(counter));
765 str_printfa(uidl, "-%u", counter);
/dovecot/src/doveadm/dsync/
H A Dtest-dsync-mailbox-tree-sync.c34 node_create(struct dsync_mailbox_tree *tree, unsigned int counter, argument
40 memcpy(node->mailbox_guid, &counter, sizeof(counter));
41 node->uid_validity = counter;
48 random_node_create(struct dsync_mailbox_tree *tree, unsigned int counter, argument
51 return node_create(tree, counter, name, i_rand_limit(10));
54 static void nodes_create(struct dsync_mailbox_tree *tree, unsigned int *counter, argument
58 *counter += 1;
59 node_create(tree, *counter, *names, 0);
63 static void nodes_delete(struct dsync_mailbox_tree *tree, unsigned int *counter, argument
76 create_random_nodes(struct dsync_mailbox_tree *tree, const char *parent_name, unsigned int depth, unsigned int *counter) argument
102 unsigned int counter = 0; local
274 unsigned int counter = 0; local
293 unsigned int counter = 0; local
311 unsigned int counter = 0; local
[all...]
H A Ddsync-mailbox-tree-sync.c394 unsigned int counter = 1; local
414 str_printfa(&buf, TEMP_SUFFIX_FORMAT, counter++);
/dovecot/src/lib-storage/list/
H A Dmailbox-list-index.c819 uint32_t counter; local
824 /* update the "subscriptions changed" counter/timestamp. its purpose
830 if (size != sizeof(counter))
831 counter = ioloop_time;
833 memcpy(&counter, data, size);
834 if (++counter < (uint32_t)ioloop_time)
835 counter = ioloop_time;
841 0, &counter, sizeof(counter));

Completed in 21 milliseconds