Home
last modified time | relevance | path

Searched refs:expr2 (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_flow.c323 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 Dsmatch_buf_comparison.c49 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 Dsmatch_type.c166 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 Dsmatch_math.c1202 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 DRELEASE8822 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