Home
last modified time | relevance | path

Searched refs:g_udpMsg (Results 1 - 2 of 2) sorted by relevance

/test/xts/acts/communication_lite/lwip_posix/src/
H A DActsLwipTest.cpp34 static const char* g_udpMsg = "Hi, I am UDP"; variable
554 ret = strcpy_s(buf, BUF_SIZE, g_udpMsg); in HWTEST_F()
556 ret = sendto(sfd, buf, strlen(g_udpMsg), 0, (struct sockaddr*)&clnAddr, (socklen_t)sizeof(clnAddr)); in HWTEST_F()
561 EXPECT_EQ(strlen(g_udpMsg), (unsigned int)ret); in HWTEST_F()
567 ret = strcpy_s(buf, BUF_SIZE, g_udpMsg); in HWTEST_F()
574 iov[0].iov_len = strlen(g_udpMsg); in HWTEST_F()
576 iov[1].iov_len = strlen(g_udpMsg); in HWTEST_F()
578 EXPECT_EQ(len*strlen(g_udpMsg), (unsigned int)ret); in HWTEST_F()
/test/xts/acts/kernel_lite/net_posix/src/
H A DActsNetTest.cpp45 static const char* g_udpMsg = "Hi, this is UDP"; variable
780 ret = strcpy_s(buf, BUF_SIZE, g_udpMsg); in HWTEST_F()
782 ret = sendto(sfd, buf, strlen(g_udpMsg), 0, (struct sockaddr*)&clnAddr, (socklen_t)sizeof(clnAddr)); in HWTEST_F()
788 EXPECT_EQ(strlen(g_udpMsg), (unsigned int)ret); in HWTEST_F()
795 ret = strcpy_s(buf, BUF_SIZE, g_udpMsg); in HWTEST_F()
802 iov[0].iov_len = strlen(g_udpMsg); in HWTEST_F()
804 iov[1].iov_len = strlen(g_udpMsg); in HWTEST_F()
806 EXPECT_EQ(len*strlen(g_udpMsg), (unsigned int)ret); in HWTEST_F()

Completed in 7 milliseconds