Home
last modified time | relevance | path

Searched refs:test_str (Results 1 – 3 of 3) sorted by relevance

/tools/testing/selftests/net/
Dtls.c87 char const *test_str = "test_read"; in TEST_F() local
91 ASSERT_EQ(strlen(test_str) + 1, send_len); in TEST_F()
93 EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len); in TEST_F()
95 EXPECT_EQ(memcmp(buf, test_str, send_len), 0); in TEST_F()
198 char const *test_str = "test_send"; in TEST_F() local
199 int to_send = strlen(test_str) + 1; in TEST_F()
208 EXPECT_EQ(send(self->fd, test_str, to_send, 0), to_send); in TEST_F()
210 EXPECT_EQ(memcmp(test_str, recv_buf, to_send), 0); in TEST_F()
287 char const *test_str = "test_read"; in TEST_F() local
291 send_len = strlen(test_str) + 1; in TEST_F()
[all …]
/tools/testing/selftests/bpf/prog_tests/
Dcls_redirect.c203 static int test_str(void *buf, size_t len, const struct test_cfg *test, in test_str() function
405 test_str(tmp, sizeof(tmp), test, tuple->family); in test_cls_redirect_common()
/tools/lib/traceevent/
Dparse-filter.c1749 static int test_str(struct tep_event *event, struct tep_filter_arg *arg, in test_str() function
1824 return test_str(event, arg, record, err); in test_filter()