Searched defs:depth (Results 1 - 8 of 8) sorted by relevance

/dovecot/src/lib/
H A Dtest-data-stack.c90 static void test_ds_recurse(int depth, int number, size_t size) argument
94 char tag[2] = { depth+1, '\0' };
96 data_stack_frame_t t_id = t_push_named("test_ds_recurse[%i]", depth);
114 test_assert_idx(try_fails <= number / 20, depth);
117 if(depth>0)
118 test_ds_recurse(depth-1, number, size);
125 test_assert_idx(t_pop(&t_id), depth); local
128 static void test_ds_recursive(int count, int depth) argument
136 test_ds_recurse(depth, number, size);
H A Dvar-expand-if.c183 unsigned int depth = 0; local
209 depth++;
211 } else if (depth > 0 && *par_end == '}') {
212 depth--;
213 } else if (depth == 0 && *par_end == ';') {
222 } else if (depth == 0 && *par_end == ':') {
H A Dvar-expand.c666 unsigned int depth = 1; local
680 depth++;
682 if (--depth==0)
/dovecot/src/lib-storage/index/
H A Dindex-search-mime.c26 unsigned int depth, index; member in struct:search_mimepart_context
51 prev_depth = mpctx->depth;
55 (&mpctx->stack, mpctx->depth-1);
61 mpctx->depth = mpctx->depth-1;
67 mpctx->depth = prev_depth;
75 unsigned int prev_depth, prev_index, depth; local
92 prev_depth = mpctx->depth;
95 depth = mpctx->depth;
[all...]
/dovecot/src/lib-storage/
H A Dmail-search-mime-register.c340 unsigned int depth; local
363 if (str_to_uint(value, &depth) < 0) {
369 smarg->value.number = depth;
/dovecot/src/imap/
H A Dcmd-getmetadata.c23 unsigned int depth; member in struct:imap_getmetadata_context
63 ctx->depth = 0;
65 ctx->depth = 1;
67 ctx->depth = UINT_MAX;
271 } while (ctx->depth == 1 && strchr(subentry, '/') != NULL);
285 } else if (ctx->depth == 0) {
382 if (ctx->depth > 0)
/dovecot/src/doveadm/dsync/
H A Dtest-dsync-mailbox-tree-sync.c77 unsigned int depth, unsigned int *counter)
82 if (depth == MAX_DEPTH)
93 str_printfa(str, "%u.%u", depth, i);
95 create_random_nodes(tree, str_c(str), depth+1, counter);
144 static void nodes_dump(const struct dsync_mailbox_node *node, unsigned int depth) argument
149 for (i = 0; i < depth; i++) printf(" ");
150 printf("%-*s guid:%.5s uidv:%u %d%d %ld\n", 40-depth, node->name,
154 nodes_dump(node->first_child, depth+1);
76 create_random_nodes(struct dsync_mailbox_tree *tree, const char *parent_name, unsigned int depth, unsigned int *counter) argument
/dovecot/src/plugins/fts-solr/
H A Dsolr-connection.c38 int depth; member in struct:solr_lookup_xml_context
185 i_assert(ctx->depth >= (int)ctx->state);
187 ctx->depth++;
188 if (ctx->depth - 1 > (int)ctx->state) {
300 i_assert(ctx->depth >= (int)ctx->state);
309 if (ctx->depth == (int)ctx->state) {
322 ctx->depth--;

Completed in 1928 milliseconds