/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
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()
|
H A D | SLPHeaderV1.java | 503 static void validateScope(String scope) in validateScope() argument 506 if (scope.indexOf('/') != -1 || scope.indexOf(',') != -1 || in validateScope() 507 scope.indexOf(':') != -1) { in validateScope() 511 new Object[] {scope}); in validateScope() 516 if (scope.equalsIgnoreCase("local") || in validateScope() 517 scope.equalsIgnoreCase("remote")) { in validateScope() 521 new Object[] {scope}); in validateScope()
|
H A D | SLPV1SSrvReg.java | 114 String scope = (String)o; in initialize() local 116 hdr.validateScope(scope); in initialize() 118 scopes.addElement(scope); in initialize()
|
H A D | SLPV1SSrvMsg.java | 155 String scope = st.nextToken().trim().toLowerCase(); in initialize() local 160 if (scope.equals("/")) { in initialize() 161 scope = ""; in initialize() 167 if (scope.length() > 0) { in initialize() 171 hdr.validateScope(scope); in initialize() 181 if (scope.length() <= 0) { in initialize() 182 scope = Defaults.DEFAULT_SCOPE; in initialize() 186 hdr.scopes.addElement(scope.toLowerCase().trim()); in initialize()
|
/illumos-gate/usr/src/cmd/ldapcachemgr/ |
H A D | cachemgr_discovery.c | 485 char *scope = (char *)SLPGetProperty("net.slp.useScopes"); in find_all_contexts() local 487 if (!scope || !*scope) { in find_all_contexts() 488 scope = "default"; in find_all_contexts() 502 cookie->scopes = scope; in find_all_contexts() 523 err = SLPFindAttrs(h, fulltype, scope, cookie->context_attr, in find_all_contexts()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | array.c | 99 aq->table = (Dt_t*)aq->scope; in array_scope() 105 aq->scope = (void*)ap; in array_scope() 114 aq->scope = (void*)ap; in array_scope() 124 if(!ap->scope) in array_unscope() 472 if((flags&NV_TYPE) && !ap->scope) in array_clone() 480 ap->scope = 0; in array_clone() 490 ap->scope = ap->table; in array_clone() 1688 …if(!ap->header.scope || (Dt_t*)ap->header.scope==ap->header.table || !nv_search(ap->cur->nvname,(D… in nv_associative() 1697 if(ap->header.scope) in nv_associative() 1700 dtclose(ap->header.scope); in nv_associative() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | check_macro_side_effects.c | 54 if (!sym->scope || !sym->scope->token) in defined_inside_macro() 56 if (positions_eq(macro_pos, sym->scope->token->pos)) in defined_inside_macro()
|
H A D | symbol.c | 600 if (sym->scope == next->scope) { in check_declaration() 624 struct scope *scope; in bind_symbol() local 641 scope = block_scope; in bind_symbol() 642 if (ns == NS_SYMBOL && toplevel(scope)) { in bind_symbol() 645 scope = global_scope; in bind_symbol() 648 scope = file_scope; in bind_symbol() 654 scope = file_scope; in bind_symbol() 656 scope = function_scope; in bind_symbol() 657 bind_scope(sym, scope); in bind_symbol()
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | svc.c | 422 char *scope = NULL; in svc_fmri_nvl2str() local 446 err = nvlist_lookup_string(nvl, FM_FMRI_SVC_AUTH_SCOPE, &scope); in svc_fmri_nvl2str() 447 if ((err != 0 && err != ENOENT) || !svc_component_valid(scope)) in svc_fmri_nvl2str() 450 if ((err != 0 && err != ENOENT) || !svc_component_valid(scope)) in svc_fmri_nvl2str() 473 topo_fmristr_build(&size, buf, buflen, scope, NULL, "@"); in svc_fmri_nvl2str() 704 scf_scope_t *scope = NULL; in svc_get_state() local 724 (scope = scf_scope_create(hdl)) == NULL || in svc_get_state() 731 if (scf_handle_get_scope(hdl, SCF_SCOPE_LOCAL, scope) != 0) in svc_get_state() 738 if (scf_scope_get_service(scope, name, svc) != 0) { in svc_get_state() 805 scf_scope_destroy(scope); in svc_get_state()
|
/illumos-gate/usr/src/uts/common/smbsrv/ |
H A D | netbios.h | 142 extern int netbios_first_level_name_decode(char *in, char *name, char *scope); 144 unsigned char *scope, unsigned char *out, int max_out);
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | kdb_ldap.h | 116 #define LDAP_SEARCH(base, scope, filter, attrs) LDAP_SEARCH_1(base, scope, filter, attrs, CHECK_S… argument 118 #define LDAP_SEARCH_1(base, scope, filter, attrs, status_check) \ argument 120 …st = ldap_search_ext_s(ld, base, scope, filter, attrs, 0, NULL, NULL, &timelimit, LDAP_NO_LIMIT, &…
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/ |
H A D | nameref.sh | 309 [[ $(a) == 'a.1 b.1' ]] || err_exit 'nameref choosing wrong scope -- ' 344 …ar) == ok ]] 2> /dev/null || err_exit 'nameref in function not creating variable in proper scope' 382 …*foo=bar* ]] || err_exit 'name references to static compound variables in parent scope not working' 400 … == *foo=bar* ]] || err_exit 'name references to static type variables in parent scope not working' 619 [[ $(print -v nar) == "$exp" ]] || err_exit 'read from a nameref variable from calling scope fails' 687 [[ $args == *foo=bam* ]] || err_exit 'nameref does not bind to correct scope'
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | mdoc_macro.c | 803 for (cnt = scope = 0;; ) { in in_line() 843 if (scope) in in_line() 878 scope = 1; in in_line() 887 if (scope && tok != MDOC_Lk) { in in_line() 889 scope = 0; in in_line() 895 scope = 1; in in_line() 919 if (scope && tok == MDOC_Fl) { in in_line() 921 scope = 0; in in_line() 925 if (scope && tok != MDOC_Lk) { in in_line() 927 scope = 0; in in_line() [all …]
|
/illumos-gate/usr/src/cmd/ldap/common/ |
H A D | ldapsearch.c | 44 static int dosearch( LDAP *ld, char *base, int scope, char **attrs, 138 static int includeufn, allow_binary, vals2tmp, ldif, scope, deref; variable 174 scope = LDAP_SCOPE_SUBTREE; in main() 293 rc = dosearch( ld, conv, scope, attrs, attrsonly, filtpattern, "" ); in main() 341 rc = dosearch( ld, base, scope, attrs, attrsonly, filtpattern, in main() 408 scope = LDAP_SCOPE_BASE; in options_callback() 410 scope = LDAP_SCOPE_ONELEVEL; in options_callback() 412 scope = LDAP_SCOPE_SUBTREE; in options_callback() 603 dosearch( ld, base, scope, attrs, attrsonly, filtpatt, value ) in dosearch() argument 606 int scope; [all …]
|
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_netbios.h | 176 unsigned char scope[NETBIOS_DOMAIN_NAME_MAX]; member 345 #define SAME_SCOPE(scope, e) (strcmp((scope), ((e)->scope)) == 0) argument
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | nis_parse_ldap_map.c | 828 next->read.scope = LDAP_SCOPE_ONELEVEL; in parse_object_dn() 829 next->write.scope = LDAP_SCOPE_UNKNOWN; in parse_object_dn() 866 next->read.scope = LDAP_SCOPE_BASE; in parse_object_dn() 869 next->read.scope = LDAP_SCOPE_ONELEVEL; in parse_object_dn() 872 next->read.scope = LDAP_SCOPE_SUBTREE; in parse_object_dn() 937 next->write.scope = LDAP_SCOPE_BASE; in parse_object_dn() 2302 int scope = LDAP_SCOPE_ONELEVEL; in get_search_triple() local 2356 scope = LDAP_SCOPE_BASE; in get_search_triple() 2359 scope = LDAP_SCOPE_ONELEVEL; in get_search_triple() 2362 scope = LDAP_SCOPE_SUBTREE; in get_search_triple() [all …]
|
/illumos-gate/usr/src/lib/libscf/common/ |
H A D | lowlevel.c | 5214 if (scope != NULL) in scf_parse_svc_fmri() 5215 *scope = NULL; in scf_parse_svc_fmri() 5348 if (scope != NULL) in scf_parse_file_fmri() 5349 *scope = NULL; in scf_parse_file_fmri() 5457 if (scope != NULL && strcmp(scope, SCF_SCOPE_LOCAL) != 0) { in scf_canonify_fmri() 5623 if (scope != NULL && strcmp(scope, SCF_FMRI_LOCAL_SCOPE) != 0) { in scf_handle_decode_fmri() 6667 info.scope = scope; in scf_walk_fmri() 6720 info.scope = scope; in scf_walk_fmri() 6805 info.scope = scope; in scf_walk_fmri() 6965 info.scope = scope; in scf_walk_fmri() [all …]
|
/illumos-gate/usr/src/cmd/fcinfo/ |
H A D | fcadm-list.c | 81 scf_scope_t *scope = NULL; in cfgInit() local 102 if ((scope = scf_scope_create(*handle)) == NULL) { in cfgInit() 108 if (scf_handle_get_scope(*handle, SCF_SCOPE_LOCAL, scope) == -1) { in cfgInit() 114 if (scf_scope_get_service(scope, NPIV_SERVICE, *service) == -1) { in cfgInit() 120 scf_scope_destroy(scope); in cfgInit() 132 if (scope != NULL) { in cfgInit() 133 scf_scope_destroy(scope); in cfgInit()
|
/illumos-gate/usr/src/lib/libfcoe/common/ |
H A D | libfcoe.c | 109 scf_scope_t *scope = NULL; in fcoe_cfg_scf_init() local 133 if ((scope = scf_scope_create(*handle)) == NULL) { in fcoe_cfg_scf_init() 140 if (scf_handle_get_scope(*handle, SCF_SCOPE_LOCAL, scope) == -1) { in fcoe_cfg_scf_init() 147 if (scf_scope_get_service(scope, in fcoe_cfg_scf_init() 156 scf_scope_destroy(scope); in fcoe_cfg_scf_init() 168 if (scope != NULL) { in fcoe_cfg_scf_init() 169 scf_scope_destroy(scope); in fcoe_cfg_scf_init()
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | expand.c | 157 scf_scope_t *scope = NULL; in get_prop_val_str() local 185 if ((scope = scf_scope_create(h)) == NULL || in get_prop_val_str() 192 scope) != 0) in get_prop_val_str() 195 if (scf_scope_get_service(scope, sn, svc) != 0) in get_prop_val_str() 326 scf_scope_destroy(scope); in get_prop_val_str()
|
/illumos-gate/usr/src/uts/intel/io/vmm/ |
H A D | vmm_stat.c | 62 if (vst->scope == VMM_STAT_SCOPE_INTEL && !vmm_is_intel()) in vmm_stat_register() 65 if (vst->scope == VMM_STAT_SCOPE_AMD && !vmm_is_svm()) in vmm_stat_register()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/dtrace/ |
H A D | dof.c | 98 dis_varname(const dtrace_difo_t *dp, uint_t id, uint_t scope) in dis_varname() argument 117 if (dvp[i].dtdv_id == id && dvp[i].dtdv_scope == scope) { in dis_varname() 457 char kind[4], scope[4], flags[16] = { 0 }; in difo() local 473 (void) strcpy(scope, "glb"); in difo() 476 (void) strcpy(scope, "tls"); in difo() 479 (void) strcpy(scope, "loc"); in difo() 482 (void) mdb_snprintf(scope, sizeof (scope), in difo() 498 v->dtdv_id, kind, scope, flags + 1, in difo()
|
/illumos-gate/usr/src/cmd/svc/lsvcrun/ |
H A D | lsvcrun.c | 435 scf_scope_t *scope = NULL; in get_script_pg() local 457 if ((scope = scf_scope_create(h)) == NULL) { in get_script_pg() 467 if (scf_handle_get_scope(h, SCF_SCOPE_LOCAL, scope) != 0) { in get_script_pg() 472 if (scf_scope_get_service(scope, SCF_LEGACY_SERVICE, svc) != 0) { in get_script_pg() 478 if (scf_scope_add_service(scope, SCF_LEGACY_SERVICE, svc) != in get_script_pg() 492 scf_scope_destroy(scope); in get_script_pg()
|
/illumos-gate/usr/src/lib/libnvme/common/ |
H A D | libnvme_feature.c | 249 nvme_feat_discover_init(nvme_ctrl_t *ctrl, nvme_feat_scope_t scope, in nvme_feat_discover_init() argument 254 if (!nvme_feat_discover_validate(ctrl, scope, flags)) { in nvme_feat_discover_init() 273 iter->nfi_scope = scope; in nvme_feat_discover_init() 280 nvme_feat_discover(nvme_ctrl_t *ctrl, nvme_feat_scope_t scope, uint32_t flags, in nvme_feat_discover() argument 294 if (!nvme_feat_discover_init(ctrl, scope, flags, &iter)) { in nvme_feat_discover()
|
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_mapping.c | 364 ptr->scope = * (ScopeType_t *)(*paramVal); in __s_api_parseASearchDesc() 366 ptr->scope = NS_LDAP_SCOPE_ONELEVEL; in __s_api_parseASearchDesc() 466 ptr->scope = NS_LDAP_SCOPE_BASE; in __s_api_parseASearchDesc() 468 ptr->scope = NS_LDAP_SCOPE_ONELEVEL; in __s_api_parseASearchDesc() 471 ptr->scope = NS_LDAP_SCOPE_SUBTREE; in __s_api_parseASearchDesc() 731 ret->scope = * (ScopeType_t *)(*paramVal); in __ns_ldap_getSearchDescriptors() 733 ret->scope = NS_LDAP_SCOPE_ONELEVEL; in __ns_ldap_getSearchDescriptors()
|