Searched refs:fields_count (Results 1 - 18 of 18) sorted by relevance

/dovecot/src/lib-old-stats/
H A Dstats-parser.h19 unsigned int fields_count,
23 unsigned int fields_count,
H A Dstats-parser.c43 unsigned int fields_count,
49 for (i = 0; i < fields_count; i++) {
107 unsigned int fields_count,
112 for (i = 0; i < fields_count; i++) {
42 stats_parser_diff(const struct stats_parser_field *fields, unsigned int fields_count, const struct stats *stats1, const struct stats *stats2, struct stats *diff_stats_r, const char **error_r) argument
106 stats_parser_add(const struct stats_parser_field *fields, unsigned int fields_count, struct stats *dest, const struct stats *src) argument
/dovecot/src/doveadm/
H A Ddoveadm-stats.c13 static void dump_timing(const char *const **args, unsigned int fields_count) argument
17 if (args_count > fields_count)
18 args_count = fields_count;
28 unsigned int i, fields_count = str_array_length(fields); local
36 for (i = 0; i < fields_count; i++) {
54 for (i = 0; i < fields_count; i++)
67 dump_timing(&args, fields_count);
71 dump_timing(&args, fields_count);
/dovecot/src/lib-index/
H A Dmail-cache-fields.c103 unsigned int fields_count)
110 new_idx = cache->fields_count;
111 for (i = 0; i < fields_count; i++) {
132 if (new_idx == cache->fields_count)
138 cache->fields_count, new_idx);
141 cache->fields_count, new_idx);
143 registered_count = cache->fields_count;
144 for (i = 0; i < fields_count; i++) {
165 cache->fields_count = new_idx;
183 i_assert(field_idx < cache->fields_count);
101 mail_cache_register_fields(struct mail_cache *cache, struct mail_cache_field *fields, unsigned int fields_count) argument
[all...]
H A Dmail-cache-private.h42 uint32_t fields_count; member in struct:mail_cache_header_fields
47 uint32_t last_used[fields_count];
49 uint32_t size[fields_count];
51 uint8_t type[fields_count];
53 uint8_t decision[fields_count];
55 char name[fields_count][];
125 unsigned int fields_count; member in struct:mail_cache
H A Dmail-cache.h56 unsigned int fields_count);
144 unsigned int fields_count);
H A Dmail-cache-decisions.c81 i_assert(field < cache->fields_count);
135 i_assert(field < cache->fields_count);
H A Dmail-cache-lookup.c332 i_assert(field < cache->fields_count);
370 i_assert(field_idx < cache->fields_count);
502 unsigned int fields_count, pool_t *pool_r)
519 if (fields_count == 0)
527 for (i = 0; i < fields_count; i++)
532 for (i = 0; i < fields_count; i++) {
600 unsigned int fields_count)
607 field_idxs, fields_count,
500 mail_cache_lookup_headers_real(struct mail_cache_view *view, string_t *dest, uint32_t seq, unsigned int field_idxs[], unsigned int fields_count, pool_t *pool_r) argument
598 mail_cache_lookup_headers(struct mail_cache_view *view, string_t *dest, uint32_t seq, unsigned int field_idxs[], unsigned int fields_count) argument
H A Dmail-cache-compress.c133 sizeof(uint32_t) * cache->fields_count);
140 for (i = j = 0; i < cache->fields_count; i++) {
203 ctx.field_file_map = t_new(uint32_t, cache->fields_count + 1);
213 orig_fields_count = cache->fields_count;
291 i_assert(orig_fields_count == cache->fields_count);
H A Dmail-cache-transaction.c630 for (i = 0; i < cache->fields_count; i++) {
718 i_assert(field_idx < ctx->cache->fields_count);
/dovecot/src/stats/
H A Dstats-metrics.h17 unsigned int fields_count; member in struct:metric
H A Dstats-metrics.c60 metric->fields_count = str_array_length(fields);
61 if (metric->fields_count > 0) {
63 metric->fields_count);
64 for (unsigned int i = 0; i < metric->fields_count; i++) {
110 for (unsigned int i = 0; i < metric->fields_count; i++)
133 for (unsigned int i = 0; i < (*metricp)->fields_count; i++)
156 for (unsigned int i = 0; i < metric->fields_count; i++) {
H A Dclient-reader.c78 for (unsigned int i = 0; i < metric->fields_count; i++) {
/dovecot/src/auth/
H A Duserdb-sql.c39 unsigned int i, fields_count; local
41 fields_count = sql_result_get_fields_count(result);
42 for (i = 0; i < fields_count; i++) {
H A Dpassdb-sql.c36 unsigned int i, fields_count; local
39 fields_count = sql_result_get_fields_count(result);
40 for (i = 0; i < fields_count; i++) {
/dovecot/src/lib/
H A Devent-filter.c29 unsigned int fields_count; member in struct:event_filter_query_internal
137 int_query->fields_count = count;
189 if (int_query->fields_count > 0) {
192 t_array_init(&fields, int_query->fields_count);
193 for (i = 0; i < int_query->fields_count; i++) {
228 for (i = 0; i < query->fields_count; i++) {
401 for (unsigned int i = 0; i < query->fields_count; i++) {
/dovecot/src/lib-sql/
H A Ddriver-pgsql.c52 unsigned int fields_count; member in struct:pgsql_result
708 result->fields_count = PQnfields(result->pgres);
709 result->fields = i_new(const char *, result->fields_count);
710 for (i = 0; i < result->fields_count; i++)
720 return result->fields_count;
729 i_assert(idx < result->fields_count);
740 for (i = 0; i < result->fields_count; i++) {
808 result->values = i_new(const char *, result->fields_count);
812 for (i = 0; i < result->fields_count; i++) {
H A Ddriver-mysql.c55 unsigned int fields_count; member in struct:mysql_result
432 result->fields_count = mysql_num_fields(result->result);
442 return result->fields_count;
451 i_assert(idx < result->fields_count);
462 for (i = 0; i < result->fields_count; i++) {

Completed in 59 milliseconds