Home
last modified time | relevance | path

Searched refs:BUF_AND_SIZE (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/tests/net/socket/service/src/
Dmain.c17 #define BUF_AND_SIZE(buf) buf, sizeof(buf) - 1 macro
103 len = send(c_sock_udp, BUF_AND_SIZE(TEST_STR_SMALL), 0); in run_test_service()
111 len = recv(s_sock_udp, BUF_AND_SIZE(buf), 0); in run_test_service()
126 len = send(c_sock_tcp, BUF_AND_SIZE(TEST_STR_SMALL), 0); in run_test_service()
146 len = recv(new_sock, BUF_AND_SIZE(buf), 0); in run_test_service()
/Zephyr-latest/tests/net/socket/select/src/
Dmain.c17 #define BUF_AND_SIZE(buf) buf, sizeof(buf) - 1 macro
122 len = zsock_send(c_sock, BUF_AND_SIZE(TEST_STR_SMALL), 0); in ZTEST_USER()
140 len = zsock_recv(s_sock, BUF_AND_SIZE(buf), 0); in ZTEST_USER()
/Zephyr-latest/tests/net/socket/poll/src/
Dmain.c18 #define BUF_AND_SIZE(buf) buf, sizeof(buf) - 1 macro
89 len = zsock_send(c_sock, BUF_AND_SIZE(TEST_STR_SMALL), 0); in ZTEST()
107 len = zsock_recv(s_sock, BUF_AND_SIZE(buf), 0); in ZTEST()
/Zephyr-latest/tests/net/socket/udp/src/
Dmain.c30 #define BUF_AND_SIZE(buf) buf, sizeof(buf) - 1 macro
99 zassert_mem_equal(rx_buf, BUF_AND_SIZE(TEST_STR_SMALL), "wrong data"); in comm_sendto_recvfrom()
110 zassert_mem_equal(rx_buf, BUF_AND_SIZE(TEST_STR_SMALL), "wrong data"); in comm_sendto_recvfrom()
136 zassert_mem_equal(rx_buf, BUF_AND_SIZE(TEST_STR2), "wrong data"); in comm_sendto_recvfrom()
166 zassert_mem_equal(rx_buf, BUF_AND_SIZE(TEST_STR_SMALL), "wrong data"); in comm_sendto_recvfrom()
312 zassert_mem_equal(buf, BUF_AND_SIZE(TEST_STR_SMALL), "Wrong data"); in ZTEST()
317 zassert_mem_equal(buf, BUF_AND_SIZE(TEST_STR_SMALL), "Wrong data"); in ZTEST()
398 zassert_mem_equal(rx_buf, BUF_AND_SIZE(TEST_STR_SMALL), in comm_sendmsg_recvfrom()
410 zassert_mem_equal(rx_buf, BUF_AND_SIZE(TEST_STR_SMALL), "wrong data"); in comm_sendmsg_recvfrom()
1164 zassert_mem_equal(str_buf, BUF_AND_SIZE(TEST_STR_SMALL), in test_msg_trunc()
[all …]
/Zephyr-latest/tests/net/vlan/src/
Dmain.c89 #define BUF_AND_SIZE(buf) buf, sizeof(buf) - 1 macro