Home
last modified time | relevance | path

Searched refs:events (Results 1 – 18 of 18) sorted by relevance

/bionic/tests/
Dfdtrack_test.cpp48 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 …]
Dsys_epoll_test.cpp30 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/
Dsys_epoll.cpp50 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()
Dsystem_property_set.cpp198 pollfds[0].events = 0; in send_prop_msg()
/bionic/libc/include/bits/
Depoll_event.h49 uint32_t events; member
/bionic/libc/kernel/uapi/asm-generic/
Dpoll.h48 short events; member
/bionic/tests/headers/posix/
Dpoll_h.c36 STRUCT_MEMBER(struct pollfd, short, events); in poll_h()
/bionic/libc/kernel/uapi/linux/
Dvboxguest.h108 __u32 events; member
111 __u32 events; member
Dfuse.h422 uint32_t events; member
/bionic/libc/kernel/uapi/asm-x86/asm/
Dkvm.h333 struct kvm_vcpu_events events; member
391 __u64 events[0]; member
/bionic/libc/
DSECCOMP_ALLOWLIST_APP.TXT21 int epoll_wait:epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout) lp32
DSECCOMP_ALLOWLIST_COMMON.TXT43 int io_getevents(aio_context_t ctx, long min_nr, long max_nr, struct io_event *events, struct times…
/bionic/libc/kernel/uapi/drm/
Dvc4_drm.h227 __u8 events[DRM_VC4_MAX_PERF_COUNTERS]; member
/bionic/libc/kernel/uapi/linux/raid/
Dmd_p.h166 __le64 events; member
/bionic/libc/dns/resolv/
Dres_send.c152 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/
Dasequencer.h315 int events; member
/bionic/docs/
Dfdtrack.md15 called at any point in order to start capturing events, but be sure to properly
/bionic/libc/malloc_debug/tests/
Dmalloc_debug_system_tests.cpp106 struct pollfd read_fd = {.fd = fds[0], .events = POLLIN}; in Exec()