Searched refs:recved (Results 1 – 3 of 3) sorted by relevance
/Zephyr-Core-3.7.0/tests/net/socket/udp/src/ |
D | main.c | 68 ssize_t recved = 0; in comm_sendto_recvfrom() local 94 recved = zsock_recvfrom(server_sock, rx_buf, sizeof(rx_buf), in comm_sendto_recvfrom() 96 zassert_true(recved >= 0, "recvfrom fail"); in comm_sendto_recvfrom() 97 zassert_equal(recved, strlen(TEST_STR_SMALL), in comm_sendto_recvfrom() 105 recved = zsock_recvfrom(server_sock, rx_buf, sizeof(rx_buf), in comm_sendto_recvfrom() 107 zassert_true(recved >= 0, "recvfrom fail"); in comm_sendto_recvfrom() 108 zassert_equal(recved, strlen(TEST_STR_SMALL), in comm_sendto_recvfrom() 131 recved = zsock_recvfrom(client_sock, rx_buf, sizeof(rx_buf), in comm_sendto_recvfrom() 133 zassert_true(recved >= 0, "recvfrom fail"); in comm_sendto_recvfrom() 134 zassert_equal(recved, STRLEN(TEST_STR2), in comm_sendto_recvfrom() [all …]
|
/Zephyr-Core-3.7.0/tests/net/socket/tcp/src/ |
D | main.c | 105 ssize_t recved = 0; in test_recv() local 108 recved = zsock_recv(sock, rx_buf, sizeof(rx_buf), flags); in test_recv() 109 zassert_equal(recved, in test_recv() 122 ssize_t recved = 0; in test_recvfrom() local 125 recved = zsock_recvfrom(sock, rx_buf, sizeof(rx_buf), flags, addr, addrlen); in test_recvfrom() 126 zassert_equal(recved, in test_recvfrom() 140 ssize_t recved; in test_recvmsg() local 142 recved = zsock_recvmsg(sock, msg, flags); in test_recvmsg() 144 zassert_equal(recved, expected, in test_recvmsg() 146 line, recved, expected); in test_recvmsg() [all …]
|
/Zephyr-Core-3.7.0/tests/net/socket/tls/src/ |
D | main.c | 187 ssize_t recved; in test_eof() local 190 recved = zsock_recv(sock, rx_buf, sizeof(rx_buf), 0); in test_eof() 191 zassert_equal(recved, 0, ""); in test_eof() 194 recved = zsock_recv(sock, rx_buf, sizeof(rx_buf), ZSOCK_MSG_DONTWAIT); in test_eof() 195 zassert_equal(recved, 0, ""); in test_eof() 199 recved = zsock_recv(sock, rx_buf, sizeof(rx_buf), ZSOCK_MSG_DONTWAIT); in test_eof() 200 zassert_equal(recved, 0, ""); in test_eof()
|