/busybox-1.35.0/scripts/kconfig/ |
D | symbol.c | 39 struct property *prop = prop_alloc(P_DEFAULT, sym); in sym_add_default() local 41 prop->expr = expr_alloc_symbol(sym_lookup(def, 1)); in sym_add_default() 113 struct property *prop; in sym_get_choice_prop() local 115 for_all_choices(sym, prop) in sym_get_choice_prop() 116 return prop; in sym_get_choice_prop() 122 struct property *prop; in sym_get_default_prop() local 124 for_all_defaults(sym, prop) { in sym_get_default_prop() 125 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_default_prop() 126 if (prop->visible.tri != no) in sym_get_default_prop() 127 return 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->text = prompt; in menu_add_prop() 128 prop->expr = expr; in menu_add_prop() 129 prop->visible.expr = menu_check_dep(dep); in menu_add_prop() 134 current_entry->prompt = prop; in menu_add_prop() 137 return prop; in menu_add_prop() 163 struct property *prop; in sym_check_prop() local [all …]
|
D | zconf.y | 565 struct property *prop; in print_symbol() local 591 for (prop = sym->prop; prop; prop = prop->next) { in print_symbol() 592 if (prop->menu != menu) in print_symbol() 594 switch (prop->type) { in print_symbol() 597 print_quoted_string(out, prop->text); in print_symbol() 598 if (!expr_is_yes(prop->visible.expr)) { in print_symbol() 600 expr_fprint(prop->visible.expr, out); in print_symbol() 606 expr_fprint(prop->expr, out); in print_symbol() 607 if (!expr_is_yes(prop->visible.expr)) { in print_symbol() 609 expr_fprint(prop->visible.expr, out); in print_symbol() [all …]
|
D | mconf.c | 378 static void get_prompt_str(struct gstr *r, struct property *prop) in get_prompt_str() argument 383 str_printf(r, "Prompt: %s\n", prop->text); in get_prompt_str() 384 str_printf(r, " Defined at %s:%d\n", prop->menu->file->name, in get_prompt_str() 385 prop->menu->lineno); in get_prompt_str() 386 if (!expr_is_yes(prop->visible.expr)) { in get_prompt_str() 388 expr_gstr_print(prop->visible.expr, r); in get_prompt_str() 391 menu = prop->menu->parent; in get_prompt_str() 412 struct property *prop; in get_symbol_str() local 416 for_all_prompts(sym, prop) in get_symbol_str() 417 get_prompt_str(r, prop); in get_symbol_str() [all …]
|
D | qconf.cc | 181 struct property *prop; in updateMenu() local 194 prop = menu->prompt; in updateMenu() 197 if (prop) switch (prop->type) { in updateMenu() 1063 for (struct property *prop = sym->prop; prop; prop = prop->next) { in setHelp() local 1064 switch (prop->type) { in setHelp() 1068 debug += print_filter(_(prop->text)); in setHelp() 1073 expr_print(prop->expr, expr_print_help, &debug, E_NONE); in setHelp() 1079 expr_print(prop->expr, expr_print_help, &debug, E_NONE); in setHelp() 1085 expr_print(prop->expr, expr_print_help, &debug, E_NONE); in setHelp() 1090 expr_print(prop->expr, expr_print_help, &debug, E_NONE); in setHelp() [all …]
|
D | expr.h | 74 struct property *prop; member 119 for (st = sym->prop; st; st = st->next) \ 124 for (st = sym->prop; st; st = st->next) \
|
D | conf.c | 447 struct property *prop; in conf() local 454 prop = menu->prompt; in conf() 455 if (prop) { in conf() 458 switch (prop->type) { in conf()
|
D | zconf.tab.c_shipped | 2053 struct property *prop; 2079 for (prop = sym->prop; prop; prop = prop->next) { 2080 if (prop->menu != menu) 2082 switch (prop->type) { 2085 print_quoted_string(out, prop->text); 2086 if (!expr_is_yes(prop->visible.expr)) { 2088 expr_fprint(prop->visible.expr, out); 2094 expr_fprint(prop->expr, out); 2095 if (!expr_is_yes(prop->visible.expr)) { 2097 expr_fprint(prop->visible.expr, out); [all …]
|
D | lkc.h | 105 struct symbol *prop_get_symbol(struct property *prop);
|
D | confdata.c | 272 struct property *prop; in conf_read() local 320 prop = sym_get_choice_prop(sym); in conf_read() 321 for (e = prop->expr; e; e = e->left.expr) in conf_read()
|
D | gconf.c | 1395 struct property *prop; in update_tree() local 1404 prop = child1->prompt; in update_tree() 1474 struct property *prop; in display_tree() local 1484 prop = child->prompt; in display_tree() 1486 ptype = prop ? prop->type : P_UNKNOWN; in display_tree()
|