| /rk3399_rockchip-uboot/scripts/kconfig/ |
| H A 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 152 struct expr *expr; /* the optional conditional part of the property */ member 175 struct expr *visibility; 176 struct expr *dep; 204 struct expr *expr_alloc_symbol(struct symbol *sym); 205 struct expr *expr_alloc_one(enum expr_type type, struct expr *ce); 206 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2); [all …]
|
| H A D | expr.c | 14 static int expr_eq(struct expr *e1, struct expr *e2); 15 static struct expr *expr_eliminate_yn(struct expr *e); 17 struct expr *expr_alloc_symbol(struct symbol *sym) in expr_alloc_symbol() 19 struct expr *e = xcalloc(1, sizeof(*e)); in expr_alloc_symbol() 25 struct expr *expr_alloc_one(enum expr_type type, struct expr *ce) in expr_alloc_one() 27 struct expr *e = xcalloc(1, sizeof(*e)); in expr_alloc_one() 29 e->left.expr = ce; in expr_alloc_one() 33 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2) in expr_alloc_two() 35 struct expr *e = xcalloc(1, sizeof(*e)); in expr_alloc_two() 37 e->left.expr = e1; in expr_alloc_two() [all …]
|
| H A D | menu.c | 82 static struct expr *menu_check_dep(struct expr *e) in menu_check_dep() 89 e->left.expr = menu_check_dep(e->left.expr); in menu_check_dep() 93 e->left.expr = menu_check_dep(e->left.expr); in menu_check_dep() 94 e->right.expr = menu_check_dep(e->right.expr); in menu_check_dep() 107 void menu_add_dep(struct expr *dep) in menu_add_dep() 128 …uct property *menu_add_prop(enum prop_type type, char *prompt, struct expr *expr, struct expr *dep) in menu_add_prop() argument 133 prop->expr = expr; in menu_add_prop() 134 prop->visible.expr = menu_check_dep(dep); in menu_add_prop() 150 struct expr *dup_expr; in menu_add_prop() 165 prop->visible.expr in menu_add_prop() [all …]
|
| H A D | symbol.c | 36 struct expr *sym_env_list; 42 prop->expr = expr_alloc_symbol(sym_lookup(def, SYMBOL_CONST)); in sym_add_default() 120 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_default_prop() 132 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_range_prop() 176 val2 = sym_get_range_val(prop->expr->left.sym, base); in sym_validate_range() 178 val2 = sym_get_range_val(prop->expr->right.sym, base); in sym_validate_range() 222 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_calc_visibility() 244 if (sym->dir_dep.expr) in sym_calc_visibility() 245 tri = expr_calc_value(sym->dir_dep.expr); in sym_calc_visibility() 253 if (sym->rev_dep.expr) in sym_calc_visibility() [all …]
|
| H A D | zconf.y | 41 struct expr *expr; member 89 %type <expr> expr 90 %type <expr> if_expr 204 config_option: T_DEFAULT expr if_expr T_EOL 328 if_entry: T_IF expr nl 435 depends: T_DEPENDS T_ON expr T_EOL 478 | T_IF expr { $$ = $2; } 481 expr: symbol { $$ = expr_alloc_symbol($1); } 488 | T_OPEN_PAREN expr T_CLOSE_PAREN { $$ = $2; } 489 | T_NOT expr { $$ = expr_alloc_one(E_NOT, $2); } [all …]
|
| H A D | lkc.h | 104 void menu_add_dep(struct expr *dep); 105 void menu_add_visibility(struct expr *dep); 106 struct property *menu_add_prompt(enum prop_type type, char *prompt, struct expr *dep); 107 void menu_add_expr(enum prop_type type, struct expr *expr, struct expr *dep); 108 void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep); 135 extern struct expr *sym_env_list;
|
| H A D | zconf.tab.c_shipped | 190 struct expr *expr; 554 "end", "nl", "if_expr", "expr", "symbol", "word_opt", YY_NULLPTR 1599 menu_add_prompt(P_PROMPT, (yyvsp[-2].string), (yyvsp[-1].expr)); 1608 menu_add_expr(P_DEFAULT, (yyvsp[-2].expr), (yyvsp[-1].expr)); 1621 menu_add_symbol(P_SELECT, sym_lookup((yyvsp[-2].string), 0), (yyvsp[-1].expr)); 1630 menu_add_symbol(P_IMPLY, sym_lookup((yyvsp[-2].string), 0), (yyvsp[-1].expr)); 1639 …d_expr(P_RANGE, expr_alloc_comp(E_RANGE,(yyvsp[-3].symbol), (yyvsp[-2].symbol)), (yyvsp[-1].expr)); 1704 menu_add_prompt(P_PROMPT, (yyvsp[-2].string), (yyvsp[-1].expr)); 1737 menu_add_symbol(P_DEFAULT, sym_lookup((yyvsp[-2].string), 0), (yyvsp[-1].expr)); 1751 menu_add_dep((yyvsp[-1].expr)); [all …]
|
| H A D | confdata.c | 270 if (expr_calc_value(prop->visible.expr) == no || in conf_read_simple() 271 prop->expr->type != E_SYMBOL) in conf_read_simple() 273 name = conf_expand_value(prop->expr->left.sym->name); in conf_read_simple() 1057 struct expr *e; in randomize_choice_values() 1072 expr_list_for_each_sym(prop->expr, e, sym) in randomize_choice_values() 1082 expr_list_for_each_sym(prop->expr, e, sym) { in randomize_choice_values() 1105 struct expr *e; in set_all_choice_values() 1112 expr_list_for_each_sym(prop->expr, e, sym) { in set_all_choice_values()
|
| H A D | qconf.cc | 119 tristate expr; in updateMenu() local 171 expr = sym_get_tristate_value(sym); in updateMenu() 172 switch (expr) { in updateMenu() 195 if (expr != no) in updateMenu() 197 if (expr != mod) in updateMenu() 199 if (expr != yes) in updateMenu() 1123 if (_menu->prompt->visible.expr) { in menuInfo() 1125 expr_print(_menu->prompt->visible.expr, expr_print_help, &debug, E_NONE); in menuInfo() 1145 if (sym->rev_dep.expr) { in debug_info() 1147 expr_print(sym->rev_dep.expr, expr_print_help, &debug, E_NONE); in debug_info() [all …]
|
| H A D | lkc_proto.h | 52 void expr_print(struct expr *e, void (*fn)(void *, struct symbol *, const char *), void *data, int …
|
| H A D | util.c | 38 struct expr *e; in file_write_dep()
|
| /rk3399_rockchip-uboot/cmd/ |
| H A D | test.c | 57 int i, op, left, adv, expr, last_expr, last_unop, last_binop; in do_test() local 74 expr = 0; in do_test() 89 expr = 1; in do_test() 93 expr = 1; in do_test() 99 expr = strlen(ap[1]) == 0 ? 1 : 0; in do_test() 102 expr = strlen(ap[1]) == 0 ? 0 : 1; in do_test() 105 expr = strcmp(ap[0], ap[2]) == 0; in do_test() 108 expr = strcmp(ap[0], ap[2]) != 0; in do_test() 111 expr = strcmp(ap[0], ap[2]) < 0; in do_test() 114 expr = strcmp(ap[0], ap[2]) > 0; in do_test() [all …]
|
| /rk3399_rockchip-uboot/test/py/tests/ |
| H A D | test_hush_if_test.py | 99 def exec_hush_if(u_boot_console, expr, result): argument 104 args = len(expr.split(' ')) - 1 110 cmd = 'if ' + expr + '; then echo true; else echo false; fi' 122 def test_hush_if_test(u_boot_console, expr, result): argument 125 exec_hush_if(u_boot_console, expr, result) 148 expr = 'test -e hostfs - ' + test_file 149 exec_hush_if(u_boot_console, expr, False) 156 expr = 'test -e hostfs - ' + test_file 157 exec_hush_if(u_boot_console, expr, True) 161 expr = 'test -e hostfs - ' + test_file [all …]
|
| /rk3399_rockchip-uboot/tools/buildman/ |
| H A D | board.py | 11 def __init__(self, expr): argument 17 self._expr = expr 18 self._re = re.compile(expr) 46 def AddExpr(self, expr): argument 53 self._expr_list.append(Expr(expr)) 57 return '&'.join([str(expr) for expr in self._expr_list]) 69 for expr in self._expr_list: 70 if not expr.Matches(props): 263 for expr in exclude: 264 exclude_list.append(Expr(expr)) [all …]
|
| H A D | kconfiglib.py | 1379 def _eval_expr(self, expr): argument 1383 if expr is None: 1386 res = self._eval_expr_rec(expr) 1398 def _eval_expr_rec(self, expr): argument 1399 if isinstance(expr, Symbol): 1402 if expr.type != BOOL and expr.type != TRISTATE: 1404 return expr.get_value() 1406 if isinstance(expr, str): 1407 return expr if (expr == "y" or expr == "m") else "n" 1411 if expr[0] == AND: [all …]
|
| /rk3399_rockchip-uboot/include/test/ |
| H A D | ut.h | 95 #define ut_assertnonnull(expr) { \ argument 96 const void *val = (expr); \ 100 #expr " = NULL", \ 107 #define ut_assertok_ptr(expr) { \ argument 108 const void *val = (expr); \ 112 #expr " = NULL", \
|
| /rk3399_rockchip-uboot/drivers/mtd/ubi/ |
| H A D | debug.h | 23 #define ubi_assert(expr) do { \ argument 24 if (unlikely(!(expr))) { \ 32 #define ubi_assert(expr) assert(expr) argument
|
| /rk3399_rockchip-uboot/include/android_avb/ |
| H A D | avb_util.h | 48 #define avb_assert(expr) \ argument 50 if (!(expr)) { \ 51 avb_fatal("assert fail: " #expr "\n"); \ 55 #define avb_assert(expr)
|
| /rk3399_rockchip-uboot/scripts/ |
| H A D | stacktrace.sh | 118 if [ `expr ${frame_pc_dec} % 2` -ne 0 ];then 119 frame_pc_dec=`expr ${frame_pc_dec} - 1`
|
| H A D | fit-repack.sh | 64 ITB_KB=`expr ${IMG_BS} / ${COPIES} / 1024`
|
| H A D | build-tftp-firmware.sh | 168 SEQ=`expr ${SEQ} + 1` 212 NUM=`expr ${NUM} + 1`
|
| H A D | android2distro.sh | 70 SIZE_KB=`expr ${SIZE_KB} + 2 + 1`
|
| /rk3399_rockchip-uboot/fs/ubifs/ |
| H A D | debug.h | 141 #define ubifs_assert(expr) do { \ argument 142 if (unlikely(!(expr))) { \ 171 #define ubifs_assert(expr) assert(expr) argument
|
| /rk3399_rockchip-uboot/arch/arm/mach-rockchip/ |
| H A D | fit_nodes.sh | 171 NUM=`expr ${NUM} + 1` 277 n=`expr ${n} + 1`
|
| /rk3399_rockchip-uboot/arch/arm/cpu/arm926ejs/mxs/ |
| H A D | Makefile | 31 sz=`expr \`stat -c "%s" $^\` + 64 + 3904 + 128` ; \
|