Searched refs:newline (Results 1 - 25 of 110) sorted by relevance

12345

/freebsd-current/contrib/bmake/unit-tests/
H A Djob-output-null.exp5 3a without newline, 3b without newline.
H A Dvarname-dot-newline.mk1 # $NetBSD: varname-dot-newline.mk,v 1.6 2023/01/26 20:48:18 sjg Exp $
3 # Tests for the special .newline variable, which contains a single newline
8 # > After all macro expansion is complete, when an escaped <newline> is
10 # > shall contain the <backslash>, the <newline>, and the next line, except
14 # The above quote assumes that each resulting <newline> character has a "next
15 # line", but that's not how the .newline variable works.
16 BACKSLASH_NEWLINE:= \${.newline}
19 # Check that .newline is read-only
21 NEWLINE:= ${.newline}
[all...]
H A Dunexport.mk12 # was not reachable though. At that point, backslash-newline has already
19 .unexport ${.newline} UT_AFTER_NL
H A Descape.mk9 # unescaped <newline> is reached.
11 # When an escaped <newline> (one preceded by a <backslash>) is found
17 # When an escaped <newline> is found in a command line in a
19 # <newline>, and the next line, except that the first character of
22 # When an escaped <newline> is found in an include line or in a
27 # <backslash><anything other than newline> is not mentioned. I think
29 # except before <newline>.
36 # newline in a variable assignment simply stores the backslashes as part
37 # of the value, and treats the newline as though it was not escaped.
38 # Similarly, an even number of backslashes before a newline i
[all...]
H A Dvarmod-quote-dollar.mk7 # The newline and space characters at the beginning of this string are passed
10 ASCII_CHARS= ${.newline} !"\#$$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~
H A Dopt-jobs.mk22 . warning ${arg}:${.newline} have: ${OUTPUT:[2..-1]}${.newline} want: ${EXPECT.${arg}}
49 . warning ${arg}:${.newline} have: ${OUTPUT:[2..-1]}${.newline} want: ${EXPECT.${arg}}
H A Djob-output-long-lines.mk12 # not terminated by a newline. Because of this missing newline, the job
H A Dopt-debug-errors-jobs.mk10 all: fail-newline
21 fail-newline:
22 echo 'line1${.newline}line2'; false
H A Dopt-debug-errors-jobs.exp26 *** Failed target: fail-newline
29 echo 'line1${.newline}line2'; false
32 *** [fail-newline] Error code 1
H A Ddeptgt-makeflags.mk58 # The following line looks as if it assigned a newline to nl, but it doesn't.
67 # Next try at defining another newline variable. Since whitespace around the
69 # literal newline now. This prevents the newline from being skipped during
71 # expressions, leaving only the newline as the variable value.
79 .if ${nl} != ${.newline}
/freebsd-current/contrib/kyua/utils/cmdline/
H A Dui_mock.cpp52 /// \param message The line to print and record, without the trailing newline
54 /// \param newline Whether to append a newline to the message or not.
56 ui_mock::err(const std::string& message, const bool newline) argument
58 if (newline)
70 /// \param message The line to print and record, without the trailing newline
72 /// \param newline Whether to append a newline to the message or not.
74 ui_mock::out(const std::string& message, const bool newline) argument
76 if (newline)
[all...]
H A Dui.cpp75 /// \param message The line to print. Should not include a trailing newline
77 /// \param newline Whether to append a newline to the message or not.
79 cmdline::ui::err(const std::string& message, const bool newline) argument
82 if (newline)
97 /// \param message The line to print. Should not include a trailing newline
99 /// \param newline Whether to append a newline to the message or not.
101 cmdline::ui::out(const std::string& message, const bool newline) argument
104 if (newline)
[all...]
/freebsd-current/contrib/ncurses/include/
H A Dcapdefaults.c58 if (VALID_STRING(newline) && (capval = EXTRACT_DELAY(newline)))
79 linefeed_is_newline = (char) (VALID_STRING(newline)
80 && (strcmp("\n", newline) == 0));
/freebsd-current/usr.bin/from/
H A Dfrom.c50 int ch, count, newline; local
104 for (newline = 1; fgets(buf, sizeof(buf), mbox);) {
106 newline = 1;
109 if (newline && !strncmp(buf, "From ", 5) &&
116 newline = 0;
/freebsd-current/usr.bin/indent/
H A Dindent_codes.h38 #define newline 1 macro
/freebsd-current/contrib/dma/
H A Dmail.c382 char newline[MAX_LINE_RFC822 + 1]; local
410 newline[0] = '\0';
418 * This line did not end with a newline character.
488 snprintf(newline, sizeof(newline), "Date: %s\n", rfc822date());
492 snprintf(newline, sizeof(newline), "Message-Id: <%"PRIxMAX".%s.%"PRIxMAX"@%s>\n",
499 snprintf(newline, sizeof(newline), "From: <%s>\n", queue->sender);
501 if (fwrite(newline, strle
[all...]
H A Dlocal.c133 const char *newline = "\n"; local
189 newline = "";
201 error = snprintf(line, sizeof(line), "%sFrom %s %s", newline, sender, ctime(&now));
/freebsd-current/libexec/tftpd/
H A Dtftp-file.c110 static int newline = -1; local
113 newline = -1;
124 if (newline != -1) {
125 buffer[i++] = newline;
126 newline = -1;
164 newline = buffer[i-1];
/freebsd-current/lib/libc/stdio/
H A Dgetdelim.c67 char *newline; local
79 newline = realloc(*linep, newcap);
80 if (newline == NULL)
83 *linep = newline;
/freebsd-current/bin/sh/
H A Dmktokens41 TNL 0 newline
/freebsd-current/bin/echo/
H A Decho.c47 int nflag; /* if not set, output a trailing newline. */
51 char newline[] = "\n"; local
83 /* chop it and set the no-newline flag. */
97 vp->iov_base = newline;
/freebsd-current/contrib/tzcode/
H A Dtzselect.ksh38 # if VALUE contains \, ", or newline, awk scripts in this file use:
51 # Output one argument as-is to standard output, with trailing newline.
207 newline='
209 IFS=$newline
452 IFS=$newline;;
660 *"$newline"*)
703 *"$newline"*)
781 say >&2 " $time$newline $country_result$newline $region";;
782 ?*%?*%%|?*%%?*%) say >&2 " $time$newline
[all...]
/freebsd-current/contrib/llvm-project/clang/lib/AST/
H A DCommentBriefParser.cpp95 if (Tok.is(tok::newline)) {
106 // a space for the newline.
112 if (Tok.is(tok::newline)) {
/freebsd-current/contrib/tzdata/
H A Dzishrink.awk271 abbr, f, field, i, n, newdef, newline, r, \
292 newline = zoneline[i]
293 n = split(newline, field)
298 newline = make_line(n, field)
300 newdef = (newdef ? newdef "\n" : "") newline
/freebsd-current/usr.bin/chkey/
H A Dchkey.c196 char newline = '\n'; local
199 write(fd, &newline, sizeof(newline)) < 0)

Completed in 178 milliseconds

12345