Lines Matching defs:ctx
7 void dict_transaction_memory_init(struct dict_transaction_memory_context *ctx,
10 ctx->ctx.dict = dict;
11 ctx->pool = pool;
12 p_array_init(&ctx->changes, pool, 32);
17 struct dict_transaction_memory_context *ctx =
20 pool_unref(&ctx->pool);
26 struct dict_transaction_memory_context *ctx =
30 change = array_append_space(&ctx->changes);
32 change->key = p_strdup(ctx->pool, key);
33 change->value.str = p_strdup(ctx->pool, value);
39 struct dict_transaction_memory_context *ctx =
43 change = array_append_space(&ctx->changes);
45 change->key = p_strdup(ctx->pool, key);
51 struct dict_transaction_memory_context *ctx =
55 change = array_append_space(&ctx->changes);
57 change->key = p_strdup(ctx->pool, key);