/illumos-gate/usr/src/lib/libast/common/hash/ |
H A D | hashdump.c | 106 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 D | smb_netbios_util.c | 156 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 D | scfutil.h | 45 scf_scope_t *scope; member in struct:scfutilhandle
|
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | nb.c | 95 * 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 D | ldap_ldap.c | 68 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 D | ldap_structs.h | 80 int scope; member in struct:__anon3623
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/kssl/ksslcfg/ |
H A D | ksslcfg_delete.c | 107 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 D | ksslcfg_create.c | 380 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 D | snoop_ospf6.c | 154 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 D | arith.c | 59 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 D | ns_wrapper.c | 316 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 D | SLPHeaderV1.java | 499 * 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/libdtrace/common/ |
H A D | dt_dis.c | 103 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,
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | search.c | 48 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...] |
H A D | ufn.c | 54 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 D | url.c | 38 * 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...] |
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | map.c | 67 Dbg_map_version(Lm_list *lml, const char *version, const char *name, int scope) argument 75 if (scope)
|
/illumos-gate/usr/src/cmd/svc/common/ |
H A D | manifest_hash.c | 119 scf_scope_t *scope; local 136 if ((scope = scf_scope_create(hndl)) == NULL || 145 if (scf_handle_get_local_scope(hndl, scope) < 0) { 150 if (scf_scope_get_service(scope, MHASH_SVC, svc) < 0) { 226 scf_scope_destroy(scope); 235 scf_scope_t *scope = NULL; local 251 if ((scope = scf_scope_create(hndl)) == NULL || 261 if (scf_handle_get_local_scope(hndl, scope) != SCF_SUCCESS) { 263 *errstr = gettext("Could not get local scope"); 270 if (scf_scope_get_service(scope, MHASH_SV [all...] |
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | expand.c | 159 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/cmd/ldapcachemgr/ |
H A D | cachemgr_discovery.c | 483 char *scope = (char *)SLPGetProperty("net.slp.useScopes"); local 485 if (!scope || !*scope) { 486 scope = "default"; 500 cookie->scopes = scope; 521 err = SLPFindAttrs(h, fulltype, scope, cookie->context_attr,
|
/illumos-gate/usr/src/tools/ctf/cvt/ |
H A D | stabs.c | 191 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 D | smbns_netbios.c | 184 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/libc/port/threads/ |
H A D | pthr_attr.c | 47 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/cmd/mandoc/ |
H A D | mdoc_macro.c | 600 * the scope - of the current block ends. 719 int la, scope, cnt, firstarg, mayopen, nc, nl; local 752 for (cnt = scope = 0;; ) { 786 * execute it. Close out scope, if open. If no 792 if (scope) 810 * Non-quote-enclosed punctuation. Set up our scope, if 811 * a word; rewind the scope, if a delimiter; then append 820 * has been emitted, no scope is open, and we're 822 * a new scope. 826 !cnt && !scope [all...] |
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | svc.c | 30 * svc://[scope@][system-fqn]/service[:instance][@contract-id] 33 * scope, constract-id, and system-fqn are rarely used, leaving the much more 422 char *scope = NULL; local 446 err = nvlist_lookup_string(nvl, FM_FMRI_SVC_AUTH_SCOPE, &scope); 447 if ((err != 0 && err != ENOENT) || !svc_component_valid(scope)) 450 if ((err != 0 && err != ENOENT) || !svc_component_valid(scope)) 469 * svc://[scope@][system-fqn] 473 topo_fmristr_build(&size, buf, buflen, scope, NULL, "@"); 539 /* scope */ 704 scf_scope_t *scope local [all...] |