Home
last modified time | relevance | path

Searched refs:scope (Results 1 – 25 of 328) sorted by relevance

12345678910>>...14

/freebsd/contrib/bmake/unit-tests/
H A Dvar-scope-local.mk1 # $NetBSD: var-scope-local.mk,v 1.11 2024/03/05 23:07:58 rillig Exp $
79 # Conditions from .if directives are evaluated in the scope of the command
81 # scope and from the environment are resolved, in this precedence order (but
164 # expect: : Making var-scope-local.c out of nothing.
165 var-scope-local.c:
170 # expect: : Making var-scope-local.o from var-scope-local.c.
171 # expect: : Making basename "var-scope-local.o" in "." from "var-scope-local.c" in ".".
180 all: var-scope
[all...]
/freebsd/contrib/byacc/test/
H A Dbtyacc_demo.y26 Scope *scope; member
37 Scope *scope; member
56 %type <expr> expr(<scope>)
57 %type decl(<scope>) declarator_list(<scope>, <type>)
58 decl_list(<scope>)
59 %type <code> statement(<scope>) statement_list(<scope>)
60 block_statement(<scope>)
61 %type <decl> declarator(<scope>, <type>) formal_arg(<scope>)
62 %type <type> decl_specs(<scope>) decl_spec(<scope>) typename(<scope>)
64 %type <scope> opt_scope(<scope>)
[all …]
/freebsd/sys/netinet6/
H A Dscope6.c406 int scope; in in6_setscope() local
418 scope = in6_addrscope(in6); in in6_setscope()
419 if (scope == IPV6_ADDR_SCOPE_INTFACELOCAL || in in6_setscope()
420 scope == IPV6_ADDR_SCOPE_LINKLOCAL) { in in6_setscope()
428 } else if (scope != IPV6_ADDR_SCOPE_GLOBAL) { in in6_setscope()
437 zoneid = sid->s6id_list[scope]; in in6_setscope()
516 in6_getscopezone(const struct ifnet *ifp, int scope) in in6_getscopezone() argument
519 if (scope == IPV6_ADDR_SCOPE_INTFACELOCAL || in in6_getscopezone()
520 scope == IPV6_ADDR_SCOPE_LINKLOCAL) in in6_getscopezone()
522 if (scope >= 0 && scope < IPV6_ADDR_SCOPES_COUNT) in in6_getscopezone()
[all …]
H A Din6_cksum.c94 uint16_t scope, *w; in _in6_cksum_pseudo() local
118 scope = in6_getscope(&ip6->ip6_src); in _in6_cksum_pseudo()
122 if (scope != 0) in _in6_cksum_pseudo()
123 sum -= scope; in _in6_cksum_pseudo()
126 scope = in6_getscope(&ip6->ip6_dst); in _in6_cksum_pseudo()
130 if (scope != 0) in _in6_cksum_pseudo()
131 sum -= scope; in _in6_cksum_pseudo()
263 uint16_t *w, scope; in in6_cksum_partial() local
294 scope = in6_getscope(&ip6->ip6_src); in in6_cksum_partial()
298 if (scope != 0) in in6_cksum_partial()
[all …]
/freebsd/contrib/bmake/
H A Dvar.c470 GNode_FindVar(GNode *scope, Substring varname, unsigned int hash) in GNode_FindVar() argument
472 return HashTable_FindValueBySubstringHash(&scope->vars, varname, hash); in GNode_FindVar()
489 VarFindSubstring(Substring name, GNode *scope, bool elsewhere) in VarFindSubstring() argument
498 var = GNode_FindVar(scope, name, nameHash); in VarFindSubstring()
502 if (var == NULL && scope != SCOPE_CMDLINE) in VarFindSubstring()
505 if (!opts.checkEnvFirst && var == NULL && scope != SCOPE_GLOBAL) { in VarFindSubstring()
507 if (var == NULL && scope != SCOPE_INTERNAL) { in VarFindSubstring()
520 if (opts.checkEnvFirst && scope != SCOPE_GLOBAL) { in VarFindSubstring()
522 if (var == NULL && scope != SCOPE_INTERNAL) in VarFindSubstring()
535 VarFind(const char *name, GNode *scope, bool elsewhere) in VarFind() argument
[all …]
/freebsd/contrib/unbound/edns-subnet/
H A Daddrtree.c90 node_create(struct addrtree *tree, void *elem, addrlen_t scope, in node_create() argument
98 node->scope = scope; in node_create()
362 addrlen_t sourcemask, addrlen_t scope, void *elem, time_t ttl, in addrtree_insert() argument
374 if (tree->max_depth < scope) scope = tree->max_depth; in addrtree_insert()
376 if (scope < sourcemask) sourcemask = scope; in addrtree_insert()
388 node->scope = scope; in addrtree_insert()
404 newnode = node_create(tree, elem, scope, ttl); in addrtree_insert()
425 node->scope = scope; in addrtree_insert()
451 newnode->scope = scope; in addrtree_insert()
461 newnode = node_create(tree, elem, scope, ttl); in addrtree_insert()
[all …]
/freebsd/sys/dev/aic7xxx/aicasm/
H A Daicasm_symbol.h166 typedef struct scope { struct
167 SLIST_ENTRY(scope) scope_stack_links;
168 TAILQ_ENTRY(scope) scope_links;
169 TAILQ_HEAD(, scope) inner_scope;
179 SLIST_HEAD(scope_list, scope); argument
180 TAILQ_HEAD(scope_tailq, scope);
H A Daicasm.c80 static void dump_scope(scope_t *scope);
81 static void emit_patch(scope_t *scope, int patch);
461 dump_scope(scope_t *scope) in dump_scope() argument
468 emit_patch(scope, 0); in dump_scope()
473 cur_scope = TAILQ_FIRST(&scope->inner_scope); in dump_scope()
484 emit_patch(scope, 1); in dump_scope()
488 emit_patch(scope_t *scope, int patch) in emit_patch() argument
493 pinfo = &scope->patches[patch]; in emit_patch()
507 new_patch->patch_func = scope->func_num; in emit_patch()
508 new_patch->begin = scope->begin_addr; in emit_patch()
[all …]
/freebsd/sys/contrib/openzfs/module/zcommon/
H A Dzfeature_common.c176 zfs_mod_list_supported(const char *scope) in zfs_mod_list_supported() argument
179 (void) scope; in zfs_mod_list_supported()
190 ZFS_SYSFS_DIR, scope) < sizeof (path)) in zfs_mod_list_supported()
194 ZFS_SYSFS_ALT_DIR, scope) < sizeof (path)) in zfs_mod_list_supported()
251 zfs_mod_supported_impl(const char *scope, const char *name, const char *sysfs) in zfs_mod_supported_impl() argument
255 scope == NULL ? "" : "/", scope ?: "", in zfs_mod_supported_impl()
263 zfs_mod_supported(const char *scope, const char *name, in zfs_mod_supported() argument
276 supported = (zfs_mod_supported_impl(scope, name, ZFS_SYSFS_DIR) || in zfs_mod_supported()
277 zfs_mod_supported_impl(scope, name, ZFS_SYSFS_ALT_DIR)); in zfs_mod_supported()
287 !zfs_mod_supported_impl(scope, NULL, ZFS_SYSFS_DIR)) || in zfs_mod_supported()
[all …]
/freebsd/contrib/byacc/test/btyacc/
H A Dbtyacc_demo.tab.c140 Scope *scope; member
156 Scope *scope; member
645 extern Decl * lookup(Scope *scope, char *id);
647 extern Scope * start_fn_def(Scope *scope, Decl *fn_decl);
655 extern Decl * declare(Scope *scope, char *id, Type *type);
662 extern Expr * var_expr(Scope *scope, char *id);
952 free((*val).decl->scope); free((*val).decl->type); } in YYDESTRUCT_DECL()
1069 free((*val).scope); } in YYDESTRUCT_DECL()
1096 free((*val).scope); } in YYDESTRUCT_DECL()
1105 free((*val).scope); } in YYDESTRUCT_DECL()
[all …]
/freebsd/contrib/ntp/libntp/
H A Ddecodenetnum.c93 unsigned int port=NTP_PORT, scope=0; in decodenetnum() local
146 scope = _num_or_dflt(_chop(strchr(haddr, '%')), 0xFFFFFFFFu, scope); in decodenetnum()
150 netnum.sa6.sin6_scope_id = scope; in decodenetnum()
H A Dsocktoa.c38 u_long scope; in socktoa()
57 scope = SCOPE_VAR(sock); in socktoa()
58 if (0 != scope && !strchr(res, '%')) { in socktoa()
62 addr, scope); in socktoa()
39 u_long scope; socktoa() local
/freebsd/contrib/llvm-project/lldb/source/Expression/
H A DMaterializer.cpp452 ExecutionContextScope *scope = frame_sp.get(); in Materialize() local
454 if (!scope) in Materialize()
455 scope = map.GetBestExecutionContextScope(); in Materialize()
457 lldb::ValueObjectSP valobj_sp = SetupValueObject(scope); in Materialize()
532 if (data.GetByteSize() < GetByteSize(scope)) { in Materialize()
541 GetName().AsCString(), GetByteSize(scope).value_or(0), in Materialize()
547 std::optional<size_t> opt_bit_align = GetTypeBitAlign(scope); in Materialize()
616 ExecutionContextScope *scope = frame_sp.get(); in Dematerialize() local
618 if (!scope) in Dematerialize()
619 scope = map.GetBestExecutionContextScope(); in Dematerialize()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVInstrInfo.td212 (ins TYPE:$compType, ID:$scope, ID:$rows, ID:$cols),
213 "$res = OpTypeCooperativeMatrixNV $compType $scope $rows $cols">;
215 (ins TYPE:$compType, ID:$scope, ID:$rows, ID:$cols, ID:$use),
216 "$res = OpTypeCooperativeMatrixKHR $compType $scope $rows $cols $use">;
710 def OpGroupAsyncCopy: Op<259, (outs ID:$res), (ins TYPE:$ty, ID:$scope,
712 "$res = OpGroupAsyncCopy $ty $scope $dst $src $nelts $stride $event">;
713 def OpGroupWaitEvents: Op<260, (outs), (ins ID:$scope, ID:$nelts, ID:$elist),
714 "OpGroupWaitEvents $scope $nelts $elist">;
715 def OpGroupAll: Op<261, (outs ID:$res), (ins TYPE:$ty, ID:$scope, ID:$pr),
716 "$res = OpGroupAll $ty $scope $pr">;
[all …]
/freebsd/sys/compat/linuxkpi/common/include/net/
H A Dip.h75 unsigned char scope; in ip_ib_mc_map() local
78 scope = bcast[5] & 0xF; in ip_ib_mc_map()
84 buf[5] = 0x10 | scope; in ip_ib_mc_map()
H A Dipv6.h54 unsigned char scope; in ipv6_ib_mc_map() local
56 scope = broadcast[5] & 0xF; in ipv6_ib_mc_map()
62 buf[5] = 0x10 | scope; in ipv6_ib_mc_map()
/freebsd/contrib/smbfs/lib/smb/
H A Dnb.c90 nb_ctx_setscope(struct nb_ctx *ctx, const char *scope) in nb_ctx_setscope() argument
92 size_t slen = strlen(scope); in nb_ctx_setscope()
95 smb_error("scope '%s' is too long", 0, scope); in nb_ctx_setscope()
103 nls_str_upper(ctx->nb_scope, scope); in nb_ctx_setscope()
/freebsd/cddl/contrib/opensolaris/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()
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()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVRange.cpp30 LVScope *Scope = RangeEntry.scope(); in startSearch()
37 RangeEntry.scope()); in startSearch()
113 return RangeEntry.scope(); in getEntry()
148 LVScope *Scope = RangeEntry.scope(); in print()
/freebsd/contrib/libucl/tests/schema/
H A DrefRemote.json.disabled54 "description": "change resolution scope",
64 "description": "changed scope ref valid",
69 "description": "changed scope ref invalid",
/freebsd/contrib/kyua/utils/signals/
H A Dprogrammer_test.cpp86 ATF_TEST_CASE_WITHOUT_HEAD(scope);
87 ATF_TEST_CASE_BODY(scope) in ATF_TEST_CASE_BODY() argument
138 ATF_ADD_TEST_CASE(tcs, scope); in ATF_INIT_TEST_CASES()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCleanup.h536 static bool classof(const EHScope *scope) {
537 return scope->getKind() == Filter;
549 static bool classof(const EHScope *scope) {
550 return scope->getKind() == Terminate;
626 EHCatchScope &scope = cast<EHCatchScope>(*begin());
627 InnermostEHScope = scope.getEnclosingEHScope();
628 deallocate(EHCatchScope::getSizeForNumHandlers(scope.getNumHandlers()));
634 EHTerminateScope &scope = cast<EHTerminateScope>(*begin());
635 InnermostEHScope = scope.getEnclosingEHScope();
/freebsd/contrib/kyua/utils/
H A Dauto_array_test.cpp112 ATF_TEST_CASE(scope);
113 ATF_TEST_CASE_HEAD(scope) in ATF_TEST_CASE_HEAD() argument
118 ATF_TEST_CASE_BODY(scope) in ATF_TEST_CASE_BODY() argument
303 ATF_ADD_TEST_CASE(tcs, scope); in ATF_INIT_TEST_CASES()
/freebsd/usr.sbin/ypldap/
H A Daldap.h81 int scope; member
119 enum scope { enum
199 int aldap_search(struct aldap *, char *, enum scope, char *, char **, int, int, int, struct aldap_…
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbAstBuilder.cpp195 // can do is to say that it's either a series of namespaces (if the scope is in CreateDeclInfoForType()
196 // non-empty), or the translation unit (if the scope is empty). in CreateDeclInfoForType()
206 // global scope with the fully qualified name. in CreateDeclInfoForType()
210 for (llvm::ms_demangle::Node *scope : scopes) { in CreateDeclInfoForType()
211 auto *nii = static_cast<llvm::ms_demangle::NamedIdentifierNode *>(scope); in CreateDeclInfoForType()
249 clang::DeclContext *scope = GetParentDeclContext(id); in GetOrCreateSymbolForId() local
250 if (!scope) in GetOrCreateSymbolForId()
252 clang::Decl *scope_decl = clang::Decl::castFromDeclContext(scope); in GetOrCreateSymbolForId()
367 std::optional<PdbCompilandSymId> scope = in GetParentDeclContext() local
369 if (scope) in GetParentDeclContext()
656 clang::DeclContext *scope = GetParentDeclContext(block_id); GetOrCreateBlockDecl() local
671 CreateVariableDecl(PdbSymUid uid,CVSymbol sym,clang::DeclContext & scope) CreateVariableDecl() argument
694 clang::DeclContext *scope = GetOrCreateDeclContextForUid(scope_id); GetOrCreateVariableDecl() local
729 clang::DeclContext *scope = GetParentDeclContext(id); GetOrCreateTypedefDecl() local
1074 CVSymbolArray scope = CreateFunctionParameters() local
[all...]

12345678910>>...14