/openbsd/lib/libsndio/ |
H A D | sio.c | 86 hdl->eof = 0; in _sio_create() 104 if (hdl->eof) { in sio_start() 110 hdl->eof = 1; in sio_start() 140 hdl->eof = 1; in sio_stop() 162 hdl->eof = 1; in sio_flush() 184 hdl->eof = 1; in sio_setpar() 189 hdl->eof = 1; in sio_setpar() 211 hdl->eof = 1; in sio_getpar() 231 hdl->eof = 1; in sio_getcap() 394 if (hdl->eof) in sio_pollfd() [all …]
|
H A D | mio.c | 73 hdl->eof = 0; in _mio_create() 92 hdl->eof = 1; in mio_psleep() 101 hdl->eof = 1; in mio_psleep() 122 if (hdl->eof) { in mio_read() 128 hdl->eof = 1; in mio_read() 133 if (n == 0 && hdl->eof) in mio_read() 152 if (hdl->eof) { in mio_write() 158 hdl->eof = 1; in mio_write() 185 if (hdl->eof) in mio_pollfd() 193 if (hdl->eof) in mio_revents() [all …]
|
H A D | aucat.c | 60 *eof = 1; in _aucat_rmsg() 67 *eof = 1; in _aucat_rmsg() 106 *eof = 1; in _aucat_wmsg() 138 *eof = 1; in _aucat_rdata() 145 *eof = 1; in _aucat_rdata() 178 if (!_aucat_wmsg(hdl, eof)) in _aucat_wdata() 191 *eof = 1; in _aucat_wdata() 414 int eof; in _aucat_open() local 497 if (!_aucat_wmsg(hdl, &eof)) in _aucat_open() 534 if (!eof) { in _aucat_close() [all …]
|
H A D | mio_aucat.c | 65 if (!_aucat_rmsg(&hdl->aucat, &hdl->mio.eof)) in mio_aucat_runmsg() 79 hdl->mio.eof = 1; in mio_aucat_runmsg() 98 if (!_aucat_setfl(&hdl->aucat, 1, &hdl->mio.eof)) in _mio_aucat_open() 111 if (!hdl->mio.eof) in mio_aucat_close() 112 _aucat_setfl(&hdl->aucat, 0, &hdl->mio.eof); in mio_aucat_close() 113 _aucat_close(&hdl->aucat, hdl->mio.eof); in mio_aucat_close() 126 return _aucat_rdata(&hdl->aucat, buf, len, &hdl->mio.eof); in mio_aucat_read() 139 n = _aucat_wdata(&hdl->aucat, buf, len, 1, &hdl->mio.eof); in mio_aucat_write() 179 if (hdl->mio.eof) in mio_aucat_revents()
|
H A D | sioctl_aucat.c | 74 &hdl->sioctl.eof); in sioctl_aucat_rdata() 75 if (n == 0 || hdl->sioctl.eof) in sioctl_aucat_rdata() 110 if (!_aucat_rmsg(&hdl->aucat, &hdl->sioctl.eof)) in sioctl_aucat_runmsg() 132 hdl->sioctl.eof = 1; in sioctl_aucat_runmsg() 165 if (!hdl->sioctl.eof) in sioctl_aucat_close() 166 _aucat_setfl(&hdl->aucat, 0, &hdl->sioctl.eof); in sioctl_aucat_close() 167 _aucat_close(&hdl->aucat, hdl->sioctl.eof); in sioctl_aucat_close() 185 if (!_aucat_wmsg(&hdl->aucat, &hdl->sioctl.eof)) in sioctl_aucat_ondesc() 212 if (!_aucat_wmsg(&hdl->aucat, &hdl->sioctl.eof)) in sioctl_aucat_onval() 228 if (_aucat_wmsg(&hdl->aucat, &hdl->sioctl.eof)) in sioctl_aucat_setctl() [all …]
|
H A D | sio_aucat.c | 90 if (!_aucat_rmsg(&hdl->aucat, &hdl->sio.eof)) in sio_aucat_runmsg() 97 hdl->sio.eof = 1; in sio_aucat_runmsg() 131 hdl->sio.eof = 1; in sio_aucat_runmsg() 179 if (!hdl->sio.eof && hdl->sio.started) in sio_aucat_close() 181 _aucat_close(&hdl->aucat, hdl->sio.eof); in sio_aucat_close() 200 if (!_aucat_wmsg(&hdl->aucat, &hdl->sio.eof)) in sio_aucat_start() 247 if (!_aucat_wmsg(&hdl->aucat, &hdl->sio.eof)) in sio_aucat_drain() 300 if (!_aucat_wmsg(&hdl->aucat, &hdl->sio.eof)) in sio_aucat_setpar() 313 if (!_aucat_wmsg(&hdl->aucat, &hdl->sio.eof)) in sio_aucat_getpar() 320 hdl->sio.eof = 1; in sio_aucat_getpar() [all …]
|
/openbsd/games/boggle/boggle/ |
H A D | help.c | 45 int eof, i; in help() local 55 eof = 0; in help() 58 eof = 1; /* Nothing there... */ in help() 61 while (!eof) { in help() 64 eof = 1; in help() 71 if (eof || ungetc(getc(fp), fp) == EOF) { in help() 72 eof = 1; in help() 85 if (eof) { in help()
|
/openbsd/regress/lib/libevent/ |
H A D | Makefile | 3 REGRESS_TARGETS= run-regress run-test-eof run-test-init run-test-time 13 CLEANFILES= event_regress test-eof test-init test-time test-weof 22 run-test-eof: test-eof 23 EVENT_NOPOLL=1 EVENT_NOSELECT=1 ./test-eof 24 EVENT_NOKQUEUE=1 EVENT_NOSELECT=1 ./test-eof 25 EVENT_NOKQUEUE=1 EVENT_NOPOLL=1 ./test-eof
|
/openbsd/gnu/usr.bin/perl/t/io/ |
H A D | tell.t | 18 ok(!eof(TST), "eof is false after open() non-empty file"); 25 if (eof) {$x++;} 31 ok(eof, "tell() doesn't change current state of eof"); 35 ok(!eof, "reset at beginning of file clears eof flag"); 43 ok(!eof($TST), "it doesn't set eof flag"); 51 ok(eof, "it sets eof flag"); 181 eof $fh; 183 eof *$fh; 193 print "ok" if eof;
|
/openbsd/gnu/usr.bin/perl/dist/IO/t/ |
H A D | io_tell.t | 23 if ($tst->eof) { print "not ok 1\n"; } else { print "ok 1\n"; } 30 if (eof) {$x++;} 36 unless (eof) { print "not ok 3\n"; } else { print "ok 3\n"; } 40 if (eof) { print "not ok 5\n"; } else { print "ok 5\n"; } 48 if ($tst->eof) { print "not ok 9\n"; } else { print "ok 9\n"; } 56 unless (eof) { print "not ok 13\n"; } else { print "ok 13\n"; }
|
/openbsd/usr.sbin/cron/ |
H A D | entry.c | 126 goto eof; in load_entry() 199 goto eof; in load_entry() 207 goto eof; in load_entry() 216 goto eof; in load_entry() 228 goto eof; in load_entry() 275 goto eof; in load_entry() 299 goto eof; in load_entry() 308 goto eof; in load_entry() 405 goto eof; in load_entry() 412 goto eof; in load_entry() [all …]
|
/openbsd/gnu/llvm/libcxx/include/ |
H A D | __std_stream | 73 __last_consumed_(traits_type::eof()), 113 __last_consumed_ = traits_type::eof(); 124 return traits_type::eof(); 147 return traits_type::eof(); 157 return traits_type::eof(); 169 return traits_type::eof(); 208 return traits_type::eof(); 212 return traits_type::eof(); 272 return traits_type::eof(); 288 return traits_type::eof(); [all …]
|
/openbsd/gnu/lib/libreadline/examples/ |
H A D | readlinebuf.h | 54 static const int_type eof = EOF; // this is -1 variable 99 else return eof; in underflow() 104 if ( c != eof ) ++low_; in uflow() 108 virtual int_type pbackfail( int_type c = eof ) { 110 else if ( c != eof ) { 117 } else return eof; 124 } else return eof;
|
/openbsd/gnu/lib/libstdc++/libstdc++/testsuite/27_io/ |
H A D | streambuf_members.cc | 67 pub_overflow(int_type __c = traits_type::eof()) in pub_overflow() 86 int_type __retval = traits_type::eof(); in underflow() 121 VERIFY( buf01.sgetc() == traits_type::eof() ); in test01() 131 VERIFY( traits_type::eof() == buf01.pub_overflow() ); in test01() 263 return traits_type::eof(); in overflow() 349 overflow(int_type c = traits_type::eof()) in overflow() 447 int_type eof = traits_type::eof(); in overflow() local 451 if (traits_type::eq_int_type(c, eof)) in overflow() 459 return eof; in overflow() 480 return traits_type::eof(); in underflow() [all …]
|
/openbsd/lib/libcrypto/evp/ |
H A D | evp_encode.c | 269 eof++; in EVP_DecodeUpdate() 271 eof++; in EVP_DecodeUpdate() 289 eof++; in EVP_DecodeUpdate() 290 } else if (eof > 0 && B64_BASE64(v)) { in EVP_DecodeUpdate() 296 if (eof > 2) { in EVP_DecodeUpdate() 326 if (decoded_len < 0 || eof > decoded_len) { in EVP_DecodeUpdate() 330 ret += decoded_len - eof; in EVP_DecodeUpdate() 331 out += decoded_len - eof; in EVP_DecodeUpdate() 346 if (decoded_len < 0 || eof > decoded_len) { in EVP_DecodeUpdate() 350 ret += (decoded_len - eof); in EVP_DecodeUpdate() [all …]
|
/openbsd/gnu/lib/libstdc++/libstdc++/include/bits/ |
H A D | streambuf_iterator.h | 74 : _M_sbuf(0), _M_c(traits_type::eof()) { } in istreambuf_iterator() 77 : _M_sbuf(__s.rdbuf()), _M_c(traits_type::eof()) { } in throw() 80 : _M_sbuf(__s), _M_c(traits_type::eof()) { } in throw() 90 const int_type __eof = traits_type::eof(); 101 const int_type __eof = traits_type::eof(); 118 const int_type __eof = traits_type::eof(); in equal() 129 const int_type __eof = traits_type::eof(); in _M_get() 181 _Traits::eq_int_type(_M_sbuf->sputc(__c), _Traits::eof()))
|
/openbsd/gnu/gcc/libstdc++-v3/include/ext/ |
H A D | stdio_sync_filebuf.h | 72 : _M_file(__f), _M_unget_buf(traits_type::eof()) in _GLIBCXX_BEGIN_NAMESPACE() 111 pbackfail(int_type __c = traits_type::eof()) in _GLIBCXX_BEGIN_NAMESPACE() 114 const int_type __eof = traits_type::eof(); in _GLIBCXX_BEGIN_NAMESPACE() 136 overflow(int_type __c = traits_type::eof()) in _GLIBCXX_BEGIN_NAMESPACE() 139 if (traits_type::eq_int_type(__c, traits_type::eof())) in _GLIBCXX_BEGIN_NAMESPACE() 142 __ret = traits_type::eof(); in _GLIBCXX_BEGIN_NAMESPACE() 210 _M_unget_buf = traits_type::eof(); in xsgetn() 240 const int_type __eof = traits_type::eof(); in xsgetn() 253 _M_unget_buf = traits_type::eof(); in xsgetn() 263 const int_type __eof = traits_type::eof(); in xsputn()
|
/openbsd/regress/lib/libssl/record/ |
H A D | recordtest.c | 71 uint8_t eof; member 80 if (rs->eof) in read_cb() 101 if (ws->eof) in write_cb() 118 int eof; member 211 .eof = 1, 220 .eof = 1, 233 .eof = 1, 342 .eof = 1, 358 .eof = 1, 386 rs.eof = rrt->rt[i].eof; in test_record_recv() [all …]
|
/openbsd/gnu/usr.bin/perl/t/cmd/ |
H A D | subval.t | 132 eof F ? print "not ok $i\n" : print "ok $i\n"; 140 eof F ? print "not ok $i\n" : print "ok $i\n"; 149 eof UNIQ ? print "(not ok $i)\n" : print "ok $i\n"; 159 eof F ? print "not ok $main::i\n" : print "ok $main::i\n"; 167 eof F ? print "not ok $main::i\n" : print "ok $main::i\n"; 175 eof UNIQ ? print "not ok $main::i\n" : print "ok $main::i\n";
|
/openbsd/gnu/lib/libreadline/ |
H A D | callback.c | 101 int eof; in rl_callback_read_char() local 109 eof = readline_internal_char (); in rl_callback_read_char() 116 line = readline_internal_teardown (eof); in rl_callback_read_char() 135 eof = readline_internal_char (); in rl_callback_read_char()
|
/openbsd/gnu/gcc/libstdc++-v3/include/bits/ |
H A D | streambuf_iterator.h | 96 : _M_sbuf(0), _M_c(traits_type::eof()) { } in _GLIBCXX_BEGIN_NAMESPACE() 100 : _M_sbuf(__s.rdbuf()), _M_c(traits_type::eof()) { } in _GLIBCXX_BEGIN_NAMESPACE() 104 : _M_sbuf(__s), _M_c(traits_type::eof()) { } in _GLIBCXX_BEGIN_NAMESPACE() 132 _M_c = traits_type::eof(); in _GLIBCXX_BEGIN_NAMESPACE() 149 _M_c = traits_type::eof(); in _GLIBCXX_BEGIN_NAMESPACE() 170 const int_type __eof = traits_type::eof(); in _GLIBCXX_BEGIN_NAMESPACE() 188 const int_type __eof = traits_type::eof(); in _GLIBCXX_BEGIN_NAMESPACE() 244 _Traits::eq_int_type(_M_sbuf->sputc(__c), _Traits::eof())) 337 while (!traits_type::eq_int_type(__c, traits_type::eof())) in __copy_aux() 373 while (!traits_type::eq_int_type(__c, traits_type::eof()) in find() [all …]
|
/openbsd/gnu/usr.bin/perl/t/op/ |
H A D | while.t | 26 ok(!eof && /vt100/); 36 ok(eof && !/vt100/ && !$bad); 50 ok(eof && !$bad); 63 ok(!eof && /vt100/); 77 ok(eof && !/vt100/ && !$bad); 95 ok(eof && !$bad);
|
/openbsd/gnu/usr.bin/perl/cpan/Win32API-File/t/ |
H A D | tie.t | 46 my $eof = eof $fh; 47 ok(! $eof, 'not eof'); 55 $eof = eof $fh; 56 ok($eof, 'reached eof');
|
/openbsd/gnu/usr.bin/perl/cpan/JSON-PP/t/ |
H A D | 022_comment_at_eof.t | 43 is( decoder( "" ), 'undef', 'eof baseline' ); 44 is( decoder( " " ), 'undef', 'space ignored before eof' ); 45 is( decoder( "\n" ), 'undef', 'newline ignored before eof' ); 46 is( decoder( "#,foo\n" ), 'undef', 'comment ignored before eof' ); 47 is( decoder( "# []o\n" ), 'undef', 'comment ignored before eof' );
|
/openbsd/gnu/usr.bin/perl/lib/Tie/Handle/ |
H A D | stdhandle.t | 46 ok(!eof($f), "!eof"); 55 ok(!eof($f), "eof"); 63 ok(!eof($f), "eof"); 86 ok(eof($f), "eof");
|