/src/games/boggle/boggle/ |
help.c | 55 int eof, i; local in function:help 65 eof = 0; 66 if (ungetc(getc(fp), fp) == EOF) { 68 eof = 1; /* Nothing there... */ 71 while (!eof) { 74 eof = 1; 81 if (eof || ungetc(getc(fp), fp) == EOF) { 82 eof = 1; 95 if (eof) { [all...] |
/src/bin/ksh/ |
edit.h | 37 int eof; member in struct:__anon361866260108
|
lex.c | 784 char *volatile eof; local in function:readhere 791 eof = evalstr(iop->delim, 0); 799 eofp = eof; 814 /* Allow EOF here so commands with out trailing newlines 824 yyerror("here document `%s' unclosed\n", eof); 891 s->str = NULL; /* return 0 for EOF by default */ 959 /* avoid reading eof twice */ 1070 /* Note: if input is all nulls, this is not eof */ 1071 if (Xlength(s->xs, xp) == 0) { /* EOF */ 1276 * if eof or newline was found [all...] |
/src/games/hack/ |
makedefs.c | 144 int eof; variable in typeref:typename:int 155 eof++; 177 if (eof) {
|
/src/usr.bin/lam/ |
lam.c | 61 short eof; /* eof flag */ member in struct:openfile 199 if (ip->eof) 201 for (p = s; (c = fgetc(ip->fp)) != EOF && p < end; p++) 205 if (c == EOF) { 206 ip->eof = 1;
|
/src/sys/nfs/ |
nfs_clntsubs.c | 481 int error, eof, nc, len; local in function:nfs_cookieheuristic 494 error = VOP_READDIR(vp, &auio, cred, &eof, &cookies, &nc);
|
/src/distrib/utils/more/ |
prim.c | 76 * If the bottom line is empty, we are at EOF. 78 * we must be just at EOF. 114 int eof = 0, do_repaint; local in function:forw 129 * to hit eof in the middle of this screen, 165 eof = 1; 182 * EOF (i.e. before the requested number of lines), we 192 if (eof && !sigs) 774 * We hit EOF/BOF without a match.
|
/src/lib/libc/rpc/ |
getnetconfig.c | 115 int eof; /* all entries has been read */ member in struct:netconfig_info 288 if (ni.eof == 1) 313 ni.eof = 1; 396 ni.eof = ni.ref = 0; 448 if (ni.eof == 1) /* that's all the entries */ 468 if (stringp == NULL) /* eof */
|
/src/sbin/umbctl/ |
umbctl.c | 191 int eof; local in function:_umbctl_file 209 while((i = fgetc(fp)) != EOF && i != '\n'); 224 eof = feof(fp); 225 if(fclose(fp) != 0 || !eof)
|
/src/sys/fs/sysvbfs/ |
bfs.c | 441 uintptr_t eof; local in function:bfs_writeback_dirent 446 eof = (uintptr_t)(dir + 1) - 1; 447 eof = eof - (uintptr_t)dir_base + 452 printf("eof new=%d old=%d\n", eof, root_inode->eof_offset_byte); 455 if (eof > root_inode->eof_offset_byte) { 456 root_inode->eof_offset_byte = eof; 460 if (eof == root_inode->eof_offset_byte) { 461 root_inode->eof_offset_byte = eof - sizeof *dir [all...] |
/src/sys/arch/hp300/stand/inst/ |
inst.c | 552 int fileno, ignoreshread, eof, len; local in function:miniroot 674 for (i = 0, eof = 0; i < nblks || ignoreshread == 0; i++) { 686 eof = 1; 695 if (eof)
|
/src/tests/bin/sh/ |
t_cmdsub.sh | 384 'cat <<- EOF 387 EOF' 399 'cat <<- EOF 402 EOF' 413 ${TEST_SH} -c 'echo "$( cat <<- \EOF 417 EOF 422 ${TEST_SH} -c 'for N in 1 4; do echo "$( cat <<- EOF 426 EOF 431 ${TEST_SH} -c 'echo "$( cat <<- EOF 434 EOF 593 cat <<-"eof" heredoc 601 cat <<-"eof" heredoc 609 cat <<-"eof" heredoc [all...] |
/src/common/dist/zlib/ |
gzguts.h | 188 int eof; /* true if end of input file reached */ member in struct:__anone1a3ef820108
|
/src/sys/kern/ |
sys_pipe.c | 488 * Detect EOF condition. 489 * Read returns 0 on EOF, no need to set error. 822 int eof = 0; local in function:pipe_poll 833 eof |= (rpipe->pipe_state & PIPE_EOF); 843 eof |= (wpipe->pipe_state & PIPE_EOF); 846 if (wpipe == NULL || eof)
|
/src/usr.bin/tip/ |
cmds.c | 134 int cnt, eof; local in function:transfer 159 eof = read(FD, &c, 1) <= 0; 163 if (eof || any(c, eofchars)) 255 * terminate transmission with pseudo EOF sequence 322 if (c == EOF)
|
/src/usr.bin/make/unit-tests/ |
escape.mk | 212 all: cmd-1bsnl-eof 213 cmd-1bsnl-eof:
|
/src/sys/ufs/lfs/ |
ulfs_lookup.c | 1207 off_t eof; local in function:ulfs_blkatoff 1213 GOP_SIZE(vp, vp->v_size, &eof, 0); 1218 const int size = MIN(eof - curoff, bsize); 1223 KASSERT(curoff < eof);
|
/src/share/examples/refuse/ian/libfetch/ |
ftp.c | 485 int eof; /* EOF reached */ member in struct:ftpio 513 if (io->eof) 519 io->eof = 1; 611 io->eof = io->err = 0;
|
http.c | 125 int eof; /* end-of-file flag */ member in struct:httpio 203 if (io->eof) 223 io->eof = 1; 262 if (io->eof)
|
/src/lib/libc/gen/ |
getcap.c | 260 int myfd, eof, foundit; local in function:getent 308 eof = 0; 406 eof = 1; 480 * If encountered eof check next file. 482 if (eof)
|
/src/sys/lib/libsa/ |
nfs.c | 415 n_long eof; member in struct:nfs_readdata::replv3 423 n_long eof; member in struct:nfs_readdata::replv3_noattr 822 printf("%s: hit EOF unexpectedly\n", __func__);
|
/src/sys/ufs/ufs/ |
ufs_lookup.c | 1370 off_t eof; local in function:ufs_blkatoff 1376 GOP_SIZE(vp, vp->v_size, &eof, 0); 1381 const int size = MIN(eof - curoff, bsize); 1386 KASSERT(curoff < eof);
|
/src/sys/compat/sunos/ |
sunos.h | 137 u_int eof; member in struct:sunos_audio_prinfo
|
/src/sys/miscfs/genfs/ |
genfs_io.c | 179 panic("%s: past eof: %" PRId64 " vs. %" PRId64, 199 UVMHIST_LOG(ubchist, "off 0x%jx count %jd goes past EOF 0x%jx", 627 * if EOF is in the middle of the range, zero the part past EOF. 1440 off_t eof, offset, startoffset; local in function:genfs_do_io 1458 GOP_SIZE(vp, vp->v_writesize, &eof, 0); 1468 bytes = MIN(len, eof - startoffset); 1798 * the current EOF, then fall back to buffered I/O.
|
/src/usr.bin/deroff/ |
deroff.c | 95 #define Cget ( (c=getc(infile)) == EOF ? eof() : ((c==ldelim)&&(filesp==files) ? skeqn() : c) ) 96 #define C1get ( (c=getc(infile)) == EOF ? eof() : c) 209 static int eof(void); 371 if (c == EOF) 372 c = eof(); 375 if (c == EOF || 376 (c == '\\' && (c = getc(infile)) == EOF)) 377 c = eof(); 398 eof(void) function in typeref:typename:int [all...] |