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

123

/openbsd-current/lib/libcurses/
H A Dcapdefaults.c60 if (VALID_STRING(newline) && (capval = EXTRACT_DELAY(newline)))
81 linefeed_is_newline = (char) (VALID_STRING(newline)
82 && (strcmp("\n", newline) == 0));
/openbsd-current/gnu/llvm/lldb/packages/Python/lldbsuite/support/
H A Dencoded_file.py38 newline=None,
46 newline=newline,
/openbsd-current/usr.bin/indent/
H A Dindent_codes.h36 #define newline 1 macro
H A Dlexi.c340 ps.last_nl = true; /* remember that we just had a newline */
341 code = (had_eof ? 0 : newline);
344 * if data has been exhausted, the newline is a dummy, and we should
371 if (*buf_ptr == '\n') /* check for escaped newline */
553 if (code != newline) {
/openbsd-current/usr.bin/from/
H A Dfrom.c50 int ch, newline, fflag = 0; local
96 for (newline = 1; (linelen = getline(&line, &linesize, fp)) != -1;) {
98 newline = 1;
101 if (newline && !strncmp(line, "From ", 5) &&
104 newline = 0;
/openbsd-current/games/monop/
H A Dinitdeck.c153 bool newline; local
157 newline = TRUE;
160 if (newline && c == '%') {
161 newline = FALSE;
167 newline = (c == '\n');
176 bool newline; local
191 newline = FALSE;
193 if (newline && c == '%') {
195 newline = FALSE;
212 newline
[all...]
/openbsd-current/usr.bin/tftp/
H A Dtftpsubs.c72 int newline = 0; /* fillbuf: in middle of newline expansion */ variable
94 newline = 0; /* init crlf flag */
152 if (newline) {
157 newline = 0;
165 newline = 1;
/openbsd-current/gnu/llvm/libcxx/utils/
H A Dgenerate_abi_list.py21 return open(file, 'w', newline='\n')
H A Dgenerate_header_inclusion_tests.py202 with open(out_path, 'w', newline='\n') as f:
H A Dgenerate_feature_test_macro_components.py975 with open(version_header_path, 'w', newline='\n') as f:
1132 with open(out_path, 'w', newline='\n') as f:
1218 with open(table_doc_path, 'w', newline='\n') as f:
/openbsd-current/gnu/llvm/clang/lib/AST/
H A DCommentBriefParser.cpp95 if (Tok.is(tok::newline)) {
106 // a space for the newline.
112 if (Tok.is(tok::newline)) {
H A DCommentParser.cpp99 if (P.Tok.is(tok::newline)) {
100 // If we see a single newline token between text tokens, skip it.
370 else if (Tok.is(tok::newline)) {
589 case tok::newline: {
591 if (Tok.is(tok::newline) || Tok.is(tok::eof)) {
595 // Also allow [tok::newline, tok::text, tok::newline] if the middle
600 if (Tok.is(tok::newline) || Tok.is(tok::eof)) {
604 // We have [tok::newline, tok::text, non-newline]
[all...]
/openbsd-current/share/zoneinfo/
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
/openbsd-current/sbin/unwind/libunbound/util/
H A Dconfiglexer.lex599 <quotedstring>{NEWLINE} { yyerror("newline inside quoted string, no end \"");
620 <singlequotedstr>{NEWLINE} { yyerror("newline inside quoted string, no end '");
653 <include_quoted>{NEWLINE} { yyerror("newline before \" in include name");
697 yyerror("newline before \" in include name");
/openbsd-current/usr.sbin/unbound/util/
H A Dconfiglexer.lex599 <quotedstring>{NEWLINE} { yyerror("newline inside quoted string, no end \"");
620 <singlequotedstr>{NEWLINE} { yyerror("newline inside quoted string, no end '");
653 <include_quoted>{NEWLINE} { yyerror("newline before \" in include name");
697 yyerror("newline before \" in include name");
/openbsd-current/usr.bin/mg/
H A Dword.c86 int newline; local
123 newline = 0;
139 newline = 1;
141 } else if (newline)
172 if (newline)
/openbsd-current/usr.sbin/pppd/
H A Dauth.c1163 int newline, xxx; local
1174 if (!getword(f, word, &newline, filename))
1176 newline = 1;
1182 while (!newline && getword(f, word, &newline, filename))
1184 if (!newline)
1192 newline = 0;
1201 if (!getword(f, word, &newline, filename))
1203 if (newline)
1220 if (!getword(f, word, &newline, filenam
[all...]
/openbsd-current/gnu/usr.bin/binutils-2.17/gas/
H A Dapp.c359 8: After putting out a .appfile string, flush until newline.
816 as_warn (_("end of file not at end of a line; newline inserted"));
989 as_warn ("end of file in comment; newline inserted");
1128 as_warn (_("end of file in comment; newline inserted"));
1182 as_warn (_("end of file in comment; newline inserted"));
1193 as_warn (_("end of file in comment; newline inserted"));
1258 as_warn (_("end of file in comment; newline inserted"));
/openbsd-current/usr.bin/unifdef/
H A Dunifdef.c123 STARTING_COMMENT, /* just after slash-backslash-newline */
124 FINISHING_COMMENT, /* star-backslash-newline in a C comment */
192 * When processing a file, the output's newline style will match the
195 * mode to accommodate platforms whose native newline style is CRLF.
200 static const char *newline; /* input file format */ variable
655 "%s%s", replacement, newline);
716 if (lnblank && fputs(newline, output) == EOF)
735 e = fprintf(output, "#line %d%s", linenum, newline);
738 linenum, linefile, newline);
768 newline
[all...]
/openbsd-current/usr.bin/ftp/
H A Dfetch.c309 char *hosttail, *cause = "unknown", *newline, *host, *port, *buf = NULL; local
349 newline = strdup(origline);
350 if (newline == NULL)
352 if (strncasecmp(newline, HTTP_URL, sizeof(HTTP_URL) - 1) == 0) {
353 host = newline + sizeof(HTTP_URL) - 1;
357 } else if (strncasecmp(newline, FTP_URL, sizeof(FTP_URL) - 1) == 0) {
358 host = newline + sizeof(FTP_URL) - 1;
363 } else if (strncasecmp(newline, HTTPS_URL, sizeof(HTTPS_URL) - 1) == 0) {
365 host = newline + sizeof(HTTPS_URL) - 1;
368 errx(1, "%s: No HTTPS support", newline);
[all...]
/openbsd-current/sys/dev/pci/drm/i915/display/
H A Dintel_hotplug.c835 char *newline; local
846 /* Strip newline, if any */
847 newline = strchr(tmp, '\n');
848 if (newline)
849 *newline = '\0';
914 char *newline; local
927 /* Strip newline, if any */
928 newline = strchr(tmp, '\n');
929 if (newline)
930 *newline
[all...]
/openbsd-current/usr.sbin/tcpdump/
H A Dprint-bgp.c908 int newline; local
939 newline = 0;
948 if (vflag && newline)
967 newline = 1;
1156 int newline; local
1165 newline = 0;
1190 if (vflag && newline)
1202 newline = 1;
/openbsd-current/usr.sbin/tftpd/
H A Dtftpd.c149 int newline; member in struct:tftp_client
649 client->newline = 0;
1098 switch (client->newline) {
1105 client->newline = c;
1110 client->newline = 0;
1114 client->newline = 0;
1125 if (client->newline == '\r') {
1126 client->newline = 0;
1132 client->newline = c;
/openbsd-current/usr.bin/tic/
H A Dreset_cmd.c418 if (VALID_STRING(newline) && newline[0] == '\n' && !newline[1]) {
/openbsd-current/usr.sbin/nsd/
H A Dnsd-control.c124 printf(" addzones add zone list on stdin {name space pattern newline}\n");
125 printf(" delzones remove zone list on stdin {name newline}\n");
479 const char* newline="\n"; local
489 remote_write(ssl, fd, newline, strlen(newline));

Completed in 263 milliseconds

123