Home
last modified time | relevance | path

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

/bionic/tests/
Dfdtrack_test.cpp46 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 …]
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/kernel/uapi/linux/
Dvboxguest.h108 __u32 events; member
111 __u32 events; member
Dthermal.h25 enum events { enum
Dfuse.h414 uint32_t events; member
/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/asm-x86/asm/
Dkvm.h315 struct kvm_vcpu_events events; member
359 __u64 events[0]; member
/bionic/libc/
DSECCOMP_WHITELIST_APP.TXT21 int epoll_wait:epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout) lp32
DSECCOMP_WHITELIST_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/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/linux/raid/
Dmd_p.h166 __le64 events; member
/bionic/libc/kernel/uapi/sound/
Dasequencer.h315 int events; member
/bionic/libc/malloc_debug/tests/
Dmalloc_debug_system_tests.cpp105 struct pollfd read_fd = {.fd = fds[0], .events = POLLIN}; in Exec()