/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 197 struct expr *expr; /* the optional conditional part of the property */ member 247 struct expr *visibility; 253 struct expr *dep; 294 struct expr *expr_alloc_symbol(struct symbol *sym); 295 struct expr *expr_alloc_one(enum expr_type type, struct expr *ce); 296 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 | 82 static struct expr *rewrite_m(struct expr *e) in rewrite_m() 89 e->left.expr = rewrite_m(e->left.expr); in rewrite_m() 93 e->left.expr = rewrite_m(e->left.expr); in rewrite_m() 94 e->right.expr = rewrite_m(e->right.expr); in rewrite_m() 107 void menu_add_dep(struct expr *dep) in menu_add_dep() 128 static struct property *menu_add_prop(enum prop_type type, struct expr *expr, in menu_add_prop() argument 129 struct expr *dep) in menu_add_prop() 139 prop->expr = expr; in menu_add_prop() 140 prop->visible.expr = dep; in menu_add_prop() 157 struct expr *dep) in menu_add_prompt() [all …]
|
D | symbol.c | 88 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_default_prop() 100 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_range_prop() 144 range_sym = prop->expr->left.sym; in sym_validate_range() 147 range_sym = prop->expr->right.sym; in sym_validate_range() 188 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_calc_visibility() 210 if (sym->dir_dep.expr) in sym_calc_visibility() 211 tri = expr_calc_value(sym->dir_dep.expr); in sym_calc_visibility() 219 if (sym->rev_dep.expr) in sym_calc_visibility() 220 tri = expr_calc_value(sym->rev_dep.expr); in sym_calc_visibility() 228 if (sym->implied.expr) in sym_calc_visibility() [all …]
|
D | parser.y | 39 struct expr *expr; member 96 %type <expr> expr 97 %type <expr> if_expr 193 config_option: default expr if_expr T_EOL 314 if_entry: T_IF expr T_EOL 417 depends: T_DEPENDS T_ON expr T_EOL 444 | T_IF expr { $$ = $2; } 447 expr: symbol { $$ = expr_alloc_symbol($1); } 454 | T_OPEN_PAREN expr T_CLOSE_PAREN { $$ = $2; } 455 | T_NOT expr { $$ = expr_alloc_one(E_NOT, $2); } [all …]
|
D | lkc.h | 101 void menu_add_dep(struct expr *dep); 102 void menu_add_visibility(struct expr *dep); 103 struct property *menu_add_prompt(enum prop_type type, char *prompt, struct expr *dep); 104 void menu_add_expr(enum prop_type type, struct expr *expr, struct expr *dep); 105 void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep);
|
D | confdata.c | 373 if (expr_calc_value(prop->visible.expr) == no || in conf_read_simple() 374 prop->expr->type != E_SYMBOL) in conf_read_simple() 376 sym_calc_value(prop->expr->left.sym); in conf_read_simple() 377 name = sym_get_string_value(prop->expr->left.sym); in conf_read_simple() 1138 struct expr *e; in randomize_choice_values() 1153 expr_list_for_each_sym(prop->expr, e, sym) in randomize_choice_values() 1163 expr_list_for_each_sym(prop->expr, e, sym) { in randomize_choice_values() 1186 struct expr *e; in set_all_choice_values() 1193 expr_list_for_each_sym(prop->expr, e, sym) { in set_all_choice_values()
|
D | lkc_proto.h | 51 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 144 expr = sym_get_tristate_value(sym); in updateMenu() 145 switch (expr) { in updateMenu() 1047 if (_menu->prompt->visible.expr) { in menuInfo() 1049 expr_print(_menu->prompt->visible.expr, in menuInfo() 1072 if (sym->rev_dep.expr) { in debug_info() 1074 expr_print(sym->rev_dep.expr, expr_print_help, &stream, E_NONE); in debug_info() 1093 expr_print(prop->expr, expr_print_help, in debug_info() 1100 expr_print(prop->expr, expr_print_help, in debug_info() 1110 if (prop->visible.expr) { in debug_info() [all …]
|
D | Makefile | 149 common-objs := confdata.o expr.o lexer.lex.o parser.tab.o preprocess.o \
|
/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 | 149 local expr=${symbol%/*} 153 expr=${expr/$name/0x$base_addr} 156 expr=$((expr)) 157 local address=$(printf "%x\n" "$expr")
|
D | decodecode | 56 width=`expr index "$code" ' '` 105 marker=`expr index "$code" "\<"` 107 marker=`expr index "$code" "\("`
|
D | generate_cfi_kallsyms.pl | 110 my ($symbol, $expr, $offset) = $target =~ /^(\S*)([-\+])0x([a-f0-9]+)?$/; 112 if (!defined($symbol) || !defined(!$expr) || !defined($offset)) { 116 if ($symbol =~ /^\.((init|exit)\.)?text$/ && $expr eq '+') {
|
D | setlocalversion | 42 [ $(expr $kmi_generation : '^[0-9]\+$') -eq 0 ] && usage
|
D | link-vmlinux.sh | 361 VERSION=$(expr 0$(cat .version) + 1)
|
D | Makefile.lib | 397 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 | 478 struct string_list *expr = copy_list_range(*$3, *$2); variable 479 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 | 99 void *do_nofail(void *ptr, const char *expr);
|
D | modpost.c | 88 void *do_nofail(void *ptr, const char *expr) in do_nofail() argument 91 fatal("Memory allocation failure: %s.\n", expr); in do_nofail()
|