/original-bsd/usr.sbin/config/ |
H A D | main.c | 151 while ((ch = getc(fp)) != EOF) 154 if (ch == EOF) 155 return ((char *)EOF); 166 if (ch == EOF) 167 return ((char *)EOF); 185 while ((ch = getc(fp)) != EOF) 188 if (ch == EOF) 189 return ((char *)EOF); 214 if (ch != EOF) 218 if (ch == EOF) [all …]
|
/original-bsd/usr.bin/f77/libI77/ |
H A D | rsnmle.c | 132 return(ch == EOF ? EOF : OK); 136 n = EOF; 140 if(n == EOF ) err(endflag,EOF,nml_rd); 236 if(ch == EOF) return(EOF); 244 if(ch == EOF) return EOF; 279 leof = EOF; in t_getc() 294 leof = EOF; in t_getc() 561 if(ch==EOF) return(EOF); in l_L() 570 if(ch == EOF ) return(EOF); in l_L() 581 else if(ch == EOF) return EOF; in l_CHAR() [all …]
|
H A D | lread.c | 74 if(curunit->uend) return(EOF); in t_getc() 78 leof = EOF; in t_getc() 81 return(EOF); in t_getc() 89 return(ch==EOF?EOF:OK); in e_rsle() 206 if(leof) return(EOF); in get_repet() 309 if(t_sep()) return(EOF); in l_C() 341 else if(ch==EOF) return(EOF); in l_L() 360 { if(ch==EOF) return(EOF); in l_CHAR() 387 else if(ch==EOF) return(EOF); in l_CHAR() 413 if(leof) return(EOF); in t_sep() [all …]
|
H A D | rsfe.c | 44 return(EOF); in x_rnew() 45 while((ch=getc(cf))!='\n' && ch!=EOF); in x_rnew() 48 if (recpos==0) return(EOF); in x_rnew() 57 if(curunit->uend) return(EOF); in x_getc() 58 if((ch=getc(cf))!=EOF && ch!='\n') in x_getc() 67 return(EOF); in x_getc()
|
/original-bsd/usr.bin/more/ |
H A D | linstall | 46 cat >makefile <<EOF 49 EOF 70 EOF 72 cat >defines.h <<EOF 76 EOF 78 cat >>defines.h <<EOF 84 EOF 139 cat >>defines.h <<EOF 146 EOF 161 cat >>defines.h <<EOF
|
/original-bsd/lib/libc/locale/ |
H A D | frune.c | 31 if ((c = getc(fp)) == EOF) { 34 return (EOF); 57 if (ungetc(buf[len], fp) == EOF) 58 return (EOF); 73 if (putc(buf[i], fp) == EOF) 74 return (EOF);
|
/original-bsd/usr.bin/ctags/ |
H A D | C.c | 40 while (GETC(!=, EOF)) { in c_entries() 227 while (GETC(!=, EOF)) { in func_entry() 259 while (GETC(!=, EOF) && iswhite(c)) in func_entry() 290 if (GETC(==, EOF)) in hash_entry() 300 if (GETC(==, EOF)) in hash_entry() 307 if (GETC(==, EOF)) in hash_entry() 343 if (GETC(==, EOF)) 349 if (GETC(==, EOF)) 362 while (GETC(!=, EOF)) 385 for (star = 0; GETC(!=, EOF);) in skip_comment() [all …]
|
H A D | yacc.c | 33 while (GETC(!=, EOF)) in y_entries() 72 while (GETC(!=, EOF) && (intoken(c) || c == '.')) in y_entries() 79 if (GETC(==, EOF)) in y_entries() 108 for (state = 0; GETC(!=, EOF);) in toss_yysec()
|
/original-bsd/usr.bin/ex/ |
H A D | ex_get.c | 44 if (c == EOF) in getcd() 86 return (lastc = EOF); in getach() 101 return (lastc = EOF); in getach() 115 return(lastc = EOF); in getach() 154 return (EOF); in gettty() 184 return (EOF); in gettty() 198 while (c != EOF && c != '\n') { in gettty() 204 if (c == EOF) { in gettty() 206 ungetchar(EOF); in gettty() 207 return (EOF); in gettty() [all …]
|
/original-bsd/bin/cat/ |
H A D | cat.c | 122 for (prev = '\n'; (ch = getc(fp)) != EOF; prev = ch) { 126 if (!gobble && putchar(ch) == EOF) 145 if (putchar('$') == EOF) 149 if (putchar('^') == EOF || putchar('I') == EOF) 155 if (putchar('M') == EOF || putchar('-') == EOF) 160 if (putchar('^') == EOF || 162 ch | 0100) == EOF) 167 if (putchar(ch) == EOF)
|
/original-bsd/sys/pmax/dist/ |
H A D | get | 75 cat >etc/passwd <<EOF 78 EOF 79 cat >etc/master.passwd <<EOF 82 EOF 85 cat >etc/group <<EOF 94 EOF 97 cat >etc/fstab <<EOF 100 EOF 127 EOF
|
/original-bsd/usr.bin/uuencode/ |
H A D | uuencode.c | 39 while (getopt(argc, argv, "") != EOF) 88 if (putchar(ch) == EOF) in encode() 93 if (putchar(ch) == EOF) in encode() 97 if (putchar(ch) == EOF) in encode() 101 if (putchar(ch) == EOF) in encode() 105 if (putchar(ch) == EOF) in encode() 108 if (putchar('\n') == EOF) in encode()
|
/original-bsd/usr.bin/locate/code/ |
H A D | locate.code.c | 85 while ((ch = getopt(argc, argv, "")) != EOF) 129 if (putchar(SWITCH) == EOF || 130 putw(diffcount, stdout) == EOF) 133 if (putchar(diffcount) == EOF) 138 if (putchar(*cp) == EOF) 143 if (putchar(*cp++) == EOF || 144 putchar(*cp++) == EOF) 148 if (putchar((code / 2) | PARITY) == EOF)
|
/original-bsd/lib/libc/stdio/ |
H A D | ungetc.c | 38 return (EOF); 50 return (EOF); 63 if (c == EOF) 64 return (EOF); 73 return (EOF); 76 return (EOF); 91 return (EOF);
|
H A D | refill.c | 46 return (EOF); 52 return (EOF); 57 return (EOF); 99 return (EOF);
|
/original-bsd/sys/tahoe/dist/ |
H A D | get | 71 cat >etc/passwd <<EOF 73 EOF 76 cat >etc/group <<EOF 79 EOF 82 cat >etc/fstab <<EOF 85 EOF 109 EOF
|
/original-bsd/usr.bin/ftp/ |
H A D | ruserpass.c | 150 while ((c=getc(cfile)) != EOF && c == ' ' || c == '\t'); 151 if (c == EOF || c == '\n') { 161 for (i=0; i < 8 && (c=getc(cfile)) != EOF && 165 if (c == EOF) { 171 while ((c=getc(cfile)) != EOF && c != '\n'); 173 if (c == EOF) { 185 if ((c=getc(cfile)) == EOF) { 227 while ((c = getc(cfile)) != EOF && in token() 230 if (c == EOF) in token() 234 while ((c = getc(cfile)) != EOF && c != '"') { in token() [all …]
|
/original-bsd/old/eqn/common_source/ |
H A D | lex.c | 30 if (lastchar != EOF) in gtc() 33 return(EOF); in gtc() 39 return(EOF); in gtc() 81 case EOF: in yylex() 82 return(EOF); in yylex() 109 return(EOF); in yylex() 148 if (c == EOF) { 173 for (i=0; (c=gtc()) != del && c != EOF;) { 180 for (i=1; (c=gtc())!=' ' && c!= '\t' && c!='\n' && c!=EOF;) { 187 if (c == EOF)
|
/original-bsd/contrib/ed/ |
H A D | q.c | 51 if ((l_ss != ' ') && (l_ss != '\n') && (l_ss != EOF)) { 56 if ((l_ss == '\n') || (l_ss == EOF)) 68 if (l_which == EOF) 78 if (l_which == EOF)
|
/original-bsd/usr.bin/window/ |
H A D | scanner.c | 27 if (cx.x_bol && c != EOF) { in s_getc() 38 return EOF; in s_getc() 45 if (c == EOF) in s_ungetc() 46 return EOF; in s_ungetc() 55 return EOF; in s_ungetc() 83 case EOF: in s_gettok() 215 if (c == '\n' || c == EOF) { in s_gettok() 259 case EOF: in s_gettok() 298 case EOF: in s_gettok() 322 case EOF: in s_gettok() [all …]
|
/original-bsd/contrib/sort/ |
H A D | files.c | 53 return (EOF); 122 return (EOF); 124 if (fileno >= nfiles) return(EOF); 142 } else if (c == EOF) { 186 return(EOF); 189 return (EOF); 207 if (c == EOF) { 239 while ((c = getc(fd)) != EOF) { 247 while ((c = getc(fd)) != EOF) { 259 return (EOF); [all …]
|
/original-bsd/sys/vax/dist/ |
H A D | get | 67 cat >etc/passwd <<EOF 69 EOF 71 cat >etc/group <<EOF 74 EOF 76 cat >etc/fstab <<EOF 82 EOF 109 EOF
|
/original-bsd/contrib/bib/src/ |
H A D | streams.c | 57 } while (c != EOF && !isspace(c) && c != '%'); 64 else *bolp = (c == '\n' || c == EOF); 85 while ((c != '\n' || nonspaces != 0) && c != EOF) { 126 if (feof(stream)) { pos(start); start= EOF; } 150 while ((c=getc(stream)) != '\n' && c!=EOF) putchar(c); 163 while ( (*p= getc(stream)) != '\n' && *p!=EOF)
|
/original-bsd/usr.bin/tail/ |
H A D | forward.c | 76 if ((ch = getc(fp)) == EOF) { 88 if ((ch = getc(fp)) == EOF) { 107 while (getc(fp) != EOF); 125 while (getc(fp) != EOF); 146 while ((ch = getc(fp)) != EOF) 147 if (putchar(ch) == EOF)
|
/original-bsd/usr.bin/cmp/ |
H A D | special.c | 38 if (getc(fp1) == EOF) 41 if (getc(fp2) == EOF) 48 if (ch1 == EOF || ch2 == EOF)
|