Searched refs:backslash (Results 1 - 25 of 29) sorted by relevance

12

/freebsd-10-stable/sys/boot/common/
H A Dinterp_backslash.c14 * Routine for doing backslash elimination.
27 * backslash: Return malloc'd copy of str with all standard "backslash
31 backslash(char *str) function
161 * The final character was a '\'. Put it in as a single backslash.
H A Dbootstrap.h69 char *backslash(char *str);
/freebsd-10-stable/contrib/bmake/unit-tests/
H A Descape.mk3 # 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
58 # Embedded backslash in variable should be taken literally.
65 VAR1BSc = 111\# backslash escapes comment char, so this is part of the value
66 VAR1BSsc = 111\ # This is a comment. Value ends with <backslash><spac
[all...]
H A Descape.exp2 printf "%s=:%s:\n" VAR1BS 111\\111; printf "%s=:%s:\n" VAR1BSa 111\\aaa; printf "%s=:%s:\n" VAR1BSA 111\\aaa; printf "%s=:%s:\n" VAR1BSda 111\\\$\{a\}; printf "%s=:%s:\n" VAR1BSdA 111\\\$\{A\}; printf "%s=:%s:\n" VAR1BSc 111\#\ backslash\ escapes\ comment\ char,\ so\ this\ is\ part\ of\ the\ value; printf "%s=:%s:\n" VAR1BSsc 111\\\ ;
8 VAR1BSc=:111# backslash escapes comment char, so this is part of the value:
75 echo :'command ending with backslash-newline'; \
77 :command ending with backslash-newline
/freebsd-10-stable/lib/libfigpar/
H A Dstring_m.c170 * \b backslash
199 /* Replace the backslash with the correct character */
270 uint8_t backslash = 0; local
279 backslash++;
281 backslash = 0;
282 else if (backslash > 0) {
283 *(--cp1) = (backslash & 1) == 1 ? '\n' : 'n';
284 backslash = 0;
/freebsd-10-stable/bin/sh/
H A Dshow.c331 case '\n': c = 'n'; goto backslash;
332 case '\t': c = 't'; goto backslash;
333 case '\r': c = 'r'; goto backslash;
334 case '"': c = '"'; goto backslash;
335 case '\\': c = '\\'; goto backslash;
336 case CTLESC: c = 'e'; goto backslash;
337 case CTLVAR: c = 'v'; goto backslash;
338 case CTLVAR+CTLQUOTE: c = 'V'; goto backslash;
339 case CTLBACKQ: c = 'q'; goto backslash;
340 case CTLBACKQ+CTLQUOTE: c = 'Q'; goto backslash;
[all...]
H A Dmiscbltin.c92 int backslash; local
170 backslash = 0;
192 if (backslash) {
193 backslash = 0;
200 backslash++;
/freebsd-10-stable/lib/libdpv/
H A Ddialog_util.c384 uint8_t backslash = 0; local
414 /* Check for backslash character */
416 /* If second backslash, count as a single-char */
417 if ((backslash ^= 1) == 0)
419 } else if (backslash) {
429 backslash = 0;
434 backslash = 0;
497 uint8_t backslash = 0; local
521 /* Check for backslash character */
523 /* If second backslash, coun
[all...]
H A Ddpv.c113 int backslash; local
442 backslash = 0;
449 if (!isspace(*fc) && *fc != '\\' && backslash == 0)
451 else if (backslash > 0 && *fc != 'n')
454 backslash++;
455 if (backslash > 2)
/freebsd-10-stable/usr.bin/tr/
H A Dstr.c52 static int backslash(STR *, int *);
78 s->lastch = backslash(s, &is_octal);
198 s->equiv[0] = backslash(s, NULL);
251 stopval = backslash(s, &octal);
304 s->lastch = backslash(s, NULL);
317 s->cnt = backslash(s, NULL);
343 backslash(STR *s, int *is_octal) function
/freebsd-10-stable/contrib/ntp/lib/isc/win32/
H A Dfile.c585 char *backslash; local
589 backslash = strrchr(path, '\\');
590 if ((slash != NULL && backslash != NULL && backslash > slash) ||
591 (slash == NULL && backslash != NULL))
592 slash = backslash;
/freebsd-10-stable/contrib/groff/font/devps/generate/
H A Dtextmap128 backslash \
129 backslash rs
/freebsd-10-stable/contrib/groff/font/devps/
H A Dsymbolmap131 backslash \
132 backslash rs
H A Dtext.enc75 backslash 92
/freebsd-10-stable/contrib/llvm/lib/Support/Windows/
H A DProgram.inc126 /// EscapePrecedingEscapes - Append a backslash to Dst for every backslash
147 // We need to add a backslash, but ensure that it isn't escaped.
160 // Make sure the closing quote doesn't get escaped by a trailing backslash.
212 // Make sure our quote doesn't get escaped by a trailing backslash.
/freebsd-10-stable/contrib/llvm/lib/AsmParser/
H A DLLToken.h31 backslash, // \ (not /) enumerator in enum:llvm::lltok::Kind
H A DLLLexer.cpp248 case '\\': return lltok::backslash;
/freebsd-10-stable/contrib/sendmail/src/
H A Dutil.c130 ** are only found inside comments, quoted strings, or backslash
208 bool backslash = false; local
226 if (backslash)
228 backslash = false;
233 backslash = true;
251 if (length - (ptr - string) <= (size_t) ((backslash ? 1 : 0) +
257 backslash = false;
315 bool backslash = false; local
321 if (backslash)
323 backslash
[all...]
H A Dreadcf.c862 /* it's backslash escaped */
1856 bool backslash = false; local
1862 if (backslash)
1865 backslash = false;
1889 backslash = true;
1934 bool backslash = false; local
1940 if (backslash)
1942 backslash = false;
1947 backslash = true;
1961 *st = !(quotemode || backslash);
[all...]
/freebsd-10-stable/contrib/netbsd-tests/bin/sh/
H A Dt_cmdsub.sh614 atf_check -s exit:0 -e empty -o inline:'G: backslash at end of line\n' \
617 echo G: backslash at end of line # \
/freebsd-10-stable/usr.bin/xargs/
H A Dxargs.c415 warnx("backslash at EOF");
/freebsd-10-stable/gnu/usr.bin/grep/
H A Ddfa.c717 int backslash = 0, invert; local
721 /* Basic plan: We fetch a character. If it's a backslash,
722 we set the backslash flag and go through the loop again.
724 main switch inside the backslash case. On the minus side,
726 "if (backslash) ...". */
735 but they must not be backslash. */
741 if (backslash)
745 backslash = 1;
749 if (backslash)
759 if (backslash)
[all...]
/freebsd-10-stable/contrib/amd/amd/
H A Dopts.c307 * expand backslash escape sequences
311 backslash(char **p) function
316 plog(XLOG_USER, "Empty backslash escape");
405 *dp++ = backslash(&cp);
1008 f++; /* skip backslash */
/freebsd-10-stable/contrib/binutils/binutils/
H A Dieee.c4819 const char *backslash;
4834 backslash = strrchr (filename, '\\');
4835 if (modname == NULL || (backslash != NULL && backslash > modname))
4836 modname = backslash;
5090 const char *backslash;
5098 backslash = strrchr (filename, '\\');
5099 if (modname == NULL || (backslash != NULL && backslash > modname))
5100 modname = backslash;
4815 const char *backslash; local
5086 const char *backslash; local
[all...]
H A Dobjdump.c1101 char *backslash = strrchr (filename, '\\');
1102 if (fname == NULL || (backslash != NULL && backslash > fname))
1103 fname = backslash;
1097 char *backslash = strrchr (filename, '\\\\'); local

Completed in 261 milliseconds

12