Searched refs:expr2 (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | smatch_flow.c | 323 struct expression *const_expr, *expr1, *expr2; in handle__builtin_choose_expr() local 331 expr2 = get_argument_from_call_expr(expr->args, 2); in handle__builtin_choose_expr() 333 if (!get_value(const_expr, &sval) || !expr1 || !expr2) in handle__builtin_choose_expr() 338 __split_expr(expr2); in handle__builtin_choose_expr() 344 struct expression *const_expr, *right, *expr1, *expr2, *fake; in handle__builtin_choose_expr_assigns() local 355 expr2 = get_argument_from_call_expr(right->args, 2); in handle__builtin_choose_expr_assigns() 357 if (!get_value(const_expr, &sval) || !expr1 || !expr2) in handle__builtin_choose_expr_assigns() 360 fake = assign_expression(expr->left, '=', sval.value ? expr1 : expr2); in handle__builtin_choose_expr_assigns()
|
H A D | smatch_buf_comparison.c | 49 struct expression *expr1, *expr2; in merge_links() local 52 expr2 = s2->data; in merge_links() 54 if (expr1 && expr2 && expr_equiv(expr1, expr2)) in merge_links()
|
H A D | smatch_type.c | 166 struct expression *const_expr, *expr1, *expr2; in handle__builtin_choose_expr() local 171 expr2 = get_argument_from_call_expr(expr->args, 2); in handle__builtin_choose_expr() 173 if (!get_value(const_expr, &sval) || !expr1 || !expr2) in handle__builtin_choose_expr() 178 return get_type(expr2); in handle__builtin_choose_expr()
|
H A D | smatch_math.c | 1202 struct expression *const_expr, *expr1, *expr2; in handle__builtin_choose_expr() local 1207 expr2 = get_argument_from_call_expr(expr->args, 2); in handle__builtin_choose_expr() 1209 if (!get_value(const_expr, &sval) || !expr1 || !expr2) in handle__builtin_choose_expr() 1214 return get_rl_sval(expr2, implied, recurse_cnt, res, res_sval); in handle__builtin_choose_expr()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/ |
H A D | RELEASE88 | 22 for ((expr1; expr2; expr3)) 31 2. ${name:expr1:expr2} expands to the substring of ${name} starting 32 at expr1 and consisting of at most expr2 characters. 35 4. ${name[@]:expr1:expr2} expands to at most expr2 values of 38 6. ${@:expr1:expr2} expands to at most expr2 positional parameters
|