/osnet-11/usr/src/lib/libprtdiag_psr/sparc/ontario/common/ |
H A D | huron.c | 394 char *pval; local 402 pval = malloc(pinfo.size); 403 if (pval == NULL) 405 err = picl_get_propval(proph, pval, pinfo.size); 407 free(pval); 410 *outbuf = pval; 430 pval = malloc(pinfo.size); 431 if (pval == NULL) 434 err = picl_get_propval(rowproph, pval, pinfo.size); 436 free(pval); [all...] |
H A D | pelton.c | 404 char *pval; local 412 pval = malloc(pinfo.size); 413 if (pval == NULL) 415 err = picl_get_propval(proph, pval, pinfo.size); 417 free(pval); 420 *outbuf = pval; 440 pval = malloc(pinfo.size); 441 if (pval == NULL) 444 err = picl_get_propval(rowproph, pval, pinfo.size); 446 free(pval); [all...] |
H A D | erie.c | 264 char *pval; local 272 pval = malloc(pinfo.size); 273 if (pval == NULL) 275 err = picl_get_propval(proph, pval, pinfo.size); 277 free(pval); 280 *outbuf = pval; 300 pval = malloc(pinfo.size); 301 if (pval == NULL) 304 err = picl_get_propval(rowproph, pval, pinfo.size); 306 free(pval); [all...] |
H A D | ontario.c | 610 char *pval; local 618 pval = malloc(pinfo.size); 619 if (pval == NULL) 621 err = picl_get_propval(proph, pval, pinfo.size); 623 free(pval); 626 *outbuf = pval; 646 pval = malloc(pinfo.size); 647 if (pval == NULL) 650 err = picl_get_propval(rowproph, pval, pinfo.size); 652 free(pval); [all...] |
H A D | stpaul.c | 465 char *pval; local 473 pval = malloc(pinfo.size); 474 if (pval == NULL) 476 err = picl_get_propval(proph, pval, pinfo.size); 478 free(pval); 481 *outbuf = pval; 501 pval = malloc(pinfo.size); 502 if (pval == NULL) 505 err = picl_get_propval(rowproph, pval, pinfo.size); 507 free(pval); [all...] |
/osnet-11/usr/src/lib/nsswitch/pynss/common/ |
H A D | nsswitch.py | 104 pval = self.get_prop_val(prop='enable_passwd_compat') variable in class:Nsswitch 105 if type(pval) == type('') and pval == 'true': 108 pval = self.get_prop_val(prop='enable_group_compat') variable in class:Nsswitch 109 if type(pval) == type('') and pval == 'true': 118 pval = self.get_prop_val(prop=self.DBMAP[k]) 119 self.traceit(' pval[k]= ', pval) 120 if pval ! [all...] |
H A D | dns.py | 114 pval = self.get_prop_val_list(prop=p) # Get Tuple variable in class:DnsClient 116 pval = self.get_prop_val(prop=p) # Get single value variable in class:DnsClient 117 self.traceit(' pval[p]= ', pval) 118 if pval != None and pval != '': 119 db[p] = pval # Set Specific
|
H A D | ldap.py | 141 pval = self.get_prop_val(pg=self.CREDPG, prop=p) 142 if pval == None: 145 pval = pval.upper() 146 self.traceit(' cred pval= ???') 150 pval = self.get_prop_val_list(pg=self.DEFPG, prop=p) 151 if pval == None or len(pval) == 0: 154 pval = self.get_prop_val(pg=self.DEFPG, prop=p) 155 if pval 158 pval = pval.upper() variable in class:LdapClient [all...] |
H A D | nscd.py | 242 pval = self.get_prop_val(prop=prop) 243 if pval != None and type(pval) == type('') and pval != '': 244 defp[p] = pval 250 pval = self.export_level() variable in class:Nscd.init 252 pval = self.export_component() variable in class:Nscd.init 256 pval = defp[cprop] # Attempt the default pg value 257 db[p] = pval # Set SMF default pg value 260 pval variable in class:Nscd.init 349 pval = vals[1] variable in class:Nscd.init 362 pval = self.import_level(pval) variable in class:Nscd.init 370 pval = self.import_component(pval) variable in class:Nscd.init 380 pval = vals[2] variable in class:Nscd.init 392 pval = self.truefalse(pval) variable in class:Nscd.init [all...] |
/osnet-11/usr/src/lib/libprtdiag_psr/sparc/montoya/common/ |
H A D | montoya.c | 494 char *pval; local 502 pval = malloc(pinfo.size); 503 if (pval == NULL) 505 err = picl_get_propval(proph, pval, pinfo.size); 507 free(pval); 510 *outbuf = pval; 530 pval = malloc(pinfo.size); 531 if (pval == NULL) 534 err = picl_get_propval(rowproph, pval, pinfo.size); 536 free(pval); [all...] |
/osnet-11/usr/src/lib/libprtdiag_psr/sparc/monza/common/ |
H A D | monza.c | 539 char *pval; local 547 pval = malloc(pinfo.size); 548 if (pval == NULL) 550 err = picl_get_propval(proph, pval, pinfo.size); 552 free(pval); 555 *outbuf = pval; 575 pval = malloc(pinfo.size); 576 if (pval == NULL) 579 err = picl_get_propval(rowproph, pval, pinfo.size); 581 free(pval); [all...] |
/osnet-11/usr/src/cmd/sendmail/db/hash/ |
H A D | hash_dup.c | 100 DBT dbt, pval, tmp_val; local 146 pval.flags = 0; 147 pval.data = HKEYDATA_DATA(hk); 148 pval.size = LEN_HDATA(hcp->pagep, dbp->pgsize, 151 __ham_make_dup(&pval, &tmp_val, &dbc->rdata.data,
|
/osnet-11/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_2xml.c | 212 char vbuf[INT64BUFSZ], tbuf[32], *pval = NULL, *aval = NULL; local 221 pval = vbuf; 232 pval = vbuf; 244 pval = vbuf; 256 pval = vbuf; 263 &pval, &err) != 0) 265 if (txml_str2xmlstr(thp, &pval) != 0) 278 pval = fmri; 318 pval = aval; 327 Value, pval, NUL [all...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ |
H A D | perly.h | 67 char *pval; member in union:__anon101
|
/osnet-11/usr/src/lib/libprtdiag_psr/sparc/opl/common/ |
H A D | opl_picl.c | 422 char *pval; local 430 pval = malloc(pinfo.size); 431 if (pval == NULL) 433 err = picl_get_propval(proph, pval, pinfo.size); 435 free(pval); 438 *outbuf = pval; 458 pval = malloc(pinfo.size); 459 if (pval == NULL) 462 err = picl_get_propval(rowproph, pval, pinfo.size); 464 free(pval); [all...] |
/osnet-11/usr/src/lib/libndmp/common/ |
H A D | libndmp_prop.c | 331 long pval = 0; local 345 pval = strtol(propval, (char **)NULL, 10); 346 if (pval >= max_int) { 358 if ((pval > ndmp_proplims[i].hi) || 359 (pval < ndmp_proplims[i].lo)) {
|
/osnet-11/usr/src/lib/libpicl/ |
H A D | picl.c | 813 void *pval, size_t valsize, picl_nodehdl_t *retnodeh) 831 (void) memcpy(req->valbuf, pval, valsize); 812 picl_find_node(picl_nodehdl_t rooth, char *pname, picl_prop_type_t ptype, void *pval, size_t valsize, picl_nodehdl_t *retnodeh) argument
|
/osnet-11/usr/src/lib/libpicltree/ |
H A D | ptree_impl.h | 107 char *pval; member in struct:prop_list
|
/osnet-11/usr/src/lib/fm/libldom/sparc/ |
H A D | ldom.c | 255 uint64_t pval, pid, id; local 281 if (md_get_prop_val(mdp, listp[i], "id", &pval) < 0) 282 pval = (uint64_t)-1; 283 id = pval; 286 if (md_get_prop_val(mdp, listp[i], "pid", &pval) < 0) 287 pval = id; 288 pid = pval;
|
/osnet-11/usr/src/lib/fm/topo/modules/i86pc/chip/common/ |
H A D | chip_subr.c | 159 char *pval; local 162 if (nvlist_lookup_string(nvl, pname, &pval) != 0) 166 TOPO_PROP_IMMUTABLE, pval, &err) == 0) { 168 *pvalp = pval; 186 int32_t pval; local 189 if ((nvlist_lookup_int32(nvl, pname, &pval)) != 0) 193 TOPO_PROP_IMMUTABLE, pval, &err) == 0) { 195 *pvalp = pval;
|
/osnet-11/usr/src/lib/liblldp/common/ |
H A D | liblldp_prop.c | 252 char *pval, uint_t *psize) 271 *psize = snprintf(pval, *psize, "%s", rval.lpr_pval); 299 i_lldp_get_tlv(const char *laname, lldp_prop_desc_t *pdp, char *pval, argument 307 return (i_lldp_getvalue_from_daemon(laname, pdp, pval, psize)); 337 i_lldp_get_apt(const char *laname, lldp_prop_desc_t *pdp, char *pval, argument 344 status = i_lldp_getvalue_from_daemon(laname, pdp, pval, 348 *psize = snprintf(pval, *psize, "--"); 356 i_lldp_set_apt(const char *laname, lldp_prop_desc_t *pdp, void *pval, argument 362 (void) strlcpy(lpval.lpv_strval, pval, sizeof (lpval.lpv_strval)); 370 i_lldp_set_tlv(const char *laname, lldp_prop_desc_t *pdp, void *pval, argument 251 i_lldp_getvalue_from_daemon(const char *laname, lldp_prop_desc_t *pdp, char *pval, uint_t *psize) argument 389 i_lldp_get_admin_status(const char *laname, lldp_prop_desc_t *pdp, char *pval, uint_t *psize, uint_t valtype) argument 401 i_lldp_set_admin_status(const char *laname, lldp_prop_desc_t *pdp, void *pval, uint_t flags) argument 422 i_lldp_get_str(const char *laname, lldp_prop_desc_t *pdp, char *pval, uint_t *psize, uint_t valtype) argument 434 i_lldp_set_gstr(const char *laname, lldp_prop_desc_t *pdp, void *pval, uint_t flags) argument 452 i_lldp_get_onoff(const char *laname, lldp_prop_desc_t *pdp, char *pval, uint_t *psize, uint_t valtype) argument 477 i_lldp_set_onoff(const char *laname, lldp_prop_desc_t *pdp, void *pval, uint_t flags) argument 502 i_lldp_get_sup_syscapab(const char *laname, lldp_prop_desc_t *pdp, char *pval, uint_t *psize, uint_t valtype) argument 514 i_lldp_set_syscapab(const char *laname, lldp_prop_desc_t *pdp, void *pval, uint_t flags) argument 529 i_lldp_get_enab_syscapab(const char *laname, lldp_prop_desc_t *pdp, char *pval, uint_t *psize, uint_t valtype) argument 588 i_lldp_setprop_common(const char *laname, const char *pname, char *pval, lldp_propclass_t pclass, uint_t pflags) argument 644 lldp_set_agentprop(const char *laname, const char *pname, char *pval, uint_t pflags) argument 655 lldp_set_global_tlvprop(const char *tlvname, const char *pname, char *pval, uint_t pflags) argument 667 lldp_set_agent_tlvprop(const char *laname, const char *tlvname, const char *pname, char *pval, uint_t pflags) argument 728 i_lldp_getprop_common(const char *laname, const char *pname, char *pval, uint_t *psize, uint_t valtype, lldp_propclass_t pclass) argument 817 lldp_get_agentprop(const char *laname, const char *pname, char *pval, uint_t *psize, uint_t valtype) argument 828 lldp_get_global_tlvprop(const char *tlvname, const char *pname, char *pval, uint_t *psize, uint_t valtype) argument 841 lldp_get_agent_tlvprop(const char *laname, const char *tlvname, const char *pname, char *pval, uint_t *psize, uint_t valtype) argument 1077 char pval[LLDP_MAXPROPVALLEN]; local [all...] |
/osnet-11/usr/src/lib/libipadm/common/ |
H A D | ipadm_prop.c | 398 ipadm_prop_desc_t *pdp, const void *pval, uint_t proto, uint_t flags) 416 pval = val; 420 mtu = (uint_t)strtol(pval, &endp, 10); 438 ipadm_prop_desc_t *pdp, const void *pval, uint_t proto, uint_t flags) 451 metric = (uint_t)strtol(pval, &endp, 10); 471 ipadm_prop_desc_t *pdp, const void *pval, uint_t proto, uint_t flags) 480 pval = IPADM_NONESTR; 486 if (strcmp(pval, IPADM_NONESTR) != 0 && 487 !i_ipadm_validate_ifname(iph, pval)) 495 if (strcmp(pval, IPADM_NONEST 397 i_ipadm_set_mtu(ipadm_handle_t iph, const void *arg, ipadm_prop_desc_t *pdp, const void *pval, uint_t proto, uint_t flags) argument 437 i_ipadm_set_metric(ipadm_handle_t iph, const void *arg, ipadm_prop_desc_t *pdp, const void *pval, uint_t proto, uint_t flags) argument 470 i_ipadm_set_usesrc(ipadm_handle_t iph, const void *arg, ipadm_prop_desc_t *pdp, const void *pval, uint_t proto, uint_t flags) argument 521 i_ipadm_hostmodel_str2val(const char *pval) argument 535 i_ipadm_hostmodel_val2str(ip_hostmodel_t pval) argument 548 i_ipadm_set_hostmodel(ipadm_handle_t iph, const void *arg, ipadm_prop_desc_t *pdp, const void *pval, uint_t proto, uint_t flags) argument 606 i_ipadm_set_group(ipadm_handle_t iph, const void *arg, ipadm_prop_desc_t *pdp, const void *pval, uint_t proto, uint_t flags) argument 711 i_ipadm_set_ifprop_flags(ipadm_handle_t iph, const void *arg, ipadm_prop_desc_t *pdp, const void *pval, uint_t proto, uint_t flags) argument 784 i_ipadm_set_eprivport(ipadm_handle_t iph, const void *arg, ipadm_prop_desc_t *pdp, const void *pval, uint_t proto, uint_t flags) argument 835 i_ipadm_set_cong_enabled(ipadm_handle_t iph, const void *arg, ipadm_prop_desc_t *pdp, const void *pval, uint_t proto, uint_t flags) argument 940 i_ipadm_set_cong_default(ipadm_handle_t iph, const void *arg, ipadm_prop_desc_t *pdp, const void *pval, uint_t proto, uint_t flags) argument 986 i_ipadm_set_forwarding(ipadm_handle_t iph, const void *arg, ipadm_prop_desc_t *pdp, const void *pval, uint_t proto, uint_t flags) argument 1026 i_ipadm_set_ecnsack(ipadm_handle_t iph, const void *arg, ipadm_prop_desc_t *pdp, const void *pval, uint_t proto, uint_t flags) argument 1385 i_ipadm_populate_proparg(ipadm_handle_t iph, ipmgmt_prop_arg_t *pargp, ipadm_prop_desc_t *pdp, const char *pval, const void *object) argument 1634 i_ipadm_set_prop(ipadm_handle_t iph, const void *arg, ipadm_prop_desc_t *pdp, const void *pval, uint_t proto, uint_t flags) argument 2030 i_ipadm_persist_propval(ipadm_handle_t iph, ipadm_prop_desc_t *pdp, const char *pval, const void *object, uint_t flags) argument [all...] |
H A D | libipadm.c | 745 char *protostr = NULL, *ifname = NULL, *pval = NULL; local 766 if ((err = netcfg_nvp_get_one_string(nvp, &pval)) != 0) 768 status = ipadm_set_ifprop(iph, ifname, pname, pval, proto, 837 char *pval; local 848 if ((err = netcfg_nvp_get_one_string(nvp, &pval)) != 0) 850 if ((status = ipadm_set_addrprop(iph, name, pval, aobjname,
|
/osnet-11/usr/src/lib/libprtdiag/common/ |
H A D | display_sun4v.c | 437 uint8_t *pval; local 464 pval = (uint8_t *)malloc(pinfo.size); 465 if (!pval) { 471 if (picl_get_propval(proph, pval, pinfo.size) != PICL_SUCCESS) { 475 free(pval); 481 dev_mask |= (*(pval+i) << 8*(sizeof (dev_mask)-1-i)); 494 char *p = (char *)(pval+sizeof (dev_mask)); 511 free(pval); 839 char *pval; local 847 pval [all...] |
/osnet-11/usr/src/lib/libpool/common/ |
H A D | pool.c | 262 pool_value_t *pval, void *user) 270 int type = pool_value_get_type(pval); 284 (void) pool_value_get_uint64(pval, &u); 289 (void) pool_value_get_int64(pval, &i); 294 (void) pool_value_get_string(pval, &str); 299 (void) pool_value_get_bool(pval, &bool); 309 (void) pool_value_get_double(pval, &d); 261 prop_buf_build_cb(pool_conf_t *UNUSED, pool_elem_t *pe, const char *name, pool_value_t *pval, void *user) argument
|