Home
last modified time | relevance | path

Searched refs:pollfd (Results 1 – 16 of 16) sorted by relevance

/bionic/tests/headers/posix/
Dpoll_h.c34 TYPE(struct pollfd); in poll_h()
35 STRUCT_MEMBER(struct pollfd, int, fd); in poll_h()
36 STRUCT_MEMBER(struct pollfd, short, events); in poll_h()
37 STRUCT_MEMBER(struct pollfd, short, revents); in poll_h()
52 FUNCTION(poll, int (*f)(struct pollfd[], nfds_t, int)); in poll_h()
/bionic/libc/include/bits/fortify/
Dpoll.h33 int __poll_chk(struct pollfd*, nfds_t, int, size_t) __INTRODUCED_IN(23);
34 int __ppoll_chk(struct pollfd*, nfds_t, const struct timespec*, const sigset_t*, size_t) __INTRODUC…
35 int __ppoll64_chk(struct pollfd*, nfds_t, const struct timespec*, const sigset64_t*, size_t) __INTR…
43 int poll(struct pollfd* const fds __pass_object_size, nfds_t fd_count, int timeout) in poll()
59 int ppoll(struct pollfd* const fds __pass_object_size, nfds_t fd_count, const struct timespec* time… in ppoll()
76 int ppoll64(struct pollfd* const fds __pass_object_size, nfds_t fd_count, const struct timespec* ti… in ppoll64()
/bionic/libc/include/
Dpoll.h52 int poll(struct pollfd* _Nullable __fds, nfds_t __count, int __timeout_ms);
64 int ppoll(struct pollfd* _Nullable __fds, nfds_t __count, const struct timespec* _Nullable __timeou…
69 int ppoll64(struct pollfd* _Nullable __fds, nfds_t __count, const struct timespec* _Nullable __tim…
/bionic/libc/bionic/
Dpoll.cpp38 extern "C" int __ppoll(pollfd*, unsigned int, timespec*, const sigset64_t*, size_t);
41 int poll(pollfd* fds, nfds_t fd_count, int ms) { in poll()
51 int ppoll(pollfd* fds, nfds_t fd_count, const timespec* ts, const sigset_t* ss) { in ppoll()
63 int ppoll64(pollfd* fds, nfds_t fd_count, const timespec* ts, const sigset64_t* ss) { in ppoll64()
Dfortify.cpp161 int __poll_chk(pollfd* fds, nfds_t fd_count, int timeout, size_t fds_size) { in __poll_chk()
166 int __ppoll_chk(pollfd* fds, nfds_t fd_count, const timespec* timeout, in __ppoll_chk()
172 int __ppoll64_chk(pollfd* fds, nfds_t fd_count, const timespec* timeout, in __ppoll64_chk()
Dsystem_property_set.cpp196 pollfd pollfds[1]; in send_prop_msg()
/bionic/tests/
Dclang_fortify_tests.cpp437 struct pollfd poll_fd = { pipe_fds[0], POLLRDHUP, 0 }; in FORTIFY_TEST()
439 struct pollfd few_fds[] = { poll_fd, poll_fd }; in FORTIFY_TEST()
450 struct pollfd few[2]; in FORTIFY_TEST()
451 struct pollfd extra[1]; in FORTIFY_TEST()
453 static_assert(sizeof(fds) >= sizeof(struct pollfd) * 3, ""); in FORTIFY_TEST()
Dfortify_test.cpp995 pollfd buf[1] = {{0, POLLIN, 0}}; in TEST_F()
1002 pollfd buf[1] = {{0, POLLIN, 0}}; in TEST_F()
1012 pollfd buf[1] = {{0, POLLIN, 0}}; in TEST_F()
/bionic/libc/kernel/uapi/asm-generic/
Dpoll.h46 struct pollfd { struct
/bionic/libc/private/
Dbionic_fortify.h67 size_t pollfd_array_length = fds_size / sizeof(pollfd); in __check_pollfd_array()
/bionic/libc/
DSECCOMP_ALLOWLIST_APP.TXT36 int poll:poll(struct pollfd *fds, nfds_t nfds, int timeout) lp32
DSECCOMP_ALLOWLIST_COMMON.TXT69 int ppoll_time64(pollfd*, unsigned int, timespec64*, const sigset64_t*, size_t) lp32
DSYSCALLS.TXT325 int __ppoll:ppoll(pollfd*, unsigned int, timespec*, const sigset64_t*, size_t) all
/bionic/libc/upstream-netbsd/lib/libc/isc/
Deventlib_p.h234 struct pollfd *pollfds; /* Allocated as needed */
/bionic/libc/malloc_debug/tests/
Dmalloc_debug_system_tests.cpp105 struct pollfd read_fd = {.fd = fds[0], .events = POLLIN}; in Exec()
/bionic/libc/dns/resolv/
Dres_send.c1029 struct pollfd fds = { .fd = sock, .events = events }; in retrying_poll()