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

1234

/illumos-gate/usr/src/tools/smatch/src/
H A Dscope.h31 struct scope { struct
33 struct symbol_list *symbols; /* List of symbols in this scope */
34 struct scope *next;
37 extern struct scope
43 static inline int toplevel(struct scope *scope) argument
45 return scope == file_scope || scope == global_scope;
58 extern void bind_scope(struct symbol *, struct scope *);
59 extern void rebind_scope(struct symbol *, struct scope *);
[all...]
H A Dscope.c34 #include "scope.h"
36 static struct scope builtin_scope = { .next = &builtin_scope };
38 struct scope *block_scope = &builtin_scope, // regular automatic variables etc
43 void bind_scope(struct symbol *sym, struct scope *scope) argument
45 sym->scope = scope;
46 add_symbol(&scope->symbols, sym);
49 void rebind_scope(struct symbol *sym, struct scope *new)
51 struct scope *ol
64 struct scope *scope = __alloc_scope(0); local
74 struct scope *scope = __alloc_scope(0); local
107 struct scope *scope = *s; local
141 is_outer_scope(struct scope *scope) argument
[all...]
H A Dallocate.h87 DECLARE_ALLOCATOR(scope); variable
/illumos-gate/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);
/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/libshare/common/
H A Dscfutil.h45 scf_scope_t *scope; member in struct:scfutilhandle
/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/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:__anon3659
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/kssl/ksslcfg/
H A Dksslcfg_delete.c107 scf_scope_t *scope; local
130 if ((scope = scf_scope_create(handle)) == NULL) {
146 if (scf_handle_get_scope(handle, SCF_SCOPE_LOCAL, scope) == -1) {
154 if (scf_scope_get_service(scope, SERVICE_NAME, svc) < 0) {
249 scf_scope_destroy(scope);
H A Dksslcfg_create.c380 scf_scope_t *scope; local
400 if ((scope = scf_scope_create(handle)) == NULL) {
433 scf_scope_destroy(scope);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ospf6.c154 char scope[15]; local
161 snprintf(scope, sizeof (scope), "linklocal");
164 snprintf(scope, sizeof (scope), "area");
167 snprintf(scope, sizeof (scope), "AS");
170 snprintf(scope, sizeof (scope), "");
177 "%s Router = %s", scope, print_ipadd
[all...]
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Darith.c59 static Namval_t *scope(Shell_t *shp,register Namval_t *np,register struct lval *lvalue,int assign) function
124 np = scope(shp,np,lvalue,1);
312 np = scope(shp,np,lvalue,0);
/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/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...]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
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...]
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
918 ldap_search_st( LDAP *ld, const char *base, int scope, const char *filter, char **attrs, int attrsonly, struct timeval *timeout, LDAPMessage **res ) argument
935 ldap_search_s( LDAP *ld, const char *base, int scope, const char *filter, char **attrs, int attrsonly, LDAPMessage **res ) argument
950 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
971 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/cmd/sgs/liblddbg/common/
H A Dmap.c67 Dbg_map_version(Lm_list *lml, const char *version, const char *name, int scope) argument
75 if (scope)
/illumos-gate/usr/src/cmd/svc/startd/
H A Dexpand.c159 scf_scope_t *scope = NULL; local
187 if ((scope = scf_scope_create(h)) == NULL ||
194 scope) != 0)
197 if (scf_scope_get_service(scope, sn, svc) != 0)
328 scf_scope_destroy(scope);
/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...]
/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) {
477 char kind[4], scope[4], flags[16] = { 0 }; local
493 (void) strcpy(scope, "glb");
496 (void) strcpy(scope, "tls");
499 (void) strcpy(scope, "loc");
502 (void) snprintf(scope, sizeof (scope),
518 v->dtdv_id, kind, scope, flags + 1,
/illumos-gate/usr/src/cmd/ldapcachemgr/
H A Dcachemgr_discovery.c485 char *scope = (char *)SLPGetProperty("net.slp.useScopes"); local
487 if (!scope || !*scope) {
488 scope = "default";
502 cookie->scopes = scope;
523 err = SLPFindAttrs(h, fulltype, scope, cookie->context_attr,
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dpthr_attr.c49 PTHREAD_SCOPE_PROCESS, /* scope */
269 * pthread_attr_setscope: sets the scope to SYSTEM or PROCESS.
273 pthread_attr_setscope(pthread_attr_t *attr, int scope) argument
278 (scope == PTHREAD_SCOPE_SYSTEM ||
279 scope == PTHREAD_SCOPE_PROCESS)) {
280 ap->scope = scope;
287 * pthread_attr_getscope: gets the scheduling scope.
291 pthread_attr_getscope(const pthread_attr_t *attr, int *scope) argument
296 scope !
[all...]
/illumos-gate/usr/src/cmd/svc/common/
H A Dmanifest_hash.c120 scf_scope_t *scope; local
137 if ((scope = scf_scope_create(hndl)) == NULL ||
146 if (scf_handle_get_local_scope(hndl, scope) < 0) {
151 if (scf_scope_get_service(scope, MHASH_SVC, svc) < 0) {
227 scf_scope_destroy(scope);
236 scf_scope_t *scope = NULL; local
254 if ((scope = scf_scope_create(hndl)) == NULL ||
264 if (scf_handle_get_local_scope(hndl, scope) != SCF_SUCCESS) {
266 *errstr = gettext("Could not get local scope");
273 if (scf_scope_get_service(scope, MHASH_SV
[all...]

Completed in 252 milliseconds

1234