Home
last modified time | relevance | path

Searched refs:backslash (Results 1 – 25 of 106) sorted by relevance

12345

/freebsd/crypto/krb5/src/util/support/
H A Dpath.c52 const char *slash, *backslash; in find_sep() local
55 backslash = strrchr(path, '\\'); in find_sep()
56 if (slash != NULL && backslash != NULL) in find_sep()
57 return (slash > backslash) ? slash : backslash; in find_sep()
59 return (slash != NULL) ? slash : backslash; in find_sep()
/freebsd/bin/sh/
H A Dshow.c324 case '\n': c = 'n'; goto backslash; in trstring()
325 case '\t': c = 't'; goto backslash; in trstring()
326 case '\r': c = 'r'; goto backslash; in trstring()
327 case '"': c = '"'; goto backslash; in trstring()
328 case '\\': c = '\\'; goto backslash; in trstring()
329 case CTLESC: c = 'e'; goto backslash; in trstring()
330 case CTLVAR: c = 'v'; goto backslash; in trstring()
331 case CTLVAR+CTLQUOTE: c = 'V'; goto backslash; in trstring()
332 case CTLBACKQ: c = 'q'; goto backslash; in trstring()
333 case CTLBACKQ+CTLQUOTE: c = 'Q'; goto backslash; in trstring()
[all …]
H A Dmiscbltin.c156 int backslash; in readcmd() local
266 backslash = 0; in readcmd()
291 if (backslash) { in readcmd()
292 backslash = 0; in readcmd()
301 backslash++; in readcmd()
/freebsd/lib/libfigpar/
H A Dstring_m.c265 uint8_t backslash = 0; in strexpandnl() local
274 backslash++; in strexpandnl()
276 backslash = 0; in strexpandnl()
277 else if (backslash > 0) { in strexpandnl()
278 *(--cp1) = (backslash & 1) == 1 ? '\n' : 'n'; in strexpandnl()
279 backslash = 0; in strexpandnl()
/freebsd/lib/libdpv/
H A Ddialog_util.c382 uint8_t backslash = 0; in dialog_prompt_longestline() local
415 if ((backslash ^= 1) == 0) in dialog_prompt_longestline()
417 } else if (backslash) { in dialog_prompt_longestline()
427 backslash = 0; in dialog_prompt_longestline()
432 backslash = 0; in dialog_prompt_longestline()
495 uint8_t backslash = 0; in dialog_prompt_wrappedlines() local
522 if ((backslash ^= 1) == 0) in dialog_prompt_wrappedlines()
524 } else if (backslash) { in dialog_prompt_wrappedlines()
532 backslash = 0; in dialog_prompt_wrappedlines()
537 backslash = 0; in dialog_prompt_wrappedlines()
H A Ddpv.c111 int backslash; in dpv() local
440 backslash = 0; in dpv()
447 if (!isspace(*fc) && *fc != '\\' && backslash == 0) in dpv()
449 else if (backslash > 0 && *fc != 'n') in dpv()
452 backslash++; in dpv()
453 if (backslash > 2) in dpv()
/freebsd/contrib/bmake/unit-tests/
H A Dopt-file.mk9 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
H A Dvarmod-loop.mk235 : ${:U1:@i@ backslash=\ end@}
238 : ${:U1:@i@ dollar=\$\$ at=\@ backslash=\\ end@}
240 : ${:U1:@i@ dollar=\$\$\$\$ at=\@\@ backslash=\\\\ end@}
242 : ${:U1:@i@ dollar=$$$$ at=\@\@ backslash=\\\\ end@}
H A Ddirective-for-errors.mk42 ${:U\\}= backslash # see whether the "variable" '\' is local
45 . info Dollar $$ ${$} $($) and backslash $\ ${\} $(\).
H A Dvarname-dot-newline.exp11 backslash newline: <\
H A Dchar-005c-reverse-solidus.exp7 make: char-005c-reverse-solidus.mk:100: Unfinished backslash at the end in pattern "\" of modifier …
/freebsd/usr.bin/tr/
H A Dstr.c48 static int backslash(STR *, int *);
74 s->lastch = backslash(s, &is_octal); in next()
194 s->equiv[0] = backslash(s, NULL); in genequiv()
247 stopval = backslash(s, &octal); in genrange()
300 s->lastch = backslash(s, NULL); in genseq()
313 s->cnt = backslash(s, NULL); in genseq()
339 backslash(STR *s, int *is_octal) in backslash() function
/freebsd/bin/ed/
H A DPOSIX31 backslash (\).
34 that <file> arguments are processed for backslash escapes, i.e., any
35 character preceded by a backslash is interpreted literally. If the
91 backslash.
/freebsd/contrib/tcsh/
H A Deight-bit.me63 keycode 95 = backslash bar odiaeresis Odiaeresis
73 keysym backslash = backslash bar Odiaeresis odiaeresis
87 alt["backslash"] = "Odiaeresis"; alt["bar"] = "odiaeresis";
/freebsd/crypto/openssl/apps/
H A Ddgst.c561 static const char *newline_escape_filename(const char *file, int *backslash) in newline_escape_filename() argument
579 *backslash = 1; in newline_escape_filename()
593 int i, backslash = 0; in print_out() local
598 file = newline_escape_filename(file, &backslash); in print_out()
600 if (backslash == 1) in print_out()
/freebsd/bin/sh/tests/parser/
H A Dps2-expand1.03 # Send incomplete command (backslash at end) to trigger PS2
/freebsd/contrib/one-true-awk/testdir/
H A DT.builtin77 # Test for backslash handling
90 diff foo1 foo2 || echo 'BAD: T.builtin continuation handling (backslash)'
/freebsd/contrib/sendmail/src/
H A Dutil.c230 bool backslash = false; local
248 if (backslash)
250 backslash = false;
255 backslash = true;
273 if (length - (ptr - string) <= (size_t) ((backslash ? 1 : 0) +
279 backslash = false;
336 bool backslash = false; local
342 if (backslash)
344 backslash = false;
353 backslash = true;
/freebsd/stand/common/
H A Dinterp_backslash.c28 backslash(const char *str) in backslash() function
/freebsd/bin/sh/tests/builtins/
H A Dread5.07 # Exclude backslash and newline.
/freebsd/contrib/tcsh/nls/greek/
H A Dset144 42 Tο όρισμα του -c τελειώνει σε backslash
/freebsd/contrib/tcsh/nls/ukrainian/
H A Dset144 42 Аргумент -c закінчується backslash'ем
/freebsd/usr.bin/sed/
H A DPOSIX39 backslash in front of it. This implementation follows the BSD
57 for backslash. Some historical versions of sed displayed two
150 reasonable, however, it also doesn't state that the backslash is
153 As historic sed implementations always discarded the backslash,
/freebsd/contrib/wpa/wpa_supplicant/
H A DREADME-P2P241 parameters - Escape single quote & backslash:
242 with a backslash 0x27 == ' == \', and 0x5c == \ == \\
335 Escape single quote & backslash with a backslash:
339 Escape single quote & backslash with a backslash:
365 Escape single quote & backslash with a backslash:
369 Escape single quote & backslash with a backslash:
810 Escaped single quote & backslash with a backslash:
/freebsd/crypto/openssl/doc/man3/
H A DASN1_STRING_print_ex.pod56 Printable characters are normally escaped using the backslash '\' character. If
58 double quote characters: this is arguably more readable than the backslash

12345