Lines Matching refs:TEST_STR_SMALL

18 #define TEST_STR_SMALL "test"  macro
110 strlen(TEST_STR_SMALL), in test_recv()
112 zassert_equal(strncmp(rx_buf, TEST_STR_SMALL, strlen(TEST_STR_SMALL)), in test_recv()
127 strlen(TEST_STR_SMALL), in test_recvfrom()
129 zassert_equal(strncmp(rx_buf, TEST_STR_SMALL, strlen(TEST_STR_SMALL)), in test_recvfrom()
248 test_send(c_sock, TEST_STR_SMALL, strlen(TEST_STR_SMALL), 0); in ZTEST_USER()
283 test_send(c_sock, TEST_STR_SMALL, strlen(TEST_STR_SMALL), 0); in ZTEST_USER()
525 test_send(c_sock, TEST_STR_SMALL, strlen(TEST_STR_SMALL), 0); in ZTEST()
541 test_send(c_sock, TEST_STR_SMALL, strlen(TEST_STR_SMALL), 0); in ZTEST()
596 test_sendto(c_sock, TEST_STR_SMALL, strlen(TEST_STR_SMALL), 0, in ZTEST_USER()
633 test_sendto(c_sock, TEST_STR_SMALL, strlen(TEST_STR_SMALL), 0, in ZTEST_USER()
670 test_sendto(c_sock, TEST_STR_SMALL, strlen(TEST_STR_SMALL), 0, in ZTEST_USER()
703 test_sendto(c_sock, TEST_STR_SMALL, strlen(TEST_STR_SMALL), 0, in ZTEST_USER()
728 #define SMALL_BUF_LEN (sizeof(TEST_STR_SMALL) - 1 - 2) in ZTEST_USER()
743 test_sendto(c_sock, TEST_STR_SMALL, strlen(TEST_STR_SMALL), 0, in ZTEST_USER()
759 test_recvmsg(new_sock, &msg, ZSOCK_MSG_PEEK, strlen(TEST_STR_SMALL), in ZTEST_USER()
761 zassert_mem_equal(buf, TEST_STR_SMALL, strlen(TEST_STR_SMALL), in ZTEST_USER()
776 test_recvmsg(new_sock, &msg, 0, strlen(TEST_STR_SMALL), __LINE__); in ZTEST_USER()
777 zassert_mem_equal(msg.msg_iov[0].iov_base, TEST_STR_SMALL, msg.msg_iov[0].iov_len, in ZTEST_USER()
779 zassert_mem_equal(msg.msg_iov[1].iov_base, &TEST_STR_SMALL[msg.msg_iov[0].iov_len], in ZTEST_USER()
1371 char tx_buf[] = TEST_STR_SMALL; in ZTEST()
1372 int buf_optval = sizeof(TEST_STR_SMALL); in ZTEST()
1460 char tx_buf[] = TEST_STR_SMALL; in ZTEST()
1461 int buf_optval = sizeof(TEST_STR_SMALL); in ZTEST()
1644 char tx_buf[] = TEST_STR_SMALL; in ZTEST()
1645 int buf_optval = sizeof(TEST_STR_SMALL); in ZTEST()
1705 char tx_buf[] = TEST_STR_SMALL; in ZTEST()
1706 int buf_optval = sizeof(TEST_STR_SMALL); in ZTEST()
1780 .data = TEST_STR_SMALL, in ZTEST()
1790 uint8_t rx_buf[sizeof(TEST_STR_SMALL) - 1] = { 0 }; in ZTEST()
1820 zassert_mem_equal(rx_buf, TEST_STR_SMALL, sizeof(rx_buf), in ZTEST()
1844 zassert_mem_equal(rx_buf, TEST_STR_SMALL, sizeof(rx_buf) - 1, in ZTEST()
1858 .data = TEST_STR_SMALL, in ZTEST()
1868 uint8_t rx_buf[sizeof(TEST_STR_SMALL) - 1] = { 0 }; in ZTEST()
1897 zassert_mem_equal(rx_buf, TEST_STR_SMALL, sizeof(rx_buf), in ZTEST()
1918 zassert_mem_equal(rx_buf, TEST_STR_SMALL, sizeof(rx_buf) - 1, in ZTEST()