Home
last modified time | relevance | path

Searched refs:expr (Results 1 – 23 of 23) sorted by relevance

/u-boot/scripts/kconfig/
A Dexpr.h38 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 Dexpr.c14 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 Dmenu.c81 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 Dsymbol.c246 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 Dzconf.y41 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 Dlkc.h89 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 Dconfdata.c306 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 Dqconf.cc110 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 Dlkc_proto.h66 void expr_print(struct expr *e, void (*fn)(void *, struct symbol *, const char *), void *data, int …
/u-boot/cmd/
A Dtest.c75 expr = 0; in do_test()
90 expr = 1; in do_test()
94 expr = 1; in do_test()
148 last_expr = expr; in do_test()
152 last_expr = expr; in do_test()
163 expr = !expr; in do_test()
168 expr = last_expr || expr; in do_test()
170 expr = last_expr && expr; in do_test()
179 expr = !expr; in do_test()
181 debug (": returns %d\n", expr); in do_test()
[all …]
/u-boot/test/py/tests/
A Dtest_hush_if_test.py124 def exec_hush_if(u_boot_console, expr, result): argument
129 args = len(expr.split(' ')) - 1
135 cmd = 'if ' + expr + '; then echo true; else echo false; fi'
141 def test_hush_if_test(u_boot_console, expr, result): argument
144 exec_hush_if(u_boot_console, expr, result)
170 expr = 'test -e hostfs - ' + test_file
171 exec_hush_if(u_boot_console, expr, False)
178 expr = 'test -e hostfs - ' + test_file
179 exec_hush_if(u_boot_console, expr, True)
183 expr = 'test -e hostfs - ' + test_file
[all …]
/u-boot/include/linux/
A Dbuild_bug.h98 #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) argument
99 #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) argument
/u-boot/include/test/
A Dut.h266 #define ut_assertnull(expr) ({ \ argument
267 const void *_val = (expr); \
272 #expr " != NULL", \
280 #define ut_assertnonnull(expr) ({ \ argument
281 const void *_val = (expr); \
286 #expr " = NULL", \
294 #define ut_assertok_ptr(expr) ({ \ argument
295 const void *_val = (expr); \
300 #expr " = NULL", \
/u-boot/scripts/
A Dspdxcheck.py162 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 Ddecodecode55 width=`expr index "$code" ' '`
86 marker=`expr index "$code" "\<"`
88 marker=`expr index "$code" "\("`
A Dcheckpatch.pl6372 my $expr = '\s*\(\s*' . $tested . '\s*\)\s*;';
6373 …(kfree|usb_free_urb|debugfs_remove(?:_recursive)?|(?:kmem_cache|mempool|dma_pool)_destroy)$expr/) {
/u-boot/drivers/mtd/ubi/
A Ddebug.h22 #define ubi_assert(expr) do { \ argument
23 if (unlikely(!(expr))) { \
31 #define ubi_assert(expr) assert(expr) argument
/u-boot/lib/libavb/
A Davb_util.h27 #define avb_assert(expr) \ argument
29 if (!(expr)) { \
30 avb_fatal("assert fail: " #expr "\n"); \
34 #define avb_assert(expr)
/u-boot/tools/buildman/
A Dboards.py115 def __init__(self, expr): argument
121 self._expr = expr
122 self._re = re.compile(expr)
150 def add_expr(self, expr): argument
157 self._expr_list.append(Expr(expr))
161 return '&'.join([str(expr) for expr in self._expr_list])
173 for expr in self._expr_list:
174 if not expr.matches(props):
589 for expr in exclude_list:
590 if expr.matches(brd.props):
[all …]
A Dkconfiglib.py2586 return expr
3119 return expr
5892 if expr.__class__ is tuple and expr[0] is AND and expr[2] is self.dep:
5895 return expr
5989 def expr_value(expr): argument
6009 if expr[0] is OR:
6086 if expr[0] is OR:
6105 def expr_items(expr): argument
6128 rec(expr)
6173 rec(expr)
[all …]
/u-boot/fs/ubifs/
A Ddebug.h140 #define ubifs_assert(expr) do { \ argument
141 if (unlikely(!(expr))) { \
170 #define ubifs_assert(expr) assert(expr) argument
/u-boot/arch/mips/mach-octeon/include/mach/
A Docteon_ddr.h673 #define SET_DDR_DLL_CTL3(field, expr) \ argument
677 ddr_dll_ctl3.cn63xx.field = (expr); \
681 ddr_dll_ctl3.cn61xx.field = (expr); \
684 ddr_dll_ctl3.cn70xx.field = (expr); \
687 ddr_dll_ctl3.cn73xx.field = (expr); \
/u-boot/arch/arm/cpu/arm926ejs/mxs/
A DMakefile29 sz=`expr \`stat -c "%s" $^\` + 64 + 3904 + 128` ; \

Completed in 70 milliseconds