Home
last modified time | relevance | path

Searched refs:POLLIN (Results 1 – 17 of 17) sorted by relevance

/Zephyr-Core-3.4.0/tests/posix/eventfd/src/
D_main.c39 event = POLLIN; in eventfd_poll_unset_common()
46 event = POLLIN; in eventfd_poll_unset_common()
49 zassert_equal(event, POLLIN, "POLLIN not set"); in eventfd_poll_unset_common()
60 event = POLLIN; in eventfd_poll_unset_common()
71 event = POLLIN; in eventfd_poll_set_common()
79 event = POLLIN; in eventfd_poll_set_common()
Dblocking.c46 event = POLLIN; in ZTEST_F()
57 pfd.events = POLLIN; in ZTEST_F()
/Zephyr-Core-3.4.0/tests/net/socket/socketpair/src/
Dpoll.c32 fds[0].events |= POLLIN; in test_socketpair_poll_timeout_common()
121 fds[0].events |= POLLIN; in ZTEST()
133 zassert_equal(fds[0].revents & POLLIN, POLLIN, "POLLIN not set"); in ZTEST()
215 fds[0].events |= POLLIN; in ZTEST_USER()
219 zassert_not_equal(fds[0].revents & POLLIN, 0, "POLLIN not set"); in ZTEST_USER()
225 fds[1].events |= POLLIN; in ZTEST_USER()
230 zassert_not_equal(fds[1].revents & POLLIN, 0, "POLLIN not set"); in ZTEST_USER()
284 fds[0].events |= POLLIN; in ZTEST()
298 zassert_not_equal(fds[0].revents & POLLIN, 0, "POLLIN not set"); in ZTEST()
348 fds[0].events |= POLLIN; in ZTEST_USER()
[all …]
/Zephyr-Core-3.4.0/modules/thrift/src/thrift/server/
DTFDServer.cpp58 .events = POLLIN, in read_virt()
63 .events = POLLIN, in read_virt()
85 if (pollfds[0].revents & POLLIN) { in read_virt()
97 __ASSERT_NO_MSG(pollfds[1].revents & POLLIN); in read_virt()
/Zephyr-Core-3.4.0/tests/net/socket/poll/src/
Dmain.c62 pollfds[0].events = POLLIN; in ZTEST()
64 pollfds[1].events = POLLIN; in ZTEST()
73 zassert_equal(pollfds[0].events, POLLIN, ""); in ZTEST()
76 zassert_equal(pollfds[1].events, POLLIN, ""); in ZTEST()
100 zassert_equal(pollfds[0].events, POLLIN, ""); in ZTEST()
103 zassert_equal(pollfds[1].events, POLLIN, ""); in ZTEST()
104 zassert_equal(pollfds[1].revents, POLLIN, ""); in ZTEST()
/Zephyr-Core-3.4.0/samples/net/sockets/echo_client/src/
Decho-client.c102 fds[nfds].events = POLLIN; in prepare_fds()
108 fds[nfds].events = POLLIN; in prepare_fds()
114 fds[nfds].events = POLLIN; in prepare_fds()
120 fds[nfds].events = POLLIN; in prepare_fds()
/Zephyr-Core-3.4.0/include/zephyr/posix/
Dpoll.h19 #define POLLIN ZSOCK_POLLIN macro
/Zephyr-Core-3.4.0/tests/posix/headers/src/
Dpoll_h.c28 zassert_not_equal(-1, POLLIN); in ZTEST()
/Zephyr-Core-3.4.0/samples/net/sockets/echo_async/src/
Dsocket_echo.c92 pollfds[i].events = POLLIN; in pollfds_add()
192 if (!(pollfds[i].revents & POLLIN)) { in main()
/Zephyr-Core-3.4.0/samples/net/sockets/socketpair/src/
Dmain.c167 fds[i].events = POLLIN; in setup_poll()
190 } else if ((fds[i].revents & POLLIN) != 0) { in handle_poll_events()
/Zephyr-Core-3.4.0/drivers/bluetooth/hci/
Duserchan.c89 struct pollfd pollfd = { .fd = uc_fd, .events = POLLIN }; in uc_ready()
/Zephyr-Core-3.4.0/tests/net/socket/getaddrinfo/src/
Dmain.c119 pollfds[0].events = POLLIN; in process_dns()
121 pollfds[1].events = POLLIN; in process_dns()
131 if (pollfds[idx].revents & POLLIN) { in process_dns()
/Zephyr-Core-3.4.0/subsys/net/lib/coap/
Dcoap_client.c375 fds.events = POLLIN; in handle_poll()
424 if (!(fds.revents & POLLIN)) { in handle_poll()
/Zephyr-Core-3.4.0/include/zephyr/net/
Dsocket.h873 #define POLLIN ZSOCK_POLLIN macro
/Zephyr-Core-3.4.0/samples/net/sockets/coap_client/src/
Dcoap-client.c53 fds[nfds].events = POLLIN; in prepare_fds()
/Zephyr-Core-3.4.0/subsys/mgmt/updatehub/
Dupdatehub.c110 ctx.fds[ctx.nfds].events = POLLIN; in prepare_fds()
/Zephyr-Core-3.4.0/scripts/pylib/twister/twisterlib/
Dhandlers.py730 p.register(in_fp, select.POLLIN)