Lines Matching +full:poll +full:- +full:timeout +full:- +full:ms
4 * SPDX-License-Identifier: Apache-2.0
18 #define BUF_AND_SIZE(buf) buf, sizeof(buf) - 1
19 #define STRLEN(buf) (sizeof(buf) - 1)
29 /* On QEMU, poll() which waits takes +10ms from the requested time. */
66 /* Poll non-ready fd's with timeout of 0 */ in ZTEST()
69 zassert_true(k_uptime_get_32() - tstamp <= FUZZ, ""); in ZTEST()
80 /* Poll non-ready fd's with timeout of 30 */ in ZTEST()
83 tstamp = k_uptime_get_32() - tstamp; in ZTEST()
88 /* Send pkt for s_sock and poll with timeout of 10 */ in ZTEST()
94 tstamp = k_uptime_get_32() - tstamp; in ZTEST()
106 /* Recv pkt from s_sock and ensure no poll events happen */ in ZTEST()
112 zassert_true(k_uptime_get_32() - tstamp <= FUZZ, ""); in ZTEST()
127 zassert_true(k_uptime_get_32() - tstamp < 100, ""); in ZTEST()
149 zassert_true(k_uptime_get_32() - tstamp < 100, ""); in ZTEST()
165 zassert_true(k_uptime_get_32() - tstamp <= FUZZ, ""); in ZTEST()