/freebsd/contrib/bmake/unit-tests/ |
H A D | cmdline-undefined.exp | 2 make: "cmdline-undefined.mk" line 31: From the command line: Undefined is . 3 make: "cmdline-undefined.mk" line 34: From .MAKEFLAGS '=': Undefined is . 4 make: "cmdline-undefined.mk" line 37: From .MAKEFLAGS ':=': Undefined is . 5 make: "cmdline-undefined.mk" line 43: From the command line: Undefined is now defined. 6 make: "cmdline-undefined.mk" line 46: From .MAKEFLAGS '=': Undefined is now defined. 7 make: "cmdline-undefined.mk" line 49: From .MAKEFLAGS ':=': Undefined is now defined. 10 make: "cmdline-undefined.mk" line 31: From the command line: Undefined is . 11 make: "cmdline-undefined.mk" line 34: From .MAKEFLAGS '=': Undefined is . 12 make: "cmdline-undefined.mk" line 37: From .MAKEFLAGS ':=': Undefined is . 13 make: "cmdline-undefined.mk" line 43: From the command line: Undefined is now defined. [all …]
|
H A D | cmdline-undefined.mk | 1 # $NetBSD: cmdline-undefined.mk,v 1.5 2024/04/23 22:51:28 rillig Exp $ 3 # Tests for undefined variables in expressions in the command line. 12 @${.MAKE} -f ${MAKEFILE} print-undefined \ 13 CMDLINE='Undefined is $${UNDEFINED}.' 20 @${.MAKE} -f ${MAKEFILE} print-undefined \ 21 CMDLINE:='Undefined is $${UNDEFINED}.' 24 .if make(print-undefined) 26 .MAKEFLAGS: MAKEFLAGS_ASSIGN='Undefined i [all...] |
H A D | varmod-indirect.exp | 15 Var_Parse: ${UNDEF} after (eval-keep-dollar-and-undefined) 18 Var_Parse: ${UNDEF:${:US,a,a,}} after (eval-keep-dollar-and-undefined) 20 Evaluating modifier ${UNDEF:S...} on value "" (eval-keep-dollar-and-undefined, undefined) 24 Result of ${UNDEF:S,a,a,} is "" (eval-keep-dollar-and-undefined, undefined) 27 Var_Parse: ${UNDEF:${:U}} after (eval-keep-dollar-and-undefined) 31 Var_Parse: ${UNDEF:${:UZ}} after (eval-keep-dollar-and-undefined) 33 Evaluating modifier ${UNDEF:Z} on value "" (eval-keep-dollar-and-undefined, undefined) 35 Result of ${UNDEF:Z} is error (eval-keep-dollar-and-undefined, undefined)
|
H A D | varmod-defined.exp | 3 Var_Parse: ${8_DOLLARS} (eval-keep-dollar-and-undefined) 5 Var_Parse: ${VAR:D${8_DOLLARS}} (eval-keep-dollar-and-undefined) 6 Evaluating modifier ${VAR:D...} on value "$$$$$$$$" (eval-keep-dollar-and-undefined, regular) 7 Var_Parse: ${8_DOLLARS}} (eval-keep-dollar-and-undefined) 8 Result of ${VAR:D${8_DOLLARS}} is "$$$$$$$$" (eval-keep-dollar-and-undefined, regular) 10 Var_Parse: ${VAR:@var@${8_DOLLARS}@} (eval-keep-dollar-and-undefined) 11 Evaluating modifier ${VAR:@...} on value "$$$$$$$$" (eval-keep-dollar-and-undefined, regular) 16 Var_Parse: ${8_DOLLARS} (eval-keep-undefined) 19 Result of ${VAR:@var@${8_DOLLARS}@} is "$$$$" (eval-keep-dollar-and-undefined, regular)
|
H A D | cond-undef-lint.mk | 3 # Tests for defined and undefined variables in .if conditions, in lint mode. 6 # accurate error messages in case of undefined variables, instead of the 24 # expect+1: Variable "UNDEF" is undefined 31 # The variable name depends on the undefined variable, which is probably a 38 # TODO: Suppress the error message "Variable VAR. is undefined". That part 40 # expect+3: Variable "UNDEF" is undefined 41 # expect+2: Variable "VAR." is undefined 54 # expect+2: Variable "VAR.defined" is undefined 63 # Variables that are referenced indirectly may be undefined in a condition. 71 # variables. In particular, there is no modifier that would turn undefined
|
H A D | varname-dot-suffixes.exp | 7 Var_Parse: ${.SUFFIXES::=assign} (eval-keep-dollar-and-undefined) 8 …difier ${.SUFFIXES::...} on value ".c .o .1 .err .tar.gz" (eval-keep-dollar-and-undefined, regular) 11 Result of ${.SUFFIXES::=assign} is "" (eval-keep-dollar-and-undefined, regular) 13 Var_Parse: ${preserve:L:_=.SUFFIXES} (eval-keep-dollar-and-undefined) 14 Evaluating modifier ${preserve:L} on value "" (eval-keep-dollar-and-undefined, undefined) 15 Result of ${preserve:L} is "preserve" (eval-keep-dollar-and-undefined, defined) 16 Evaluating modifier ${preserve:_...} on value "preserve" (eval-keep-dollar-and-undefined, defined) 18 Result of ${preserve:_=.SUFFIXES} is "preserve" (eval-keep-dollar-and-undefined, defined) 23 Evaluating modifier ${1 2:L} on value "" (eval-defined, undefined)
|
H A D | var-scope-local.exp | 11 target-rule.ext: % = <undefined> 13 target-rule.ext: < = <undefined> 16 dir/subdir/target-rule.ext: % = <undefined> 18 dir/subdir/target-rule.ext: < = <undefined> 21 target-rule.ir-gen-from: % = <undefined> 23 target-rule.ir-gen-from: < = <undefined> 26 dir/subdir/target-rule-dir.ir-gen-from: % = <undefined> 28 dir/subdir/target-rule-dir.ir-gen-from: < = <undefined> 31 inference-rule.ir-to: % = <undefined> 36 dir/subdir/inference-rule.ir-to: % = <undefined> [all...] |
H A D | cond-func-empty.mk | 16 # An undefined variable counts as empty. 21 # An undefined variable has the empty string as the value, and the :M 30 # no longer empty, but it is still based on an undefined variable. There are 31 # a few modifiers that turn an undefined expression into a defined expression, 33 # expression, the expression is still undefined, so its final value becomes an 43 # The :U modifier changes the state of a previously undefined expression from 51 # When an expression is based on an undefined variable, its modifiers interact 52 # in sometimes surprising ways. Applying the :S modifier to the undefined 54 # is based on an undefined variable. The :U modifier that follows only looks 59 # Since the variable was undefined to begin with, the fallback value from the [all …]
|
H A D | varmod-sun-shell.exp | 3 Var_Parse: ${echo word; ${:U(exit 13)}:L:sh} (eval-keep-dollar-and-undefined) 4 …aluating modifier ${echo word; (exit 13):L} on value "" (eval-keep-dollar-and-undefined, undefined) 5 Result of ${echo word; (exit 13):L} is "echo word; (exit 13)" (eval-keep-dollar-and-undefined, defi… 6 …cho word; (exit 13):s...} on value "echo word; (exit 13)" (eval-keep-dollar-and-undefined, defined) 9 Result of ${echo word; (exit 13):sh} is "word" (eval-keep-dollar-and-undefined, defined)
|
H A D | directive-ifndef.mk | 32 .ifndef UNDEFINED && UNDEFINED 36 .ifndef UNDEFINED && DEFINED 42 .ifndef !UNDEFINED && !UNDEFINED 45 .ifndef !UNDEFINED && !DEFINED
|
H A D | var-op-expand.mk | 23 # expressions based on undefined variables are preserved though. 25 # Whether an expression is undefined or not is determined at the end 27 # to "fallback"; initially this expression is undefined since it is based on 49 # reference to an undefined variable 71 # expression with an indirect modifier referring to an undefined variable 77 UNDEF= Uwas undefined 78 .if ${VAR} != "was undefined" 84 # in turn refers to an undefined variable 96 UNDEF= Uwas undefined 102 # In variable assignments using the ':=' operator, undefined variables are [all …]
|
H A D | cmd-errors-lint.mk | 8 all: undefined unclosed-expression unclosed-modifier unknown-modifier end 10 # Undefined variables in expressions are not an error. They expand to empty 12 undefined: 13 # expect: : undefined 14 : $@ ${UNDEFINED}
|
H A D | cmd-errors.mk | 6 all: undefined unclosed-expression unclosed-modifier unknown-modifier end 8 # Undefined variables in expressions are not an error. They expand to empty 10 undefined: 11 # expect: : undefined--eol 12 : $@-${UNDEFINED}-eol
|
H A D | directive-undef.mk | 8 # Before var.c 1.737 from 2020-12-19, .undef only undefined the first 41 # undefined, but these characters do not appear in variables names anyway. 51 .if ${1:U_}${2:U_}${3:U_} != "___" # these have been undefined 56 # A variable named " " cannot be undefined. There's no practical use case 69 # A variable named "$" can be undefined since the argument to .undef is 110 # When an exported variable is undefined, the variable is removed both from 128 .if ${DIRECT:Uundefined} != "undefined" 131 .if ${INDIRECT:Uundefined} != "undefined"
|
H A D | cmd-errors-jobs.mk | 8 all: undefined unclosed-expression unclosed-modifier unknown-modifier end 10 # Undefined variables in expressions are not an error. They expand to empty 12 # expect: : undefined--eol 13 undefined: 14 : $@-${UNDEFINED}-eol
|
/freebsd/contrib/llvm-project/lld/docs/ |
H A D | WebAssembly.rst | 72 .. option:: --allow-undefined 74 Allow undefined symbols in linked binary. This is the legacy 76 ``--import-undefined``. 78 .. option:: --allow-undefined-file=<filename> 80 Like ``--allow-undefined``, but the filename specified a flat list of 81 symbols, one per line, which are allowed to be undefined. 85 This is a more full featured version of ``--allow-undefined``. 96 Resolve all undefined symbols to zero. For data and function addresses 98 trapping stub function in place of the undefined function. 102 Undefined symbols generate WebAssembly imports, including undefined data [all …]
|
H A D | NewLLD.rst | 66 The traditional Unix linker maintains a set of undefined symbols during 72 result, and undefined symbols in the object file are added to the set. 80 visits archives, there is no undefined symbols in the set. As a result, no 95 Here is how LLD approaches the problem. Instead of memorizing only undefined 97 undefined symbol that can be resolved by extracting an object file from an 152 There are basically three types of Symbols: Defined, Undefined, or Lazy. 157 - Undefined symbols represent undefined symbols, which need to be replaced by 169 to an undefined symbol before name resolution. If the symbol is resolved to a 171 defined symbol, because the undefined symbol the pointer pointed to will have 179 - If we add Defined and Undefined symbols, the symbol table will keep the [all …]
|
/freebsd/contrib/libarchive/libarchive/test/ |
H A D | test_archive_read_set_options.c | 58 assertEqualString("Undefined option: `snafu'", in test() 61 assertEqualString("Undefined option: `snafu'", in test() 77 assertEqualString("Undefined option: `joliet'", in test() 82 assertEqualString("Undefined option: `joliet'", in test() 91 assertEqualString("Undefined option: `joliet'", in test() 96 assertEqualString("Undefined option: `joliet'", in test() 102 assertEqualString("Undefined option: `joliet'", in test() 105 assertEqualString("Undefined option: `snafu'", in test() 114 assertEqualString("Undefined option: `iso9660:snafu'", in test()
|
H A D | test_archive_write_set_options.c | 58 assertEqualString("Undefined option: `snafu'", in test() 61 assertEqualString("Undefined option: `snafu'", in test() 77 assertEqualString("Undefined option: `joliet'", in test() 82 assertEqualString("Undefined option: `joliet'", in test() 91 assertEqualString("Undefined option: `joliet'", in test() 96 assertEqualString("Undefined option: `joliet'", in test() 102 assertEqualString("Undefined option: `joliet'", in test() 105 assertEqualString("Undefined option: `snafu'", in test() 114 assertEqualString("Undefined option: `iso9660:snafu'", in test()
|
/freebsd/contrib/llvm-project/lld/MachO/ |
H A D | SymbolTable.cpp | 152 } else if (auto *undef = dyn_cast<Undefined>(s)) { in addDefined() 228 replaceSymbol<Undefined>(s, name, file, refState, in addUndefined() 236 else if (auto *undefined = dyn_cast<Undefined>(s)) in addUndefined() local 237 undefined->refState = std::max(undefined->refState, refState); in addUndefined() 269 } else if (auto *undefined = dyn_cast<Undefined>(s)) { in addDylib() local 270 refState = undefined->refState; in addDylib() 277 if (wasInserted || isa<Undefined>(s) || in addDylib() 299 } else if (isa<Undefined>(s)) { in addLazyArchive() 317 } else if (isa<Undefined>(s)) { in addLazyObject() 348 static Defined *createBoundarySymbol(const Undefined &sym) { in createBoundarySymbol() [all …]
|
/freebsd/usr.bin/getconf/ |
H A D | getconf.c | 120 printf("undefined\n"); in main() 127 printf("undefined\n"); in main() 135 printf("undefined\n"); in main() 141 printf("undefined\n"); in main() 153 printf("undefined\n"); in main() 175 printf("undefined\n"); in do_onestr() 197 printf("undefined\n"); in do_onesys() 221 printf("undefined\n"); in do_onepath() 246 printf("undefined\n"); in do_confstr() 266 printf("undefined\n"); in do_sysconf() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | Lint.cpp | 10 // which produce undefined or likely unintended behavior in LLVM IR. 30 // for the same kinds of things and turns instructions with undefined behavior 182 // This isn't undefined behavior, it's just a little unusual, and it's a in visitFunction() 199 "Undefined behavior: Caller and callee calling convention differ", in visitCallBase() 207 "Undefined behavior: Call argument count mismatches callee " in visitCallBase() 212 "Undefined behavior: Call return type mismatches " in visitCallBase() 225 "Undefined behavior: Call argument type mismatches " in visitCallBase() 279 "Undefined behavior: Call with \"tail\" keyword references " in visitCallBase() 312 "Undefined behavior: memcpy source and destination overlap", &I); in visitCallBase() 392 "Undefined behavior: Null pointer dereference", &I); in visitMemoryReference() [all …]
|
/freebsd/contrib/llvm-project/lld/docs/ELF/ |
H A D | warn_backrefs.rst | 4 ``--warn-backrefs`` gives a warning when an undefined symbol reference is 8 right maintaining the set of undefined symbol references from the files loaded 12 set of undefined symbol references. When all resolving definitions have been 15 an undefined symbol resolved by a archive to the left of it. For example: 19 will result in an ``undefined reference`` error. If there are no cyclic 27 still search that archive for resolving any undefined references. This means 51 will result in an ``undefined reference`` error: 56 ``B``, your link may fail surprisingly with ``undefined symbol: 63 fail surprisingly with ``undefined symbol`` if there is somehow a dependency on
|
/freebsd/sys/arm/include/ |
H A D | undefined.h | 1 /* $NetBSD: undefined.h,v 1.4 2001/12/20 01:20:23 thorpej Exp $ */ 41 * undefined.h 43 * Undefined instruction types, symbols and prototypes 62 /* Prototypes for undefined.c */ 84 /* Calls up to undefined.c from trap handlers */ 89 /* End of undefined.h */
|
/freebsd/contrib/atf/atf-sh/ |
H A D | config_test.sh | 55 echo "Querying an undefined variable" 56 ( atf_config_get "undefined" ) >out 2>err && \ 57 atf_fail "Getting an undefined variable succeeded" 59 atf_fail "Getting an undefined variable did not report an error" 61 echo "Querying an undefined variable using a default value" 62 v=$(atf_config_get "undefined" "the default value")
|