Searched refs:g_srvMsg (Results 1 - 2 of 2) sorted by relevance
/test/xts/acts/communication_lite/lwip_posix/src/ |
H A D | ActsLwipTest.cpp | 35 static const char* g_srvMsg = "Hi, I am TCP server"; variable 184 unsigned int srvMsgLen = strlen(g_srvMsg); in SampleTcpServerTask() 186 ret = strcpy_s(buf, BUF_SIZE, g_srvMsg); in SampleTcpServerTask() 205 ret = strcpy_s(buf, BUF_SIZE, g_srvMsg); in SampleTcpServerTask() 283 EXPECT_EQ(strlen(g_srvMsg), (unsigned int)ret); in SampleTcpClientTask() 319 EXPECT_EQ(len * strlen(g_srvMsg), (unsigned int)ret); in SampleTcpClientTask() 1079 ret = send(fdFail, nullptr, strlen(g_srvMsg), 0); in HWTEST_F() 1081 ret = send(fdSuccess, nullptr, strlen(g_srvMsg), 0); in HWTEST_F() 1084 ret = sendto(fdFail, nullptr, strlen(g_srvMsg), 0, nullptr, (socklen_t)sizeof(struct sockaddr_in)); in HWTEST_F() 1086 ret = sendto(fdSuccess, nullptr, strlen(g_srvMsg), in HWTEST_F() [all...] |
/test/xts/acts/kernel_lite/net_posix/src/ |
H A D | ActsNetTest.cpp | 46 static const char* g_srvMsg = "Hi, this is TCP server"; variable 206 unsigned int srvMsgLen = strlen(g_srvMsg); in SampleTcpServerTask() 209 ret = strcpy_s(buf, BUF_SIZE, g_srvMsg); in SampleTcpServerTask() 230 ret = strcpy_s(buf, BUF_SIZE, g_srvMsg); in SampleTcpServerTask() 319 EXPECT_EQ(strlen(g_srvMsg), (unsigned int)ret); in SampleTcpClientTask() 358 if (len * strlen(g_srvMsg) == (unsigned int)ret && ret >= 0) { in SampleTcpClientTask() 2220 ret = send(fdFail, nullptr, strlen(g_srvMsg), 0); in HWTEST_F() 2222 ret = send(fdSuccess, nullptr, strlen(g_srvMsg), 0); in HWTEST_F() 2225 ret = sendto(fdFail, nullptr, strlen(g_srvMsg), 0, nullptr, (socklen_t)sizeof(struct sockaddr_in)); in HWTEST_F() 2227 ret = sendto(fdSuccess, nullptr, strlen(g_srvMsg), in HWTEST_F() [all...] |
Completed in 6 milliseconds