| /freebsd-12.1/contrib/dma/ |
| H A D | mail.c | 380 char newline[MAX_LINE_RFC822]; in readmail() local 406 newline[0] = '\0'; in readmail() 457 snprintf(newline, sizeof(newline), "Date: %s\n", rfc822date()); in readmail() 461 snprintf(newline, sizeof(newline), "Message-Id: <%"PRIxMAX".%s.%"PRIxMAX"@%s>\n", in readmail() 468 snprintf(newline, sizeof(newline), "From: <%s>\n", queue->sender); in readmail() 470 if (fwrite(newline, strlen(newline), 1, queue->mailf) != 1) in readmail() 473 strlcpy(newline, "\n", sizeof(newline)); in readmail() 478 if (newline[0]) { in readmail() 479 if (fwrite(newline, strlen(newline), 1, queue->mailf) != 1) in readmail()
|
| H A D | local.c | 132 const char *newline = "\n"; in deliver_local() local 188 newline = ""; in deliver_local() 200 error = snprintf(line, sizeof(line), "%sFrom %s %s", newline, sender, ctime(&now)); in deliver_local()
|
| /freebsd-12.1/contrib/subversion/subversion/libsvn_subr/ |
| H A D | debug.c | 97 char *newline = strchr(s, '\n'); in debug_vprintf() local 98 if (newline) in debug_vprintf() 99 *newline = '\0'; in debug_vprintf() 105 if (! newline) in debug_vprintf() 107 s = newline + 1; in debug_vprintf()
|
| H A D | config_file.c | 291 const char *start, *newline; in parser_get_line() local 298 newline = memchr(start, '\n', ctx->buffer_size - ctx->buffer_pos); in parser_get_line() 299 if (newline) in parser_get_line() 302 svn_stringbuf_appendbytes(line, start, newline - start); in parser_get_line() 304 ctx->buffer_pos = newline - ctx->parser_buffer + 1; in parser_get_line() 364 const char *newline = memchr(ctx->parser_buffer + ctx->buffer_pos, '\n', in skip_to_eoln() local 366 if (newline) in skip_to_eoln() 369 ctx->buffer_pos = newline - ctx->parser_buffer + 1; in skip_to_eoln()
|
| /freebsd-12.1/usr.bin/from/ |
| H A D | from.c | 64 int ch, count, newline; in main() local 118 for (newline = 1; fgets(buf, sizeof(buf), mbox);) { in main() 120 newline = 1; in main() 123 if (newline && !strncmp(buf, "From ", 5) && in main() 130 newline = 0; in main()
|
| /freebsd-12.1/libexec/tftpd/ |
| H A D | tftp-file.c | 113 static int newline = -1; in convert_to_net() local 116 newline = -1; in convert_to_net() 127 if (newline != -1) { in convert_to_net() 128 buffer[i++] = newline; in convert_to_net() 129 newline = -1; in convert_to_net() 167 newline = buffer[i-1]; in convert_to_net()
|
| /freebsd-12.1/contrib/ncurses/include/ |
| H A D | capdefaults.c | 57 if (VALID_STRING(newline) && (capval = EXTRACT_DELAY(newline))) 78 linefeed_is_newline = (char) (VALID_STRING(newline) 79 && (strcmp("\n", newline) == 0));
|
| /freebsd-12.1/contrib/bearssl/src/codec/ |
| H A D | pemdec.t0 | 113 : skip-newline ( -- ) 118 : skip-newline-ws ( -- bool ) 133 = ifnot drop skip-newline 0 ret then 145 over ifnot 2drop skip-newline 0 ret then 235 from-base64 dup 0< if drop skip-newline 3 ret then 240 from-base64 dup 0< if drop skip-newline 3 ret then 249 skip-newline-ws ifnot drop 3 ret then 261 drop skip-newline-ws ifnot 3 ret then 279 `- <> if skip-newline 3 send-event ret then 283 skip-newline 2 send-event ; [all …]
|
| /freebsd-12.1/usr.sbin/pc-sysinstall/backend/ |
| H A D | functions-parse.sh | 173 while read newline 175 echo ${newline} | grep -q "^#" 2>/dev/null 177 VAL="`echo ${newline} | cut -d '=' -f 1`" 185 echo "${newline}" >> ${FINALCFG}
|
| /freebsd-12.1/lib/libc/stdio/ |
| H A D | getdelim.c | 69 char *newline; in expandtofit() local 81 newline = realloc(*linep, newcap); in expandtofit() 82 if (newline == NULL) in expandtofit() 85 *linep = newline; in expandtofit()
|
| /freebsd-12.1/contrib/bmake/unit-tests/ |
| H A D | cond1.mk | 106 @echo "Passed:${.newline} ${Ok:S/,/${.newline}/}" 107 @echo "${NUMBERS:@n@$n is ${("${PRIMES:M$n}" == ""):?not:} prime${.newline}@}"
|
| H A D | forloop.mk | 30 .error ${.newline}'${cfl}' != ${.newline}'${CFL}'
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | CommentParser.cpp | 100 if (P.Tok.is(tok::newline)) { in addToken() 374 else if (Tok.is(tok::newline)) { in parseBlockCommand() 599 case tok::newline: { in parseParagraphOrBlockCommand() 601 if (Tok.is(tok::newline) || Tok.is(tok::eof)) { in parseParagraphOrBlockCommand() 610 if (Tok.is(tok::newline) || Tok.is(tok::eof)) { in parseParagraphOrBlockCommand() 664 if (Tok.is(tok::newline)) in parseVerbatimBlock() 669 Tok.is(tok::newline)) { in parseVerbatimBlock() 675 if (Tok.is(tok::newline)) { in parseVerbatimBlock() 744 case tok::newline: in parseBlockContent() 760 while (Tok.is(tok::newline)) in parseFullComment() [all …]
|
| H A D | CommentBriefParser.cpp | 105 if (Tok.is(tok::newline)) { in Parse() 122 if (Tok.is(tok::newline)) { in Parse()
|
| /freebsd-12.1/contrib/llvm/tools/lld/Common/ |
| H A D | ErrorHandler.cpp | 34 static void newline(raw_ostream *ErrorOS, const Twine &Msg) { in newline() function 119 newline(ErrorOS, Msg); in warn() 126 newline(ErrorOS, Msg); in error()
|
| /freebsd-12.1/contrib/netbsd-tests/lib/libcurses/tests/ |
| H A D | cbreak | 3 # a newline before getch returns, check this works first. 15 # set cbreak, getch should return without needing a newline
|
| /freebsd-12.1/contrib/diff/src/ |
| H A D | util.c | 687 char const *newline = linbuf0[i + 1] - 1; in analyze_hunk() local 688 size_t len = newline - line; in analyze_hunk() 693 if (newline - p != trivial_length in analyze_hunk() 702 char const *newline = linbuf1[i + 1] - 1; in analyze_hunk() local 703 size_t len = newline - line; in analyze_hunk() 708 if (newline - p != trivial_length in analyze_hunk()
|
| /freebsd-12.1/usr.bin/chkey/ |
| H A D | chkey.c | 204 char newline = '\n'; in main() local 207 write(fd, &newline, sizeof(newline)) < 0) in main()
|
| /freebsd-12.1/gnu/usr.bin/grep/ |
| H A D | dfa.c | 1487 newline = newline ? 1 : 0; in state_index() 1497 || newline != d->states[i].newline || letter != d->states[i].letter) in state_index() 1513 d->states[i].newline = newline; in state_index() 1966 setbit(eolbyte, newline); in dfastate() 2003 d->states[s].newline, 1)) in dfastate() 2423 int newline = 0; in match_anychar() local 2436 newline = 1; in match_anychar() 2442 newline = 1; in match_anychar() 2474 int newline = 0; in match_mb_charset() local 2485 newline = 1; in match_mb_charset() [all …]
|
| /freebsd-12.1/bin/ed/ |
| H A D | POSIX | 16 space or newline can used as a delimiter. 30 encrypting/ decrypting subsequent reads and writes. If only a newline 58 NUL character is written, a newline is not appended if it did not 60 prior to writing prevents appending a newline to a binary file. 70 Similarly, to remove a newline from the end of binary `file':
|
| /freebsd-12.1/bin/echo/ |
| H A D | echo.c | 82 char newline[] = "\n"; in main() local 130 vp->iov_base = newline; in main()
|
| /freebsd-12.1/contrib/netbsd-tests/lib/libc/gen/ |
| H A D | t_humanize_number.c | 116 void newline(void); 158 newline(void) in newline() function 243 newline(); in ATF_TC_BODY()
|
| /freebsd-12.1/crypto/heimdal/lib/krb5/ |
| H A D | kuserok.c | 81 char *newline = buf + strcspn(buf, "\n"); in check_one_file() local 83 if(*newline != '\n') { in check_one_file() 93 *newline = '\0'; in check_one_file()
|
| /freebsd-12.1/usr.bin/unifdef/ |
| H A D | unifdef.c | 194 static const char *newline; /* input file format */ variable 650 "%s%s", replacement, newline); in keywordedit() 712 if (lnblank && fputs(newline, output) == EOF) in flushline() 731 e = fprintf(output, "#line %d%s", linenum, newline); in hashline() 734 linenum, linefile, newline); in hashline() 764 newline = NULL; in process() 794 if (newline == NULL) { in parseline() 796 newline = newline_crlf; in parseline() 798 newline = newline_unix; in parseline() 855 strcpy(tline + len, newline); in parseline() [all …]
|
| /freebsd-12.1/usr.bin/top/ |
| H A D | display.c | 853 u_process(int line, char *newline) in u_process() argument 863 int len = strlen(newline); in u_process() 866 newline[screen_width] = '\0'; in u_process() 886 fputs(newline, stdout); in u_process() 889 optr = stpcpy(bufferline, newline); in u_process() 899 line_update(bufferline, newline, 0, line + Header_lines); in u_process()
|