| /freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
| D | zcp_get.c | 324 char *strval = kmem_alloc(ZAP_MAXVALUELEN, KM_SLEEP); in get_special_prop() local 348 kmem_free(strval, ZAP_MAXVALUELEN); in get_special_prop() 379 dsl_dir_get_origin(ds->ds_dir, strval); in get_special_prop() 390 error = get_objset_type_name(ds, strval); in get_special_prop() 393 error = dsl_get_prev_snap(ds, strval); in get_special_prop() 396 dsl_dataset_name(ds, strval); in get_special_prop() 399 error = dsl_get_mountpoint(ds, dsname, strval, setpoint); in get_special_prop() 436 VERIFY3U(strlcpy(strval, token, ZAP_MAXVALUELEN), <, in get_special_prop() 439 if (strcmp(strval, "") == 0) { in get_special_prop() 441 VERIFY3U(strlcpy(strval, token, ZAP_MAXVALUELEN), <, in get_special_prop() [all …]
|
| D | spa.c | 283 spa_prop_add_list(nvlist_t *nvl, zpool_prop_t prop, char *strval, in spa_prop_add_list() argument 292 if (strval != NULL) in spa_prop_add_list() 293 VERIFY(nvlist_add_string(propval, ZPROP_VALUE, strval) == 0); in spa_prop_add_list() 455 char *strval = NULL; in spa_prop_get() local 482 strval = kmem_alloc(ZFS_MAX_DATASET_NAME_LEN, in spa_prop_get() 484 dsl_dataset_name(ds, strval); in spa_prop_get() 488 strval = NULL; in spa_prop_get() 492 spa_prop_add_list(*nvp, prop, strval, intval, src); in spa_prop_get() 494 if (strval != NULL) in spa_prop_get() 495 kmem_free(strval, ZFS_MAX_DATASET_NAME_LEN); in spa_prop_get() [all …]
|
| D | zfs_ioctl.c | 545 zfs_set_slabel_policy(const char *name, char *strval, cred_t *cr) in zfs_set_slabel_policy() argument 560 if (strcasecmp(strval, ZFS_MLSLABEL_DEFAULT) == 0) in zfs_set_slabel_policy() 564 if (!new_default && (hexstr_to_label(strval, &new_sl) != 0)) in zfs_set_slabel_policy() 587 if (zfs_check_global_label(name, strval) != 0) in zfs_set_slabel_policy() 617 if (hexstr_to_label(strval, &new_sl) != 0) in zfs_set_slabel_policy() 641 char *strval; in zfs_secpolicy_setprop() local 679 if (nvpair_value_string(propval, &strval) == 0) { in zfs_secpolicy_setprop() 682 err = zfs_set_slabel_policy(dsname, strval, CRED()); in zfs_secpolicy_setprop() 2667 char *strval; in zfs_set_prop_nvlist() local 2783 strval = fnvpair_value_string(propval); in zfs_set_prop_nvlist() [all …]
|
| /freebsd-12-stable/contrib/bsnmp/snmpd/ |
| D | config.c | 152 static char strval[_POSIX2_LINE_MAX]; variable 573 strval[strvallen] = '\0'; in _gettoken() 577 strval[strvallen++] = c; in _gettoken() 582 strval[strvallen++] = chr[end - esc]; in _gettoken() 593 strval[strvallen++] = c; in _gettoken() 608 strval[strvallen++] = c; in _gettoken() 618 strval[strvallen] = '\0'; in _gettoken() 626 strval[strvallen++] = c; in _gettoken() 631 strval[strvallen] = '\0'; in _gettoken() 669 printf("(STR %.*s)", (int)strvallen, strval); in gettoken() [all …]
|
| /freebsd-12-stable/crypto/openssl/crypto/x509v3/ |
| D | v3_enum.c | 45 long strval; in i2s_ASN1_ENUMERATED_TABLE() local 47 strval = ASN1_ENUMERATED_get(e); in i2s_ASN1_ENUMERATED_TABLE() 49 if (strval == enam->bitnum) in i2s_ASN1_ENUMERATED_TABLE()
|
| /freebsd-12-stable/contrib/amd/amd/ |
| D | sun_map_tok.l | 156 … xstrlcpy((char *)sun_map_lval.strval,(const char *)yytext,sizeof(sun_map_lval.strval));
|
| D | sun_map_parse.y | 82 char strval[2048]; member 86 %token <strval> WORD
|
| /freebsd-12-stable/cddl/contrib/opensolaris/lib/libzfs/common/ |
| D | libzfs_dataset.c | 985 char *strval; in zfs_valid_proplist() local 1025 (void) nvpair_value_string(elem, &strval); in zfs_valid_proplist() 1026 if (nvlist_add_string(ret, propname, strval) != 0) { in zfs_valid_proplist() 1072 (void) nvpair_value_string(elem, &strval); in zfs_valid_proplist() 1073 if (strcmp(strval, "none") == 0) { in zfs_valid_proplist() 1076 strval, &intval) != 0) { in zfs_valid_proplist() 1147 &strval, &intval, errbuf) != 0) in zfs_valid_proplist() 1243 if (strcasecmp(strval, ZFS_MLSLABEL_DEFAULT) == 0) in zfs_valid_proplist() 1248 (str_to_label(strval, &new_sl, MAC_LABEL, in zfs_valid_proplist() 1263 if (strcmp(strval, hex) == 0) { in zfs_valid_proplist() [all …]
|
| D | libzfs_pool.c | 251 const char *strval; in zpool_get_prop() local 377 if (zpool_prop_index_to_string(prop, intval, &strval) in zpool_get_prop() 380 (void) strlcpy(buf, strval, len); in zpool_get_prop() 435 char *strval; in zpool_valid_proplist() local 471 (void) nvpair_value_string(elem, &strval); in zpool_valid_proplist() 472 if (strcmp(strval, ZFS_FEATURE_ENABLED) != 0) { in zpool_valid_proplist() 505 &strval, &intval, errbuf) != 0) in zpool_valid_proplist() 554 if (strval[0] != '\0' && !bootfs_name_valid(poolname, in zpool_valid_proplist() 555 strval)) { in zpool_valid_proplist() 557 "is an invalid name"), strval); in zpool_valid_proplist() [all …]
|
| /freebsd-12-stable/contrib/atf/atf-c/ |
| D | tc.c | 658 const char *strval; in atf_tc_get_config_var_as_bool() local 661 strval = atf_tc_get_config_var(tc, name); in atf_tc_get_config_var_as_bool() 662 err = atf_text_to_bool(strval, &val); in atf_tc_get_config_var_as_bool() 666 "boolean value; found %s", name, strval); in atf_tc_get_config_var_as_bool() 690 const char *strval; in atf_tc_get_config_var_as_long() local 693 strval = atf_tc_get_config_var(tc, name); in atf_tc_get_config_var_as_long() 694 err = atf_text_to_long(strval, &val); in atf_tc_get_config_var_as_long() 698 "long value; found %s", name, strval); in atf_tc_get_config_var_as_long()
|
| /freebsd-12-stable/sys/dev/bhnd/nvram/ |
| D | bhnd_nvram_value_fmts.c | 402 } strval; in bhnd_nvram_val_bcm_leddc_encode_elem() local 465 inp = &strval; in bhnd_nvram_val_bcm_leddc_encode_elem() 467 strval.u32 = ival; in bhnd_nvram_val_bcm_leddc_encode_elem() 470 strval.u16 = ival; in bhnd_nvram_val_bcm_leddc_encode_elem()
|
| /freebsd-12-stable/cddl/contrib/opensolaris/cmd/zfs/ |
| D | zfs_main.c | 539 char *propval, *strval; in parseprop() local 548 if (nvlist_lookup_string(props, propname, &strval) == 0) { in parseprop() 883 char *strval; in zfs_do_create() local 913 &strval) != 0) { in zfs_do_create() 1547 char *strval; in get_callback() local 1615 strval = "-"; in get_callback() 1618 ZPROP_VALUE, &strval) == 0); in get_callback() 1641 pl->pl_user_prop, strval, sourcetype, in get_callback() 2624 char *strval = NULL; in print_us_node() local 2641 (void) nvpair_value_string(nvp, &strval); in print_us_node() [all …]
|
| /freebsd-12-stable/sys/cam/ |
| D | cam_periph.c | 549 const char *dname, *strval; in camperiphnextunit() local 587 (resource_string_value(dname, dunit, "at",&strval)|| in camperiphnextunit() 588 strcmp(strval, "scbus") == 0)) in camperiphnextunit() 605 const char *dname, *strval; in camperiphunit() local 615 if (resource_string_value(dname, dunit, "at", &strval) == 0) { in camperiphunit() 616 if (strcmp(strval, pathbuf) != 0) in camperiphunit()
|
| D | cam_xpt.c | 4160 const char *strval; in xptnextfreepathid() local 4177 if (resource_string_value("scbus", pathid, "at", &strval) == 0) { in xptnextfreepathid()
|
| /freebsd-12-stable/usr.sbin/bsnmpd/modules/snmp_wlan/ |
| D | wlan_snmp.h | 240 char *strval, int len);
|
| D | wlan_sys.c | 2055 char *strval, int len) in wlan_config_set_ioctl() argument 2061 return (wlan_config_set_country(wif, strval, in wlan_config_set_ioctl() 2067 return (wlan_config_set_dssid(wif, strval, len)); in wlan_config_set_ioctl() 2071 return (wlan_config_set_bssid(wif, strval)); in wlan_config_set_ioctl()
|
| D | wlan_snmp.c | 494 char *strval; in op_wlan_iface_config() local 516 strval = NULL; in op_wlan_iface_config() 676 strval = val->v.octetstring.octets; in op_wlan_iface_config() 682 strval = NULL; in op_wlan_iface_config() 691 strval = ctx->scratch->ptr1; in op_wlan_iface_config() 858 strval, vlen); in op_wlan_iface_config()
|
| /freebsd-12-stable/cddl/contrib/opensolaris/cmd/zpool/ |
| D | zpool_main.c | 458 char *strval; in add_prop_list() local 506 if (nvlist_lookup_string(proplist, normnm, &strval) == 0 && in add_prop_list()
|
| /freebsd-12-stable/contrib/binutils/binutils/ |
| D | ieee.c | 3215 const char *strval; in ieee_read_cxx_defaults() local 3237 if (! ieee_require_atn65 (info, pp, &strval, &strvallen)) in ieee_read_cxx_defaults()
|