/scripts/kconfig/ |
D | expr.h | 38 struct expr *expr; member 42 struct expr { struct 52 for (e = (l); e && (s = e->right.sym); e = e->left.expr) 55 struct expr *expr; member 194 struct expr *expr; /* the optional conditional part of the property */ member 244 struct expr *visibility; 250 struct expr *dep; 288 struct expr *expr_alloc_symbol(struct symbol *sym); 289 struct expr *expr_alloc_one(enum expr_type type, struct expr *ce); 290 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2); [all …]
|
D | expr.c | 16 static struct expr *expr_eliminate_yn(struct expr *e); 18 struct expr *expr_alloc_symbol(struct symbol *sym) in expr_alloc_symbol() 20 struct expr *e = xcalloc(1, sizeof(*e)); in expr_alloc_symbol() 26 struct expr *expr_alloc_one(enum expr_type type, struct expr *ce) in expr_alloc_one() 28 struct expr *e = xcalloc(1, sizeof(*e)); in expr_alloc_one() 30 e->left.expr = ce; in expr_alloc_one() 34 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2) in expr_alloc_two() 36 struct expr *e = xcalloc(1, sizeof(*e)); in expr_alloc_two() 38 e->left.expr = e1; in expr_alloc_two() 39 e->right.expr = e2; in expr_alloc_two() [all …]
|
D | menu.c | 83 static struct expr *rewrite_m(struct expr *e) in rewrite_m() 90 e->left.expr = rewrite_m(e->left.expr); in rewrite_m() 94 e->left.expr = rewrite_m(e->left.expr); in rewrite_m() 95 e->right.expr = rewrite_m(e->right.expr); in rewrite_m() 108 void menu_add_dep(struct expr *dep) in menu_add_dep() 129 static struct property *menu_add_prop(enum prop_type type, struct expr *expr, in menu_add_prop() argument 130 struct expr *dep) in menu_add_prop() 140 prop->expr = expr; in menu_add_prop() 141 prop->visible.expr = dep; in menu_add_prop() 158 struct expr *dep) in menu_add_prompt() [all …]
|
D | symbol.c | 87 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_default_prop() 99 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_range_prop() 143 range_sym = prop->expr->left.sym; in sym_validate_range() 146 range_sym = prop->expr->right.sym; in sym_validate_range() 187 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() 219 tri = expr_calc_value(sym->rev_dep.expr); in sym_calc_visibility() 227 if (sym->implied.expr) in sym_calc_visibility() [all …]
|
D | parser.y | 40 struct expr *expr; member 94 %type <expr> expr 95 %type <expr> if_expr 191 config_option: default expr if_expr T_EOL 305 if_entry: T_IF expr T_EOL 408 depends: T_DEPENDS T_ON expr T_EOL 435 | T_IF expr { $$ = $2; } 438 expr: symbol { $$ = expr_alloc_symbol($1); } 445 | T_OPEN_PAREN expr T_CLOSE_PAREN { $$ = $2; } 446 | T_NOT expr { $$ = expr_alloc_one(E_NOT, $2); } [all …]
|
D | lkc.h | 87 void menu_add_dep(struct expr *dep); 88 void menu_add_visibility(struct expr *dep); 89 struct property *menu_add_prompt(enum prop_type type, char *prompt, struct expr *dep); 90 void menu_add_expr(enum prop_type type, struct expr *expr, struct expr *dep); 91 void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep);
|
D | lkc_proto.h | 52 void expr_print(struct expr *e, void (*fn)(void *, struct symbol *, const char *), void *data, int …
|
D | qconf.cc | 95 tristate expr; in updateMenu() local 145 expr = sym_get_tristate_value(sym); in updateMenu() 146 switch (expr) { in updateMenu() 1052 if (_menu->prompt->visible.expr) { in menuInfo() 1054 expr_print(_menu->prompt->visible.expr, in menuInfo() 1077 if (sym->rev_dep.expr) { in debug_info() 1079 expr_print(sym->rev_dep.expr, expr_print_help, &stream, E_NONE); in debug_info() 1098 expr_print(prop->expr, expr_print_help, in debug_info() 1105 expr_print(prop->expr, expr_print_help, in debug_info() 1115 if (prop->visible.expr) { in debug_info() [all …]
|
D | conf.c | 119 struct expr *e; in randomize_choice_values() 134 expr_list_for_each_sym(prop->expr, e, sym) in randomize_choice_values() 144 expr_list_for_each_sym(prop->expr, e, sym) { in randomize_choice_values()
|
D | Makefile | 146 common-objs := confdata.o expr.o lexer.lex.o menu.o parser.tab.o \
|
D | confdata.c | 1149 struct expr *e; in set_all_choice_values() 1156 expr_list_for_each_sym(prop->expr, e, sym) { in set_all_choice_values()
|
/scripts/ |
D | spdxcheck.py | 162 def parse(self, expr): argument 165 self.parser.parse(expr, lexer = self.lexer) 179 expr = line.split(':')[1].strip() 182 expr = expr.rstrip('*/').strip() 185 expr = expr.rstrip('-->').strip() 188 expr = expr.rstrip('\"').strip() 189 self.parse(expr) 199 col = line.find(expr) + pe.tok.lexpos
|
D | decode_stacktrace.sh | 172 local expr=${symbol%/*} 176 expr=${expr/$name/0x$base_addr} 179 expr=$((expr)) 180 local address=$(printf "%x\n" "$expr")
|
D | decodecode | 56 width=`expr index "$code" ' '` 105 marker=`expr index "$code" "\<"` 107 marker=`expr index "$code" "\("`
|
D | setlocalversion | 42 [ $(expr $kmi_generation : '^[0-9]\+$') -eq 0 ] && usage
|
D | link-vmlinux.sh | 332 VERSION=$(expr 0$(cat .version) + 1)
|
D | Makefile.lib | 389 dec_size=$$(expr $$dec_size + $$fsize); \
|
D | checkpatch.pl | 6400 my $expr = '\s*\(\s*' . $tested . '\s*\)\s*;'; 6401 …(kfree|usb_free_urb|debugfs_remove(?:_recursive)?|(?:kmem_cache|mempool|dma_pool)_destroy)$expr/) {
|
/scripts/genksyms/ |
D | parse.y | 481 struct string_list *expr = copy_list_range(*$3, *$2); variable 482 add_symbol(name, SYM_ENUM_CONST, expr, 0);
|
D | genksyms.c | 205 struct string_list *expr; in __add_symbol() local 210 expr = copy_list_range(last_enum_expr, NULL); in __add_symbol() 212 expr, in __add_symbol()
|
/scripts/mod/ |
D | modpost.h | 98 void *do_nofail(void *ptr, const char *expr);
|
D | modpost.c | 103 void *do_nofail(void *ptr, const char *expr) in do_nofail() argument 106 fatal("Memory allocation failure: %s.\n", expr); in do_nofail()
|