Lines Matching full:poll

33 	zassert_equal(res, 0, "poll: expected: 0 actual: %d", res);  in test_socketpair_poll_timeout_common()
44 zassert_equal(res, 0, "poll: expected: 0 actual: %d", res); in test_socketpair_poll_timeout_common()
52 /* O_NONBLOCK should have no affect on poll(2) */
87 * - close remote fd while the local fd is blocking in poll. r: 1,
89 * - close remote fd while the local fd is blocking in poll. r: 1,
99 * poll until there are bytes to read. in ZTEST_F()
116 zassert_equal(res, 1, "poll() failed: %d", res); in ZTEST_F()
129 * Fill up the remote q and then poll until write space is available. in ZTEST_F()
154 zassert_equal(res, 1, "poll() failed: %d", res); in ZTEST_F()
164 * - even with a timeout value of 0 us, poll should return immediately with
166 * - even with a timeout value of 0us, poll should return immediately with
178 zassert_not_equal(res, -1, "poll() failed: %d", errno); in ZTEST_USER_F()
179 zassert_equal(res, 1, "poll(): expected: 1 actual: %d", res); in ZTEST_USER_F()
190 zassert_not_equal(res, -1, "poll() failed: %d", errno); in ZTEST_USER_F()
191 zassert_equal(res, 1, "poll(): expected: 1 actual: %d", res); in ZTEST_USER_F()
200 zassert_not_equal(res, -1, "poll() failed: %d", errno); in ZTEST_USER_F()
201 zassert_equal(res, 2, "poll(): expected: 1 actual: %d", res); in ZTEST_USER_F()
239 * - say there is a timeout value of 5 s, poll should return immediately
261 zassert_not_equal(res, -1, "poll() failed: %d", errno); in ZTEST_F()
262 zassert_equal(res, 1, "poll(): expected: 1 actual: %d", res); in ZTEST_F()
284 zassert_not_equal(res, -1, "poll() failed: %d", errno); in ZTEST_F()
285 zassert_equal(res, 1, "poll(): expected: 1 actual: %d", res); in ZTEST_F()
293 * if the poll was called after the data was written
307 zassert_not_equal(res, -1, "poll failed: %d", errno); in ZTEST_USER_F()
308 zassert_equal(res, 0, "poll: expected: 0 actual: %d", res); in ZTEST_USER_F()
320 zassert_not_equal(res, -1, "poll failed: %d", errno); in ZTEST_USER_F()
321 zassert_equal(res, 1, "poll: expected: 1 actual: %d", res); in ZTEST_USER_F()
325 zassert_true(delta < 100, "poll did not exit immediately"); in ZTEST_USER_F()
334 zassert_not_equal(res, -1, "poll failed: %d", errno); in ZTEST_USER_F()
335 zassert_equal(res, 0, "poll: expected: 0 actual: %d", res); in ZTEST_USER_F()
359 zassert_not_equal(res, -1, "poll failed: %d", errno); in ZTEST_USER_F()
360 zassert_equal(res, 1, "poll: expected: 1 actual: %d", res); in ZTEST_USER_F()
364 zassert_true(delta < 100, "poll did not exit immediately"); in ZTEST_USER_F()
376 zassert_not_equal(res, -1, "poll failed: %d", errno); in ZTEST_USER_F()
377 zassert_equal(res, 0, "poll: expected: 0 actual: %d", res); in ZTEST_USER_F()
389 zassert_not_equal(res, -1, "poll failed: %d", errno); in ZTEST_USER_F()
390 zassert_equal(res, 1, "poll: expected: 1 actual: %d", res); in ZTEST_USER_F()
394 zassert_true(delta < 100, "poll did not exit immediately"); in ZTEST_USER_F()