/xen/xen/tools/kconfig/ |
A D | expr.h | 38 struct expr *expr; member 42 struct expr { struct 55 struct expr *expr; member 297 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2); 299 struct expr *expr_alloc_and(struct expr *e1, struct expr *e2); 300 struct expr *expr_alloc_or(struct expr *e1, struct expr *e2); 301 struct expr *expr_copy(const struct expr *org); 303 void expr_eliminate_eq(struct expr **ep1, struct expr **ep2); 305 struct expr *expr_trans_bool(struct expr *e); 306 struct expr *expr_eliminate_dups(struct expr *e); [all …]
|
A D | expr.c | 16 static int expr_eq(struct expr *e1, struct expr *e2); 35 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2) in expr_alloc_two() 53 struct expr *expr_alloc_and(struct expr *e1, struct expr *e2) in expr_alloc_and() 60 struct expr *expr_alloc_or(struct expr *e1, struct expr *e2) in expr_alloc_or() 67 struct expr *expr_copy(const struct expr *org) in expr_copy() 81 e->left.expr = expr_copy(org->left.expr); in expr_copy() 95 e->left.expr = expr_copy(org->left.expr); in expr_copy() 96 e->right.expr = expr_copy(org->right.expr); in expr_copy() 425 static struct expr *expr_join_or(struct expr *e1, struct expr *e2) in expr_join_or() 489 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 400 es->rev_dep.expr = expr_alloc_or(es->rev_dep.expr, in menu_finalize() 404 es->implied.expr = expr_alloc_or(es->implied.expr, in menu_finalize() [all …]
|
A D | symbol.c | 244 struct expr *e; in sym_choice_default() 517 for (e = prop->expr; e; e = e->left.expr) { in sym_set_tristate_value() 1011 struct expr **expr; member 1086 } else if (stack->expr == &sym->dir_dep.expr) { in sym_check_print_recursive() 1091 } else if (stack->expr == &sym->rev_dep.expr) { in sym_check_print_recursive() 1096 } else if (stack->expr == &sym->implied.expr) { in sym_check_print_recursive() 1168 stack.expr = &sym->dir_dep.expr; in sym_check_sym_deps() 1173 stack.expr = &sym->rev_dep.expr; in sym_check_sym_deps() 1178 stack.expr = &sym->implied.expr; in sym_check_sym_deps() 1195 stack.expr = &prop->expr; in sym_check_sym_deps() [all …]
|
A D | parser.y | 39 struct expr *expr; member 97 %type <expr> expr 98 %type <expr> if_expr 316 if_entry: T_IF expr T_EOL 447 | T_IF expr { $$ = $2; } 459 | expr T_OR expr { $$ = expr_alloc_two(E_OR, $1, $3); } 460 | expr T_AND expr { $$ = expr_alloc_two(E_AND, $1, $3); } 636 expr_fprint(prop->expr, out); in print_symbol() 648 expr_fprint(prop->expr, out); in print_symbol() 653 expr_fprint(prop->expr, out); in print_symbol() [all …]
|
A D | lkc.h | 72 void menu_add_dep(struct expr *dep); 73 void menu_add_visibility(struct expr *dep); 74 struct property *menu_add_prompt(enum prop_type type, char *prompt, struct expr *dep); 75 void menu_add_expr(enum prop_type type, struct expr *expr, struct expr *dep); 76 void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep);
|
A 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() 1174 struct expr *e; in randomize_choice_values() 1189 expr_list_for_each_sym(prop->expr, e, sym) in randomize_choice_values() 1199 expr_list_for_each_sym(prop->expr, e, sym) { in randomize_choice_values() 1222 struct expr *e; in set_all_choice_values() 1229 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 | 65 void expr_print(struct expr *e, void (*fn)(void *, struct symbol *, const char *), void *data, int …
|
A D | Makefile | 146 common-objs := confdata.o expr.o lexer.lex.o parser.tab.o preprocess.o \
|
/xen/xen/tools/ |
A D | get-fields.sh | 26 level=$(expr $level + 1) 29 level=$(expr $level - 1) 57 level=$(expr $level + 1) 60 level=$(expr $level - 1) 83 level=$(expr $level + 1) 86 level=$(expr $level - 1) 184 arrlvl=$(expr $arrlvl + 1) 187 arrlvl=$(expr $arrlvl - 1) 310 arrlvl=$(expr $arrlvl + 1) 313 arrlvl=$(expr $arrlvl - 1) [all …]
|
/xen/xen/xsm/flask/ss/ |
A D | conditional.c | 401 if ( expr->expr_type <= 0 || expr->expr_type > COND_LAST ) in expr_isvalid() 407 if ( expr->bool_val > p->p_bools.nprim ) in expr_isvalid() 442 expr = xzalloc(struct cond_expr); in cond_read_node() 443 if ( !expr ) in cond_read_node() 446 expr->expr_type = le32_to_cpu(buf[0]); in cond_read_node() 447 expr->bool_val = le32_to_cpu(buf[1]); in cond_read_node() 449 if ( !expr_isvalid(p, expr) ) in cond_read_node() 451 xfree(expr); in cond_read_node() 456 node->expr = expr; in cond_read_node() 458 last->next = expr; in cond_read_node() [all …]
|
A D | constraint.h | 57 struct constraint_expr *expr; /* constraint on permissions */ member
|
A D | conditional.h | 56 struct cond_expr *expr; member
|
/xen/tools/hotplug/Linux/ |
A D | xen-script-common.sh | 25 if expr 'index' "$arg" '=' '>' '1' >/dev/null 37 if ! expr 'index' "$arg" '=' >/dev/null
|
A D | block-common.sh | 90 if ! expr index "$mode" 'w' >/dev/null 93 elif ! expr index "$mode" '!' >/dev/null
|
A D | block-iscsi | 78 count=`expr $count + 1`
|
/xen/docs/misc/ |
A D | kconfig-language.rst | 69 - input prompt: "prompt" <prompt> ["if" <expr>] 75 - default value: "default" <expr> ["if" <expr>] 112 "def_bool"/"def_tristate" <expr> ["if" <expr>] 117 - dependencies: "depends on" <expr> 184 - limiting menu display: "visible if" <expr> 245 <expr> '&&' <expr> (7) 246 <expr> '||' <expr> (8) 261 (6) Returns the result of (2-/expr/). 262 (7) Returns the result of min(/expr/, /expr/). 263 (8) Returns the result of max(/expr/, /expr/). [all …]
|
/xen/xen/arch/x86/boot/ |
A D | build32.mk | 25 exit $$(expr $$idx + 1);; \
|
/xen/tools/flask/policy/policy/support/ |
A D | misc_macros.spt | 15 # ifndef(expr,true_block,false_block)
|
/xen/docs/ |
A D | configure | 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 422 test "X`expr 00001 : '.*\(...\)'`" = X001; then 470 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 1210 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 2643 test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
/xen/ |
A D | configure | 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 422 test "X`expr 00001 : '.*\(...\)'`" = X001; then 470 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 1222 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 2690 test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
/xen/stubdom/ |
A D | configure | 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 422 test "X`expr 00001 : '.*\(...\)'`" = X001; then 470 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 1250 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 2861 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2921 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3030 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` [all …]
|
/xen/tools/ |
A D | configure | 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 423 test "X`expr 00001 : '.*\(...\)'`" = X001; then 1265 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 10207 expr "X$arg" : "X\\(.*\\)$as_nl"; 10208 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 10357 as_val=`expr "$@" || test $? -eq 1` 10362 if expr a : '\(a\)' >/dev/null 2>&1 && [all …]
|
/xen/xen/ |
A D | Rules.mk | 194 exit $$(expr $$idx + 1);; \
|