Home
last modified time | relevance | path

Searched refs:scope (Results 1 – 25 of 217) 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.c117 scope_t *scope; in scope_list_free() local
181 scope_t *scope; in parse_scope() local
220 return (scope); in parse_scope()
296 scope_t *scope; in parse_drhd() local
354 scope_t *scope; in parse_rmrr() local
547 for (scope = list_head(scope_list); scope; in print_scope_list()
548 scope = list_next(scope_list, scope)) { in print_scope_list()
971 scope = list_next(&(rmrr->rm_scope_list), scope)) { in immu_dmar_rmrr_map()
998 scope->scp_bus, scope->scp_dev, in immu_dmar_rmrr_map()
1087 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.c182 char *urlcopy, *attrs, *scope, *extensions = NULL, *p, *q; in nsldapi_url_parse() local
288 scope = p; in nsldapi_url_parse()
314 if ( strcasecmp( scope, "one" ) == 0 ) { in nsldapi_url_parse()
320 } else if ( *scope != '\0' ) { in nsldapi_url_parse()
565 char *scope, in ldap_dns_to_url() argument
597 if (attrs || scope || filter) { in ldap_dns_to_url()
602 if (scope) in ldap_dns_to_url()
675 if (scope) { in ldap_dns_to_url()
685 if (scope) { in ldap_dns_to_url()
705 if (scope) { in ldap_dns_to_url()
[all …]
H A Dufn.c52 char *filter, int scope, char **attrs, int aonly, int *err );
99 int max, i, err, scope = 0, phase, tries; in ldap_ufn_search_ctx() local
136 scope = LDAP_SCOPE_ONELEVEL; in ldap_ufn_search_ctx()
140 scope = LDAP_SCOPE_ONELEVEL; in ldap_ufn_search_ctx()
144 scope = LDAP_SCOPE_SUBTREE; in ldap_ufn_search_ctx()
209 cancelparm, dns, fi->lfi_filter, scope, in ldap_ufn_search_ctx()
227 scope = LDAP_SCOPE_SUBTREE; in ldap_ufn_search_ctx()
444 void *cancelparm, char **dns, char *filter, int scope, in ldap_ufn_expand() argument
461 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.c65 int scope, i, stat, nrv = 0, freeBase = 0; in lookupLDAP() local
115 if (def == 0 || def->read.scope == LDAP_SCOPE_UNKNOWN || in lookupLDAP()
127 scope = t->scope; in lookupLDAP()
129 scope = LDAP_SCOPE_BASE; in lookupLDAP()
134 ls = buildLdapSearch(base, scope, 0, 0, filter, attrs, 0, 0); in lookupLDAP()
138 myself, attrName, NIL(base), getScope(scope), in lookupLDAP()
163 NIL(base), getScope(scope), NIL(filter)); in lookupLDAP()
255 if (item->searchSpec.triple.scope == LDAP_SCOPE_UNKNOWN) { in storeLDAP()
264 if (defDN != 0 && defDN->write.scope == LDAP_SCOPE_UNKNOWN) { in storeLDAP()
282 ls.scope = item->searchSpec.triple.scope; in storeLDAP()
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
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 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 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 DDATable.java265 String scope = (String)scopes.elementAt(i); in filterScopes() local
267 if ((!inVector && !filter.contains(scope)) || in filterScopes()
268 (inVector && filter.contains(scope))) { in filterScopes()
315 String scope = (String)dascopes.elementAt(j); in addToEquivClass() local
317 if (!scopes.contains(scope)) { in addToEquivClass()
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_wrapper.c314 char *base, int scope, char *filter, in _ns_ldap_search_ext() argument
321 return (ldap_search_ext(ld, base, scope, filter, in _ns_ldap_search_ext()
328 char *base, int scope, char *filter, in _ns_ldap_search_ext_s() argument
335 return (ldap_search_ext_s(ld, base, scope, filter, in _ns_ldap_search_ext_s()
342 char *base, int scope, char *filter, in _ns_ldap_search() argument
347 return (ldap_search(ld, base, scope, filter, attrs, attrsonly)); in _ns_ldap_search()
352 char *base, int scope, char *filter, in _ns_ldap_search_s() argument
357 return (ldap_search_s(ld, base, scope, filter, in _ns_ldap_search_s()
363 char *base, int scope, char *filter, in _ns_ldap_search_st() argument
369 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.c152 char scope[15]; in ospf6_print_ls_type() local
159 snprintf(scope, sizeof (scope), "linklocal"); in ospf6_print_ls_type()
162 snprintf(scope, sizeof (scope), "area"); in ospf6_print_ls_type()
165 snprintf(scope, sizeof (scope), "AS"); in ospf6_print_ls_type()
168 snprintf(scope, sizeof (scope), ""); in ospf6_print_ls_type()
181 "%s Net DR %s IF %s", scope, in ospf6_print_ls_type()
189 "%s Inter-area-prefix = %s ABR %s", scope, in ospf6_print_ls_type()
205 "%s ASE = %s ASBR %s", scope, in ospf6_print_ls_type()
213 "%s group = %s Router %s", scope, in ospf6_print_ls_type()
221 "%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.h63 enum vmm_stat_scope scope; member
68 #define VMM_STAT_FDEFINE(type, nelems, desc, func, scope) \ argument
70 { -1, nelems, desc, func, scope } \
74 #define VMM_STAT_DEFINE(type, nelems, desc, scope) \ argument
75 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