Home
last modified time | relevance | path

Searched refs:get_value (Results 1 – 25 of 62) sorted by relevance

123

/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_or_vs_and.c46 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 Dcheck_signed.c99 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 Dcheck_bit_shift.c41 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 Dcheck_logical_instead_of_bitwise.c44 if (!get_value(expr->right, &sval)) { in match_logic()
45 if (!get_value(expr->left, &sval)) in match_logic()
H A Dcheck_shift_to_zero.c59 if (!get_value(expr->right, &shift)) in match_binop2()
61 if (!get_value(left->right, &mask)) in match_binop2()
H A Dcheck_spectre.c143 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 Dcheck_mod_timer.c29 if (!get_value(arg, &sval) || sval.value == 0) in match_mod_timer()
H A Dcheck_gfp_dma.c36 if (!get_value(arg_expr, &sval)) in match_alloc()
H A Dcheck_memset.c28 if (!get_value(expr, &sval)) in check_size_not_zero()
H A Dcheck_assign_vs_compare.c26 if (!get_value(expr->right, &val)) in check_constant()
H A Dsmatch_math.c590 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 Dsmatch_buf_comparison.c189 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 Dcheck_return_enomem.c41 if (!get_value(ret_value, &sval) || sval.value != -1) in match_return()
H A Dcheck_template.c91 if (!get_value(ret_value, &ret_val) || sval_cmp_val(ret_val, 0) >= 0) in match_return()
H A Dcheck_bogus_loop.c27 if (get_value(expr->right, &dummy)) in right_side_changes()
H A Dcheck_allocation_funcs.c67 if (get_value(ret_value, &tmp) && tmp.value == 0) in match_return()
H A Dcheck_signed_integer_overflow_check.c75 if (!get_value(expr->left, &left_val)) in match_binop()
H A Dsmatch_parsed_conditions.c53 if (get_value(expr, &val)) in record_condition()
/illumos-gate/usr/src/test/zfs-tests/tests/functional/userquota/
H A Duserquota_004_pos.ksh55 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 Duserquota_common.kshlib109 function get_value # property dataset function
/illumos-gate/usr/src/test/zfs-tests/tests/functional/projectquota/
H A Dprojectquota_003_pos.ksh54 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 Dprojectquota_common.kshlib78 function get_value function
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dndd.c45 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 Dsubshell.sh626 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 Ddb_item_c.x74 % void get_value( char** s, int * n ) { *s = value; *n=len;}

123