Lines Matching refs:current
17 assert(dc->context_ndx > ctx->current->context_ndx); in configparser_push()
19 dc->parent = ctx->current; in configparser_push()
22 if (ctx->configs_stack->used > 0 && ctx->current->context_ndx == 0) { in configparser_push()
26 array_insert_unique(ctx->configs_stack, (data_unset *)ctx->current); in configparser_push()
27 ctx->current = dc; in configparser_push()
31 data_config *old = ctx->current; in configparser_pop()
32 ctx->current = (data_config *) array_pop(ctx->configs_stack); in configparser_pop()
44 for (dc = ctx->current; dc; dc = dc->parent) { in configparser_get_variable()
151 ctx->current->context_ndx, in key()
152 ctx->current->key->ptr, A->ptr); in key()
154 } else if (NULL == array_get_element(ctx->current->value, B->key->ptr)) { in key()
155 array_insert_unique(ctx->current->value, B); in key()
159 ctx->current->context_ndx, in key()
160 ctx->current->key->ptr, B->key->ptr); in key()
171 array *vars = ctx->current->value; in key()
176 ctx->current->context_ndx, in key()
177 ctx->current->key->ptr, A->ptr); in key()
197 array_insert_unique(ctx->current->value, du); in key()
202 array_insert_unique(ctx->current->value, B); in key()
344 cur = ctx->current; in global()
347 assert(cur && ctx->current); in global()
372 cur = ctx->current; in condline()
375 assert(cur && ctx->current); in condline()
408 buffer_copy_string_buffer(b, ctx->current->key); in SRVVARNAME()