Searched defs:count (Results 1 - 25 of 325) sorted by relevance

1234567891011>>

/dovecot/src/master/
H A Ddup2-array.c25 unsigned int i, j, count, conflict; local
28 dups = array_get_modifiable(dups_arr, &count);
30 moved = t_new(bool, count);
32 conflict = count;
34 for (i = 0; i < count; i++) {
38 for (j = 0; j < count; j++) {
46 if (j == count) {
58 if (conflict == count)
H A Dservice-process-notify.c38 unsigned int i, count; local
44 count = aqueue_count(notify->process_queue);
45 for (i = 0; i < count; i++) {
H A Dservice-log.c122 unsigned int i, count; local
124 services = array_get(&service_list->services, &count);
125 for (i = 0; i < count; i++) {
/dovecot/src/plugins/fts-squat/
H A Dsquat-uidlist.h12 uint32_t count, link_count; member in struct:squat_uidlist_file_header
/dovecot/src/lib/
H A Dexecv-const.c11 unsigned int i, count; local
13 for (count = 0; argv[count] != NULL; count++) ;
15 ret = t_new(char *, count + 1);
16 for (i = 0; i < count; i++)
H A Drestrict-process-size.c26 void restrict_process_count(rlim_t count ATTR_UNUSED)
31 rlim.rlim_max = rlim.rlim_cur = count;
34 (unsigned long long)count);
39 void restrict_fd_limit(rlim_t count) argument
44 rlim.rlim_cur = rlim.rlim_max = count;
47 (unsigned long long)count);
H A Dsendfile-util.c19 ssize_t safe_sendfile(int out_fd, int in_fd, uoff_t *offset, size_t count) argument
25 if (count == 0)
35 if (count > 2147483647L - *offset)
36 count = 2147483647L - *offset;
46 if (count > OFF_T_MAX - *offset)
47 count = OFF_T_MAX - *offset;
51 ret = sendfile(out_fd, in_fd, &safe_offset, count);
62 ssize_t safe_sendfile(int out_fd, int in_fd, uoff_t *offset, size_t count) argument
68 i_assert(count <= SSIZE_T_MAX);
70 if (count
98 safe_sendfile(int out_fd, int in_fd, uoff_t *offset, size_t count) argument
[all...]
H A Dsha1.h62 uint8_t count; member in struct:sha1_ctxt
H A Dtest-aqueue.c10 unsigned int n, i, count; local
12 count = aqueue_count(aqueue);
13 for (i = 0, n = 1; i < count; i++, n++) {
39 return t_strdup_printf("Wrong count after append %u vs %u)",
49 return "Wrong count after delete";
H A Dtest-mempool-allocfree.c27 size_t count = 0; local
39 count--;
48 count++;
60 count++;
73 count++;
/dovecot/src/lib-index/
H A Dmail-cache-sync-update.c11 void mail_cache_expunge_count(struct mail_cache *cache, unsigned int count) argument
14 cache->hdr_copy.deleted_record_count += count;
15 if (cache->hdr_copy.record_count >= count)
16 cache->hdr_copy.record_count -= count;
H A Dmail-cache-decisions.c165 unsigned int count = 0; local
167 mail_cache_register_get_list(src, pool_datastack_create(), &count);
168 i_assert(fields != NULL || count == 0);
169 if (count > 0)
170 mail_cache_register_fields(dst, fields, count);
/dovecot/src/lib-ldap/
H A Dldap-entry.c12 int count; local
31 count = ldap_count_values_len(values);
32 p_array_init(&attr->values, result->pool, count);
33 for(int i = 0; i < count; i++) {
/dovecot/src/auth/
H A Dmech-plain.c16 int count; local
22 count = 0;
25 if (++count == 1)
42 if (count != 2) {
H A Dmech-dovecot-token.c18 int count; local
23 count = 0;
26 count++; i++;
27 if (count == 1)
29 else if (count == 2)
31 else if (count == 3)
42 if (count != 4) {
H A Dpassdb-template.c49 unsigned int i, count; local
57 args = array_get(&tmpl->args, &count);
58 i_assert((count % 2) == 0);
59 for (i = 0; i < count; i += 2) {
79 unsigned int i, count; local
81 args = array_get(&tmpl->args, &count);
82 i_assert((count % 2) == 0);
83 for (i = 0; i < count; i += 2) {
/dovecot/src/imap/
H A Dcmd-namespace.c35 unsigned int count = 0; local
46 no->secondary_order = ++count;
/dovecot/src/imap-login/
H A Dimap-login-commands.c22 unsigned int count)
27 for (i = 0; i < count; i++) {
52 unsigned int count)
56 for (i = 0; i < count; i++)
21 imap_login_commands_register(const struct imap_login_command *commands, unsigned int count) argument
51 imap_login_commands_unregister(const struct imap_login_command *commands, unsigned int count) argument
/dovecot/src/lib-fs/
H A Dtest-fs-posix.c53 ssize_t count; local
57 count = fs_read(file, buf, 1);
58 test_assert(count == -1 && errno == ENOENT);
75 count = fs_read(file, buf, 2);
76 test_assert(count == 1 && errno == 0);
/dovecot/src/lib-storage/index/
H A Dindex-sync-search.c38 unsigned int count; local
40 count = array_count(&ctx->flag_updates) +
42 i_array_init(&ctx->all_flag_update_uids, count*2);
51 unsigned int i, count; local
55 results = array_get(&ctx->ctx.box->search_results, &count);
56 for (i = 0; i < count; i++) {
84 unsigned int i, count; local
86 results = array_get(&ctx->ctx.box->search_results, &count);
87 for (i = 0; i < count; i++)
H A Dindex-thread-links.c201 unsigned int count = 1; local
208 while (msgid_map[count].uid == msgid_map->uid)
209 count++;
210 *msgid_map_idx += count;
222 if (msgid_map[count].uid == node->uid) {
223 parent_idx = msgid_map[count].str_idx;
224 count++;
225 while (msgid_map[count].uid == node->uid) {
227 msgid_map[count].str_idx))
229 parent_idx = msgid_map[count]
[all...]
/dovecot/src/lib-storage/
H A Dmailbox-header.c21 unsigned int i, j, count; local
25 for (count = 0, name = headers; *name != NULL; name++)
26 count++;
29 sorted_headers = t_new(const char *, count);
30 memcpy(sorted_headers, headers, count * sizeof(*sorted_headers));
31 i_qsort(sorted_headers, count, sizeof(*sorted_headers), i_strcasecmp_p);
35 fields = t_new(struct mail_cache_field, count);
36 for (i = j = 0; i < count; i++) {
42 count = j;
43 mail_cache_register_fields(box->cache, fields, count);
[all...]
H A Dmailbox-recent-flags.c60 unsigned int i, count, recent_count; local
67 range = array_get(&box->recent_flags, &count);
68 for (i = count; i > 0; ) {
/dovecot/src/plugins/push-notification/
H A Dpush-notification-events.c16 unsigned int count, i; local
19 events = array_get(&push_notification_events, &count);
20 for (i = 0; i < count; i++) {
/dovecot/src/plugins/virtual/
H A Dvirtual-transaction.c15 unsigned int i, count; local
17 bt = array_get(&vt->backend_transactions, &count);
18 for (i = 0; i < count; i++) {
49 unsigned int i, count; local
57 bt = array_get_modifiable(&vt->backend_transactions, &count);
58 for (i = 0; i < count; i++) {
74 unsigned int i, count; local
81 bt = array_get_modifiable(&vt->backend_transactions, &count);
82 for (i = 0; i < count; i++)

Completed in 125 milliseconds

1234567891011>>