/scripts/kconfig/ |
D | symbol.c | 41 struct property *prop = prop_alloc(P_DEFAULT, sym); in sym_add_default() local 43 prop->expr = expr_alloc_symbol(sym_lookup(def, SYMBOL_CONST)); in sym_add_default() 100 struct property *prop; in sym_get_choice_prop() local 102 for_all_choices(sym, prop) in sym_get_choice_prop() 103 return prop; in sym_get_choice_prop() 109 struct property *prop; in sym_get_env_prop() local 111 for_all_properties(sym, prop, P_ENV) in sym_get_env_prop() 112 return prop; in sym_get_env_prop() 118 struct property *prop; in sym_get_default_prop() local 120 for_all_defaults(sym, prop) { in sym_get_default_prop() [all …]
|
D | menu.c | 28 static void prop_warn(struct property *prop, const char *fmt, ...) in prop_warn() argument 32 fprintf(stderr, "%s:%d:warning: ", prop->file->name, prop->lineno); in prop_warn() 124 struct property *prop = prop_alloc(type, current_entry->sym); in menu_add_prop() local 126 prop->menu = current_entry; in menu_add_prop() 127 prop->expr = expr; in menu_add_prop() 128 prop->visible.expr = menu_check_dep(dep); in menu_add_prop() 132 prop_warn(prop, "leading whitespace ignored"); in menu_add_prop() 137 prop_warn(prop, "prompt redefined"); in menu_add_prop() 138 current_entry->prompt = prop; in menu_add_prop() 140 prop->text = prompt; in menu_add_prop() [all …]
|
D | zconf.y | 488 if (!modules_sym->prop) { 489 struct property *prop; variable 491 prop = prop_alloc(P_DEFAULT, modules_sym); 492 prop->expr = expr_alloc_symbol(sym_lookup("MODULES", 0)); 588 struct property *prop; in print_symbol() local 614 for (prop = sym->prop; prop; prop = prop->next) { in print_symbol() 615 if (prop->menu != menu) in print_symbol() 617 switch (prop->type) { in print_symbol() 620 print_quoted_string(out, prop->text); in print_symbol() 621 if (!expr_is_yes(prop->visible.expr)) { in print_symbol() [all …]
|
D | mconf.c | 287 static void get_prompt_str(struct gstr *r, struct property *prop) in get_prompt_str() argument 292 str_printf(r, _("Prompt: %s\n"), _(prop->text)); in get_prompt_str() 293 str_printf(r, _(" Defined at %s:%d\n"), prop->menu->file->name, in get_prompt_str() 294 prop->menu->lineno); in get_prompt_str() 295 if (!expr_is_yes(prop->visible.expr)) { in get_prompt_str() 297 expr_gstr_print(prop->visible.expr, r); in get_prompt_str() 300 menu = prop->menu->parent; in get_prompt_str() 321 struct property *prop; in get_symbol_str() local 326 for_all_prompts(sym, prop) in get_symbol_str() 327 get_prompt_str(r, prop); in get_symbol_str() [all …]
|
D | confdata.c | 159 struct property *prop; in conf_read_simple() local 169 for_all_defaults(sym_defconfig_list, prop) { in conf_read_simple() 170 if (expr_calc_value(prop->visible.expr) == no || in conf_read_simple() 171 prop->expr->type != E_SYMBOL) in conf_read_simple() 173 name = conf_expand_value(prop->expr->left.sym->name); in conf_read_simple() 316 struct property *prop; in conf_read() local 354 prop = sym_get_choice_prop(sym); in conf_read() 356 expr_list_for_each_sym(prop->expr, e, choice_sym) in conf_read() 820 struct property *prop; in conf_set_all_new_symbols() local 877 prop = sym_get_choice_prop(csym); in conf_set_all_new_symbols() [all …]
|
D | util.c | 53 struct property *prop; in file_write_dep() local 56 prop = sym_get_env_prop(sym); in file_write_dep() 57 env_sym = prop_get_symbol(prop); in file_write_dep()
|
D | qconf.cc | 103 struct property *prop; in updateMenu() local 116 prop = menu->prompt; in updateMenu() 119 if (prop) switch (prop->type) { in updateMenu() 1082 for (struct property *prop = sym->prop; prop; prop = prop->next) { in debug_info() local 1083 switch (prop->type) { in debug_info() 1086 debug += QString().sprintf("prompt: <a href=\"m%p\">", prop->menu); in debug_info() 1087 debug += print_filter(_(prop->text)); in debug_info() 1094 debug += prop_get_type_name(prop->type); in debug_info() 1096 expr_print(prop->expr, expr_print_help, &debug, E_NONE); in debug_info() 1102 expr_print(prop->expr, expr_print_help, &debug, E_NONE); in debug_info() [all …]
|
D | expr.h | 85 struct property *prop; member 152 for (st = sym->prop; st; st = st->next) \ 157 for (st = sym->prop; st; st = st->next) \
|
D | conf.c | 350 struct property *prop; in conf() local 357 prop = menu->prompt; in conf() 358 if (prop) { in conf() 361 switch (prop->type) { in conf()
|
D | zconf.tab.c_shipped | 2271 if (!modules_sym->prop) { 2272 struct property *prop; 2274 prop = prop_alloc(P_DEFAULT, modules_sym); 2275 prop->expr = expr_alloc_symbol(sym_lookup("MODULES", 0)); 2371 struct property *prop; 2397 for (prop = sym->prop; prop; prop = prop->next) { 2398 if (prop->menu != menu) 2400 switch (prop->type) { 2403 print_quoted_string(out, prop->text); 2404 if (!expr_is_yes(prop->visible.expr)) { [all …]
|
D | lkc.h | 125 struct symbol *prop_get_symbol(struct property *prop);
|
D | gconf.c | 1376 struct property *prop; in update_tree() local 1385 prop = child1->prompt; in update_tree() 1455 struct property *prop; in display_tree() local 1465 prop = child->prompt; in display_tree() 1467 ptype = prop ? prop->type : P_UNKNOWN; in display_tree()
|