Lines Matching refs:current

49     force_assert(dc->context_ndx > ctx->current->context_ndx);  in configparser_push()
51 dc->parent = ctx->current; in configparser_push()
54 if (ctx->configs_stack.used > 0 && ctx->current->context_ndx == 0) { in configparser_push()
58 configparser_push_data_config_list(&ctx->configs_stack, ctx->current); in configparser_push()
59 ctx->current = dc; in configparser_push()
63 data_config *old = ctx->current; in configparser_pop()
65 ctx->current = ctx->configs_stack.data[--ctx->configs_stack.used]; in configparser_pop()
66 force_assert(old && ctx->current); in configparser_pop()
78 for (dc = ctx->current; dc; dc = dc->parent) { in configparser_get_variable()
260 const uint32_t comp_offset = buffer_clen(&ctx->current->key)+3; in configparser_parse_condition()
264 { BUF_PTR_LEN(&ctx->current->key) } in configparser_parse_condition()
355 buffer_append_str2(&dc->key, BUF_PTR_LEN(&ctx->current->key), in configparser_parse_else_condition()
406 ctx->current->context_ndx, in key()
407 ctx->current->key.ptr, A->ptr); in key()
409 } else if (NULL == array_get_element_klen(ctx->current->value, BUF_PTR_LEN(&B->key))) { in key()
410 array_insert_unique(ctx->current->value, B); in key()
414 ctx->current->context_ndx, in key()
415 ctx->current->key.ptr, B->key.ptr); in key()
429 ctx->current->context_ndx, in key()
430 ctx->current->key.ptr, A->ptr); in key()
434 array_replace(ctx->current->value, B); in key()
446 array *vars = ctx->current->value; in key()
451 ctx->current->context_ndx, in key()
452 ctx->current->key.ptr, A->ptr); in key()
461 array_insert_unique(ctx->current->value, du); in key()
465 array_insert_unique(ctx->current->value, B); in key()