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

123456

/illumos-gate/usr/src/common/smbsrv/
H A Dsmb_netbios_util.c156 netbios_first_level_name_encode(unsigned char *name, unsigned char *scope, argument
177 in = scope;
209 * The scope field is a series of length designated labels as described
220 netbios_first_level_name_decode(char *in, char *name, char *scope) argument
249 * Don't bother decoding the scope. Not supported.
253 scope[0] = '\0';
274 char scope[NETBIOS_DOMAIN_NAME_MAX]; local
276 if (netbios_first_level_name_decode(in, name, scope) < 0)
/illumos-gate/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.
/illumos-gate/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;
/illumos-gate/usr/src/uts/i86pc/io/
H A Dimmu_dmar.c114 scope_t *scope; local
121 while ((scope = list_remove_head(scope_list)) != NULL) {
122 kmem_free(scope, sizeof (scope_t));
173 * parse a scope structure in the "raw" table
178 scope_t *scope; local
187 scope = kmem_zalloc(sizeof (scope_t), KM_SLEEP);
188 scope->scp_type = get_uint8(&shead[0]);
189 scope->scp_enumid = get_uint8(&shead[4]);
213 scope->scp_bus = bus;
214 scope
235 ioapic_drhd_insert(scope_t *scope, drhd_t *drhd) argument
293 scope_t *scope; local
351 scope_t *scope; local
537 scope_t *scope; local
947 scope_t *scope; local
1057 scope_t *scope; local
[all...]
/illumos-gate/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.c48 static int nsldapi_search( LDAP *ld, const char *base, int scope,
62 static int nsldapi_search_s( LDAP *ld, const char *base, int scope,
73 * scope the search scope - one of LDAP_SCOPE_BASE,
90 int scope,
100 if ( ldap_search_ext( ld, base, scope, filter, attrs, attrsonly, NULL,
118 int scope,
140 return( nsldapi_search( ld, base, scope, filter, attrs, attrsonly,
154 int scope,
183 if ( msgidp == NULL || ( scope !
87 ldap_search( LDAP *ld, const char *base, int scope, const char *filter, char **attrs, int attrsonly ) argument
115 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
151 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
269 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
908 ldap_search_st( LDAP *ld, const char *base, int scope, const char *filter, char **attrs, int attrsonly, struct timeval *timeout, LDAPMessage **res ) argument
925 ldap_search_s( LDAP *ld, const char *base, int scope, const char *filter, char **attrs, int attrsonly, LDAPMessage **res ) argument
940 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
961 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...]
/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_ldap.c68 int scope, i, stat, nrv = 0, freeBase = 0; local
118 if (def == 0 || def->read.scope == LDAP_SCOPE_UNKNOWN ||
130 scope = t->scope;
132 scope = LDAP_SCOPE_BASE;
137 ls = buildLdapSearch(base, scope, 0, 0, filter, attrs, 0, 0);
141 myself, attrName, NIL(base), getScope(scope),
166 NIL(base), getScope(scope), NIL(filter));
258 if (item->searchSpec.triple.scope == LDAP_SCOPE_UNKNOWN) {
267 if (defDN != 0 && defDN->write.scope
[all...]
H A Dldap_structs.h80 int scope; member in struct:__anon3623
H A Dldap_op.h55 __nis_ldap_search_t *buildLdapSearch(char *base, int scope,
/illumos-gate/usr/src/lib/libshare/common/
H A Dscfutil.h45 scf_scope_t *scope; member in struct:scfutilhandle
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dpthr_attr.c47 PTHREAD_SCOPE_PROCESS, /* scope */
266 * pthread_attr_setscope: sets the scope to SYSTEM or PROCESS.
270 pthread_attr_setscope(pthread_attr_t *attr, int scope) argument
275 (scope == PTHREAD_SCOPE_SYSTEM ||
276 scope == PTHREAD_SCOPE_PROCESS)) {
277 ap->scope = scope;
284 * pthread_attr_getscope: gets the scheduling scope.
288 pthread_attr_getscope(const pthread_attr_t *attr, int *scope) argument
293 scope !
[all...]
/illumos-gate/usr/src/uts/common/smbsrv/
H A Dnetbios.h56 * name (hostname) and scope. The ASCII name is padded to 15 bytes using
142 extern int netbios_first_level_name_decode(char *in, char *name, char *scope);
144 unsigned char *scope, unsigned char *out, int max_out);
/illumos-gate/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...]
/illumos-gate/usr/src/tools/ctf/cvt/
H A Dstabs.c191 int scope = 0; local
218 scope++;
219 debug(3, "stab %d: opening scope (%d)\n", i + 1, scope);
222 scope--;
223 debug(3, "stab %d: closing scope (%d)\n", i + 1, scope);
231 * trying to pop a stack that only has the outer scope
324 /* Make sure the scope tracking is working correctly */
326 iidescp->ii_type != II_SFUN) || scope
[all...]
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_netbios.c184 return (netbios_first_level_name_encode(name->name, name->scope,
192 (char *)name->scope));
198 * Set up the name and scope fields in the destination name_entry structure.
200 * last byte, i.e. "netbiosname <suffix>". The scope is copied and folded
204 smb_encode_netbios_name(unsigned char *name, char suffix, unsigned char *scope, argument
209 if (scope) {
210 (void) strlcpy((char *)dest->scope, (const char *)scope,
211 sizeof (dest->scope));
213 (void) smb_config_getstr(SMB_CI_NBSCOPE, (char *)dest->scope,
221 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);
313 smb_netbios_cache_key(key, name->name, name->scope);
337 smb_init_name_struct(NETBIOS_EMPTY_NAME, 0, name->scope,
385 * Node Status response for names in the given scope
388 smb_netbios_cache_status(unsigned char *buf, int bufsize, unsigned char *scope) argument
420 (strcasecmp((char *)scope, (char *)name->scope)
816 smb_netbios_cache_key(char *key, unsigned char *name, unsigned char *scope) argument
[all...]
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dnb.c95 * API for library consumer to set NB scope.
98 smb_ctx_setscope(struct smb_ctx *ctx, const char *scope) argument
105 return (nb_ctx_setscope(nb, scope));
202 nb_ctx_setscope(struct nb_ctx *ctx, const char *scope) argument
204 size_t slen = strlen(scope);
208 "scope '%s' is too long"), 0, scope);
216 nls_str_upper(ctx->nb_scope, scope);
/illumos-gate/usr/src/uts/common/sys/scsi/generic/
H A Dpersist.h51 * Persistent reservation scope codes
146 scope : 4; member in struct:scsi_prin_rsrvdesc
248 scope : 4; member in struct:scsi_prin_status_t
272 scope : 4; member in struct:scsi_cdb_prout
342 uint8_t scope : 4, member in struct:scsi_prin_rsrvdesc
444 uint8_t scope : 4, member in struct:scsi_prin_status_t
467 uint8_t scope : 4, member in struct:scsi_cdb_prout
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_dis.c103 dt_dis_varname(const dtrace_difo_t *dp, uint_t id, uint_t scope) argument
109 if (dvp->dtdv_id == id && dvp->dtdv_scope == scope) {
463 char kind[4], scope[4], flags[16] = { 0 }; local
479 (void) strcpy(scope, "glb");
482 (void) strcpy(scope, "tls");
485 (void) strcpy(scope, "loc");
488 (void) snprintf(scope, sizeof (scope),
504 v->dtdv_id, kind, scope, flags + 1,

Completed in 97 milliseconds

123456