/bionic/tests/ |
D | fdtrack_test.cpp | 46 static std::vector<android_fdtrack_event> events; in FdtrackRun() local 47 events.clear(); in FdtrackRun() 51 events.push_back(*event); in FdtrackRun() 69 return std::move(events); in FdtrackRun() 87 auto events = FdtrackRun([]() { close(fd); }); in TEST() local 88 ASSERT_EQ(1U, events.size()); in TEST() 89 ASSERT_EQ(fd, events[0].fd); in TEST() 90 ASSERT_EQ(ANDROID_FDTRACK_EVENT_TYPE_CLOSE, events[0].type); in TEST() 100 auto events = FdtrackRun([]() { in TEST() local 115 ASSERT_EQ(2U, events.size()); in TEST() [all …]
|
D | sys_epoll_test.cpp | 30 epoll_event events[1]; in TEST() local 33 ASSERT_EQ(0, epoll_wait(epoll_fd, events, 1, 1)); in TEST() 36 ASSERT_EQ(0, epoll_pwait(epoll_fd, events, 1, 1, nullptr)); in TEST() 40 ASSERT_EQ(0, epoll_pwait64(epoll_fd, events, 1, 1, nullptr)); in TEST() 47 ASSERT_EQ(0, epoll_pwait(epoll_fd, events, 1, 1, &ss)); in TEST() 67 ev.events = EPOLLIN; in TEST() 75 epoll_event events[1]; in TEST() local 76 ASSERT_EQ(1, epoll_wait(epoll_fd, events, 1, 1)); in TEST() 77 ASSERT_EQ(expected, events[0].data.u64); in TEST()
|
/bionic/libc/bionic/ |
D | sys_epoll.cpp | 50 int epoll_pwait(int fd, epoll_event* events, int max_events, int timeout, const sigset_t* ss) { in epoll_pwait() argument 58 return epoll_pwait64(fd, events, max_events, timeout, ss_ptr); in epoll_pwait() 61 int epoll_pwait64(int fd, epoll_event* events, int max_events, int timeout, const sigset64_t* ss) { in epoll_pwait64() argument 62 return __epoll_pwait(fd, events, max_events, timeout, ss, sizeof(*ss)); in epoll_pwait64() 65 int epoll_wait(int fd, struct epoll_event* events, int max_events, int timeout) { in epoll_wait() argument 66 return epoll_pwait64(fd, events, max_events, timeout, nullptr); in epoll_wait()
|
D | system_property_set.cpp | 198 pollfds[0].events = 0; in send_prop_msg()
|
/bionic/libc/kernel/uapi/linux/ |
D | vboxguest.h | 108 __u32 events; member 111 __u32 events; member
|
D | thermal.h | 25 enum events { enum
|
D | fuse.h | 414 uint32_t events; member
|
/bionic/libc/include/bits/ |
D | epoll_event.h | 49 uint32_t events; member
|
/bionic/libc/kernel/uapi/asm-generic/ |
D | poll.h | 48 short events; member
|
/bionic/tests/headers/posix/ |
D | poll_h.c | 36 STRUCT_MEMBER(struct pollfd, short, events); in poll_h()
|
/bionic/libc/kernel/uapi/asm-x86/asm/ |
D | kvm.h | 315 struct kvm_vcpu_events events; member 359 __u64 events[0]; member
|
/bionic/libc/ |
D | SECCOMP_WHITELIST_APP.TXT | 21 int epoll_wait:epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout) lp32
|
D | SECCOMP_WHITELIST_COMMON.TXT | 43 int io_getevents(aio_context_t ctx, long min_nr, long max_nr, struct io_event *events, struct times…
|
/bionic/libc/kernel/uapi/drm/ |
D | vc4_drm.h | 227 __u8 events[DRM_VC4_MAX_PERF_COUNTERS]; member
|
/bionic/libc/dns/resolv/ |
D | res_send.c | 152 static int retrying_poll(const int sock, short events, const struct timespec* finish); 1018 retrying_poll(const int sock, const short events, const struct timespec* finish) { in retrying_poll() argument 1031 struct pollfd fds = { .fd = sock, .events = events }; in retrying_poll()
|
/bionic/libc/kernel/uapi/linux/raid/ |
D | md_p.h | 166 __le64 events; member
|
/bionic/libc/kernel/uapi/sound/ |
D | asequencer.h | 315 int events; member
|
/bionic/libc/malloc_debug/tests/ |
D | malloc_debug_system_tests.cpp | 105 struct pollfd read_fd = {.fd = fds[0], .events = POLLIN}; in Exec()
|