Lines Matching defs:ctx
18 static struct doveadm_print_server_context ctx;
24 ctx.str = str_new(default_pool, 256);
29 str_free(&ctx.str);
37 ctx.header_count++;
42 str_append_tabescaped(ctx.str, value);
43 str_append_c(ctx.str, '\t');
45 if (++ctx.header_idx == ctx.header_count) {
46 ctx.header_idx = 0;
58 str_append_tabescaped_n(ctx.str, value, size);
60 if (str_len(ctx.str) >= IO_BLOCK_SIZE)
67 str_data(ctx.str), str_len(ctx.str));
68 str_truncate(ctx.str, 0);