/titanic_41/usr/src/uts/i86pc/io/ |
H A D | immu_dmar.c | 114 scope_t *scope; in scope_list_free() local 121 while ((scope = list_remove_head(scope_list)) != NULL) { in scope_list_free() 122 kmem_free(scope, sizeof (scope_t)); in scope_list_free() 178 scope_t *scope; in parse_scope() local 187 scope = kmem_zalloc(sizeof (scope_t), KM_SLEEP); in parse_scope() 188 scope->scp_type = get_uint8(&shead[0]); in parse_scope() 189 scope->scp_enumid = get_uint8(&shead[4]); in parse_scope() 213 scope->scp_bus = bus; in parse_scope() 214 scope->scp_dev = dev; in parse_scope() 215 scope->scp_func = func; in parse_scope() [all …]
|
/titanic_41/usr/src/common/smbsrv/ |
H A D | smb_netbios_util.c | 158 netbios_first_level_name_encode(unsigned char *name, unsigned char *scope, in netbios_first_level_name_encode() argument 179 in = scope; in netbios_first_level_name_encode() 222 netbios_first_level_name_decode(char *in, char *name, char *scope) in netbios_first_level_name_decode() argument 250 out = scope; in netbios_first_level_name_decode() 267 if (out != scope) { in netbios_first_level_name_decode() 287 if (domainname_is_valid(scope)) { in netbios_first_level_name_decode() 288 (void) smb_strupr(scope); in netbios_first_level_name_decode() 293 scope[0] = '\0'; in netbios_first_level_name_decode() 312 char scope[NETBIOS_DOMAIN_NAME_MAX]; in netbios_name_isvalid() local 314 if (netbios_first_level_name_decode(in, name, scope) < 0) in netbios_name_isvalid()
|
/titanic_41/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, 90 int scope, in ldap_search() argument 100 if ( ldap_search_ext( ld, base, scope, filter, attrs, attrsonly, NULL, in ldap_search() 118 int scope, in ldap_search_ext() argument 140 return( nsldapi_search( ld, base, scope, filter, attrs, attrsonly, in ldap_search_ext() 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() 198 } else if (( rc_key = ldap_memcache_createkey( ld, base, scope, filter, in nsldapi_search() [all …]
|
H A D | url.c | 185 char *urlcopy, *attrs, *scope, *extensions = NULL, *p, *q; in nsldapi_url_parse() local 291 scope = p; in nsldapi_url_parse() 293 if (( p = strchr( scope, '?' )) != NULL ) { in nsldapi_url_parse() 317 if ( strcasecmp( scope, "one" ) == 0 ) { in nsldapi_url_parse() 319 } else if ( strcasecmp( scope, "base" ) == 0 ) { in nsldapi_url_parse() 321 } else if ( strcasecmp( scope, "sub" ) == 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() [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; 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()
|
/titanic_41/usr/src/cmd/krb5/kadmin/gui/visualrt/sunsoft/jws/visual/rt/type/ |
H A D | AMRef.java | 84 public static void stopRecording(AttributeManager scope) { in stopRecording() argument 86 if (scope != null) { in stopRecording() 91 ref.getRef(scope); in stopRecording() 126 public AttributeManager getRef(AttributeManager scope) { in getRef() argument 128 Root root = scope.getRoot(); in getRef()
|
H A D | Op.java | 70 public Root scope; field in Op 100 public Op(Root scope) { in Op() argument 101 this.scope = scope; in Op() 136 action.invoke(msg.target, msg.arg, scope); in handleMessage() 150 action.invoke(msg.target, evt.arg, scope); in handleEvent()
|
/titanic_41/usr/src/lib/libast/common/hash/ |
H A D | hashview.c | 53 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 D | hashdump.c | 106 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 D | hashscan.c | 58 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()
|
/titanic_41/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | SLPV1SSrvTypeMsg.java | 88 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 D | ServiceStoreInMemory.java | 1786 String scope = (String)en.nextElement(); in deleteAttributes() local 1787 Hashtable langLevel = (Hashtable)scopeLevel.get(scope); in deleteAttributes() 2004 String scope = (String)scopes.elementAt(i); in findServices() local 2006 makeScopeTypeLangKey(scope, serviceType, lang); in findServices() 2145 String scope = (String)scopes.elementAt(i); in findAttributes() local 2147 (Hashtable)scopeLevel.get(scope); in findAttributes() 2269 String scope = (String)scopes.elementAt(i); in findAttributes() local 2271 makeScopeTypeLangKey(scope, serviceType, lang); in findAttributes() 2445 String scope = (String)scopes.elementAt(i); in registerInternal() local 2450 initializeURLScopeLangTableVector(surl, scope, lang); in registerInternal() [all …]
|
H A D | SLPV1SAttrMsg.java | 117 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 D | SLPV1CDAAdvert.java | 112 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()
|
/titanic_41/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_netbios.c | 184 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 D | smbns_netbios_cache.c | 50 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() 388 smb_netbios_cache_status(unsigned char *buf, int bufsize, unsigned char *scope) in smb_netbios_cache_status() argument 420 (strcasecmp((char *)scope, (char *)name->scope) == 0)) { in smb_netbios_cache_status() 746 (void) strlcpy((char *)dup->scope, (char *)entry->scope, in smb_netbios_name_dup() 779 if (entry->scope[0] != '\0') { in smb_strname() [all …]
|
/titanic_41/usr/src/lib/libnisdb/ |
H A D | ldap_ldap.c | 68 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()
|
/titanic_41/usr/src/lib/libsldap/common/ |
H A D | ns_wrapper.c | 316 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()
|
/titanic_41/usr/src/lib/libc/port/threads/ |
H A D | pthr_attr.c | 265 pthread_attr_setscope(pthread_attr_t *attr, int scope) in pthread_attr_setscope() argument 270 (scope == PTHREAD_SCOPE_SYSTEM || in pthread_attr_setscope() 271 scope == PTHREAD_SCOPE_PROCESS)) { in pthread_attr_setscope() 272 ap->scope = scope; in pthread_attr_setscope() 283 pthread_attr_getscope(const pthread_attr_t *attr, int *scope) in pthread_attr_getscope() argument 288 scope != NULL) { in pthread_attr_getscope() 289 *scope = ap->scope; in pthread_attr_getscope()
|
/titanic_41/usr/src/lib/libsmbfs/smb/ |
H A D | nb.c | 98 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()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ospf6.c | 154 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() 177 "%s Router = %s", scope, print_ipaddr(ls6_router)); 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() 199 "%s Inter-area-router = %s Router %s", scope, in ospf6_print_ls_type() 207 "%s ASE = %s ASBR %s", scope, in ospf6_print_ls_type() [all …]
|
/titanic_41/usr/src/cmd/svc/common/ |
H A D | manifest_hash.c | 119 scf_scope_t *scope; in mhash_retrieve_entry() local 136 if ((scope = scf_scope_create(hndl)) == NULL || in mhash_retrieve_entry() 145 if (scf_handle_get_local_scope(hndl, scope) < 0) { in mhash_retrieve_entry() 150 if (scf_scope_get_service(scope, MHASH_SVC, svc) < 0) { in mhash_retrieve_entry() 226 scf_scope_destroy(scope); in mhash_retrieve_entry() 235 scf_scope_t *scope = NULL; in mhash_store_entry() local 251 if ((scope = scf_scope_create(hndl)) == NULL || in mhash_store_entry() 261 if (scf_handle_get_local_scope(hndl, scope) != SCF_SUCCESS) { in mhash_store_entry() 270 if (scf_scope_get_service(scope, MHASH_SVC, svc) == in mhash_store_entry() 282 if (scf_scope_add_service(scope, MHASH_SVC, svc) == in mhash_store_entry() [all …]
|
/titanic_41/usr/src/tools/ctf/cvt/ |
H A D | stabs.c | 191 int scope = 0; in stabs_read() local 218 scope++; in stabs_read() 219 debug(3, "stab %d: opening scope (%d)\n", i + 1, scope); in stabs_read() 222 scope--; in stabs_read() 223 debug(3, "stab %d: closing scope (%d)\n", i + 1, scope); in stabs_read() 326 iidescp->ii_type != II_SFUN) || scope == 0); in stabs_read() 332 if (scope && stab->n_type != N_PSYM) { in stabs_read()
|
/titanic_41/usr/src/uts/common/sys/scsi/generic/ |
H A D | persist.h | 146 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,
|
/titanic_41/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) in dt_dis_varname() argument 109 if (dvp->dtdv_id == id && dvp->dtdv_scope == scope) { in dt_dis_varname() 463 char kind[4], scope[4], flags[16] = { 0 }; in dt_dis() local 479 (void) strcpy(scope, "glb"); in dt_dis() 482 (void) strcpy(scope, "tls"); in dt_dis() 485 (void) strcpy(scope, "loc"); in dt_dis() 488 (void) snprintf(scope, sizeof (scope), in dt_dis() 504 v->dtdv_id, kind, scope, flags + 1, in dt_dis()
|