/bionic/tests/ |
D | fdtrack_test.cpp | 48 void DumpEvent(std::vector<android_fdtrack_event>* events, size_t index) { in DumpEvent() argument 49 auto& event = (*events)[index]; in DumpEvent() 67 static std::vector<android_fdtrack_event> events; in FdtrackRun() local 68 events.clear(); in FdtrackRun() 71 android_fdtrack_hook_t hook = [](android_fdtrack_event* event) { events.push_back(*event); }; in FdtrackRun() 91 while (i + 1 < events.size()) { in FdtrackRun() 92 auto& event = events[i]; in FdtrackRun() 94 for (size_t j = i + 1; j < events.size(); ++j) { in FdtrackRun() 95 if (event.fd == events[j].fd) { in FdtrackRun() 96 if (events[j].type == ANDROID_FDTRACK_EVENT_TYPE_CREATE) { in FdtrackRun() [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/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/linux/ |
D | vboxguest.h | 108 __u32 events; member 111 __u32 events; member
|
D | fuse.h | 422 uint32_t events; member
|
/bionic/libc/kernel/uapi/asm-x86/asm/ |
D | kvm.h | 333 struct kvm_vcpu_events events; member 391 __u64 events[0]; member
|
/bionic/libc/ |
D | SECCOMP_ALLOWLIST_APP.TXT | 21 int epoll_wait:epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout) lp32
|
D | SECCOMP_ALLOWLIST_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/kernel/uapi/linux/raid/ |
D | md_p.h | 166 __le64 events; 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/sound/ |
D | asequencer.h | 315 int events; member
|
/bionic/docs/ |
D | fdtrack.md | 15 called at any point in order to start capturing events, but be sure to properly
|
/bionic/libc/malloc_debug/tests/ |
D | malloc_debug_system_tests.cpp | 106 struct pollfd read_fd = {.fd = fds[0], .events = POLLIN}; in Exec()
|