Searched refs:attrs (Results 26 - 50 of 170) sorted by relevance

1234567

/osnet-11/usr/src/lib/libldap5/sources/ldap/common/
H A Durl.c185 char *urlcopy, *attrs, *scope, *extensions = NULL, *p, *q; local
278 attrs = NULL;
280 ( attrs = strchr( ludp->lud_dn, '?' )) != NULL ) {
281 /* terminate dn; point to start of attrs. */
282 *attrs++ = '\0';
284 /* scan for '?' that marks end of attrs and begin. of scope */
285 if (( p = strchr( attrs, '?' )) != NULL ) {
287 * terminate attrs; point to start of scope and scan for
335 * if attrs list was included, turn it into a null-terminated array
337 if ( attrs !
564 ldap_dns_to_url( LDAP *ld, char *dns_name, char *attrs, char *scope, char *filter ) argument
805 char *attrs[2] = {"labeledURI", 0}; local
[all...]
/osnet-11/usr/src/lib/sun_fc/common/
H A DFCHBAPort.cc461 HBA_PORTATTRIBUTES attrs = getPortAttributes(tmp); local
462 memcpy(&tmp, &attrs.PortWWN, 8);
464 memcpy(&tmp, &attrs.NodeWWN, 8);
555 fc_hba_port_npiv_attributes_t attrs; local
562 fcio.fcio_olen = sizeof(attrs);
564 fcio.fcio_obuf = (caddr_t)&attrs;
568 stateChange = attrs.lastChange;
569 attributes.npivflag = attrs.npivflag;
570 memcpy(&attributes.NodeWWN, &attrs.NodeWWN, 8);
571 memcpy(&attributes.PortWWN, &attrs
583 fc_hba_port_attributes_t attrs; local
622 fc_hba_port_attributes_t attrs; local
663 fc_hba_port_attributes_t attrs; local
951 HBA_PORTATTRIBUTES attrs; local
1131 HBA_PORTATTRIBUTES attrs = getDiscoveredAttributes(destwwn, local
[all...]
H A DHBAList.cc413 HBA_LIBRARYATTRIBUTES attrs; local
415 attrs.final = 0;
416 memset(&attrs, 0, sizeof(attrs));
417 strlcpy(attrs.VName, VSL_NAME, sizeof (attrs.VName));
418 strlcpy(attrs.VVersion, VSL_STRING_VERSION, sizeof (attrs.VVersion));
419 strptime(build_time, "%c", &attrs.build_date);
421 return (attrs);
[all...]
H A DFCHBANPIVPort.cc72 HBA_NPIVATTRIBUTES attrs = getPortAttributes(tmp); local
73 memcpy(&tmp, &attrs.PortWWN, 8);
75 memcpy(&tmp, &attrs.NodeWWN, 8);
85 fc_hba_npiv_attributes_t attrs; local
90 fcio.fcio_olen = sizeof (attrs);
92 fcio.fcio_obuf = (caddr_t)&attrs;
95 stateChange = attrs.lastChange;
96 memcpy(&attributes.NodeWWN, &attrs.NodeWWN, 8);
97 memcpy(&attributes.PortWWN, &attrs.PortWWN, 8);
/osnet-11/usr/src/lib/libsldap/common/
H A Dns_wrapper.c66 char *dn, LDAPMod **attrs,
71 return (ldap_add_ext(ld, dn, attrs,
77 char *dn, LDAPMod **attrs,
82 return (ldap_add_ext_s(ld, dn, attrs, serverctrls, clientctrls));
87 char *dn, LDAPMod **attrs)
91 return (ldap_add(ld, dn, attrs));
96 char *dn, LDAPMod **attrs)
100 return (ldap_add_s(ld, dn, attrs));
317 char **attrs, int attrsonly, LDAPControl **serverctrls,
324 attrs, attrsonl
65 _ns_ldap_add_ext(char *service, int flags, char *dn, LDAPMod **attrs, LDAPControl ** serverctrls, LDAPControl **clientctrls, int *msgidp) argument
76 _ns_ldap_add_ext_s(char *service, int flags, char *dn, LDAPMod **attrs, LDAPControl ** serverctrls, LDAPControl **clientctrls) argument
86 _ns_ldap_add(char *service, int flags, char *dn, LDAPMod **attrs) argument
95 _ns_ldap_add_s(char *service, int flags, char *dn, LDAPMod **attrs) argument
315 _ns_ldap_search_ext(char *service, int flags, char *base, int scope, char *filter, char **attrs, int attrsonly, LDAPControl **serverctrls, LDAPControl **clientctrls, struct timeval *timeoutp, int sizelimit, int *msgidp) argument
329 _ns_ldap_search_ext_s(char *service, int flags, char *base, int scope, char *filter, char **attrs, int attrsonly, LDAPControl **serverctrls, LDAPControl **clientctrls, struct timeval *timeoutp, int sizelimit, LDAPMessage **res) argument
343 _ns_ldap_search(char *service, int flags, char *base, int scope, char *filter, char **attrs, int attrsonly) argument
353 _ns_ldap_search_s(char *service, int flags, char *base, int scope, char *filter, char **attrs, int attrsonly, LDAPMessage **res) argument
364 _ns_ldap_search_st(char *service, int flags, char *base, int scope, char *filter, char **attrs, int attrsonly, struct timeval *timeout, LDAPMessage **res) argument
[all...]
/osnet-11/usr/src/lib/libtsnet/common/
H A Dtsol_sgettpent.c305 char *attrs = tpstrp->attrs; local
323 if (attrs && *attrs != '\0' && *attrs != '#' && *attrs != '\n')
324 *errstrp = attrs;
331 if (attrs && *attrs != '\0' && *attrs !
[all...]
H A Dtsol_gettpent.c177 tpstrp->attrs = _strtok_escape(NULL, sep, &last);
178 if (tpstrp->attrs != NULL) {
179 len = strlen(tpstrp->attrs);
180 if (tpstrp->attrs[len - 1] == '\n')
181 tpstrp->attrs[len - 1] = '\0';
188 tpstrp->attrs ? tpstrp->attrs : "NULL");
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/attrs/
H A Dattrs.pm1 package attrs; package
8 attrs - set/get attributes of a subroutine (deprecated)
13 use attrs qw(locked method);
17 @a = attrs::get(\&foo);
30 C<attrs::get> on a subroutine reference or name returns its list
31 of attribute names. Notice that C<attrs::get> is not exported.
56 XSLoader::load 'attrs', $VERSION;
H A Dattrs.xs17 MODULE = attrs PACKAGE = attrs
32 "pragma \"attrs\" is deprecated, "
/osnet-11/usr/src/lib/libldap4/common/
H A Durl.c181 char *attrs = NULL; local
243 if (( attrs = strchr( ludp->lud_dn, '?' )) != NULL ) {
244 /* terminate dn; point to start of attrs. */
245 *attrs++ = '\0';
247 /* scan for '?' that marks end of attrs and begin. of scope */
248 if (( p = strchr( attrs, '?' )) != NULL ) {
250 * terminate attrs; point to start of scope and scan for
293 * if attrs list was included, turn it into a null-terminated array
295 if ( attrs != NULL && *attrs !
550 ldap_dns_to_url( LDAP *ld, char *dns_name, char *attrs, char *scope, char *filter ) argument
792 char *attrs[2] = {"labeledURI", 0}; local
[all...]
/osnet-11/usr/src/lib/libslp/javalib/com/sun/slp/
H A DSAttrMsg.java141 SrvLocMsg makeReply(Vector attrs, Hashtable auth) argument
147 hdr.iNumReplies = attrs.size();
161 hdr.parseAttributeVectorOut(attrs, 0, (auth != null),
170 attrs +
H A DSLPV1SDAAdvert.java55 Vector attrs)
58 super(hdr, xid, timestamp, url, scopes, attrs);
67 Vector attrs)
50 SLPV1SDAAdvert(SrvLocHeader hdr, short xid, long timestamp, ServiceURL url, Vector scopes, Vector attrs) argument
64 initialize(long timestamp, ServiceURL url, Vector scopes, Vector attrs) argument
H A DSSAAdvert.java57 Vector attrs)
72 this.initialize(url, scopes, attrs);
77 void initialize(ServiceURL url, Vector scopes, Vector attrs) argument
120 byte[] attrBytes = hdr.parseAttributeVectorOut(attrs,
177 " attrs=``" + attrs + "''\n" +
52 SSAAdvert(int version, short xid, Locale locale, ServiceURL url, Vector scopes, Vector attrs) argument
/osnet-11/usr/src/lib/libslp/clib/
H A DDAAdvert.c40 char **attrs, char **spis, SLPError *errCode) {
50 *surl = *scopes = *attrs = *spis = NULL;
93 if ((err = slp_get_string(reply, len, &off, attrs)) != SLP_OK) {
125 if (*attrs) free (*attrs);
39 slp_unpackDAAdvert(char *reply, char **surl, char **scopes, char **attrs, char **spis, SLPError *errCode) argument
H A DSLPFindAttrs.c199 char *surl, *scopes, *attrs, *spis; local
207 attrs = build_attrs_list(*collator);
210 if (!hp->async && attrs) {
211 cb(hp, attrs, SLP_OK, cookie);
212 free(attrs);
218 if (slp_unpackDAAdvert(reply, &surl, &scopes, &attrs, &spis, &errCode)
228 collate_attrs(attrs, collator, numResults, maxResults);
231 cont = cb((SLPHandle) hp, attrs, errCode, cookie);
238 free(attrs);
256 char *surl, *scopes, *attrs; local
499 collate_attrs(char *attrs, void **collator, int *numResults, int maxResults) argument
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Dattrs.t3 # Regression tests for attributes.pm and the C< : attrs> syntax.
95 my @attrs = eval 'attributes::get \&Y::baz';
96 is "@attrs", "locked";
98 @attrs = eval 'attributes::get $anon1';
99 is "@attrs", "locked method";
106 @attrs = eval 'attributes::get $thunk';
107 is "@attrs", "locked method Z";
111 @attrs = eval 'attributes::get \&A::X';
112 is "@attrs", "lvalue";
117 @attrs
[all...]
/osnet-11/usr/src/lib/libcpc/common/
H A Dsubr.c90 nvlist_t *attrs; local
92 if (nvlist_alloc(&attrs, NV_UNIQUE_NAME, 0) == ENOMEM)
96 if (nvlist_add_uint64(attrs,
99 nvlist_free(attrs);
105 attrs) != 0) {
106 nvlist_free(attrs);
110 nvlist_free(attrs);
/osnet-11/usr/src/lib/libdiskmgt/common/
H A Dslice.c60 static int add_inuse(char *name, nvlist_t *attrs);
63 static int get_attrs(descriptor_t *dp, int fd, nvlist_t *attrs);
110 nvlist_t *attrs = NULL; local
119 if (nvlist_alloc(&attrs, NVATTRS, 0) != 0) {
128 if ((*errp = get_attrs(dp, fd, attrs)) != 0) {
129 nvlist_free(attrs);
130 attrs = NULL;
137 return (attrs);
308 add_inuse(char *name, nvlist_t *attrs) argument
314 if (detectors[i](name, attrs,
387 get_attrs(descriptor_t *dp, int fd, nvlist_t *attrs) argument
[all...]
H A Dbus.c56 nvlist_t *attrs; local
58 if (nvlist_alloc(&attrs, NVATTRS, 0) != 0) {
65 if (nvlist_add_string(attrs, DM_BTYPE, bp->btype) != 0) {
66 nvlist_free(attrs);
72 if (nvlist_add_uint32(attrs, DM_CLOCK, bp->freq) != 0) {
73 nvlist_free(attrs);
80 if (nvlist_add_string(attrs, DM_PNAME, bp->pname) != 0) {
81 nvlist_free(attrs);
88 return (attrs);
/osnet-11/usr/src/lib/libsmbns/common/
H A Dsmbns_ads.c279 LDAPMod **attrs; local
285 if (smb_ads_alloc_attr(&attrs, 1) != 0) {
290 attrs[0]->mod_op = LDAP_MOD_REPLACE;
291 attrs[0]->mod_type = SMB_ADS_ATTR_SPN;
292 attrs[0]->mod_values = spns.s_pns;
294 if ((rc = ldap_modify_s(ah->ld, dn, attrs)) != LDAP_SUCCESS) {
300 smb_ads_free_attr(attrs);
1545 * Allocate a null-terminated array of LDAPMod * pointers. Since the attrs is
1550 smb_ads_alloc_attr(LDAPMod ***attrs, int num) argument
1556 *attrs
1581 smb_ads_free_attr(LDAPMod **attrs) argument
1657 LDAPMod **attrs; local
1814 char *attrs[4], filter[SMB_ADS_MAXBUFLEN]; local
2158 LDAPMod **attrs; local
2359 char *attrs[3], filter[SMB_ADS_MAXBUFLEN]; local
2448 LDAPMod **attrs; local
2707 LDAPMod **attrs; local
[all...]
/osnet-11/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelUtil.c292 crypto_object_attribute_t *attrs, *cur_attr; local
303 attrs = calloc(1,
305 if (attrs == NULL) {
311 key->ck_attrs = attrs;
312 cur_attr = attrs;
426 crypto_object_attribute_t *attrs, *cur_attr; local
436 attrs = calloc(1,
438 if (attrs == NULL) {
445 key->ck_attrs = attrs;
447 cur_attr = attrs;
504 crypto_object_attribute_t *attrs, *cur_attr; local
566 crypto_object_attribute_t *attrs, *cur_attr; local
628 crypto_object_attribute_t *attrs, *cur_attr; local
700 crypto_object_attribute_t *attrs, *cur_attr; local
779 crypto_object_attribute_t *attrs, *cur_attr; local
[all...]
/osnet-11/usr/src/lib/libnisdb/
H A Dldap_structs.h85 char **attrs; member in struct:__anon1977
/osnet-11/usr/src/lib/libfedfs/common/
H A Dnsdb_add.c48 LDAPMod **attrs; local
93 attrs = nsdb_create_fsn(nsdb, annotations, fsnuuid);
94 if (attrs == NULL) {
99 err = ldap_add_s(ld, fsn_dn, attrs);
104 nsdb_free_attrs(attrs);
136 attrs = nsdb_create_fsl(nsdb, l->host, l->path, l->annotations,
138 if (attrs == NULL) {
143 err = ldap_add_s(ld, fsl_dn, attrs);
148 nsdb_free_attrs(attrs);
/osnet-11/usr/src/lib/libidmap/common/
H A Ddirectory_client.c215 if (ent->attrs != NULL) {
217 for (j = 0; j < sized_array_n(ent->attrs); j++) {
218 dav = ent->attrs[j];
226 sized_array_free(ent->attrs);
287 /* If the entry wasn't found, leave the entry attrs and err NULL. */
297 nattrs = ent_rpc->directory_entry_rpc_u.attrs.attrs_len;
299 ent->attrs = sized_array(nattrs, sizeof (directory_attribute_value_t));
300 if (ent->attrs == NULL) {
305 de = copy_directory_attribute_value(&ent->attrs[i],
306 &ent_rpc->directory_entry_rpc_u.attrs
[all...]
H A Ddirectory_private.h54 directory_attribute_value_t *attrs; member in struct:__anon1712

Completed in 59 milliseconds

1234567