/haiku/src/system/libroot/posix/glibc/stdio-common/ |
H A D | vfscanf.c | 103 # undef EOF 104 # define EOF WEOF macro 106 # define ungetc(c, s) ((void) ((int) c == EOF \ 111 # define inchar() (c == EOF ? EOF \ 113 (void) (c != EOF && ++read_in), c)) 121 return EOF 146 return done ?: EOF; \ 152 return EOF; \ 158 CHECK_FILE (s, EOF); \ 162 return EOF; \ [all …]
|
/haiku/src/libs/stdc++/legacy/ |
H A D | parsestream.cc | 46 if (c == EOF) in pbackfail() 48 if (seekoff(-1, ios::cur) == EOF) in pbackfail() 49 return EOF; in pbackfail() 66 return EOF; in seekoff() 69 return EOF; in seekoff() 71 return EOF; in seekoff() 97 return EOF; in underflow() 161 if (ch == EOF) in underflow() 177 if (ch != EOF || _line_length > 0) in underflow() 180 return ptr == cur_pos ? EOF : cur_pos[0]; in underflow() [all …]
|
H A D | stdiostream.cc | 78 if (ch == EOF) in sys_read() 116 return EOF; in sync() 119 return EOF; in sync() 125 if (filebuf::overflow(c) == EOF) in overflow() 126 return EOF; in overflow() 127 if (c != EOF) in overflow()
|
H A D | isgetline.cc | 44 if (ch != EOF) in getline() 46 if (ch == EOF) in getline() 57 ch = EOF; in getline() 79 if (_gcount == 0 && ch == EOF) in get() 105 if (ch != EOF) in _sb_readline() 109 if (ch != EOF && ch != terminator) { in _sb_readline()
|
H A D | iostream.cc | 66 if (ch == EOF || !isspace(ch)) in skip_ws() 77 if (ch == EOF) { in get() 96 return EOF; in peek() 100 if (ch == EOF) in peek() 130 if (delim == EOF) { in ignore() 141 if (ch == EOF) { in ignore() 177 return EOF; in sync() 181 return EOF; in sync() 190 if (pos == streampos(EOF)) in seekg() 198 if (pos == streampos(EOF)) in seekg() [all …]
|
H A D | indstream.cc | 59 if (c == EOF) in overflow() 86 if (pbuf && ret_val != EOF) in seekoff() 94 int ret_val = EOF; in seekpos() 103 if (pbuf && ret_val != EOF) in seekpos()
|
H A D | streambuf.cc | 60 { return EOF; } in underflow() 66 { return EOF; } in overflow() 85 if (more == 0 || __underflow(this) == EOF) in ignore() 103 if (sync() == EOF) in setbuf() 231 return EOF; in seekoff() 299 return EOF; in sys_seek() 325 #define BAD_DELTA EOF
|
/haiku/src/system/libroot/posix/glibc/libio/ |
H A D | iosetvbuf.c | 42 CHECK_FILE (fp, EOF); 68 result = EOF; 93 result = EOF; 96 result = _IO_SETBUF (fp, buf, size) == NULL ? EOF : 0;
|
H A D | ioungetc.c | 36 CHECK_FILE (fp, EOF); 37 if (c == EOF) 38 return EOF;
|
H A D | genops.c | 179 if (_IO_OVERFLOW (fp, EOF) == EOF) 180 return EOF; 272 return EOF; /* FIXME */ 330 return EOF; in __underflow() 336 if (_IO_in_put_mode(file) && INTUSE(_IO_switch_to_get_mode)(file) == EOF) in __underflow() 337 return EOF; in __underflow() 350 return EOF; in __underflow() 364 return EOF; in libc_hidden_def() 370 if (_IO_in_put_mode(file) && INTUSE(_IO_switch_to_get_mode)(file) == EOF) in libc_hidden_def() 371 return EOF; in libc_hidden_def() [all …]
|
H A D | iofsetpos64.c | 39 CHECK_FILE (fp, EOF); 51 result = EOF; 66 return EOF;
|
H A D | strops.c | 129 int flush_only = c == EOF; 132 return flush_only ? 0 : EOF; 143 return EOF; 154 return EOF; 201 return EOF; 240 new_pos = EOF; 257 return EOF; 278 return EOF; 292 if ((fp->_flags & _IO_NO_WRITES) && c != EOF) 293 return EOF;
|
H A D | iofgetpos64.c | 40 CHECK_FILE (fp, EOF); 59 return EOF; 69 return EOF;
|
H A D | iofgetpos.c | 40 CHECK_FILE (fp, EOF); 57 result = EOF; 64 result = EOF;
|
H A D | iofflush_u.c | 39 CHECK_FILE (fp, EOF); 40 return _IO_SYNC (fp) ? EOF : 0;
|
H A D | iofputs_u.c | 38 int result = EOF; 39 CHECK_FILE (fp, EOF);
|
H A D | iofputws_u.c | 38 int result = EOF; 39 CHECK_FILE (fp, EOF);
|
H A D | iofputws.c | 37 int result = EOF; 38 CHECK_FILE (fp, EOF);
|
H A D | ioputs.c | 37 int result = EOF; in _IO_puts() 45 && _IO_putc_unlocked('\n', _IO_stdout) != EOF) in _IO_puts()
|
H A D | iofflush.c | 40 CHECK_FILE (fp, EOF); 43 result = _IO_SYNC (fp) ? EOF : 0;
|
H A D | iofputs.c | 37 int result = EOF; 39 CHECK_FILE (fp, EOF);
|
/haiku/src/tools/fs_shell/ |
H A D | fs_shell_command_unix.cpp | 38 if (fputs(command, out) == EOF || fputc('\n', out) == EOF in send_external_command() 39 || fflush(out) == EOF) { in send_external_command()
|
/haiku/src/add-ons/translators/sgi/ |
H A D | SGIImage.cpp | 926 if (_WriteChar(128 | i) == EOF) in _WriteRLE8() 927 return EOF; in _WriteRLE8() 931 if (_WriteChar(*start) == EOF) in _WriteRLE8() 932 return EOF; in _WriteRLE8() 958 if (_WriteChar(i) == EOF) in _WriteRLE8() 959 return EOF; in _WriteRLE8() 962 if (_WriteChar(repeat) == EOF) in _WriteRLE8() 970 if (_WriteChar(0) == EOF) in _WriteRLE8() 971 return EOF; in _WriteRLE8() 1012 if (_WriteShort(128 | i) == EOF) in _WriteRLE16() [all …]
|
/haiku/src/tests/system/benchmarks/ |
H A D | compile_bench.sh | 8 cat << EOF > hello_world.cpp heredoc 18 EOF
|
/haiku/src/tests/system/libroot/posix/ |
H A D | gnulib-test-mbsnrtowcs.c | 185 assert(wctob (buf[0]) == EOF); in main() 186 assert(wctob (buf[1]) == EOF); in main() 221 assert(wctob (wc) == EOF); in main() 250 assert(wctob (buf[0]) == EOF); in main() 251 assert(wctob (buf[1]) == EOF); in main() 306 assert(wctob (buf[0]) == EOF); in main() 307 assert(wctob (buf[1]) == EOF); in main()
|