Lines Matching full:fixture
13 res = zsock_close(fixture->sv[i]); in ZTEST_USER_F()
14 zassert_equal(res, 0, "close(fixture->sv[%u]) failed: %d", i, errno); in ZTEST_USER_F()
15 fixture->sv[i] = -1; in ZTEST_USER_F()
17 res = zsock_send(fixture->sv[(!i) & 1], "x", 1, 0); in ZTEST_USER_F()
22 res = zsock_close(fixture->sv[(!i) & 1]); in ZTEST_USER_F()
23 zassert_equal(res, 0, "close(fixture->sv[%u]) failed: %d", i, errno); in ZTEST_USER_F()
24 fixture->sv[(!i) & 1] = -1; in ZTEST_USER_F()
26 res = zsock_socketpair(AF_UNIX, SOCK_STREAM, 0, fixture->sv); in ZTEST_USER_F()
42 res = zsock_send(fixture->sv[i], "xx", 2, 0); in ZTEST_USER_F()
46 res = zsock_close(fixture->sv[i]); in ZTEST_USER_F()
47 zassert_equal(res, 0, "close(fixture->sv[%u]) failed: %d", i, errno); in ZTEST_USER_F()
48 fixture->sv[i] = -1; in ZTEST_USER_F()
51 res = zsock_recv(fixture->sv[(!i) & 1], xx, sizeof(xx), 0); in ZTEST_USER_F()
56 res = zsock_recv(fixture->sv[(!i) & 1], xx, sizeof(xx), 0); in ZTEST_USER_F()
59 res = zsock_close(fixture->sv[(!i) & 1]); in ZTEST_USER_F()
60 zassert_equal(res, 0, "close(fixture->sv[%u]) failed: %d", i, errno); in ZTEST_USER_F()
61 fixture->sv[(!i) & 1] = -1; in ZTEST_USER_F()
63 res = zsock_socketpair(AF_UNIX, SOCK_STREAM, 0, fixture->sv); in ZTEST_USER_F()