/scripts/kconfig/ |
D | expr.h | 35 struct expr *expr; member 39 struct expr { struct 49 for (e = (l); e && (s = e->right.sym); e = e->left.expr) 52 struct expr *expr; member 141 struct expr *expr; /* the optional conditional part of the property */ member 164 struct expr *visibility; 165 struct expr *dep; 184 struct expr *expr_alloc_symbol(struct symbol *sym); 185 struct expr *expr_alloc_one(enum expr_type type, struct expr *ce); 186 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2); [all …]
|
D | expr.c | 14 struct expr *expr_alloc_symbol(struct symbol *sym) in expr_alloc_symbol() 16 struct expr *e = calloc(1, sizeof(*e)); in expr_alloc_symbol() 22 struct expr *expr_alloc_one(enum expr_type type, struct expr *ce) in expr_alloc_one() 24 struct expr *e = calloc(1, sizeof(*e)); in expr_alloc_one() 26 e->left.expr = ce; in expr_alloc_one() 30 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2) in expr_alloc_two() 32 struct expr *e = calloc(1, sizeof(*e)); in expr_alloc_two() 34 e->left.expr = e1; in expr_alloc_two() 35 e->right.expr = e2; in expr_alloc_two() 39 struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2) in expr_alloc_comp() [all …]
|
D | menu.c | 82 static struct expr *menu_check_dep(struct expr *e) in menu_check_dep() 89 e->left.expr = menu_check_dep(e->left.expr); in menu_check_dep() 93 e->left.expr = menu_check_dep(e->left.expr); in menu_check_dep() 94 e->right.expr = menu_check_dep(e->right.expr); in menu_check_dep() 107 void menu_add_dep(struct expr *dep) in menu_add_dep() 127 struct property *menu_add_prop(enum prop_type type, char *prompt, struct expr *expr, struct expr *d… in menu_add_prop() argument 132 prop->expr = expr; in menu_add_prop() 133 prop->visible.expr = menu_check_dep(dep); in menu_add_prop() 151 prop->visible.expr in menu_add_prop() 152 = expr_alloc_and(prop->visible.expr, in menu_add_prop() [all …]
|
D | lkc.h | 106 void menu_add_dep(struct expr *dep); 107 void menu_add_visibility(struct expr *dep); 108 struct property *menu_add_prop(enum prop_type type, char *prompt, struct expr *expr, struct expr *d… 109 struct property *menu_add_prompt(enum prop_type type, char *prompt, struct expr *dep); 110 void menu_add_expr(enum prop_type type, struct expr *expr, struct expr *dep); 111 void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep); 137 extern struct expr *sym_env_list;
|
D | symbol.c | 36 struct expr *sym_env_list; 42 prop->expr = expr_alloc_symbol(sym_lookup(def, SYMBOL_CONST)); in sym_add_default() 120 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_default_prop() 132 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_range_prop() 175 val2 = sym_get_range_val(prop->expr->left.sym, base); in sym_validate_range() 177 val2 = sym_get_range_val(prop->expr->right.sym, base); in sym_validate_range() 196 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_calc_visibility() 209 if (sym->dir_dep.expr) in sym_calc_visibility() 210 tri = expr_calc_value(sym->dir_dep.expr); in sym_calc_visibility() 218 if (sym->rev_dep.expr) in sym_calc_visibility() [all …]
|
D | zconf.y | 41 struct expr *expr; member 83 %type <expr> expr 84 %type <expr> if_expr 198 config_option: T_DEFAULT expr if_expr T_EOL 316 if_entry: T_IF expr nl 423 depends: T_DEPENDS T_ON expr T_EOL 466 | T_IF expr { $$ = $2; } 469 expr: symbol { $$ = expr_alloc_symbol($1); } 472 | T_OPEN_PAREN expr T_CLOSE_PAREN { $$ = $2; } 473 | T_NOT expr { $$ = expr_alloc_one(E_NOT, $2); } [all …]
|
D | zconf.tab.c_shipped | 183 struct expr *expr; 568 "end", "nl", "if_expr", "expr", "symbol", "word_opt", 0 1723 menu_add_prompt(P_PROMPT, (yyvsp[(2) - (4)].string), (yyvsp[(3) - (4)].expr)); 1731 menu_add_expr(P_DEFAULT, (yyvsp[(2) - (4)].expr), (yyvsp[(3) - (4)].expr)); 1743 menu_add_symbol(P_SELECT, sym_lookup((yyvsp[(2) - (4)].string), 0), (yyvsp[(3) - (4)].expr)); 1751 …alloc_comp(E_RANGE,(yyvsp[(2) - (5)].symbol), (yyvsp[(3) - (5)].symbol)), (yyvsp[(4) - (5)].expr)); 1809 menu_add_prompt(P_PROMPT, (yyvsp[(2) - (4)].string), (yyvsp[(3) - (4)].expr)); 1839 menu_add_symbol(P_DEFAULT, sym_lookup((yyvsp[(2) - (4)].string), 0), (yyvsp[(3) - (4)].expr)); 1852 menu_add_dep((yyvsp[(2) - (3)].expr)); 1942 menu_add_dep((yyvsp[(3) - (4)].expr)); [all …]
|
D | confdata.c | 210 if (expr_calc_value(prop->visible.expr) == no || in conf_read_simple() 211 prop->expr->type != E_SYMBOL) in conf_read_simple() 213 name = conf_expand_value(prop->expr->left.sym->name); in conf_read_simple() 990 struct expr *e; in randomize_choice_values() 1005 expr_list_for_each_sym(prop->expr, e, sym) in randomize_choice_values() 1015 expr_list_for_each_sym(prop->expr, e, sym) { in randomize_choice_values() 1033 struct expr *e; in set_all_choice_values() 1040 expr_list_for_each_sym(prop->expr, e, sym) { in set_all_choice_values()
|
D | qconf.cc | 121 tristate expr; in updateMenu() local 173 expr = sym_get_tristate_value(sym); in updateMenu() 174 switch (expr) { in updateMenu() 197 if (expr != no) in updateMenu() 199 if (expr != mod) in updateMenu() 201 if (expr != yes) in updateMenu() 1053 if (_menu->prompt->visible.expr) { in menuInfo() 1055 expr_print(_menu->prompt->visible.expr, expr_print_help, &debug, E_NONE); in menuInfo() 1075 if (sym->rev_dep.expr) { in debug_info() 1077 expr_print(sym->rev_dep.expr, expr_print_help, &debug, E_NONE); in debug_info() [all …]
|
D | lkc_proto.h | 54 P(expr_print,void,(struct expr *e, void (*fn)(void *, struct symbol *, const char *), void *data, i…
|
D | util.c | 38 struct expr *e; in file_write_dep()
|
/scripts/ |
D | decodecode | 42 width=`expr index "$code" ' '` 65 marker=`expr index "$code" "\<"` 67 marker=`expr index "$code" "\("`
|
D | mkversion | 5 expr 0`cat .version` + 1
|
D | ver_linux | 88 expr --v 2>&1 | awk 'NR==1{print "Sh-utils ", $NF}'
|
D | checkpatch.pl | 3127 my $expr = $1; 3128 if ($line =~ /\bkfree\(\Q$expr\E\);/) { 3135 my $expr = $1; 3136 if ($line =~ /\busb_free_urb\(\Q$expr\E\);/) {
|
D | Makefile.lib | 284 dec_size=$$(expr $$dec_size + $$fsize); \
|
/scripts/genksyms/ |
D | parse.y | 478 struct string_list *expr = copy_list_range(*$3, *$2); variable 479 add_symbol(name, SYM_ENUM_CONST, expr, 0);
|
D | genksyms.c | 218 struct string_list *expr; in __add_symbol() local 223 expr = copy_list_range(last_enum_expr, NULL); in __add_symbol() 225 expr, in __add_symbol()
|
D | parse.tab.c_shipped | 2141 struct string_list *expr = copy_list_range(*(yyvsp[(3) - (3)]), *(yyvsp[(2) - (3)])); 2142 add_symbol(name, SYM_ENUM_CONST, expr, 0);
|
/scripts/mod/ |
D | modpost.h | 91 void *do_nofail(void *ptr, const char *expr);
|
D | modpost.c | 102 void *do_nofail(void *ptr, const char *expr) in do_nofail() argument 105 fatal("modpost: Memory allocation failure: %s.\n", expr); in do_nofail()
|