/illumos-gate/usr/src/cmd/scadm/sparc/mpxu/common/ |
H A D | xsem.h | 65 void xsem_getvalue(xsem_t *sem, int *sval);
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | smatch_comparison.c | 1150 sval_t sval; in handle_for_loops() local 1166 if (get_value(expr->right, &sval)) in handle_for_loops() 1172 sval.value != 0) in handle_for_loops() 1210 sval_t sval; in is_plus_one() local 1214 if (!get_implied_value(expr->right, &sval) || sval.value != 1) in is_plus_one() 1221 sval_t sval; in is_minus_one() local 1225 if (!get_implied_value(expr->right, &sval) || sval.value != 1) in is_minus_one() 1271 sval_t sval; in handle_comparison() local 1289 get_implied_value(left_expr, &sval) && in handle_comparison() 1290 sval.value == 0) in handle_comparison() [all …]
|
H A D | smatch_constraints.c | 357 sval_t sval; in handle_comparison() local 360 if (get_value(left, &sval) || get_value(right, &sval)) in handle_comparison()
|
H A D | check_atomic_inc_dec.c | 219 sval_t sval; in match_atomic_add() local 222 if (get_implied_value(amount, &sval) && sval_is_negative(sval)) { in match_atomic_add()
|
H A D | smatch_param_set.c | 105 sval_t sval; in match_array_assignment() local 117 if (get_value(offset, &sval)) in match_array_assignment()
|
H A D | smatch_struct_assignment.c | 368 sval_t sval; in handle_param_offsets() local 375 if (!get_value(right->right, &sval)) in handle_param_offsets() 381 return copy_containter_states(expr->left, right, sval.value); in handle_param_offsets()
|
H A D | smatch_kernel_user_data.c | 156 sval_t sval; in user_rl_capped() local 161 if (get_value(expr, &sval)) in user_rl_capped() 182 sval_t sval; in user_rl_treat_untagged() local 187 if (get_value(expr, &sval)) in user_rl_treat_untagged() 714 sval_t sval; in handle_compare() local 742 if (get_implied_value(left, &sval) || in handle_compare() 743 get_implied_value(right, &sval)) in handle_compare()
|
H A D | smatch_function_hooks.c | 303 static void call_implies_callbacks(int comparison, struct expression *expr, sval_t sval, int left, … in call_implies_callbacks() argument 321 value_range = alloc_range(sval, sval); in call_implies_callbacks() 852 sval_t sval; in function_comparison() local 870 if (rl_to_sval(rl, &sval)) in function_comparison() 871 call_implies_callbacks(comparison, call_expr, sval, call_on_left, &implied_true, &implied_false); in function_comparison()
|
H A D | smatch_implied.c | 145 sval_t sval; in create_fake_history() local 149 if (!rl_to_sval(rl, &sval)) in create_fake_history() 855 sval_t sval; in handled_by_extra_states() local 858 if (get_implied_value(expr, &sval)) in handled_by_extra_states() 1224 int impossible_assumption(struct expression *left, int op, sval_t sval) in impossible_assumption() argument 1230 value = value_expr(sval.value); in impossible_assumption()
|
H A D | smatch_type.c | 167 sval_t sval; in handle__builtin_choose_expr() local 173 if (!get_value(const_expr, &sval) || !expr1 || !expr2) in handle__builtin_choose_expr() 175 if (sval.value) in handle__builtin_choose_expr()
|
H A D | parse.c | 831 long long sval = uval; in update_range() local 833 if (is_signed_type(vtype) && (sval < 0)) { in update_range() 834 if (sval < range->neg) in update_range() 835 range->neg = sval; in update_range() 880 static int val_in_range(struct range *range, long long sval, struct symbol *vtype) in val_in_range() argument 882 unsigned long long uval = sval; in val_in_range() 884 if (is_signed_type(vtype) && (sval < 0)) in val_in_range() 885 return range->neg <= sval; in val_in_range()
|
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | SLPV1SSrvMsg.java | 484 String str = tk.sval; // not used if token not a string... in parseInternal() 846 value += tk.sval; in parseTag() 978 valTok.append(tk.sval); in parseValue() 1022 valTok.append(tk.sval); in parseValue()
|
H A D | Parser.java | 611 buf.append(tk.sval); in parseValue() 648 buf.append(tk.sval); in parsePotentialNonASCII()
|
/illumos-gate/usr/src/lib/libc/port/rt/ |
H A D | sem.c | 347 sem_getvalue(sem_t *sem, int *sval) in sem_getvalue() argument 351 *sval = (int)sem->sem_count; in sem_getvalue()
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | auto_subr.c | 470 str_opt(struct mnttab *mnt, char *opt, char **sval) in str_opt() argument 487 *sval = strdup(str); in str_opt() 490 if (*sval == NULL) in str_opt() 493 *sval = NULL; in str_opt()
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/lib/snmp/ |
H A D | asn1.c | 122 short sval; in asn_build_int() local 134 sval = (short)val; /* yes, loss of data intended */ in asn_build_int() 139 else if (val == (int)sval) in asn_build_int()
|
/illumos-gate/usr/src/lib/pyzfs/common/ |
H A D | ioctl.c | 85 char *sval; in nvl2py() local 92 (void) nvpair_value_string(nvp, &sval); in nvl2py() 93 pyval = Py_BuildValue("s", sval); in nvl2py()
|
/illumos-gate/usr/src/cmd/pools/poolcfg/ |
H A D | poolcfg.y | 198 char *sval; member 221 %type <sval> PCV_VAL_STRING 222 %type <sval> PCV_SYMBOL 223 %type <sval> PCV_FILENAME 228 %type <sval> name src tgt
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | stty.c | 737 int sval = -1; in prspeed() local 742 sval = speeds[i].value; in prspeed() 747 (void) printf("%s%d baud; ", c, sval); in prspeed()
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_digraph_xml.c | 1005 xmlChar *name = NULL, *type = NULL, *sval = NULL; in deserialize_nvpair() local 1092 if ((sval = xmlGetProp(xn, (xmlChar *)TDG_XML_VALUE)) == NULL || in deserialize_nvpair() 1093 nvlist_add_string(nvl, (char *)name, (char *)sval) != 0) { in deserialize_nvpair() 1325 if (sval != NULL) in deserialize_nvpair() 1326 xmlFree(sval); in deserialize_nvpair()
|
/illumos-gate/usr/src/lib/libpool/common/ |
H A D | pool_kernel.c | 1435 const char *sval; in pool_knl_get_binding() local 1471 if (pool_value_get_string(props[0], &sval) != PO_SUCCESS) { in pool_knl_get_binding() 1475 if ((name = strdup(sval)) == NULL) { in pool_knl_get_binding() 1522 const char *sval; in pool_knl_get_resource_binding() local 1579 if (pool_value_get_string(props[0], &sval) != PO_SUCCESS) { in pool_knl_get_resource_binding() 1582 if ((name = strdup(sval)) == NULL) { in pool_knl_get_resource_binding() 3490 const char *sval; in pool_knl_nvlist_add_value() local 3544 if (pool_value_get_string(pv, &sval) == POC_INVAL) { in pool_knl_nvlist_add_value() 3547 if (nvlist_add_string(list, nv_name, (char *)sval) != 0) { in pool_knl_nvlist_add_value()
|
H A D | pool_internal.c | 511 const char *sval; in system_set_allocate() local 513 if (pool_value_get_string(pval, &sval) != PO_SUCCESS) { in system_set_allocate() 517 if (strcmp(POA_IMPORTANCE, sval) != 0 && in system_set_allocate() 518 strcmp(POA_SURPLUS_TO_DEFAULT, sval) != 0) { in system_set_allocate()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_pf.c | 806 uint16_t sval; in pf_compare_address() local 824 (void) memcpy(&sval, addr, 2); in pf_compare_address() 825 pf_compare_value(offset, 2, sval); in pf_compare_address()
|
/illumos-gate/usr/src/uts/common/io/ixgbe/core/ |
H A D | ixgbe_x550.c | 1684 u32 lval, sval, flx_val; in ixgbe_setup_sgmii() local 1706 IXGBE_SB_IOSF_TARGET_KR_PHY, &sval); in ixgbe_setup_sgmii() 1710 sval |= IXGBE_KRM_SGMII_CTRL_MAC_TAR_FORCE_10_D; in ixgbe_setup_sgmii() 1711 sval |= IXGBE_KRM_SGMII_CTRL_MAC_TAR_FORCE_100_D; in ixgbe_setup_sgmii() 1714 IXGBE_SB_IOSF_TARGET_KR_PHY, sval); in ixgbe_setup_sgmii() 1753 u32 lval, sval, flx_val; in ixgbe_setup_sgmii_fw() local 1775 IXGBE_SB_IOSF_TARGET_KR_PHY, &sval); in ixgbe_setup_sgmii_fw() 1779 sval &= ~IXGBE_KRM_SGMII_CTRL_MAC_TAR_FORCE_10_D; in ixgbe_setup_sgmii_fw() 1780 sval &= ~IXGBE_KRM_SGMII_CTRL_MAC_TAR_FORCE_100_D; in ixgbe_setup_sgmii_fw() 1783 IXGBE_SB_IOSF_TARGET_KR_PHY, sval); in ixgbe_setup_sgmii_fw()
|
/illumos-gate/usr/src/cmd/picl/plugins/lib/picld_pluginutil/ |
H A D | picld_pluginutil.c | 407 int16_t sval; in validate_size_and_cvt_val() local 435 sval = (int16_t)strtol(val, &endptr, 0); in validate_size_and_cvt_val() 438 (void) memcpy(outbuf, &sval, size); in validate_size_and_cvt_val()
|