Searched refs:scope (Results 1 - 25 of 142) sorted by relevance

123456

/osnet-11/usr/src/lib/rad/pysmf/common/
H A Dfmri.py31 def __init__(self, scope, service, instance):
32 """ Constructs an FMRI from a scope, service, and instance """
33 if scope != None and scope == "localhost":
36 self._scope = scope
51 scope = None
59 scope = parts[0]
80 return FMRI(scope, service, instance)
95 """ Returns the scope of the FMRI, or None for localhost """
H A Drad.py85 def parts_to_name(service, instance = None, scope = None):
92 if scope is not None:
93 kvs.append(("scope", scope))
114 def lookup_byparts(self, service, instance = None, scope = None):
117 service, instance, scope))
/osnet-11/usr/src/lib/libslp/javalib/com/sun/slp/
H A DSLPV1SSrvTypeMsg.java82 // Finally get scope.
88 String scope = buf.toString().trim().toLowerCase();
90 hdr.validateScope(scope);
94 if (scope.length() <= 0) {
95 scope = Defaults.DEFAULT_SCOPE;
100 hdr.scopes.addElement(scope);
H A DSLPV1CDAAdvert.java99 // Parse in the scope list.
107 // Validate the scope list.
112 String scope = (String)hdr.scopes.elementAt(i);
114 SLPHeaderV1.validateScope(scope);
115 hdr.scopes.setElementAt(scope.toLowerCase().trim(), i);
119 // change the scope name to default. We don't check whether we
H A DSLPV1SAttrMsg.java113 // Parse in the scope and validate it.
117 String scope = buf.toString().toLowerCase().trim();
119 hdr.validateScope(scope);
123 if (scope.length() <= 0) {
124 scope = Defaults.DEFAULT_SCOPE;
129 hdr.scopes.addElement(scope);
H A DServiceStoreInMemory.java1167 * @return Vector of strings with scope names.
1298 // Keys for this table are scope/service type/lang tag. Values are
1341 // original. Values are hashtables with key being scope name,
1351 // The scope/service type v.s. number of languages. Keys are
1352 // the type/scope, values are a hashtable keyed by lang tag.
1354 // the number of registrations for that type/scope in the
1584 * and every scope. There will be only one record for each URL
1587 * same in each scope if the locale is the same.
1716 * Delete for every locale that has the attributes and every scope.
1742 // Get the scope leve
2489 initializeURLScopeLangTableVector(ServiceURL url, String scope, String lang) argument
2537 addRecordToScopeTypeLangTable(String scope, String serviceType, String lang, boolean isAbstract, ServiceRecordInMemory rec, Vector listVec) argument
3296 addTypeLocale(String type, String scope, String lang) argument
3336 deleteTypeLocale(String type, String scope, String lang) argument
3462 makeScopeTypeKey(String scope, String type) argument
3470 makeScopeTypeLangKey(String scope, String serviceType, String lang) argument
[all...]
H A DSLPV1SSrvReg.java51 static private final String SCOPE_ATTR_ID = "scope";
85 // Get the scopes. Note that if there's no scope, the request
114 String scope = (String)o;
116 hdr.validateScope(scope);
118 scopes.addElement(scope);
123 // If the vector is empty, then add empty string as the scope name.
125 // as scope not supported. If unscoped regs are supported, then
126 // change to default scope.
/osnet-11/usr/src/lib/libast/common/hash/
H A Dhashview.c33 * push/pop/query hash table scope
35 * bot==0 pop top scope
39 * scope table pointer returned
53 bot = top->scope;
56 if (top->scope)
69 top->scope = bot;
73 else if (bot = top->scope)
84 top->scope = 0;
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);
H A Dhashscan.c58 if (tab->scope && !(flags & HASH_NOSCOPE))
74 } while (tab = tab->scope);
102 if (!pos->flags || !pos->tab->scope) return(0);
103 pos->tab = pos->tab->scope;
/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/libldap5/sources/ldap/common/
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...]
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
/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
H A Dldap_op.h55 __nis_ldap_search_t *buildLdapSearch(char *base, int scope,
/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/libldap4/common/
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...]
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
/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/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/cmd/perl/5.8.4/distrib/lib/
H A Dbytes.pm49 lexical scope in which it appears. C<no bytes> can be used to reverse
50 the effect of C<use bytes> within the current lexical scope.
60 for instance, C<length $x> returns C<1>. However, in the scope of the

Completed in 57 milliseconds

123456