Searched refs:EOF (Results 101 - 123 of 123) sorted by relevance

12345

/haiku/src/bin/network/ftpd/
H A Dftpcmd.y1224 while ((c = getc(iop)) != EOF) {
1227 if ((c = getc(iop)) == EOF)
1233 if ((c = getc(iop)) == EOF)
1240 if ((c = getc(iop)) == EOF)
1259 while (c != '\n' && (c = getc(iop)) != EOF)
1268 if (c == EOF && cs == s)
1654 while((c=getc(fin)) != EOF) {
/haiku/src/bin/unzip/
H A Dfunzip.c433 while ((g = getc(G.in)) != 0 && g != EOF) ;
435 while ((g = getc(G.in)) != 0 && g != EOF) ;
H A Dttyio.c254 * (returns EOF in case of errors)
265 return EOF;
282 /* return the first char read, or EOF in case the read request failed */
283 return (int)(((status&1) == 1) ? (uch)kbbuf[0] : EOF);
H A Dapi.c416 return EOF;
H A Dfileio.c558 int readbyte(__G) /* refill inbuf and return a byte if available, else EOF */
562 return EOF;
566 return EOF;
571 return EOF;
H A Dinflate.c83 G. Roelofs check NEXTBYTE macro for EOF.
85 EOF check.
626 if(c==EOF){retval=1;goto cleanup_and_exit;}\
H A Dinflatef.c384 if(c==EOF){retval=1;goto cleanup_and_exit;}\
H A Dextract.c932 *pfilnum, "EOF", request));
957 LoadFarString(OffsetMsg), *pfilnum, "EOF", request));
1452 while ((b = NEXTBYTE) != EOF) {
H A Dunzpriv.h1428 #define CTRLZ 26 /* DOS & OS/2 EOF marker (used in fileio.c, vms.c) */
2132 * (char *)(sprintf sprf_arg, (buf))) == EOF)
2204 while (G.bits_left<=8*(int)(sizeof(G.bitbuf)-1) && (temp=NEXTBYTE)!=EOF) {\
2217 * (temp = NEXTBYTE) != EOF) {
/haiku/src/apps/codycam/
H A DFtpClient.cpp479 if (c == EOF || c == xEOF || c == '\n') {
505 case EOF:
/haiku/src/bin/
H A Dclipboard.cpp243 while ((c = fgetc(stdin)) != EOF) {
/haiku/src/system/libroot/posix/glibc/stdio-common/
H A Dprintf_size.c55 if (putc (outc, fp) == EOF) \
H A Dvfprintf.c103 # undef EOF macro
104 # define EOF WEOF macro
124 if (__flshfp (S, EOF) == EOF) \
166 if (PUTC (outc, s) == EOF) \
1277 return EOF;
2218 if (fflush (s) == EOF)
H A Dprintf_fphex.c64 if (putc (outc, fp) == EOF) \
H A Dprintf_fp.c75 if (putc (outc, fp) == EOF) \
/haiku/headers/cpp/std/
H A Dbastring.cc443 if (ch == EOF)
486 if (ch == EOF)
/haiku/src/system/libroot/posix/glibc/libio/
H A Dstdio.h123 #ifndef EOF
124 # define EOF (-1) macro
472 null terminator), or -1 on error or EOF. */
586 /* Clear the error and EOF indicators for STREAM. */
588 /* Return the EOF indicator for STREAM. */
H A DlibioP.h154 The second argument is a character, or EOF.
161 It returns the next character (as an unsigned char) or EOF. The next
170 EOF is returned on failure.
757 #ifndef EOF
758 # define EOF (-1) macro
852 /* _IO_pos_BAD is an _IO_off64_t value indicating error, unknown, or EOF. */
/haiku/src/kits/mail/
H A Dmail_util.cpp852 if ((c = fgetc(file)) == EOF) {
859 // some text already read in. If the first thing read was EOF,
886 c = fgetc(file); // Note it's OK to read EOF and ungetc it too.
941 // some text already read in. If the first thing read was EOF,
1027 // already read in. If the first thing read was EOF, just return
/haiku/headers/private/fs_shell/
H A Dfssh_api_wrapper.h1339 #define EOF FSSH_EOF macro
/haiku/src/bin/mail_utils/
H A Dspamdbm.cpp2213 Letter = EOF; // Usually a negative number.
2221 if (Letter < 0 /* EOF is -1 */ ||
5237 CharVar = EOF; \
5254 that Letter can become EOF (-1) when end of file is reached. */
5282 if (NextNextLetter != EOF &&
5309 if (Letter < 0 /* EOF */ || (Letter < 128 && g_SpaceCharacters[Letter]))
5337 if (Letter == EOF)
/haiku/src/bin/network/traceroute/
H A Dtraceroute.c591 while ((op = getopt(argc, argv, "aA:edDFInrSvxf:g:i:M:m:P:p:q:s:t:w:z:")) != EOF)
/haiku/src/add-ons/translators/raw/
H A DRAW.cpp525 while ((c = fRead.Next<uint8>()) && c != EOF) {
2315 } while (c != EOF && mark >> 4 != 0xffd);

Completed in 299 milliseconds

12345