Home
last modified time | relevance | path

Searched refs:expr (Results 1 – 21 of 21) 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.py129 def exec_hush_if(u_boot_console, expr, result): argument
134 args = len(expr.split(' ')) - 1
140 cmd = 'if ' + expr + '; then echo true; else echo false; fi'
152 def test_hush_if_test(u_boot_console, expr, result): argument
155 exec_hush_if(u_boot_console, expr, result)
178 expr = 'test -e hostfs - ' + test_file
179 exec_hush_if(u_boot_console, expr, False)
186 expr = 'test -e hostfs - ' + test_file
187 exec_hush_if(u_boot_console, expr, True)
191 expr = 'test -e hostfs - ' + test_file
[all …]
/u-boot/tools/buildman/
A Dboard.py10 def __init__(self, expr): argument
16 self._expr = expr
17 self._re = re.compile(expr)
45 def AddExpr(self, expr): argument
52 self._expr_list.append(Expr(expr))
56 return '&'.join([str(expr) for expr in self._expr_list])
68 for expr in self._expr_list:
69 if not expr.Matches(props):
272 for expr in exclude:
273 exclude_list.append(Expr(expr))
[all …]
A Dkconfiglib.py2585 return expr
3118 return expr
5891 if expr.__class__ is tuple and expr[0] is AND and expr[2] is self.dep:
5894 return expr
5988 def expr_value(expr): argument
6008 if expr[0] is OR:
6085 if expr[0] is OR:
6104 def expr_items(expr): argument
6127 rec(expr)
6172 rec(expr)
[all …]
/u-boot/include/test/
A Dut.h241 #define ut_assertnull(expr) { \ argument
242 const void *_val = (expr); \
246 #expr " != NULL", \
253 #define ut_assertnonnull(expr) { \ argument
254 const void *_val = (expr); \
258 #expr " = NULL", \
265 #define ut_assertok_ptr(expr) { \ argument
266 const void *_val = (expr); \
270 #expr " = NULL", \
/u-boot/drivers/mtd/ubi/
A Ddebug.h22 #define ubi_assert(expr) do { \ argument
23 if (unlikely(!(expr))) { \
30 #define ubi_assert(expr) do { \ argument
31 if (unlikely(!(expr))) { \
/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/scripts/
A Ddecodecode55 width=`expr index "$code" ' '`
86 marker=`expr index "$code" "\<"`
88 marker=`expr index "$code" "\("`
A Dcheckpatch.pl5738 my $expr = '\s*\(\s*' . $tested . '\s*\)\s*;';
5739 …(kfree|usb_free_urb|debugfs_remove(?:_recursive)?|(?:kmem_cache|mempool|dma_pool)_destroy)$expr/) {
/u-boot/fs/ubifs/
A Ddebug.h140 #define ubifs_assert(expr) do { \ argument
141 if (unlikely(!(expr))) { \
168 #define ubifs_assert(expr) do { \ argument
169 if (unlikely(!(expr))) { \
/u-boot/arch/mips/mach-octeon/include/mach/
A Docteon_ddr.h858 #define SET_DDR_DLL_CTL3(field, expr) \ argument
862 ddr_dll_ctl3.cn63xx.field = (expr); \
866 ddr_dll_ctl3.cn61xx.field = (expr); \
869 ddr_dll_ctl3.cn70xx.field = (expr); \
872 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 45 milliseconds