/illumos-gate/usr/src/tools/smatch/src/ |
H A D | check_or_vs_and.c | 46 if (get_value(left->left, &sval)) { in inconsistent_check() 47 if (get_value(right->left, &sval)) in inconsistent_check() 49 if (get_value(right->right, &sval)) in inconsistent_check() 53 if (get_value(left->right, &sval)) { in inconsistent_check() 54 if (get_value(right->left, &sval)) in inconsistent_check() 56 if (get_value(right->right, &sval)) in inconsistent_check() 148 if (get_value(expr->left, &sval) || get_value(expr->right, &sval)) in match_condition() 161 if ((get_value(expr->left, &sval) && sval.value == 0) || in match_condition() 162 (get_value(expr->right, &sval) && sval.value == 0)) in match_condition() 172 if (!get_value(expr, &sval) || sval.value != 0) in match_binop() [all …]
|
H A D | check_signed.c | 99 if (!get_value(expr->right, &known) || known.value != 0) in cap_gt_zero_and_lt() 147 if (!get_value(expr->right, &known) || known.value != 0) in cap_lt_zero_or_gt() 208 if (!get_value(expr->right, &known) || known.value != 0) in compare_against_macro() 221 if (!get_value(expr->right, &known) || known.value != 0) in print_unsigned_never_less_than_zero() 264 if (get_value(expr->left, &known)) { in match_condition() 265 if (get_value(expr->right, &known)) in match_condition() 274 } else if (get_value(expr->right, &known)) { in match_condition()
|
H A D | check_bit_shift.c | 41 if (!get_value(expr, &expr_value)) in get_shifter() 129 if (!get_value(expr->right, &sval)) in match_binop_info() 147 if (!get_value(arg_expr, &sval)) in match_call()
|
H A D | check_logical_instead_of_bitwise.c | 44 if (!get_value(expr->right, &sval)) { in match_logic() 45 if (!get_value(expr->left, &sval)) in match_logic()
|
H A D | check_shift_to_zero.c | 59 if (!get_value(expr->right, &shift)) in match_binop2() 61 if (!get_value(left->right, &mask)) in match_binop2()
|
H A D | check_spectre.c | 143 if (get_value(expr->right, &mask)) /* right is the common case */ in get_mask() 145 if (get_value(expr->left, &mask)) in get_mask()
|
H A D | check_mod_timer.c | 29 if (!get_value(arg, &sval) || sval.value == 0) in match_mod_timer()
|
H A D | check_gfp_dma.c | 36 if (!get_value(arg_expr, &sval)) in match_alloc()
|
H A D | smatch_math.c | 590 if (!get_value(expr->left, &left)) in handle_known_binop() 592 if (!get_value(expr->right, &right)) in handle_known_binop() 775 if (get_value(expr->left, &left) && get_value(expr->right, &right)) { in handle_comparison_rl() 813 if (get_value(expr->left, &left)) in handle_logical_rl() 815 if (get_value(expr->right, &right)) in handle_logical_rl() 957 if (get_value(sym->initializer, &right)) { in get_const_value() 1209 if (!get_value(const_expr, &sval) || !expr1 || !expr2) in handle__builtin_choose_expr() 1514 if (get_value(expr, &sval)) { in get_rl_helper() 1567 int get_value(struct expression *expr, sval_t *res_sval) in get_value() function 1820 if (get_value(expr, &tmp) && tmp.value) in known_condition_true()
|
H A D | check_memset.c | 28 if (!get_value(expr, &sval)) in check_size_not_zero()
|
H A D | smatch_buf_comparison.c | 189 if (get_value(size, &sval)) in match_alloc_helper() 193 get_value(size->right, &sval) && sval.value == 1) { in match_alloc_helper() 232 get_value(arg->right, &sval) && sval.value == 1) { in match_calloc() 499 get_value(expr->right, &sval) && in match_size_binop() 507 get_value(expr->right, &sval) && in match_size_binop()
|
H A D | check_assign_vs_compare.c | 26 if (!get_value(expr->right, &val)) in check_constant()
|
H A D | check_return_enomem.c | 41 if (!get_value(ret_value, &sval) || sval.value != -1) in match_return()
|
H A D | check_bogus_loop.c | 27 if (get_value(expr->right, &dummy)) in right_side_changes()
|
H A D | check_template.c | 91 if (!get_value(ret_value, &ret_val) || sval_cmp_val(ret_val, 0) >= 0) in match_return()
|
H A D | check_allocation_funcs.c | 67 if (get_value(ret_value, &tmp) && tmp.value == 0) in match_return()
|
H A D | check_signed_integer_overflow_check.c | 75 if (!get_value(expr->left, &left_val)) in match_binop()
|
H A D | smatch_parsed_conditions.c | 53 if (get_value(expr, &val)) in record_condition()
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/userquota/ |
H A D | userquota_004_pos.ksh | 55 typeset user_used=$(get_value "userused@$QUSER1" $QFS) 56 typeset group_used=$(get_value "groupused@$QGROUP" $QFS) 70 user_used=$(get_value "userused@$QUSER1" $QFS) 71 group_used=$(get_value "groupused@$QGROUP" $QFS)
|
H A D | userquota_common.kshlib | 109 function get_value # property dataset function
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/projectquota/ |
H A D | projectquota_003_pos.ksh | 54 typeset project_used=$(get_value "projectused@$PRJID1" $QFS) 67 project_used=$(get_value "projectused@$PRJID1" $QFS) 76 typeset project_obj_used=$(get_value "projectobjused@$PRJID2" $QFS) 91 project_obj_used=$(get_value "projectobjused@$PRJID2" $QFS)
|
H A D | projectquota_common.kshlib | 78 function get_value function
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | ndd.c | 45 static int get_value(char *msg, char *buf, int buf_len); 525 get_value(char *msg, char *buf, int buf_len) in get_value() function 553 len = get_value("name to get/set ? ", gbuf, sizeof (gbuf)); in getset_interactive() 562 get_value("value ? ", &gbuf[len], sizeof (gbuf) - len) > 1) in getset_interactive() 565 get_value("length ? ", len_buf, sizeof (len_buf)) > 1) { in getset_interactive() 601 len = get_value("module to query ? ", modpath, in open_device()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/ |
H A D | subshell.sh | 626 function get_value { function 643 actual=$(get_value 0) 649 actual=$(get_value 1) 655 actual=$(get_value 2) 661 actual=$(get_value 3)
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db_item_c.x | 74 % void get_value( char** s, int * n ) { *s = value; *n=len;}
|