HomeSort by: relevance | last modified time | path
    Searched refs:scope (Results 1 - 25 of 48) sorted by relevancy

1 2

  /src/usr.bin/make/unit-tests/
var-scope-cmdline.exp 1 make: var-scope-cmdline.mk:72: global
2 make: var-scope-cmdline.mk:82: makeflags
var-scope-local.mk 1 # $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-local.
    [all...]
varmod-loop-delete.mk 7 # an actual variable in the current evaluation scope (Command/Global/target),
17 # In an assignment, the scope is 'Global'. Since the variable 'VAR' is
18 # defined in the global scope, it deletes itself.
27 # In the command that is associated with a target, the scope is the
28 # one from the target. That scope only contains a few variables like
32 # There is no variable named 'VAR' in the local scope, so nothing
varmod-remember.mk 15 ABC.global:= ${ABC} # is evaluated in the global scope
20 .if ${DEF} != "1=D 2=E 3=F" # is evaluated in the command line scope
25 # in the scope of the current evaluation, which meant that after the first
26 # ':_' modifier had been evaluated in command line scope, all further
27 # evaluations in global scope could not overwrite the variable '_' anymore,
28 # as the command line scope takes precedence over the global scope.
30 # value of '_' from the previous evaluation in command line scope.
31 GHI.global:= ${GHI} # is evaluated in the global scope
varname-dot-shell.mk 25 # This has no effect since the variable is not defined in the global scope,
26 # but in the command-line scope.
var-scope-global.mk 1 # $NetBSD: var-scope-global.mk,v 1.1 2022/01/23 16:25:54 rillig Exp $
12 # Global variables can be removed from their scope.
var-scope-cmdline.mk 1 # $NetBSD: var-scope-cmdline.mk,v 1.4 2023/11/19 21:47:52 rillig Exp $
6 # global scope.
12 # a variable, the search often starts in the global scope since that is where
14 # variables from the cmdline scope override global variables, since after the
15 # common case of finding a variable in the global scope, another lookup would
16 # be needed in the cmdline scope to ensure that there is no overriding
34 # finding a variable in the global scope, no additional lookup is needed in
35 # the cmdline scope.
var-scope-local-legacy.mk 1 # $NetBSD: var-scope-local-legacy.mk,v 1.3 2023/12/17 14:07:22 rillig Exp $
8 # are retained so that they can be resolved later, in the target scope.
14 # command line scope, and they override the target-local variables, leading to
var-scope-local.exp 60 : Making var-scope-local.c out of nothing.
61 : Making var-scope-local.o from var-scope-local.c.
62 : Making basename "var-scope-local.o" in "." from "var-scope-local.c" in ".".
63 Making var-scope-local-assign.o with make 'local' and env 'local'.
64 Making var-scope-local-append.o with make 'local to var-scope-local-append.o' and env 'local to var-scope-local-append.o'.
65 Making var-scope-local-append-global.o with make 'global+local' and env 'global+local'
    [all...]
varmod-assign.mk 44 # in the command line scope.
172 # Conditional directives are evaluated in command line scope. An assignment
173 # modifier that creates a new variable creates it in the command line scope.
174 # Existing variables are updated in their previous scope, and environment
175 # variables are created in the global scope, as in other situations.
201 # The commands of a target are evaluated in target scope. An assignment
202 # modifier that creates a new variable creates it in the target scope.
203 # Existing variables are updated in their previous scope, and environment
204 # variables are created in the global scope, as in other situations.
opt-env.mk 4 # before those from the global scope. It has no influence on variables from
42 # Even .undef doesn't work since it only affects the global scope,
varcmd.mk 11 # "scope == SCOPE_GLOBAL" in Var_SetWithFlags is removed. This test should
17 # var-scope-cmdline.mk
directive-for-empty.mk 83 # the .for loops in a separate scope. To match the current behavior, there
84 # has to be one scope per included file. There may be .for loops using the
104 # stack of included files needs its own scope that is independent from the
112 # removed from the scope, which would need to make the outer 'i' visible
113 # again. This would suggest to use one variable scope per .for loop.
115 # Using a separate scope has the benefit that Var_Parse already allows for
116 # a custom scope to be passed as parameter. This would have another side
118 # and these modifications happen in the scope that is passed to Var_Parse.
opt-define.mk 22 # "Internal" or in the "Command" scope instead, undefining it would have no
directive-undef.mk 111 # the global scope as well as from the environment.
122 # Deletes the variables from the global scope and also from the environment.
143 # global scope
145 # scope and from the environment
  /src/sys/sys/
