Searched refs:usend (Results 1 – 1 of 1) sorted by relevance
| /src/tests/sys/kern/ |
| H A D | socket_accf.c | 83 usend(int s, const void *msg, size_t len) in usend() function 110 ATF_REQUIRE(usend(s, "foo", sizeof("foo")) == sizeof("foo")); in ATF_TC_BODY() 136 ATF_REQUIRE(usend(s, "foo", sizeof("foo")) == sizeof("foo")); in ATF_TC_BODY() 148 ATF_REQUIRE(usend(s, CHUNK1, LEN(CHUNK1)) == LEN(CHUNK1)); in ATF_TC_BODY() 153 ATF_REQUIRE(usend(s, CHUNK2, LEN(CHUNK2)) == LEN(CHUNK2)); in ATF_TC_BODY() 179 ATF_REQUIRE(usend(s, "foo", sizeof("foo")) == sizeof("foo")); in ATF_TC_BODY() 183 ATF_REQUIRE(usend(s, "bar", sizeof("bar")) == sizeof("bar")); in ATF_TC_BODY() 200 ATF_REQUIRE(usend(s, &header, sizeof(header)) == sizeof(header)); in ATF_TC_BODY() 211 ATF_REQUIRE(usend(s, buf, len) == (ssize_t)len); in ATF_TC_BODY()
|