Home
last modified time | relevance | path

Searched refs:pollfd (Results 1 – 17 of 17) 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* _Nullable, nfds_t, int, size_t) __INTRODUCED_IN(23);
34 int __ppoll_chk(struct pollfd* _Nullable, nfds_t, const struct timespec* _Nullable, const sigset_t*…
35 int __ppoll64_chk(struct pollfd* _Nullable, nfds_t, const struct timespec* _Nullable, const sigset6…
43 int poll(struct pollfd* _Nullable const fds __pass_object_size, nfds_t fd_count, int timeout) in poll()
58 int ppoll(struct pollfd* _Nullable const fds __pass_object_size, nfds_t fd_count, const struct time… in ppoll()
74 int ppoll64(struct pollfd* _Nullable const fds __pass_object_size, nfds_t fd_count, const struct ti… in ppoll64()
/bionic/libc/include/
Dpoll.h52 int poll(struct pollfd* _Nullable __fds, nfds_t __count, int __timeout_ms);
62 int ppoll(struct pollfd* _Nullable __fds, nfds_t __count, const struct timespec* _Nullable __timeou…
67 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()
57 int ppoll64(pollfd* fds, nfds_t fd_count, const timespec* ts, const sigset64_t* ss) { in ppoll64()
Dfortify.cpp158 int __poll_chk(pollfd* fds, nfds_t fd_count, int timeout, size_t fds_size) { in __poll_chk()
163 int __ppoll_chk(pollfd* fds, nfds_t fd_count, const timespec* timeout, in __ppoll_chk()
169 int __ppoll64_chk(pollfd* fds, nfds_t fd_count, const timespec* timeout, in __ppoll64_chk()
Dsystem_property_set.cpp209 pollfd pollfds[1]; in send_prop_msg()
/bionic/libc/kernel/uapi/asm-generic/
Dpoll.h34 struct pollfd { struct
/bionic/tests/
Dclang_fortify_tests.cpp414 struct pollfd poll_fd = { pipe_fds[0], POLLRDHUP, 0 }; in FORTIFY_TEST()
416 struct pollfd few_fds[] = { poll_fd, poll_fd }; in FORTIFY_TEST()
427 struct pollfd few[2]; in FORTIFY_TEST()
428 struct pollfd extra[1]; in FORTIFY_TEST()
430 static_assert(sizeof(fds) >= sizeof(struct pollfd) * 3, ""); in FORTIFY_TEST()
Dfortify_test.cpp998 pollfd buf[1] = {{0, POLLIN, 0}}; in TEST_F()
1005 pollfd buf[1] = {{0, POLLIN, 0}}; in TEST_F()
1015 pollfd buf[1] = {{0, POLLIN, 0}}; in TEST_F()
/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.TXT75 int ppoll_time64(pollfd*, unsigned int, timespec64*, const sigset64_t*, size_t) lp32
DSYSCALLS.TXT341 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.cpp291 struct pollfd read_fd = {.fd = fds[0], .events = POLLIN}; in InternalExec()
/bionic/docs/
Dclang_fortify_anatomy.md579 int poll(struct pollfd* const fds __attribute__((pass_object_size(1))), nfds_t fd_count, int timeou…
599 - When `fds` is too small to hold `fd_count` `pollfd`s, Clang will emit a
608 int poll(struct pollfd* const fds __attribute__((pass_object_size(1))), nfds_t fd_count, int timeou…
/bionic/libc/dns/resolv/
Dres_send.c1028 struct pollfd fds = { .fd = sock, .events = events }; in retrying_poll()