/busybox-1.35.0/testsuite/expr/ |
D | expr-works | 1 # busybox expr 2 busybox expr 1 \| 1 3 busybox expr 1 \| 0 4 busybox expr 0 \| 1 5 busybox expr 1 \& 1 6 busybox expr 0 \< 1 7 busybox expr 1 \> 0 8 busybox expr 0 \<= 1 9 busybox expr 1 \<= 1 10 busybox expr 1 \>= 0 [all …]
|
D | expr-big | 1 # busybox expr 4 res=`busybox expr 0 '<' 3000000000` 8 res=`busybox expr 0 '<' 9223372036854775807` 11 res=`busybox expr -9223372036854775800 '<' 9223372036854775807` 15 # res=`busybox expr 0 '<' 9223372036854775808`
|
/busybox-1.35.0/scripts/kconfig/ |
D | expr.h | 39 struct expr *expr; member 43 struct expr { struct 53 struct expr *expr; member 75 struct expr *dep, *dep2; 112 struct expr *expr; member 133 struct expr *dep; 153 struct expr *expr_alloc_symbol(struct symbol *sym); 154 struct expr *expr_alloc_one(enum expr_type type, struct expr *ce); 155 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2); 156 struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2); [all …]
|
D | expr.c | 15 struct expr *expr_alloc_symbol(struct symbol *sym) in expr_alloc_symbol() 17 struct expr *e = malloc(sizeof(*e)); in expr_alloc_symbol() 24 struct expr *expr_alloc_one(enum expr_type type, struct expr *ce) in expr_alloc_one() 26 struct expr *e = malloc(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 = malloc(sizeof(*e)); in expr_alloc_two() 38 e->left.expr = e1; in expr_alloc_two() 39 e->right.expr = e2; in expr_alloc_two() 43 struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2) in expr_alloc_comp() [all …]
|
D | menu.c | 77 struct expr *menu_check_dep(struct expr *e) in menu_check_dep() 84 e->left.expr = menu_check_dep(e->left.expr); in menu_check_dep() 88 e->left.expr = menu_check_dep(e->left.expr); in menu_check_dep() 89 e->right.expr = menu_check_dep(e->right.expr); in menu_check_dep() 102 void menu_add_dep(struct expr *dep) in menu_add_dep() 122 struct property *menu_add_prop(enum prop_type type, char *prompt, struct expr *expr, struct expr *d… in menu_add_prop() argument 128 prop->expr = expr; in menu_add_prop() 129 prop->visible.expr = menu_check_dep(dep); in menu_add_prop() 140 struct property *menu_add_prompt(enum prop_type type, char *prompt, struct expr *dep) in menu_add_prompt() 145 void menu_add_expr(enum prop_type type, struct expr *expr, struct expr *dep) in menu_add_expr() argument [all …]
|
D | lkc.h | 76 void menu_add_dep(struct expr *dep); 77 struct property *menu_add_prop(enum prop_type type, char *prompt, struct expr *expr, struct expr *d… 78 struct property *menu_add_prompt(enum prop_type type, char *prompt, struct expr *dep); 79 void menu_add_expr(enum prop_type type, struct expr *expr, struct expr *dep); 80 void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep);
|
D | symbol.c | 41 prop->expr = expr_alloc_symbol(sym_lookup(def, 1)); in sym_add_default() 125 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_default_prop() 137 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_range_prop() 180 val2 = sym_get_range_val(prop->expr->left.sym, base); in sym_validate_range() 182 val2 = sym_get_range_val(prop->expr->right.sym, base); in sym_validate_range() 201 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_calc_visibility() 213 if (sym->rev_dep.expr) in sym_calc_visibility() 214 tri = expr_calc_value(sym->rev_dep.expr); in sym_calc_visibility() 227 struct expr *e; in sym_calc_choice() 239 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_calc_choice() [all …]
|
D | zconf.y | 46 struct expr *expr; member 87 %type <expr> expr 88 %type <expr> if_expr 198 config_option: T_DEFAULT expr if_expr T_EOL 296 if_entry: T_IF expr nl 396 depends: T_DEPENDS T_ON expr T_EOL 401 | T_DEPENDS expr T_EOL 406 | T_REQUIRES expr T_EOL 436 | T_IF expr { $$ = $2; } 439 expr: symbol { $$ = expr_alloc_symbol($1); } [all …]
|
D | zconf.tab.c_shipped | 196 struct expr *expr; 458 "prompt", "end", "nl", "if_expr", "expr", "symbol", 0 1419 menu_add_prompt(P_PROMPT, (yyvsp[-2].string), (yyvsp[-1].expr)); 1427 menu_add_expr(P_DEFAULT, (yyvsp[-2].expr), (yyvsp[-1].expr)); 1439 menu_add_symbol(P_SELECT, sym_lookup((yyvsp[-2].string), 0), (yyvsp[-1].expr)); 1447 …d_expr(P_RANGE, expr_alloc_comp(E_RANGE,(yyvsp[-3].symbol), (yyvsp[-2].symbol)), (yyvsp[-1].expr)); 1483 menu_add_prompt(P_PROMPT, (yyvsp[-2].string), (yyvsp[-1].expr)); 1513 menu_add_symbol(P_DEFAULT, sym_lookup((yyvsp[-2].string), 0), (yyvsp[-1].expr)); 1526 menu_add_dep((yyvsp[-1].expr)); 1609 menu_add_dep((yyvsp[-1].expr)); [all …]
|
D | qconf.cc | 184 tristate expr; in updateMenu() local 236 expr = sym_get_tristate_value(sym); in updateMenu() 237 switch (expr) { in updateMenu() 260 if (expr != no) in updateMenu() 262 if (expr != mod) in updateMenu() 264 if (expr != yes) in updateMenu() 1058 if (sym->rev_dep.expr) { in setHelp() 1060 expr_print(sym->rev_dep.expr, expr_print_help, &debug, E_NONE); in setHelp() 1073 expr_print(prop->expr, expr_print_help, &debug, E_NONE); in setHelp() 1079 expr_print(prop->expr, expr_print_help, &debug, E_NONE); in setHelp() [all …]
|
D | lkc_proto.h | 41 P(expr_print,void,(struct expr *e, void (*fn)(void *, const char *), void *data, int prevtoken));
|
D | mconf.c | 386 if (!expr_is_yes(prop->visible.expr)) { in get_prompt_str() 388 expr_gstr_print(prop->visible.expr, r); in get_prompt_str() 425 expr_gstr_print(prop->expr, r); in get_symbol_str() 429 if (sym->rev_dep.expr) { in get_symbol_str() 431 expr_gstr_print(sym->rev_dep.expr, r); in get_symbol_str()
|
D | confdata.c | 273 struct expr *e; in conf_read() 321 for (e = prop->expr; e; e = e->left.expr) in conf_read()
|
/busybox-1.35.0/shell/ |
D | math.c | 251 evaluate_string(arith_state_t *math_state, const char *expr); 581 evaluate_string(arith_state_t *math_state, const char *expr) in evaluate_string() argument 585 const char *start_expr = expr = skip_whitespace(expr); in evaluate_string() 586 unsigned expr_len = strlen(expr) + 2; in evaluate_string() 606 expr = skip_whitespace(expr); in evaluate_string() 607 if (*expr == '\0') { in evaluate_string() 608 if (expr == start_expr) { in evaluate_string() 619 if (expr != ptr_to_rparen + 1) { in evaluate_string() 623 expr = ptr_to_rparen; in evaluate_string() 635 p = endofname(expr); in evaluate_string() [all …]
|
D | math.h | 86 arith_t FAST_FUNC arith(arith_state_t *state, const char *expr);
|
D | ash.c | 931 union node *expr; member 5067 cmdputs(n->ncase.expr->narg.text); in cmdtxt() 8988 funcblocksize = calcsize(funcblocksize, n->ncase.expr); in calcsize() 9108 new->ncase.expr = copynode(n->ncase.expr); in copynode() 9524 expandarg(n->ncase.expr, &arglist, EXP_TILDE); in evalcase() 12211 n1->ncase.expr = n2 = stzalloc(sizeof(struct narg)); in parse_command()
|
/busybox-1.35.0/shell/ash_test/ash-z_slow/ |
D | many_ifs.tests | 42 *) passed=`expr $passed + 1` ;; 50 *) ordered=`expr $ordered + 1` ;; 57 *) failed=`expr $failed + 1` ;; 62 *) failed=`expr $failed + 1` ;; 78 *) ordered=`expr $ordered + 1` ;; 90 *) passed=`expr $passed + 1` ;; 98 *) ordered=`expr $ordered + 1` ;; 105 *) failed=`expr $failed + 1` ;; 110 *) failed=`expr $failed + 1` ;; 122 *) ordered=`expr $ordered + 1` ;; [all …]
|
/busybox-1.35.0/shell/hush_test/hush-z_slow/ |
D | many_ifs.tests | 42 *) passed=`expr $passed + 1` ;; 50 *) ordered=`expr $ordered + 1` ;; 57 *) failed=`expr $failed + 1` ;; 62 *) failed=`expr $failed + 1` ;; 78 *) ordered=`expr $ordered + 1` ;; 90 *) passed=`expr $passed + 1` ;; 98 *) ordered=`expr $ordered + 1` ;; 105 *) failed=`expr $failed + 1` ;; 110 *) failed=`expr $failed + 1` ;; 122 *) ordered=`expr $ordered + 1` ;; [all …]
|
/busybox-1.35.0/docs/ |
D | Kconfig-language.txt | 62 - input prompt: "prompt" <prompt> ["if" <expr>] 67 - default value: "default" <symbol> ["if" <expr>] 80 - dependencies: "depends on"/"requires" <expr> 107 <expr> ::= <symbol> (1) 110 '(' <expr> ')' (4) 111 '!' <expr> (5) 112 <expr> '||' <expr> (6) 113 <expr> '&&' <expr> (7) 125 (5) Returns the result of (2-/expr/). 126 (6) Returns the result of min(/expr/, /expr/). [all …]
|
D | posix_conformance.txt | 250 expr POSIX operations: 266 (expr) | yes | yes | 269 expr Busybox specific operations:
|
D | busybox_footer.pod | 68 expr, hostid, logname, whoami
|
/busybox-1.35.0/coreutils/ |
D | test.c | 238 #define unnest_msg_and_return(expr, ...) do { \ argument 239 number_t __res = (expr); \ 294 #define unnest_msg_and_return(expr, ...) return expr argument
|
/busybox-1.35.0/ |
D | AUTHORS | 36 expr, hostid, logname, whoami
|
D | NOFORK_NOEXEC.lst | 127 expr - noexec. leaks: nested allocs
|
/busybox-1.35.0/editors/ |
D | awk.c | 2785 static int is_assignment(const char *expr) in is_assignment() argument 2789 val = (char*)endofname(expr); in is_assignment() 2790 if (val == (char*)expr || *val != '=') { in is_assignment() 2794 exprc = xstrdup(expr); in is_assignment() 2795 val = exprc + (val - expr); in is_assignment()
|