Searched refs:expr (Results 1 – 12 of 12) sorted by relevance
| /scripts/kconfig/ |
| A D | expr.h | 38 struct expr *expr; member 42 struct expr { struct 55 struct expr *expr; member 296 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2); 298 struct expr *expr_alloc_and(struct expr *e1, struct expr *e2); 299 struct expr *expr_alloc_or(struct expr *e1, struct expr *e2); 300 struct expr *expr_copy(const struct expr *org); 302 void expr_eliminate_eq(struct expr **ep1, struct expr **ep2); 304 struct expr *expr_trans_bool(struct expr *e); 305 struct expr *expr_eliminate_dups(struct expr *e); [all …]
|
| A D | expr.c | 14 static int expr_eq(struct expr *e1, struct expr *e2); 33 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2) in expr_alloc_two() 51 struct expr *expr_alloc_and(struct expr *e1, struct expr *e2) in expr_alloc_and() 58 struct expr *expr_alloc_or(struct expr *e1, struct expr *e2) in expr_alloc_or() 65 struct expr *expr_copy(const struct expr *org) in expr_copy() 79 e->left.expr = expr_copy(org->left.expr); in expr_copy() 93 e->left.expr = expr_copy(org->left.expr); in expr_copy() 94 e->right.expr = expr_copy(org->right.expr); in expr_copy() 423 static struct expr *expr_join_or(struct expr *e1, struct expr *e2) in expr_join_or() 487 static struct expr *expr_join_and(struct expr *e1, struct expr *e2) in expr_join_and() [all …]
|
| A D | menu.c | 81 static struct expr *rewrite_m(struct expr *e) in rewrite_m() 88 e->left.expr = rewrite_m(e->left.expr); in rewrite_m() 92 e->left.expr = rewrite_m(e->left.expr); in rewrite_m() 93 e->right.expr = rewrite_m(e->right.expr); in rewrite_m() 132 prop->expr = expr; in menu_add_prop() 182 void menu_add_visibility(struct expr *expr) in menu_add_visibility() argument 185 expr); in menu_add_visibility() 188 void menu_add_expr(enum prop_type type, struct expr *expr, struct expr *dep) in menu_add_expr() argument 403 es->rev_dep.expr = expr_alloc_or(es->rev_dep.expr, in menu_finalize() 407 es->implied.expr = expr_alloc_or(es->implied.expr, in menu_finalize() [all …]
|
| A D | symbol.c | 246 struct expr *e; in sym_choice_default() 519 for (e = prop->expr; e; e = e->left.expr) { in sym_set_tristate_value() 1014 struct expr **expr; member 1089 } else if (stack->expr == &sym->dir_dep.expr) { in sym_check_print_recursive() 1094 } else if (stack->expr == &sym->rev_dep.expr) { in sym_check_print_recursive() 1099 } else if (stack->expr == &sym->implied.expr) { in sym_check_print_recursive() 1171 stack.expr = &sym->dir_dep.expr; in sym_check_sym_deps() 1176 stack.expr = &sym->rev_dep.expr; in sym_check_sym_deps() 1181 stack.expr = &sym->implied.expr; in sym_check_sym_deps() 1198 stack.expr = &prop->expr; in sym_check_sym_deps() [all …]
|
| A D | zconf.y | 41 struct expr *expr; member 94 %type <expr> expr 95 %type <expr> if_expr 340 if_entry: T_IF expr T_EOL 493 | T_IF expr { $$ = $2; } 505 | expr T_OR expr { $$ = expr_alloc_two(E_OR, $1, $3); } 506 | expr T_AND expr { $$ = expr_alloc_two(E_AND, $1, $3); } 690 expr_fprint(prop->expr, out); in print_symbol() 702 expr_fprint(prop->expr, out); in print_symbol() 707 expr_fprint(prop->expr, out); in print_symbol() [all …]
|
| A D | lkc.h | 89 void menu_add_dep(struct expr *dep); 90 void menu_add_visibility(struct expr *dep); 91 struct property *menu_add_prompt(enum prop_type type, char *prompt, struct expr *dep); 92 void menu_add_expr(enum prop_type type, struct expr *expr, struct expr *dep); 93 void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep);
|
| A D | confdata.c | 306 if (expr_calc_value(prop->visible.expr) == no || in conf_read_simple() 307 prop->expr->type != E_SYMBOL) in conf_read_simple() 309 sym_calc_value(prop->expr->left.sym); in conf_read_simple() 310 name = sym_get_string_value(prop->expr->left.sym); in conf_read_simple() 1127 struct expr *e; in randomize_choice_values() 1142 expr_list_for_each_sym(prop->expr, e, sym) in randomize_choice_values() 1152 expr_list_for_each_sym(prop->expr, e, sym) { in randomize_choice_values() 1175 struct expr *e; in set_all_choice_values() 1182 expr_list_for_each_sym(prop->expr, e, sym) { in set_all_choice_values()
|
| A D | qconf.cc | 110 tristate expr; in updateMenu() local 162 expr = sym_get_tristate_value(sym); in updateMenu() 163 switch (expr) { in updateMenu() 186 if (expr != no) in updateMenu() 188 if (expr != mod) in updateMenu() 190 if (expr != yes) in updateMenu() 1114 if (_menu->prompt->visible.expr) { in menuInfo() 1136 if (sym->rev_dep.expr) { in debug_info() 1154 expr_print(prop->expr, expr_print_help, &debug, E_NONE); in debug_info() 1160 expr_print(prop->expr, expr_print_help, &debug, E_NONE); in debug_info() [all …]
|
| A D | lkc_proto.h | 66 void expr_print(struct expr *e, void (*fn)(void *, struct symbol *, const char *), void *data, int …
|
| /scripts/ |
| A 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
|
| A D | decodecode | 58 width=`expr index "$code" ' '` 210 marker=`expr index "$code" "\<"` 212 marker=`expr index "$code" "\("`
|
| A D | checkpatch.pl | 6384 my $expr = '\s*\(\s*' . $tested . '\s*\)\s*;'; 6385 …(kfree|usb_free_urb|debugfs_remove(?:_recursive)?|(?:kmem_cache|mempool|dma_pool)_destroy)$expr/) {
|
Completed in 30 milliseconds