Lines Matching refs:xResult

157     BaseType_t xResult;  in test_FreeRTOS_inet_pton4()  local
161 xResult = FreeRTOS_inet_pton4( pucValidString1, &ulIPAddress ); in test_FreeRTOS_inet_pton4()
162 TEST_ASSERT_EQUAL( pdPASS, xResult ); in test_FreeRTOS_inet_pton4()
166 xResult = FreeRTOS_inet_pton4( pucValidString2, &ulIPAddress ); in test_FreeRTOS_inet_pton4()
167 TEST_ASSERT_EQUAL( pdPASS, xResult ); in test_FreeRTOS_inet_pton4()
171 xResult = FreeRTOS_inet_pton4( pucValidString3, &ulIPAddress ); in test_FreeRTOS_inet_pton4()
172 TEST_ASSERT_EQUAL( pdPASS, xResult ); in test_FreeRTOS_inet_pton4()
176 xResult = FreeRTOS_inet_pton4( pucValidString4, &ulIPAddress ); in test_FreeRTOS_inet_pton4()
177 TEST_ASSERT_EQUAL( pdPASS, xResult ); in test_FreeRTOS_inet_pton4()
181 xResult = FreeRTOS_inet_pton4( pucValidString5, &ulIPAddress ); in test_FreeRTOS_inet_pton4()
182 TEST_ASSERT_EQUAL( pdPASS, xResult ); in test_FreeRTOS_inet_pton4()
187 xResult = FreeRTOS_inet_pton4( pucInvalidString1, &ulIPAddress ); in test_FreeRTOS_inet_pton4()
188 TEST_ASSERT_EQUAL( pdFAIL, xResult ); in test_FreeRTOS_inet_pton4()
192 xResult = FreeRTOS_inet_pton4( pucInvalidString2, &ulIPAddress ); in test_FreeRTOS_inet_pton4()
193 TEST_ASSERT_EQUAL( pdFAIL, xResult ); in test_FreeRTOS_inet_pton4()
197 xResult = FreeRTOS_inet_pton4( pucInvalidString3, &ulIPAddress ); in test_FreeRTOS_inet_pton4()
198 TEST_ASSERT_EQUAL( pdFAIL, xResult ); in test_FreeRTOS_inet_pton4()
202 xResult = FreeRTOS_inet_pton4( pucInvalidString4, &ulIPAddress ); in test_FreeRTOS_inet_pton4()
203 TEST_ASSERT_EQUAL( pdFAIL, xResult ); in test_FreeRTOS_inet_pton4()
207 xResult = FreeRTOS_inet_pton4( pucInvalidString5, &ulIPAddress ); in test_FreeRTOS_inet_pton4()
208 TEST_ASSERT_EQUAL( pdFAIL, xResult ); in test_FreeRTOS_inet_pton4()
212 xResult = FreeRTOS_inet_pton4( pucInvalidString6, &ulIPAddress ); in test_FreeRTOS_inet_pton4()
213 TEST_ASSERT_EQUAL( pdFAIL, xResult ); in test_FreeRTOS_inet_pton4()
217 xResult = FreeRTOS_inet_pton4( pucInvalidString7, &ulIPAddress ); in test_FreeRTOS_inet_pton4()
218 TEST_ASSERT_EQUAL( pdFAIL, xResult ); in test_FreeRTOS_inet_pton4()
222 xResult = FreeRTOS_inet_pton4( pucInvalidString8, &ulIPAddress ); in test_FreeRTOS_inet_pton4()
223 TEST_ASSERT_EQUAL( pdFAIL, xResult ); in test_FreeRTOS_inet_pton4()
2636 BaseType_t xResult; in test_FreeRTOS_connect_SocketValuesNULL() local
2643 xResult = FreeRTOS_connect( &xSocket, &xAddress, xAddressLength ); in test_FreeRTOS_connect_SocketValuesNULL()
2645 TEST_ASSERT_EQUAL( -pdFREERTOS_ERRNO_EBADF, xResult ); in test_FreeRTOS_connect_SocketValuesNULL()
2653 BaseType_t xResult; in test_FreeRTOS_connect_InvalidValues() local
2662 xResult = FreeRTOS_connect( &xSocket, &xAddress, xAddressLength ); in test_FreeRTOS_connect_InvalidValues()
2663 TEST_ASSERT_EQUAL( -pdFREERTOS_ERRNO_EBADF, xResult ); in test_FreeRTOS_connect_InvalidValues()
2671 xResult = FreeRTOS_connect( &xSocket, &xAddress, xAddressLength ); in test_FreeRTOS_connect_InvalidValues()
2672 TEST_ASSERT_EQUAL( -pdFREERTOS_ERRNO_ECANCELED, xResult ); in test_FreeRTOS_connect_InvalidValues()
2675 xResult = FreeRTOS_connect( NULL, &xAddress, xAddressLength ); in test_FreeRTOS_connect_InvalidValues()
2676 TEST_ASSERT_EQUAL( -pdFREERTOS_ERRNO_EBADF, xResult ); in test_FreeRTOS_connect_InvalidValues()
2679 xResult = FreeRTOS_connect( &xSocket, NULL, xAddressLength ); in test_FreeRTOS_connect_InvalidValues()
2680 TEST_ASSERT_EQUAL( -pdFREERTOS_ERRNO_EINVAL, xResult ); in test_FreeRTOS_connect_InvalidValues()
2688 BaseType_t xResult; in test_FreeRTOS_connect_NonBlocking() local
2701 xResult = FreeRTOS_connect( &xSocket, &xAddress, xAddressLength ); in test_FreeRTOS_connect_NonBlocking()
2703 TEST_ASSERT_EQUAL( -pdFREERTOS_ERRNO_EWOULDBLOCK, xResult ); in test_FreeRTOS_connect_NonBlocking()
2711 BaseType_t xResult; in test_FreeRTOS_connect_Timeout() local
2737 xResult = FreeRTOS_connect( &xSocket, &xAddress, xAddressLength ); in test_FreeRTOS_connect_Timeout()
2739 TEST_ASSERT_EQUAL( -pdFREERTOS_ERRNO_ETIMEDOUT, xResult ); in test_FreeRTOS_connect_Timeout()
2747 BaseType_t xResult; in test_FreeRTOS_connect_SocketClosed() local
2770 xResult = FreeRTOS_connect( &xSocket, &xAddress, xAddressLength ); in test_FreeRTOS_connect_SocketClosed()
2772 TEST_ASSERT_EQUAL( -pdFREERTOS_ERRNO_ENOTCONN, xResult ); in test_FreeRTOS_connect_SocketClosed()
2780 BaseType_t xResult; in test_FreeRTOS_connect_Connected() local
2801 xResult = FreeRTOS_connect( &xGlobalSocket, &xAddress, xAddressLength ); in test_FreeRTOS_connect_Connected()
2803 TEST_ASSERT_EQUAL( 0, xResult ); in test_FreeRTOS_connect_Connected()