fault.h 49 int scope; member in struct:fault_ioc_enable
57 int scope; member in struct:fault_ioc_disable
61 int scope; member in struct:fault_ioc_getinfo
  /src/lib/libc/net/
inet6_scopeid.c 56 uint16_t scope; local in function:inet6_getscopeid
57 memcpy(&scope, &sin6->sin6_addr.s6_addr[2], sizeof(scope));
58 sin6->sin6_scope_id = ntohs(scope);
74 uint16_t scope = htons(sin6->sin6_scope_id); local in function:inet6_putscopeid
75 memcpy(&sin6->sin6_addr.s6_addr[2], &scope, sizeof(scope));
  /src/sys/dev/microcode/aic7xxx/
aicasm_symbol.h 170 typedef struct scope { struct
171 SLIST_ENTRY(scope) scope_stack_links;
172 TAILQ_ENTRY(scope) scope_links;
173 TAILQ_HEAD(, scope) inner_scope;
183 SLIST_HEAD(scope_list, scope);
184 TAILQ_HEAD(scope_tailq, scope);
aicasm.h 94 struct scope *scope_alloc(void);
95 void process_scope(struct scope *);
aicasm.c 84 static void dump_scope(scope_t *scope);
85 static void emit_patch(scope_t *scope, int patch);
136 /* Set Sentinal scope node */
285 /* Process outmost scope */
290 * transversal, recursively handling each scope.
292 /* start at the root scope */
467 dump_scope(scope_t *scope)
472 * Emit the first patch for this scope
474 emit_patch(scope, 0);
477 * Dump each scope within this one
    [all...]
  /src/sys/kern/
kern_auth.c 64 kauth_scope_t scope; /* scope backpointer */ member in struct:kauth_listener
70 * Scope.
73 const char *id; /* scope name */
77 SIMPLEQ_ENTRY(kauth_scope) next_scope; /* scope list */
739 * Returns a scope matching the provided id.
740 * Requires the scope list lock to be held by the caller.
745 kauth_scope_t scope; local in function:kauth_ifindscope
749 scope = NULL;
750 SIMPLEQ_FOREACH(scope, &scope_list, next_scope)
769 kauth_scope_t scope; local in function:kauth_register_scope
900 kauth_scope_t scope; local in function:kauth_listen_scope
    [all...]
subr_fault.c 127 switch (args->scope) {
168 switch (args->scope) {
198 switch (args->scope) {
  /src/usr.bin/make/
var.c 114 * Var_Dump Print out all variables defined in the given scope.
138 * There are 3 kinds of variables: scope variables, environment variables,
141 * Scope variables are stored in GNode.vars. The only way to undefine
142 * a scope variable is using the .undef directive. In particular, it must
145 * unintended way to undefine a scope variable, see varmod-loop-delete.mk.)
156 * For scope variables, it aliases the corresponding HashEntry name.
176 * Appending to its value depends on the scope, see var-op-append.mk.
315 * A scope collects variable names and their values.
317 * The main scope is SCOPE_GLOBAL, which contains the variables that are set
326 * There is no scope for environment variables, these are generated on-the-fl
1470 GNode *scope; member in struct:ModifyWord_SysVSubstArgs
1695 GNode *scope; member in struct:ModifyWord_LoopArgs
2017 GNode *const_member scope; member in struct:Expr
3553 GNode *scope; local in function:ApplyModifier_Assign
    [all...]
  /src/sys/netinet6/
scope6.c 83 /* by default, we don't care about scope boundary for these scopes. */
99 * Get a scope of the address. Interface-local, link-local, site-local
105 int scope; local in function:in6_addrscope
108 scope = addr->s6_addr[1] & 0xc0;
110 switch (scope) {
121 scope = addr->s6_addr[1] & 0x0f;
124 * due to other scope such as reserved,
125 * return scope doesn't work.
127 switch (scope) {
177 * Validate the specified scope zone ID in the sin6_scope_id field. If the I
287 int scope; local in function:in6_setscope
    [all...]
  /src/lib/libpthread/
pthread_attr.c 243 pthread_attr_getscope(const pthread_attr_t *attr, int *scope)
250 *scope = PTHREAD_SCOPE_SYSTEM;
252 *scope = PTHREAD_SCOPE_PROCESS;
259 pthread_attr_setscope(pthread_attr_t *attr, int scope)
265 switch (scope) {

Completed in 20 milliseconds

1 2