Searched refs:fdSuccess (Results 1 – 3 of 3) sorted by relevance
/test/xts/acts/communication_lite/lwip_hal/src/ |
D | lwip_func_test.c | 1014 int fdSuccess = -1; variable 1018 fdSuccess = socket(AF_INET, SOCK_STREAM, 0); 1019 TEST_ASSERT_NOT_EQUAL(LWIP_TEST_FAIL, fdSuccess); 1023 ret = bind(fdSuccess, NULL, sizeof(struct sockaddr_in)); 1028 ret = connect(fdSuccess, NULL, sizeof(struct sockaddr)); 1033 ret = accept(fdSuccess, NULL, NULL); 1038 ret = getsockname(fdSuccess, NULL, NULL); 1043 ret = getpeername(fdSuccess, NULL, NULL); 1048 ret = send(fdSuccess, NULL, strlen(SRV_MSG), 0); 1053 ret = sendto(fdSuccess, NULL, strlen(SRV_MSG), 0, NULL, (socklen_t)sizeof(struct sockaddr_in)); [all …]
|
/test/xts/acts/communication_lite/lwip_posix/src/ |
D | ActsLwipTest.cpp | 1047 int fdSuccess = -1; variable 1051 fdSuccess = socket(AF_INET, SOCK_STREAM, 0); 1052 EXPECT_NE(-1, fdSuccess); 1056 ret = ::bind(fdSuccess, nullptr, sizeof(struct sockaddr_in)); 1061 ret = connect(fdSuccess, nullptr, sizeof(struct sockaddr)); 1066 ret = accept(fdSuccess, nullptr, nullptr); 1071 ret = getsockname(fdSuccess, nullptr, nullptr); 1076 ret = getpeername(fdSuccess, nullptr, nullptr); 1081 ret = send(fdSuccess, nullptr, strlen(g_srvMsg), 0); 1086 …ret = sendto(fdSuccess, nullptr, strlen(g_srvMsg), 0, nullptr, (socklen_t)sizeof(struct sockaddr_i… [all …]
|
/test/xts/acts/kernel_lite/net_posix/src/ |
D | ActsNetTest.cpp | 2188 int fdSuccess = -1; variable 2192 fdSuccess = socket(AF_INET, SOCK_STREAM, 0); 2193 EXPECT_NE(fdSuccess, -1); 2197 ret = ::bind(fdSuccess, nullptr, sizeof(struct sockaddr_in)); 2202 ret = connect(fdSuccess, nullptr, sizeof(struct sockaddr)); 2207 ret = accept(fdSuccess, nullptr, nullptr); 2212 ret = getsockname(fdSuccess, nullptr, nullptr); 2217 ret = getpeername(fdSuccess, nullptr, nullptr); 2222 ret = send(fdSuccess, nullptr, strlen(g_srvMsg), 0); 2227 …ret = sendto(fdSuccess, nullptr, strlen(g_srvMsg), 0, nullptr, (socklen_t)sizeof(struct sockaddr_i… [all …]
|