Home
last modified time | relevance | path

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

12345678910>>...14

/freebsd-src/contrib/bmake/unit-tests/
H A Dvar-scope-local.mk165 var-scope-local.c:
180 all: var-scope-local.o
189 all: var-scope-local-assign.o
190 all: var-scope-local-append.o
191 all: var-scope-local-append-global.o
192 all: var-scope-local-default.o
193 all: var-scope-local-subst.o
194 all: var-scope-local-shell.o
196 var-scope-local-assign.o \
197 var-scope-local-append.o \
[all …]
/freebsd-src/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransAutoreleasePool.cpp97 PoolScope &scope = *scpI; in ~AutoreleasePoolRewriter() local
98 clearRefsIn(*scope.Begin, info.Refs); in ~AutoreleasePoolRewriter()
99 clearRefsIn(*scope.End, info.Refs); in ~AutoreleasePoolRewriter()
100 clearRefsIn(scope.Releases.begin(), scope.Releases.end(), info.Refs); in ~AutoreleasePoolRewriter()
121 PoolScope &scope = *scpI; in ~AutoreleasePoolRewriter() local
122 clearUnavailableDiags(*scope.Begin); in ~AutoreleasePoolRewriter()
123 clearUnavailableDiags(*scope.End); in ~AutoreleasePoolRewriter()
124 if (scope.IsFollowedBySimpleReturnStmt) { in ~AutoreleasePoolRewriter()
126 Pass.TA.replaceStmt(*scope.Begin, "@autoreleasepool {"); in ~AutoreleasePoolRewriter()
127 Pass.TA.removeStmt(*scope.End); in ~AutoreleasePoolRewriter()
[all …]
/freebsd-src/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-src/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-src/contrib/bmake/
H A Dvar.c114 * Var_Dump Print out all variables defined in the given scope.
153 * There are 3 kinds of variables: scope variables, environment variables,
157 * a scope variable is using the .undef directive. In particular, it must
160 * unintended way to undefine a scope variable, see varmod-loop-delete.mk.)
171 * For scope variables, it aliases the corresponding HashEntry name.
191 * Appending to its value depends on the scope, see var-op-append.mk.
328 * A scope collects variable names and their values.
330 * The main scope is SCOPE_GLOBAL, which contains the variables that are set
339 * There is no scope for environment variables, these are generated on-the-fly
342 * Each target has its own scope, containin
451 GNode_FindVar(GNode * scope,Substring varname,unsigned int hash) GNode_FindVar() argument
470 VarFindSubstring(Substring name,GNode * scope,bool elsewhere) VarFindSubstring() argument
516 VarFind(const char * name,GNode * scope,bool elsewhere) VarFind() argument
545 VarAdd(const char * name,const char * value,GNode * scope,VarSetFlags flags) VarAdd() argument
561 Var_Delete(GNode * scope,const char * varname) Var_Delete() argument
605 Var_DeleteAll(GNode * scope) Var_DeleteAll() argument
681 ExportVarEnv(Var * v,GNode * scope) ExportVarEnv() argument
754 ExportVar(const char * name,GNode * scope,VarExportMode mode) ExportVar() argument
780 Var_ReexportVars(GNode * scope) Var_ReexportVars() argument
999 Var_SetWithFlags(GNode * scope,const char * name,const char * val,VarSetFlags flags) Var_SetWithFlags() argument
1106 Var_Set(GNode * scope,const char * name,const char * val) Var_Set() argument
1116 Var_SetExpand(GNode * scope,const char * name,const char * val) Var_SetExpand() argument
1161 Var_Append(GNode * scope,const char * name,const char * val) Var_Append() argument
1204 Var_AppendExpand(GNode * scope,const char * name,const char * val) Var_AppendExpand() argument
1229 Var_Exists(GNode * scope,const char * name) Var_Exists() argument
1248 Var_ExistsExpand(GNode * scope,const char * name) Var_ExistsExpand() argument
1272 Var_Value(GNode * scope,const char * name) Var_Value() argument
1450 GNode *scope; global() member
1676 GNode *scope; global() member
2005 GNode *const_member scope; global() member
3535 GNode *scope; ApplyModifier_Assign() local
4154 UndefinedShortVarValue(char varname,const GNode * scope) UndefinedShortVarValue() argument
4186 ParseVarname(const char ** pp,char startc,char endc,GNode * scope,VarEvalMode emode,LazyBuf * buf) ParseVarname() argument
4242 ParseVarnameShort(char varname,const char ** pp,GNode * scope,VarEvalMode emode,const char ** out_false_val,Var ** out_true_var) ParseVarnameShort() argument
4283 FindLocalLegacyVar(Substring varname,GNode * scope,const char ** out_extraModifiers) FindLocalLegacyVar() argument
4336 ParseVarnameLong(const char ** pp,char startc,GNode * scope,VarEvalMode emode,const char ** out_false_pp,FStr * out_false_val,char * out_true_endc,Var ** out_true_v,bool * out_true_haveModifier,const char ** out_true_extraModifiers,bool * out_true_dynamic,ExprDefined * out_true_exprDefined) ParseVarnameLong() argument
4438 Expr_Init(name,value,emode,scope,defined) global() argument
4443 Expr_Init(const char * name,FStr value,VarEvalMode emode,GNode * scope,ExprDefined defined) Expr_Init() argument
4518 Var_Parse(const char ** pp,GNode * scope,VarEvalMode emode) Var_Parse() argument
4669 VarSubstExpr(const char ** pp,Buffer * buf,GNode * scope,VarEvalMode emode,bool * inout_errorReported) VarSubstExpr() argument
4748 Var_Subst(const char * str,GNode * scope,VarEvalMode emode) Var_Subst() argument
4775 Var_SubstInTarget(const char * str,GNode * scope) Var_SubstInTarget() argument
4785 Var_Expand(FStr * str,GNode * scope,VarEvalMode emode) Var_Expand() argument
4829 Var_Dump(GNode * scope) Var_Dump() argument
[all...]
/freebsd-src/contrib/unbound/testdata/
H A Dsubnet_scopezero_noedns.crpl
/freebsd-src/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-src/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-src/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, nam in zfs_mod_supported()
[all...]
/freebsd-src/sys/arm64/vmm/
H A Dvmm_stat.h52 enum vmm_stat_scope scope; global() member
57 VMM_STAT_FDEFINE(type,nelems,desc,func,scope) global() argument
63 VMM_STAT_DEFINE(type,nelems,desc,scope) global() argument
/freebsd-src/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-src/sys/amd64/vmm/
H A Dvmm_stat.h54 enum vmm_stat_scope scope; global() member
59 VMM_STAT_FDEFINE(type,nelems,desc,func,scope) global() argument
65 VMM_STAT_DEFINE(type,nelems,desc,scope) global() argument
/freebsd-src/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() local
57 scope = SCOPE_VAR(sock); in socktoa()
58 if (0 != scope && !strchr(res, '%')) { in socktoa()
62 addr, scope); in socktoa()
/freebsd-src/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-src/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-src/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-src/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-src/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCleanup.h44 /// A protected scope for zero-cost EH handling.
99 /// Always a multiple of the scope-stack alignment.
153 /// A scope which attempts to handle some, possibly all, types of
156 /// Objective C \@finally blocks are represented using a cleanup scope
157 /// after the catch scope.
242 /// A cleanup scope which generates the cleanup blocks lazily.
244 /// The nearest normal cleanup scope enclosing this one.
247 /// The nearest EH scope enclosing this one.
318 /// this one). If this is the top cleanup scope, all the fixups in setActive()
319 /// from this index onwards belong to this scope in setActive()
472 classof(const EHScope * scope) classof() argument
485 classof(const EHScope * scope) classof() argument
562 EHCatchScope &scope = cast<EHCatchScope>(*begin()); popCatch() local
570 EHTerminateScope &scope = cast<EHTerminateScope>(*begin()); popTerminate() local
[all...]
/freebsd-src/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-src/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-src/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()

12345678910>>...14