Searched refs:dollar (Results 1 - 25 of 92) sorted by relevance

1234

/netbsd-current/usr.bin/make/unit-tests/
H A Dvarname-dollar.exp1 make: "varname-dollar.mk" line 17: dollar is $.
2 make: "varname-dollar.mk" line 19: dollar in braces is .
3 make: "varname-dollar.mk" line 28: dollar is $.
4 make: "varname-dollar.mk" line 30: dollar in braces is dollar.
H A Dvarname-dollar.mk1 # $NetBSD: varname-dollar.mk,v 1.4 2023/06/01 20:56:35 rillig Exp $
9 # Using the dollar sign in variable names is tricky and not recommended.
16 # expect+1: dollar is $.
17 .info dollar is $$.
18 # expect+1: dollar in braces is .
19 .info dollar in braces is ${${DOLLAR}}.
23 ${DOLLAR}= dollar
27 # expect+1: dollar is $.
28 .info dollar is $$.
29 # expect+1: dollar i
[all...]
H A Ddollar.mk1 # $NetBSD: dollar.mk,v 1.4 2020/11/03 18:21:36 rillig Exp $
3 # Test the various places where a dollar sign can appear and
23 # The trailing dollar in the '1 dollar literal eol' test case accesses
31 $H 'Printing dollar from literals and variables'
33 $C 'To survive the parser, a dollar sign must be doubled.'
34 $T '1 dollar literal' '$'
35 $T '1 dollar literal eol' ''$
36 $T '2 dollar literal' '$$'
37 $T '4 dollar litera
[all...]
H A Ddollar.exp2 Printing dollar from literals and variables
4 To survive the parser, a dollar sign must be doubled.
5 1 dollar literal => <single-quote-var-value>
6 1 dollar literal eol => <>
7 2 dollar literal => <$>
8 4 dollar literal => <$$>
10 1 dollar default => <>
11 2 dollar default => <>
12 4 dollar default => <>
14 1 dollar variabl
[all...]
H A Dvarmod-defined.exp3 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)
19 Result of ${VAR:@var@${8_DOLLARS}@} is "$$$$" (eval-keep-dollar-and-undefined, regular)
H A Dvarmod-sun-shell.exp3 Var_Parse: ${echo word; ${:Ufalse}:L:sh} (eval-keep-dollar-and-undefined)
4 Evaluating modifier ${echo word; false:L} on value "" (eval-keep-dollar-and-undefined, undefined)
5 Result of ${echo word; false:L} is "echo word; false" (eval-keep-dollar-and-undefined, defined)
6 Evaluating modifier ${echo word; false:s...} on value "echo word; false" (eval-keep-dollar-and-undefined, defined)
9 Result of ${echo word; false:sh} is "word" (eval-keep-dollar-and-undefined, defined)
H A Dvarmod-shell.exp4 Var_Parse: ${:!echo word; ${:Ufalse}!} (eval-keep-dollar-and-undefined)
5 Evaluating modifier ${:!...} on value "" (eval-keep-dollar-and-undefined, undefined)
9 Result of ${:!echo word; ${:Ufalse}!} is "word" (eval-keep-dollar-and-undefined, defined)
H A Dvarmod-assign-shell.exp3 Var_Parse: ${ASSIGNED::!=echo output; ${:Ufalse}} (eval-keep-dollar-and-undefined)
4 Evaluating modifier ${ASSIGNED::...} on value "previous" (eval-keep-dollar-and-undefined, regular)
8 Result of ${ASSIGNED::!=echo output; ${:Ufalse}} is "" (eval-keep-dollar-and-undefined, regular)
H A Dlint.exp1 make: in target "mod-loop-varname": while evaluating variable "VAR": In the :@ modifier, the variable name "${:Ubar:S,b,v,}" must not contain a dollar
H A Dvarmod-loop-varname.exp1 make: "varmod-loop-varname.mk" line 18: while evaluating "${:Uone two three:@${:Ubar:S,b,v,}@+${var}+@} != "+one+ +two+ +three+"": In the :@ modifier, the variable name "${:Ubar:S,b,v,}" must not contain a dollar
3 make: "varmod-loop-varname.mk" line 89: while evaluating variable "1 2 3": In the :@ modifier, the variable name "v$" must not contain a dollar
5 make: "varmod-loop-varname.mk" line 96: while evaluating variable "1 2 3": In the :@ modifier, the variable name "v$$" must not contain a dollar
7 make: "varmod-loop-varname.mk" line 103: while evaluating variable "1 2 3": In the :@ modifier, the variable name "v$$$" must not contain a dollar
H A Dvarmod-quote-dollar.mk1 # $NetBSD: varmod-quote-dollar.mk,v 1.4 2022/05/08 10:14:40 rillig Exp $
4 # and doubles dollar signs, to prevent them from being interpreted by a
H A Dvarname-dot-suffixes.exp7 Var_Parse: ${.SUFFIXES::=assign} (eval-keep-dollar-and-undefined)
8 Evaluating modifier ${.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)
H A Dvarmod-indirect.exp15 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 Dvarmod-loop-varname.mk16 # expect+2: while evaluating "${:Uone two three:@${:Ubar:S,b,v,}@+${var}+@} != "+one+ +two+ +three+"": In the :@ modifier, the variable name "${:Ubar:S,b,v,}" must not contain a dollar
83 # or two dollar signs, which were silently ignored.
84 # There's no point in allowing a dollar sign in that position.
87 # expect+2: while evaluating variable "1 2 3": In the :@ modifier, the variable name "v$" must not contain a dollar
94 # expect+2: while evaluating variable "1 2 3": In the :@ modifier, the variable name "v$$" must not contain a dollar
101 # expect+2: while evaluating variable "1 2 3": In the :@ modifier, the variable name "v$$$" must not contain a dollar
H A Dvarmod-subst.mk8 all: mod-subst-dollar
207 @echo ${:U1 2 3:S$2$two$:Q} dollar sign
257 # No matter how many dollar signs there are, they all get merged
258 # into a single dollar by the :S modifier.
263 # one of the "really stupid names", skips the first dollar, and parsing
264 # continues with the next character. This repeats for the other dollar
268 # simply copies the dollar to the result.
269 mod-subst-dollar:
279 # This generates no dollar at all:
281 # Here is an alternative way to generate dollar sign
[all...]
H A Dvarmod-loop.mk25 all: mod-loop-dollar
36 # Demonstrate that it is possible to generate dollar signs using the
42 mod-loop-dollar:
96 # VARE_EVAL_KEEP_DOLLAR_AND_UNDEFINED, which means that some dollar signs are
97 # preserved, but not all. The dollar signs in the top-level expression and in
100 # The modifier :@var@ does not preserve the dollar signs though, no
207 all: varmod-loop-literal-dollar
208 varmod-loop-literal-dollar: .PHONY
229 # expect: : dollar=end
230 : ${:U1:@i@ dollar
[all...]
H A Dvarmod.exp1 make: "varmod.mk" line 101: To escape a dollar, use \$, not $$, at "$$:L} != """
H A Ddep-var.mk16 # Using a double dollar in order to circumvent immediate expression expansion
36 # "${INDIRECT_1}". At this point, the dollar is just an ordinary character,
52 # For exactly this reason, it is not recommended to use dollar signs in
H A Dvarname-dot-shell.exp3 Var_Parse: ${.SHELL} (eval-keep-dollar-and-undefined)
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/z80/
H A Ddollar.d2 #name: dollar labels
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/s12z/
H A Ddollar-hex.d3 #source: dollar-hex.s --mdollar-hex
5 tmpdir/dollar-hex.o: file format elf32-s12z
/netbsd-current/external/gpl3/binutils/dist/gas/config/
H A Dobj-coff-seh.c49 const char *name,*dollar, *dot;
54 dollar = strchr (name, '$');
57 if (!dollar && !dot)
59 else if (!dollar)
62 name = dollar;
63 else if (dot < dollar)
66 name = dollar;
48 const char *name,*dollar, *dot; local
/netbsd-current/external/gpl3/gdb.old/dist/gas/config/
H A Dobj-coff-seh.c49 const char *name,*dollar, *dot;
54 dollar = strchr (name, '$');
57 if (!dollar && !dot)
59 else if (!dollar)
62 name = dollar;
63 else if (dot < dollar)
66 name = dollar;
48 const char *name,*dollar, *dot; local
/netbsd-current/external/gpl3/binutils.old/dist/gas/config/
H A Dobj-coff-seh.c49 const char *name,*dollar, *dot;
54 dollar = strchr (name, '$');
57 if (!dollar && !dot)
59 else if (!dollar)
62 name = dollar;
63 else if (dot < dollar)
66 name = dollar;
48 const char *name,*dollar, *dot; local
/netbsd-current/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dtokens.h62 dollar, member in class:TOK
318 dollar, member in class:EXP

Completed in 301 milliseconds

1234