OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:literal
(Results
1 - 25
of
49
) sorted by relevancy
1
2
/src/usr.bin/make/unit-tests/
directive-export-literal.mk
1
# $NetBSD: directive-export-
literal
.mk,v 1.8 2024/06/01 18:44:05 rillig Exp $
3
# Tests for the .export-
literal
directive, which exports a variable value
8
.export-
literal
UT_VAR
10
.export-
literal
# oops: missing argument
13
# .export-
literal
can be skipped, to avoid a setenv call, which may leak
15
UT_TWICE_LITERAL= value
literal
17
.export-
literal
UT_TWICE_LITERAL
19
# XXX: After an .export, an .export-
literal
has no effect, even when the
23
.export-
literal
UT_TWICE_EXPR
26
# re-enabling a later .export-
literal
[
all
...]
directive-export-literal.exp
2
value
literal
make-exported.mk
8
-
literal
= make-exported-value-
literal
17
# Before 2020-10-03, if the value of .MAKE.EXPORTED started with "-
literal
",
18
# make behaved like a mixture of .export-
literal
and a regular .export.
20
# Since 2020-10-03, the "variable" named "-
literal
" is not exported anymore,
22
.MAKE.EXPORTED= -
literal
UT_VAR
opt-var-literal.mk
1
# $NetBSD: opt-var-
literal
.mk,v 1.4 2020/11/09 20:50:56 rillig Exp $
export-env.mk
18
UT_LIT=
literal
${UT_TEST}
19
.export-
literal
UT_LIT
dollar.exp
5
1 dollar
literal
=> <single-quote-var-value>
6
1 dollar
literal
eol => <>
7
2 dollar
literal
=> <$>
8
4 dollar
literal
=> <$$>
dollar.mk
23
# The trailing dollar in the '1 dollar
literal
eol' test case accesses
34
$T '1 dollar
literal
' '$'
35
$T '1 dollar
literal
eol' ''$
36
$T '2 dollar
literal
' '$$'
37
$T '4 dollar
literal
' '$$$$'
cond-token-string.mk
29
# quoted string
literal
or a number that starts with a digit.
50
# expect+1: The string
literal
"UNDEF" is not empty.
51
. info The string
literal
"UNDEF" is not empty.
59
# expect+1: The string
literal
" " is not empty, even though it consists of whitespace only.
60
. info The string
literal
" " is not empty, even though it consists of $\
88
# A non-empty string evaluates to true, no matter if it's a
literal
string or
varmod-ifelse.exp
2
while evaluating condition "bare words == "
literal
""
21
while evaluating condition "string == "
literal
" || no >= 10"
24
while evaluating condition "string == "
literal
" && >= 10"
27
while evaluating condition "string == "
literal
" || >= 10"
varname-dot-make-save_dollars.mk
20
# When dollars are preserved, this setting not only applies to
literal
32
# When dollars are preserved, this setting not only applies to
literal
41
# The 'yes' preserves the dollars from the
literal
.
63
# The '$' from the ':U' expressions do not appear as
literal
'$$' to the
91
# The variable '.MAKE.SAVE_DOLLARS' not only affects
literal
'$$' on the
cond-late.mk
18
all: parse-time cond-
literal
38
cond-
literal
:
cond-cmp-string.mk
35
# Any character in a string
literal
may be escaped using a backslash.
72
# characters " \t!=><" directly after an expression in a string
literal
93
# Adding another expression to the string
literal
works though.
103
# If at least one side of the comparison is a string
literal
, the string
109
# If at least one side of the comparison is a string
literal
, the string
varmod-ifelse.mk
16
# bare words == "
literal
"
22
# ${:Ubare words} == "
literal
"
28
.if ${${:Ubare words} == "
literal
":?bad:bad}
76
# If the "Bad condition" appears in a quoted string
literal
, the
122
# make: Bad conditional expression 'string == "
literal
" && no >= 10'
123
# in 'string == "
literal
" && no >= 10?yes:no'
136
# string == "
literal
" && no >= 10
141
#
literal
, not enclosed in quotes, which is OK, even on the left-hand side of
159
.info ${${STRING} == "
literal
" && ${NUMBER} >= 10:?yes:no}.
162
.info ${${STRING} == "
literal
" || ${NUMBER} >= 10:?yes:no}
[
all
...]
cond-token-plain.mk
13
# Using a '#' in a string
literal
in a condition leads to a malformed
18
# expect+1: Unfinished string
literal
"""
42
# expect+1: Unfinished string
literal
""\\"
167
#
literal
. Instead, it is parsed as a bare word (ParseWord),
204
# unquoted string
literal
.
278
# A trailing backslash in an unfinished string
literal
word does not escape
281
# expect+1: Unfinished string
literal
""str\"
288
# expect+1: Unfinished string
literal
""str"
varname-makeflags.mk
68
# The '$$$$' becomes a
literal
'$$' when building the '${MAKE}'
75
# evaluates to a
literal
'$' followed by '{varname}'.
95
# \ a
literal
string of a single backslash
97
# {varname\} a
literal
string
deptgt-makeflags.mk
69
#
literal
newline now. This prevents the newline from being skipped during
73
# This is one of the very few ways (maybe even the only one) to inject
literal
directive-for-escape.mk
40
# was adventurous enough to use
literal
dollar signs in the values of a .for
75
# Instead, it is meant to represent
literal
text, the only escaping mechanism
210
# What happens if the values from the .for loop contain a
literal
newline?
212
# body of the .for loop, where it was then interpreted as a
literal
newline,
varmod.mk
11
# * either uses `ParseModifierPart` or parses the modifier
literal
50
# | O | strict | only
literal
value | yes |
76
# be written as '$$' in a
literal
variable value.
varmod-loop.mk
83
# This string
literal
is written with 8 dollars, and this is saved as the
201
# In the loop body text of the ':@' modifier, a
literal
'$' is written as '$$',
207
all: varmod-loop-
literal
-dollar
208
varmod-loop-
literal
-dollar: .PHONY
221
# $$ a
literal
'$'
/src/tests/kernel/arch/alpha/
contextspfunc.S
46
ldq at_reg, contextsp(gp) !
literal
48
ldq pv, contextdone(gp) !
literal
execsp.S
47
ldq at_reg, startsp(gp) !
literal
49
ldq pv, __start(gp) !
literal
61
ldq at_reg, ctorsp(gp) !
literal
81
ldq at_reg, mainsp(gp) !
literal
96
ldq at_reg, dtorsp(gp) !
literal
98
ldq pv, execsp_main(gp) !
literal
signalsphandler.S
46
ldq at_reg, signalsp(gp) !
literal
/src/usr.sbin/lpr/filters/
lpf.c
67
static int
literal
; /* print control characters */
variable in typeref:typename:int
104
literal
++;
177
if (col >= width || (!
literal
&& ch < ' ')) {
/src/lib/libedit/
Makefile
18
hist.c history.c historyn.c keymacro.c
literal
.c map.c \
142
COPTS.
literal
.c+= -Wno-sign-conversion
/src/bin/csh/
glob.c
578
* Command substitute cp. If
literal
, then this is a substitution from a
583
dobackp(Char *cp, int
literal
)
621
backeval(ep,
literal
);
627
backeval(Char *cp, int
literal
)
638
quoted = (
literal
|| (cp[0] & QUOTE)) ? QUOTE : 0;
754
* If we didn't make empty words here when
literal
was set then we
757
if (c != -1 && (cnt ||
literal
))
Completed in 24 milliseconds
1
2
Indexes created Fri Oct 17 23:09:53 GMT 2025