/src/bin/sh/ |
mkinit.sh | 67 backslash='\\' 69 if [ "$var" = "${var%$backslash}" ] 72 backslash='\' 73 if [ "$var" = "${var%$backslash}" ] 82 if [ "$var" != "${var%$backslash}" ] 143 [ "$line" = "${line%$backslash}" ] || continue
|
mkinit.sh | 67 backslash='\\' 69 if [ "$var" = "${var%$backslash}" ] 72 backslash='\' 73 if [ "$var" = "${var%$backslash}" ] 82 if [ "$var" != "${var%$backslash}" ] 143 [ "$line" = "${line%$backslash}" ] || continue
|
show.c | 1005 case '\n': c = 'n'; goto backslash; 1006 case '\t': c = 't'; goto backslash; 1007 case '\r': c = 'r'; goto backslash; 1008 case '"': c = '"'; goto backslash; 1009 case '\\': c = '\\'; goto backslash; 1010 case CTLESC: c = 'e'; goto backslash; 1011 case CTLVAR: c = 'v'; goto backslash; 1012 case CTLVAR+CTLQUOTE: c = 'V'; goto backslash; 1013 case CTLBACKQ: c = 'q'; goto backslash; 1014 case CTLBACKQ+CTLQUOTE: c = 'Q'; goto backslash; [all...] |
/src/sys/arch/ia64/stand/common/ |
interp_backslash.c | 16 * Routine for doing backslash elimination. 31 * backslash: Return malloc'd copy of str with all standard "backslash 35 backslash(char *str) function in typeref:typename:char * 165 * The final character was a '\'. Put it in as a single backslash.
|
interp_backslash.c | 16 * Routine for doing backslash elimination. 31 * backslash: Return malloc'd copy of str with all standard "backslash 35 backslash(char *str) function in typeref:typename:char * 165 * The final character was a '\'. Put it in as a single backslash.
|
/src/usr.bin/make/unit-tests/ |
escape.mk | 3 # Test backslash escaping. 11 # When an escaped <newline> (one preceded by a <backslash>) is found 18 # makefile, the command line shall contain the <backslash>, the 26 # Notice that the behaviour of <backslash><backslash> or 27 # <backslash><anything other than newline> is not mentioned. I think 28 # this implies that <backslash> should be taken literally everywhere 50 # Backslash at end of line in a comment\ 58 # Embedded backslash in variable should be taken literally. 65 VAR1BSc= 111\# backslash escapes comment char, so this is part of the valu [all...] |
escape.mk | 3 # Test backslash escaping. 11 # When an escaped <newline> (one preceded by a <backslash>) is found 18 # makefile, the command line shall contain the <backslash>, the 26 # Notice that the behaviour of <backslash><backslash> or 27 # <backslash><anything other than newline> is not mentioned. I think 28 # this implies that <backslash> should be taken literally everywhere 50 # Backslash at end of line in a comment\ 58 # Embedded backslash in variable should be taken literally. 65 VAR1BSc= 111\# backslash escapes comment char, so this is part of the valu [all...] |
opt-file.mk | 9 all: file-ending-in-backslash 10 all: file-ending-in-backslash-mmap 17 # In the unlikely case where a file ends in a backslash instead of a newline, 18 # that backslash is trimmed. See ReadLowLevelLine. 40 file-ending-in-backslash: .PHONY 48 file-ending-in-backslash-mmap: .PHONY 49 @printf '%s' 'VAR=value\' > opt-file-backslash 50 @${MAKE} -r -f opt-file-backslash -V VAR 51 @rm opt-file-backslash
|
opt-file.mk | 9 all: file-ending-in-backslash 10 all: file-ending-in-backslash-mmap 17 # In the unlikely case where a file ends in a backslash instead of a newline, 18 # that backslash is trimmed. See ReadLowLevelLine. 40 file-ending-in-backslash: .PHONY 48 file-ending-in-backslash-mmap: .PHONY 49 @printf '%s' 'VAR=value\' > opt-file-backslash 50 @${MAKE} -r -f opt-file-backslash -V VAR 51 @rm opt-file-backslash
|
unexport.mk | 12 # was not reachable though. At that point, backslash-newline has already
|
char-005c-reverse-solidus.exp | 2 while evaluating variable "BACKSLASH" with value "" 4 while evaluating variable "BACKSLASH" with value "" 6 while evaluating variable "BACKSLASH" with value "" 7 make: char-005c-reverse-solidus.mk:100: Unfinished backslash at the end in pattern "\" of modifier ":M" 8 while evaluating variable "BACKSLASH" with value "\" 10 while evaluating variable "BACKSLASH" with value ""
|
unexport.mk | 12 # was not reachable though. At that point, backslash-newline has already
|
char-005c-reverse-solidus.exp | 2 while evaluating variable "BACKSLASH" with value "" 4 while evaluating variable "BACKSLASH" with value "" 6 while evaluating variable "BACKSLASH" with value "" 7 make: char-005c-reverse-solidus.mk:100: Unfinished backslash at the end in pattern "\" of modifier ":M" 8 while evaluating variable "BACKSLASH" with value "\" 10 while evaluating variable "BACKSLASH" with value ""
|
char-005c-reverse-solidus.mk | 23 # This backslash is treated as a line continuation. 42 # The simplest was to produce a single backslash is the :U modifier. 43 BACKSLASH= ${:U\\} 44 .if ${BACKSLASH} != "\\" 55 # match the single backslash. 56 # expect: while evaluating variable "BACKSLASH" with value "" 57 .if ${BACKSLASH:Mx\} 64 .if ${BACKSLASH:Mx\\} 71 .if ${BACKSLASH:Mx\\\\\\\\} 77 # Adding more text after the backslash adds to the pattern, as the backslas [all...] |
char-005c-reverse-solidus.mk | 23 # This backslash is treated as a line continuation. 42 # The simplest was to produce a single backslash is the :U modifier. 43 BACKSLASH= ${:U\\} 44 .if ${BACKSLASH} != "\\" 55 # match the single backslash. 56 # expect: while evaluating variable "BACKSLASH" with value "" 57 .if ${BACKSLASH:Mx\} 64 .if ${BACKSLASH:Mx\\} 71 .if ${BACKSLASH:Mx\\\\\\\\} 77 # Adding more text after the backslash adds to the pattern, as the backslas [all...] |
varname-dot-newline.exp | 11 backslash newline: <\
|
varname-dot-newline.exp | 11 backslash newline: <\
|
varmod-edge.mk | 92 # The first backslash does not escape the second backslash. 93 # Therefore, the second backslash escapes the parenthesis. 97 # If the first backslash were to escape the second backslash, the first 100 # After that, the remaining backslash would escape the parenthesis in 105 #EXP= (} # If the first backslash were to escape ... 110 # The backslash in \( does not escape the parenthesis, therefore it 124 # The double backslash is passed verbatim to the pattern matcher. 125 # The Str_Match pattern is \\(:M*}, and there the backslash is unescaped [all...] |
varmod-edge.mk | 92 # The first backslash does not escape the second backslash. 93 # Therefore, the second backslash escapes the parenthesis. 97 # If the first backslash were to escape the second backslash, the first 100 # After that, the remaining backslash would escape the parenthesis in 105 #EXP= (} # If the first backslash were to escape ... 110 # The backslash in \( does not escape the parenthesis, therefore it 124 # The double backslash is passed verbatim to the pattern matcher. 125 # The Str_Match pattern is \\(:M*}, and there the backslash is unescaped [all...] |
varname-dot-newline.mk | 10 # > shall contain the <backslash>, the <newline>, and the next line, except 42 @echo 'backslash newline: <${BACKSLASH_NEWLINE}>'
|
varname-dot-newline.mk | 10 # > shall contain the <backslash>, the <newline>, and the next line, except 42 @echo 'backslash newline: <${BACKSLASH_NEWLINE}>'
|
varmod-match-escape.mk | 5 # first backslash or not. See ParseModifier_Match, "copy = true". 61 # is a single backslash. 62 # expect+1: Unfinished backslash at the end in pattern "\" of modifier ":M" 70 # expect+1: Unfinished backslash at the end in pattern "\" of modifier ":M" 117 # In brackets, the backslash is just an ordinary character.
|
varmod-match-escape.mk | 5 # first backslash or not. See ParseModifier_Match, "copy = true". 61 # is a single backslash. 62 # expect+1: Unfinished backslash at the end in pattern "\" of modifier ":M" 70 # expect+1: Unfinished backslash at the end in pattern "\" of modifier ":M" 117 # In brackets, the backslash is just an ordinary character.
|
/src/usr.bin/tr/ |
str.c | 63 static int backslash(STR *); 122 s->lastch = backslash(s); 313 s->equiv[0] = backslash(s); 339 stopval = s->str[0] == '\\' ? backslash(s) : (unsigned char)*s->str++; 360 s->lastch = backslash(s); 371 s->cnt = backslash(s); 397 backslash(STR *s) function in typeref:typename:int
|
str.c | 63 static int backslash(STR *); 122 s->lastch = backslash(s); 313 s->equiv[0] = backslash(s); 339 stopval = s->str[0] == '\\' ? backslash(s) : (unsigned char)*s->str++; 360 s->lastch = backslash(s); 371 s->cnt = backslash(s); 397 backslash(STR *s) function in typeref:typename:int
|