Home
last modified time | relevance | path

Searched refs:POLLHUP (Results 1 - 25 of 94) sorted by relevance

1234

/third_party/alsa-utils/axfer/
H A Dwaiter-select.c21 # define POLLIN_SET (POLLRDNORM | POLLRDBAND | POLLIN | POLLHUP)
25 # define POLLIN_SET (POLLIN | POLLHUP)
91 pfd->revents |= POLLHUP; in select_wait_event()
/third_party/pulseaudio/src/pulsecore/
H A Dpoll-win32.c185 happened |= POLLHUP; in windows_compute_revents()
222 return POLLHUP; in windows_compute_revents()
229 return POLLHUP; in windows_compute_revents()
278 happened |= POLLHUP; in windows_compute_revents_socket()
309 0-byte recv, and use ioctl(2) to detect POLLHUP. */ in compute_revents()
320 happened |= POLLHUP; in compute_revents()
330 happened |= POLLHUP; in compute_revents()
H A Dpoll.h42 #define POLLHUP 0x010 /* Hung up. */ macro
H A Dpoll-posix.c196 /* support for POLLHUP. An hung up descriptor does not in pa_poll()
202 * 0-byte recv, and use ioctl(2) to detect POLLHUP. */ in pa_poll()
208 f->revents |= POLLHUP; in pa_poll()
214 f->revents |= POLLHUP; in pa_poll()
/third_party/curl/lib/
H A Dselect.c236 if(pfd[num].revents & (POLLRDNORM|POLLIN|POLLERR|POLLHUP)) in Curl_socket_check()
243 if(pfd[num].revents & (POLLRDNORM|POLLIN|POLLERR|POLLHUP)) in Curl_socket_check()
252 if(pfd[num].revents & (POLLERR|POLLHUP|POLLPRI|POLLNVAL)) in Curl_socket_check()
328 if(ufds[i].revents & POLLHUP) in Curl_poll()
H A Dselect.h47 #define POLLHUP 0x10 macro
/third_party/pulseaudio/src/utils/
H A Dpacmd.c289 } else if (watch_stdin->revents & POLLHUP) in main()
309 } else if (watch_socket->revents & POLLHUP) in main()
314 if (watch_stdout->revents & POLLHUP) { in main()
332 if (watch_socket->revents & POLLHUP) { in main()
/third_party/skia/third_party/externals/tint/src/utils/io/
H A Dcommand_posix.cc182 // This is required for getting poll() POLLHUP events. in Exec()
218 if (poll_fds[0].revents & POLLHUP) { in Exec()
227 if (poll_fds[1].revents & POLLHUP) { in Exec()
/third_party/toybox/lib/
H A Dnet.c116 if (len<1) pollfds[i].revents = POLLHUP; in pollinate()
119 if (pollfds[i].revents & POLLHUP) { in pollinate()
/third_party/toybox/toys/other/
H A Dwatch.c144 if (pfd[0].revents&POLLHUP) xexit(); in watch_main()
147 if (pfd[1].revents&POLLHUP) active = 0; in watch_main()
/third_party/libwebsockets/include/libwebsockets/
H A Dlws-freertos.h56 #define POLLHUP 0x0010 macro
/third_party/musl/porting/uniproton/kernel/include/
H A Dpoll.h16 #define POLLHUP 0x010 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dpoll.h16 #define POLLHUP 0x010 macro
/third_party/musl/porting/linux/user/include/
H A Dpoll.h16 #define POLLHUP 0x010 macro
/third_party/musl/porting/liteos_m/kernel/include/
H A Dpoll.h16 #define POLLHUP 0x010 macro
/third_party/musl/libc-test/src/api/
H A Dpoll.c22 C(POLLHUP) in f()
/third_party/musl/porting/liteos_a/kernel/include/
H A Dpoll.h16 #define POLLHUP 0x010 macro
/third_party/musl/porting/liteos_a_newlib/kernel/include/
H A Dpoll.h16 #define POLLHUP 0x010 macro
/third_party/musl/include/
H A Dpoll.h16 #define POLLHUP 0x010 macro
/third_party/alsa-lib/aserver/
H A Daserver.c353 pfd.events = POLLHUP; in shm_ack()
368 pfd.events = POLLHUP; in shm_ack_fd()
820 if (events & POLLHUP) { in client_ctrl_handler()
843 if (events & POLLHUP) in inet_pending_handler()
876 add_waiter(client->ctrl_fd, POLLIN | POLLHUP, client_ctrl_handler, client); in inet_pending_handler()
877 add_waiter(client->poll_fd, POLLHUP, client_poll_handler, client); in inet_pending_handler()
900 add_waiter(sock, POLLIN | POLLHUP, client_ctrl_handler, client); in local_handler()
/third_party/rust/crates/libc/src/unix/newlib/arm/
H A Dmod.rs41 pub const POLLHUP: ::c_short = 0x4; consts
/third_party/rust/crates/libc/src/unix/newlib/aarch64/
H A Dmod.rs41 pub const POLLHUP: ::c_short = 0x10; consts
/third_party/rust/crates/rustix/src/backend/linux_raw/io/
H A Dpoll_fd.rs25 /// `POLLHUP`
26 const HUP = linux_raw_sys::general::POLLHUP as u16;
/third_party/node/test/wasi/c/
H A Dpoll.c61 // with revents = POLLHUP | POLLIN, except on AIX whose poll() does not in main()
62 // support POLLHUP. in main()
70 assert(fds[0].revents == (POLLHUP | POLLIN)); in main()
/third_party/rust/crates/rustix/src/backend/libc/io/
H A Dpoll_fd.rs37 /// `POLLHUP`
38 const HUP = c::POLLHUP;

Completed in 9 milliseconds

1234