Searched defs:scope (Results 1 - 25 of 66) sorted by relevance

123

/osnet-11/usr/src/lib/libast/common/hash/
H A Dhashdump.c106 Hash_table_t* scope; local
110 if (scope = tab->scope)
113 while (scope = scope->scope) level++;
114 sfprintf(sfstderr, " level %d scope on 0x%08lx", level, (unsigned long)tab->scope);
/osnet-11/usr/src/lib/libnisdb/
H A Dldap_ldap.c64 int scope, i, stat, nrv = 0, freeBase = 0; local
114 if (def == 0 || def->read.scope == LDAP_SCOPE_UNKNOWN ||
126 scope = t->scope;
128 scope = LDAP_SCOPE_BASE;
133 ls = buildLdapSearch(base, scope, 0, 0, filter, attrs, 0, 0);
137 myself, attrName, NIL(base), getScope(scope),
162 NIL(base), getScope(scope), NIL(filter));
254 if (item->searchSpec.triple.scope == LDAP_SCOPE_UNKNOWN) {
261 if (defDN != 0 && defDN->write.scope
[all...]
H A Dldap_structs.h80 int scope; member in struct:__anon1977
/osnet-11/usr/src/lib/libshell/common/sh/
H A Darith.c60 static Namval_t *scope(register Namval_t *np,register struct lval *lvalue,int assign) function
201 np = scope(np,lvalue,1);
416 np = scope(np,lvalue,0);
/osnet-11/usr/src/lib/libsldap/common/
H A Dns_wrapper.c316 char *base, int scope, char *filter,
323 return (ldap_search_ext(ld, base, scope, filter,
330 char *base, int scope, char *filter,
337 return (ldap_search_ext_s(ld, base, scope, filter,
344 char *base, int scope, char *filter,
349 return (ldap_search(ld, base, scope, filter, attrs, attrsonly));
354 char *base, int scope, char *filter,
359 return (ldap_search_s(ld, base, scope, filter,
365 char *base, int scope, char *filter,
371 return (ldap_search_st(ld, base, scope, filte
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/libslp/javalib/com/sun/slp/
H A DSLPHeaderV1.java499 * Validate the scope name to be sure it doesn't contain forbidden
500 * chars and isn't one of the reserved scope names.
503 static void validateScope(String scope) argument
506 if (scope.indexOf('/') != -1 || scope.indexOf(',') != -1 ||
507 scope.indexOf(':') != -1) {
511 new Object[] {scope});
514 // Check against reserved scope names.
516 if (scope.equalsIgnoreCase("local") ||
517 scope
[all...]
/osnet-11/usr/src/lib/libsmbfs/common/
H A Dsmbfs_nb.c154 smbfs_nb_ctx_setscope(struct nb_ctx *ctx, const char *scope) argument
156 size_t slen = strlen(scope);
160 "scope '%s' is too long"), 0, scope);
168 (void) smbfs_nls_str_upper(ctx->nb_scope, scope);
329 * NetBIOS "scope" sting encoding,
339 * With no scope string, the zero-length
/osnet-11/usr/src/lib/libsmbns/common/
H A Dsmbns_netbios.c183 return (netbios_first_level_name_encode(name->name, name->scope,
191 (char *)name->scope));
197 * Set up the name and scope fields in the destination name_entry structure.
199 * last byte, i.e. "netbiosname <suffix>". The scope is copied and folded
203 smb_encode_netbios_name(unsigned char *name, char suffix, unsigned char *scope, argument
208 if (scope) {
209 (void) strlcpy((char *)dest->scope, (const char *)scope,
210 sizeof (dest->scope));
212 (void) smb_config_getstr(SMB_CI_NBSCOPE, (char *)dest->scope,
220 smb_init_name_struct(unsigned char *name, char suffix, unsigned char *scope, uint32_t ipaddr, unsigned short port, uint32_t attr, uint32_t addr_attr, struct name_entry *dest) argument
[all...]
H A Dsmbns_netbios_cache.c50 unsigned char *scope);
161 smb_netbios_cache_key(key, name->name, name->scope);
203 smb_netbios_cache_key(key, name->name, name->scope);
241 smb_netbios_cache_key(key, name->name, name->scope);
315 smb_netbios_cache_key(key, name->name, name->scope);
339 smb_init_name_struct(NETBIOS_EMPTY_NAME, 0, name->scope,
387 * Node Status response for names in the given scope
390 smb_netbios_cache_status(unsigned char *buf, int bufsize, unsigned char *scope) argument
422 (strcasecmp((char *)scope, (char *)name->scope)
821 smb_netbios_cache_key(char *key, unsigned char *name, unsigned char *scope) argument
[all...]
/osnet-11/usr/src/lib/libldap4/common/
H A Dcldap.c244 cldap_search_s( LDAP *ld, char *base, int scope, char *filter, char **attrs, argument
274 if ( (msgid = ldap_search( ld, base, scope, filter, attrs,
H A Dreferral.c324 int ver, scope, deref, sizelimit, timelimit, attrsonly; local
445 if (ber_scanf(&tmpber, "iiiib", &scope, &deref, &sizelimit, &timelimit, &attrsonly) == LBER_DEFAULT){
450 if (ber_printf(ber, "iiiib", urldesc->lud_scope == LDAP_SCOPE_UNKNOWN ? scope : urldesc->lud_scope,
H A Dufn.c63 void *cancelparm, char **dns, char *filter, int scope,
108 int max, i, err, scope, phase, tries; local
149 scope = LDAP_SCOPE_ONELEVEL;
153 scope = LDAP_SCOPE_ONELEVEL;
157 scope = LDAP_SCOPE_SUBTREE;
226 cancelparm, dns, fi->lfi_filter, scope,
247 scope = LDAP_SCOPE_SUBTREE;
484 char **dns, char *filter, int scope, char **attrs, int aonly,
501 if (( msgid = ldap_search( ld, dn, scope, filter, attrs,
483 ldap_ufn_expand( LDAP *ld, cancelptype cancelproc, void *cancelparm, char **dns, char *filter, int scope, char **attrs, int aonly, int *err ) argument
H A Durl.c15 * l d a p : / / hostport / dn [ ? attributes [ ? scope [ ? filter [ ? extensions ] ] ] ]
19 * scope is one of these three strings: base one sub (default=base)
247 /* scan for '?' that marks end of attrs and begin. of scope */
250 * terminate attrs; point to start of scope and scan for
251 * '?' that marks end of scope and begin. of filter
256 /* terminate scope; point to start of filter */
541 * If scope is not NULL then it overrides the URL's scope.
554 char *scope,
585 /* merge filter and/or scope an
550 ldap_dns_to_url( LDAP *ld, char *dns_name, char *attrs, char *scope, char *filter ) argument
[all...]
H A Dsearch.c70 ldap_build_search_req(LDAP *ld, char *base, int scope, char *filter, argument
83 * scope ENUMERATED {
133 ld->ld_cldapdn, LDAP_REQ_SEARCH, base, scope, ld->ld_deref,
139 LDAP_REQ_SEARCH, base, scope, ld->ld_deref,
207 * scope the search scope - one of LDAP_SCOPE_BASE,
220 ldap_search(LDAP *ld, char *base, int scope, char *filter, argument
233 if ((ber = ldap_build_search_req(ld, base, scope, filter, attrs,
722 ldap_search_st(LDAP *ld, char *base, int scope, char *filter, char **attrs, argument
727 if ((msgid = ldap_search(ld, base, scope, filte
744 ldap_search_s(LDAP *ld, char *base, int scope, char *filter, char **attrs, int attrsonly, LDAPMessage **res) argument
760 ldap_search_ext(LDAP *ld, char *base, int scope, char *filter, char **attrs, int attrsonly, LDAPControl **serverctrls, LDAPControl **clientctrls, struct timeval *timeoutp, int sizelimit, int *msgidp) argument
826 ldap_search_ext_s(LDAP *ld, char *base, int scope, char *filter, char **attrs, int attrsonly, LDAPControl **serverctrls, LDAPControl **clientctrls, struct timeval *timeoutp, int sizelimit, LDAPMessage **res) argument
[all...]
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/
H A Dsearch.c44 static int nsldapi_search( LDAP *ld, const char *base, int scope,
58 static int nsldapi_search_s( LDAP *ld, const char *base, int scope,
69 * scope the search scope - one of LDAP_SCOPE_BASE,
86 int scope,
96 if ( ldap_search_ext( ld, base, scope, filter, attrs, attrsonly, NULL,
114 int scope,
136 return( nsldapi_search( ld, base, scope, filter, attrs, attrsonly,
150 int scope,
179 if ( msgidp == NULL || ( scope !
83 ldap_search( LDAP *ld, const char *base, int scope, const char *filter, char **attrs, int attrsonly ) argument
111 ldap_search_ext( LDAP *ld, const char *base, int scope, const char *filter, char **attrs, int attrsonly, LDAPControl **serverctrls, LDAPControl **clientctrls, struct timeval *timeoutp, int sizelimit, int *msgidp ) argument
147 nsldapi_search( LDAP *ld, const char *base, int scope, const char *filter, char **attrs, int attrsonly, LDAPControl **serverctrls, LDAPControl **clientctrls, int timelimit, int sizelimit, int *msgidp ) argument
265 nsldapi_build_search_req( LDAP *ld, const char *base, int scope, const char *filter, char **attrs, int attrsonly, LDAPControl **serverctrls, LDAPControl **clientctrls, int timelimit, int sizelimit, int msgid, BerElement **berp ) argument
904 ldap_search_st( LDAP *ld, const char *base, int scope, const char *filter, char **attrs, int attrsonly, struct timeval *timeout, LDAPMessage **res ) argument
921 ldap_search_s( LDAP *ld, const char *base, int scope, const char *filter, char **attrs, int attrsonly, LDAPMessage **res ) argument
936 ldap_search_ext_s( LDAP *ld, const char *base, int scope, const char *filter, char **attrs, int attrsonly, LDAPControl **serverctrls, LDAPControl **clientctrls, struct timeval *timeoutp, int sizelimit, LDAPMessage **res ) argument
957 nsldapi_search_s( LDAP *ld, const char *base, int scope, const char *filter, char **attrs, int attrsonly, LDAPControl **serverctrls, LDAPControl **clientctrls, struct timeval *localtimeoutp, int timelimit, int sizelimit, LDAPMessage **res ) argument
[all...]
H A Dufn.c54 char *filter, int scope, char **attrs, int aonly, int *err );
101 int max, i, err, scope = 0, phase, tries; local
138 scope = LDAP_SCOPE_ONELEVEL;
142 scope = LDAP_SCOPE_ONELEVEL;
146 scope = LDAP_SCOPE_SUBTREE;
211 cancelparm, dns, fi->lfi_filter, scope,
229 scope = LDAP_SCOPE_SUBTREE;
446 void *cancelparm, char **dns, char *filter, int scope,
463 if (( msgid = ldap_search( ld, dn, scope, filter, attrs,
445 ldap_ufn_expand( LDAP *ld, LDAP_CANCELPROC_CALLBACK *cancelproc, void *cancelparm, char **dns, char *filter, int scope, char **attrs, int aonly, int *err ) argument
H A Durl.c38 * l d a p : / / hostport / dn [ ? attributes [ ? scope [ ? filter ] ] ]
42 * scope is one of these three strings: base one sub (default=base)
185 char *urlcopy, *attrs, *scope, *extensions = NULL, *p, *q; local
220 /* initialize scope and filter */
284 /* scan for '?' that marks end of attrs and begin. of scope */
287 * terminate attrs; point to start of scope and scan for
288 * '?' that marks end of scope and begin. of filter
291 scope = p;
293 if (( p = strchr( scope, '?' )) != NULL ) {
294 /* terminate scope; poin
564 ldap_dns_to_url( LDAP *ld, char *dns_name, char *attrs, char *scope, char *filter ) argument
[all...]
/osnet-11/usr/src/lib/libdtrace/common/
H A Ddt_dis.c99 dt_dis_varname(const dtrace_difo_t *dp, uint_t id, uint_t scope) argument
105 if (dvp->dtdv_id == id && dvp->dtdv_scope == scope) {
448 char kind[4], scope[4], flags[16] = { 0 }; local
464 (void) strcpy(scope, "glb");
467 (void) strcpy(scope, "tls");
470 (void) strcpy(scope, "loc");
473 (void) snprintf(scope, sizeof (scope),
489 v->dtdv_id, kind, scope, flags + 1,
/osnet-11/usr/src/lib/libc/port/threads/
H A Dpthr_attr.c43 PTHREAD_SCOPE_PROCESS, /* scope */
261 * pthread_attr_setscope: sets the scope to SYSTEM or PROCESS.
265 pthread_attr_setscope(pthread_attr_t *attr, int scope) argument
270 (scope == PTHREAD_SCOPE_SYSTEM ||
271 scope == PTHREAD_SCOPE_PROCESS)) {
272 ap->scope = scope;
279 * pthread_attr_getscope: gets the scheduling scope.
283 pthread_attr_getscope(const pthread_attr_t *attr, int *scope) argument
288 scope !
[all...]
/osnet-11/usr/src/lib/libslp/clib/
H A DSLPReg.c193 const char *scope, const char *attrs,
219 2 + strlen(scope) +
283 if ((err = slp_add_string(m, msgLen, scope, &len)) != SLP_OK)
835 * when done. If the scope string is too long for an SLP string, the
191 packSrvReg(slp_handle_impl_t *hp, const char *url, unsigned short lifetime, const char *type, const char *scope, const char *attrs, SLPBoolean fresh, struct reg_msg **msg) argument
/osnet-11/usr/src/lib/libpam/
H A Dpam_appl.h211 void *scope; /* Optional scope information */ member in struct:pam_repository
212 size_t scope_len; /* length of scope inforamtion */
/osnet-11/usr/src/lib/libfcoe/common/
H A Dlibfcoe.c110 scf_scope_t *scope = NULL; local
134 if ((scope = scf_scope_create(*handle)) == NULL) {
141 if (scf_handle_get_scope(*handle, SCF_SCOPE_LOCAL, scope) == -1) {
148 if (scf_scope_get_service(scope,
157 scf_scope_destroy(scope);
169 if (scope != NULL) {
170 scf_scope_destroy(scope);
/osnet-11/usr/src/lib/fm/topo/libtopo/common/
H A Dsvc.c30 * svc://[scope@][system-fqn]/service[:instance][@contract-id]
33 * scope, constract-id, and system-fqn are rarely used, leaving the much more
413 char *scope = NULL; local
437 err = nvlist_lookup_string(nvl, FM_FMRI_SVC_AUTH_SCOPE, &scope);
438 if ((err != 0 && err != ENOENT) || !svc_component_valid(scope))
441 if ((err != 0 && err != ENOENT) || !svc_component_valid(scope))
460 * svc://[scope@][system-fqn]
464 topo_fmristr_build(&size, buf, buflen, scope, NULL, "@");
530 /* scope */
693 scf_scope_t *scope local
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/script/
H A Dexecute.c50 static struct grub_script_scope *scope = 0; variable in typeref:struct:grub_script_scope
58 if (scope)
60 scope->argv.argc += scope->shifts;
61 scope->argv.args -= scope->shifts;
63 if (scope->flags & GRUB_SCRIPT_SCOPE_ARGS_MALLOCED)
64 grub_script_argv_free (&scope->argv);
66 if (scope->flags & GRUB_SCRIPT_SCOPE_MALLOCED)
67 grub_free (scope);
[all...]
/osnet-11/usr/src/lib/libresolv2/common/irs/
H A Dgetaddrinfo.c839 * numeric hostname with scope
854 char *cp, *hostname2 = NULL, *scope, *addr;
869 * Handle special case of <scoped_address><delimiter><scope id>
877 scope = cp + 1;
887 if (!ip6_str2scopeid(scope, sin6, &scopeid)) {
1107 /* convert a string to a scope identifier. XXX: IPv6 specific */
1109 ip6_str2scopeid(char *scope, struct sockaddr_in6 *sin6, argument
1118 if (*scope == '\0')
1129 scopeid = if_nametoindex(scope);
1147 lscopeid = strtoul(scope,
[all...]

Completed in 86 milliseconds

123