Home
last modified time | relevance | path

Searched refs:scope (Results 1 – 25 of 212) sorted by relevance

123456789

/illumos-gate/usr/src/tools/smatch/src/
H A Dscope.c43 void bind_scope(struct symbol *sym, struct scope *scope) in bind_scope() argument
45 sym->scope = scope; in bind_scope()
51 struct scope *old = sym->scope; in rebind_scope()
64 struct scope *scope = __alloc_scope(0); in start_scope() local
65 memset(scope, 0, sizeof(*scope)); in start_scope()
68 scope->next = *s; in start_scope()
69 *s = scope; in start_scope()
74 struct scope *scope = __alloc_scope(0); in start_file_scope() local
76 memset(scope, 0, sizeof(*scope)); in start_file_scope()
107 struct scope *scope = *s; in end_scope() local
[all …]
H A Dscope.h31 struct scope { struct
34 struct scope *next; argument
37 extern struct scope
43 static inline int toplevel(struct scope *scope) in toplevel() argument
45 return scope == file_scope || scope == global_scope; in toplevel()
58 extern void bind_scope(struct symbol *, struct scope *);
59 extern void rebind_scope(struct symbol *, struct scope *);
61 extern int is_outer_scope(struct scope *);
/illumos-gate/usr/src/uts/i86pc/io/
H A Dimmu_dmar.c114 scope_t *scope; in scope_list_free() local
178 scope_t *scope; in parse_scope() local
217 return (scope); in parse_scope()
293 scope_t *scope; in parse_drhd() local
351 scope_t *scope; in parse_rmrr() local
544 for (scope = list_head(scope_list); scope; in print_scope_list()
545 scope = list_next(scope_list, scope)) { in print_scope_list()
970 scope = list_next(&(rmrr->rm_scope_list), scope)) { in immu_dmar_rmrr_map()
997 scope->scp_bus, scope->scp_dev, in immu_dmar_rmrr_map()
1086 scope = list_next(&(drhd->dr_scope_list), scope)) { in immu_dmar_get_immu()
[all …]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dsearch.c90 int scope, in ldap_search() argument
118 int scope, in ldap_search_ext() argument
154 int scope, in nsldapi_search() argument
183 if ( msgidp == NULL || ( scope != LDAP_SCOPE_BASE in nsldapi_search()
184 && scope != LDAP_SCOPE_ONELEVEL && scope != LDAP_SCOPE_SUBTREE ) in nsldapi_search()
272 int scope, in nsldapi_build_search_req() argument
338 LDAP_REQ_SEARCH, base, scope, ld->ld_deref, in nsldapi_build_search_req()
921 int scope, in ldap_search_st() argument
938 int scope, in ldap_search_s() argument
953 int scope, in ldap_search_ext_s() argument
[all …]
H A Durl.c185 char *urlcopy, *attrs, *scope, *extensions = NULL, *p, *q; in nsldapi_url_parse() local
291 scope = p; in nsldapi_url_parse()
317 if ( strcasecmp( scope, "one" ) == 0 ) { in nsldapi_url_parse()
323 } else if ( *scope != '\0' ) { in nsldapi_url_parse()
568 char *scope, in ldap_dns_to_url() argument
600 if (attrs || scope || filter) { in ldap_dns_to_url()
605 if (scope) in ldap_dns_to_url()
678 if (scope) { in ldap_dns_to_url()
688 if (scope) { in ldap_dns_to_url()
708 if (scope) { in ldap_dns_to_url()
[all …]
H A Dufn.c54 char *filter, int scope, char **attrs, int aonly, int *err );
101 int max, i, err, scope = 0, phase, tries; in ldap_ufn_search_ctx() local
138 scope = LDAP_SCOPE_ONELEVEL; in ldap_ufn_search_ctx()
142 scope = LDAP_SCOPE_ONELEVEL; in ldap_ufn_search_ctx()
146 scope = LDAP_SCOPE_SUBTREE; in ldap_ufn_search_ctx()
211 cancelparm, dns, fi->lfi_filter, scope, in ldap_ufn_search_ctx()
229 scope = LDAP_SCOPE_SUBTREE; in ldap_ufn_search_ctx()
446 void *cancelparm, char **dns, char *filter, int scope, in ldap_ufn_expand() argument
463 if (( msgid = ldap_search( ld, dn, scope, filter, attrs, in ldap_ufn_expand()
/illumos-gate/usr/src/common/smbsrv/
H A Dsmb_netbios_util.c156 netbios_first_level_name_encode(unsigned char *name, unsigned char *scope, in netbios_first_level_name_encode() argument
177 in = scope; in netbios_first_level_name_encode()
220 netbios_first_level_name_decode(char *in, char *name, char *scope) in netbios_first_level_name_decode() argument
253 scope[0] = '\0'; in netbios_first_level_name_decode()
274 char scope[NETBIOS_DOMAIN_NAME_MAX]; in netbios_name_isvalid() local
276 if (netbios_first_level_name_decode(in, name, scope) < 0) in netbios_name_isvalid()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/hash/
H A Dhashview.c53 bot = top->scope; in hashview()
56 if (top->scope) in hashview()
69 top->scope = bot; in hashview()
73 else if (bot = top->scope) in hashview()
84 top->scope = 0; in hashview()
H A Dhashdump.c106 Hash_table_t* scope; in dumptable() local
110 if (scope = tab->scope) in dumptable()
113 while (scope = scope->scope) level++; in dumptable()
114 sfprintf(sfstderr, " level %d scope on 0x%08lx", level, (unsigned long)tab->scope); in dumptable()
H A Dhashscan.c58 if (tab->scope && !(flags & HASH_NOSCOPE)) in hashscan()
74 } while (tab = tab->scope); in hashscan()
102 if (!pos->flags || !pos->tab->scope) return(0); in hashnext()
103 pos->tab = pos->tab->scope; in hashnext()
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_netbios.c184 return (netbios_first_level_name_encode(name->name, name->scope, in smb_first_level_name_encode()
192 (char *)name->scope)); in smb_first_level_name_decode()
204 smb_encode_netbios_name(unsigned char *name, char suffix, unsigned char *scope, in smb_encode_netbios_name() argument
209 if (scope) { in smb_encode_netbios_name()
210 (void) strlcpy((char *)dest->scope, (const char *)scope, in smb_encode_netbios_name()
211 sizeof (dest->scope)); in smb_encode_netbios_name()
213 (void) smb_config_getstr(SMB_CI_NBSCOPE, (char *)dest->scope, in smb_encode_netbios_name()
214 sizeof (dest->scope)); in smb_encode_netbios_name()
217 (void) smb_strupr((char *)dest->scope); in smb_encode_netbios_name()
221 smb_init_name_struct(unsigned char *name, char suffix, unsigned char *scope, in smb_init_name_struct() argument
[all …]
H A Dsmbns_netbios_cache.c50 unsigned char *scope);
161 smb_netbios_cache_key(key, name->name, name->scope); in smb_netbios_cache_lookup()
203 smb_netbios_cache_key(key, name->name, name->scope); in smb_netbios_cache_lookup_addr()
241 smb_netbios_cache_key(key, name->name, name->scope); in smb_netbios_cache_insert()
313 smb_netbios_cache_key(key, name->name, name->scope); in smb_netbios_cache_delete()
337 smb_init_name_struct(NETBIOS_EMPTY_NAME, 0, name->scope, in smb_netbios_cache_insert_list()
420 (strcasecmp((char *)scope, (char *)name->scope) == 0)) { in smb_netbios_cache_status()
749 (void) strlcpy((char *)dup->scope, (char *)entry->scope, in smb_netbios_name_dup()
782 if (entry->scope[0] != '\0') { in smb_strname()
823 (void) memcpy(key + NETBIOS_NAME_SZ, scope, in smb_netbios_cache_key()
[all …]
/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_ldap.c68 int scope, i, stat, nrv = 0, freeBase = 0; in lookupLDAP() local
118 if (def == 0 || def->read.scope == LDAP_SCOPE_UNKNOWN || in lookupLDAP()
130 scope = t->scope; in lookupLDAP()
132 scope = LDAP_SCOPE_BASE; in lookupLDAP()
137 ls = buildLdapSearch(base, scope, 0, 0, filter, attrs, 0, 0); in lookupLDAP()
141 myself, attrName, NIL(base), getScope(scope), in lookupLDAP()
166 NIL(base), getScope(scope), NIL(filter)); in lookupLDAP()
258 if (item->searchSpec.triple.scope == LDAP_SCOPE_UNKNOWN) { in storeLDAP()
267 if (defDN != 0 && defDN->write.scope == LDAP_SCOPE_UNKNOWN) { in storeLDAP()
285 ls.scope = item->searchSpec.triple.scope; in storeLDAP()
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DSLPV1SSrvTypeMsg.java88 String scope = buf.toString().trim().toLowerCase(); in initialize() local
90 hdr.validateScope(scope); in initialize()
94 if (scope.length() <= 0) { in initialize()
95 scope = Defaults.DEFAULT_SCOPE; in initialize()
100 hdr.scopes.addElement(scope); in initialize()
H A DServiceStoreInMemory.java2490 String scope, in initializeURLScopeLangTableVector() argument
2522 scope}); in initializeURLScopeLangTableVector()
2770 scope, in deregisterInternal() local
2780 scopeLangTable.remove(scope); in deregisterInternal()
3061 new Object[] {scope}); in checkForExistingUnderOtherServiceType()
3069 new Object[] {scope}); in checkForExistingUnderOtherServiceType()
3077 new Object[] {scope}); in checkForExistingUnderOtherServiceType()
3145 newScopes.addElement(scope); in mergeOldRecordIntoNew()
3351 scope}); in deleteTypeLocale()
3362 scope}); in deleteTypeLocale()
[all …]
H A DSLPV1SAttrMsg.java117 String scope = buf.toString().toLowerCase().trim(); in initialize() local
119 hdr.validateScope(scope); in initialize()
123 if (scope.length() <= 0) { in initialize()
124 scope = Defaults.DEFAULT_SCOPE; in initialize()
129 hdr.scopes.addElement(scope); in initialize()
H A DSLPV1CDAAdvert.java112 String scope = (String)hdr.scopes.elementAt(i); in initialize() local
114 SLPHeaderV1.validateScope(scope); in initialize()
115 hdr.scopes.setElementAt(scope.toLowerCase().trim(), i); in initialize()
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_wrapper.c316 char *base, int scope, char *filter, in _ns_ldap_search_ext() argument
323 return (ldap_search_ext(ld, base, scope, filter, in _ns_ldap_search_ext()
330 char *base, int scope, char *filter, in _ns_ldap_search_ext_s() argument
337 return (ldap_search_ext_s(ld, base, scope, filter, in _ns_ldap_search_ext_s()
344 char *base, int scope, char *filter, in _ns_ldap_search() argument
349 return (ldap_search(ld, base, scope, filter, attrs, attrsonly)); in _ns_ldap_search()
354 char *base, int scope, char *filter, in _ns_ldap_search_s() argument
359 return (ldap_search_s(ld, base, scope, filter, in _ns_ldap_search_s()
365 char *base, int scope, char *filter, in _ns_ldap_search_st() argument
371 return (ldap_search_st(ld, base, scope, filter, in _ns_ldap_search_st()
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dpthr_attr.c273 pthread_attr_setscope(pthread_attr_t *attr, int scope) in pthread_attr_setscope() argument
278 (scope == PTHREAD_SCOPE_SYSTEM || in pthread_attr_setscope()
279 scope == PTHREAD_SCOPE_PROCESS)) { in pthread_attr_setscope()
280 ap->scope = scope; in pthread_attr_setscope()
291 pthread_attr_getscope(const pthread_attr_t *attr, int *scope) in pthread_attr_getscope() argument
296 scope != NULL) { in pthread_attr_getscope()
297 *scope = ap->scope; in pthread_attr_getscope()
596 ap->scope = PTHREAD_SCOPE_SYSTEM; in pthread_attr_get_np()
598 ap->scope = PTHREAD_SCOPE_PROCESS; in pthread_attr_get_np()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ospf6.c154 char scope[15]; in ospf6_print_ls_type() local
161 snprintf(scope, sizeof (scope), "linklocal"); in ospf6_print_ls_type()
164 snprintf(scope, sizeof (scope), "area"); in ospf6_print_ls_type()
167 snprintf(scope, sizeof (scope), "AS"); in ospf6_print_ls_type()
170 snprintf(scope, sizeof (scope), ""); in ospf6_print_ls_type()
183 "%s Net DR %s IF %s", scope, in ospf6_print_ls_type()
191 "%s Inter-area-prefix = %s ABR %s", scope, in ospf6_print_ls_type()
207 "%s ASE = %s ASBR %s", scope, in ospf6_print_ls_type()
215 "%s group = %s Router %s", scope, in ospf6_print_ls_type()
223 "%s Type 7 = %s Router %s", scope, in ospf6_print_ls_type()
[all …]
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dnb.c98 smb_ctx_setscope(struct smb_ctx *ctx, const char *scope) in smb_ctx_setscope() argument
105 return (nb_ctx_setscope(nb, scope)); in smb_ctx_setscope()
202 nb_ctx_setscope(struct nb_ctx *ctx, const char *scope) in nb_ctx_setscope() argument
204 size_t slen = strlen(scope); in nb_ctx_setscope()
208 "scope '%s' is too long"), 0, scope); in nb_ctx_setscope()
216 nls_str_upper(ctx->nb_scope, scope); in nb_ctx_setscope()
/illumos-gate/usr/src/uts/intel/io/vmm/
H A Dvmm_stat.h65 enum vmm_stat_scope scope; member
70 #define VMM_STAT_FDEFINE(type, nelems, desc, func, scope) \ argument
72 { -1, nelems, desc, func, scope } \
76 #define VMM_STAT_DEFINE(type, nelems, desc, scope) \ argument
77 VMM_STAT_FDEFINE(type, nelems, desc, NULL, scope)
/illumos-gate/usr/src/cmd/svc/common/
H A Dmanifest_hash.c120 scf_scope_t *scope; in mhash_retrieve_entry() local
137 if ((scope = scf_scope_create(hndl)) == NULL || in mhash_retrieve_entry()
146 if (scf_handle_get_local_scope(hndl, scope) < 0) { in mhash_retrieve_entry()
151 if (scf_scope_get_service(scope, MHASH_SVC, svc) < 0) { in mhash_retrieve_entry()
227 scf_scope_destroy(scope); in mhash_retrieve_entry()
236 scf_scope_t *scope = NULL; in mhash_store_entry() local
254 if ((scope = scf_scope_create(hndl)) == NULL || in mhash_store_entry()
264 if (scf_handle_get_local_scope(hndl, scope) != SCF_SUCCESS) { in mhash_store_entry()
273 if (scf_scope_get_service(scope, MHASH_SVC, svc) == in mhash_store_entry()
285 if (scf_scope_add_service(scope, MHASH_SVC, svc) == in mhash_store_entry()
[all …]
/illumos-gate/usr/src/uts/common/sys/scsi/generic/
H A Dpersist.h146 scope : 4; member
248 scope : 4; member
272 scope : 4; member
342 uint8_t scope : 4,
444 uint8_t scope : 4,
467 uint8_t scope : 4,
/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) in dt_dis_varname() argument
109 if (dvp->dtdv_id == id && dvp->dtdv_scope == scope) { in dt_dis_varname()
477 char kind[4], scope[4], flags[16] = { 0 }; in dt_dis() local
493 (void) strcpy(scope, "glb"); in dt_dis()
496 (void) strcpy(scope, "tls"); in dt_dis()
499 (void) strcpy(scope, "loc"); in dt_dis()
502 (void) snprintf(scope, sizeof (scope), in dt_dis()
518 v->dtdv_id, kind, scope, flags + 1, in dt_dis()

123456789