Lines Matching refs:xResult

1467     BaseType_t xResult;  in FreeRTOS_closesocket()  local
1481 xResult = 0; in FreeRTOS_closesocket()
1517 xResult = -1; in FreeRTOS_closesocket()
1521 xResult = 1; in FreeRTOS_closesocket()
1525 return xResult; in FreeRTOS_closesocket()
2402 BaseType_t xResult; in FreeRTOS_inet_pton() local
2408 xResult = FreeRTOS_inet_pton4( pcSource, pvDestination ); in FreeRTOS_inet_pton()
2412 xResult = -pdFREERTOS_ERRNO_EAFNOSUPPORT; in FreeRTOS_inet_pton()
2416 return xResult; in FreeRTOS_inet_pton()
2618 BaseType_t xResult = pdFALSE; in FreeRTOS_EUI48_pton() local
2665 xResult = pdTRUE; in FreeRTOS_EUI48_pton()
2677 return xResult; in FreeRTOS_EUI48_pton()
2698 BaseType_t xResult = pdPASS; in FreeRTOS_inet_pton4() local
2716 xResult = pdFAIL; in FreeRTOS_inet_pton4()
2741 xResult = pdFAIL; in FreeRTOS_inet_pton4()
2747 xResult = pdFAIL; in FreeRTOS_inet_pton4()
2758 xResult = pdFAIL; in FreeRTOS_inet_pton4()
2768 if( xResult == pdFAIL ) in FreeRTOS_inet_pton4()
2778 xResult = pdFAIL; in FreeRTOS_inet_pton4()
2784 xResult = pdFAIL; in FreeRTOS_inet_pton4()
2787 if( xResult == pdPASS ) in FreeRTOS_inet_pton4()
2797 if( xResult == pdPASS ) in FreeRTOS_inet_pton4()
2803 return xResult; in FreeRTOS_inet_pton4()
2953 BaseType_t xResult; in bMayConnect() local
2961 xResult = 0; in bMayConnect()
2965 xResult = -pdFREERTOS_ERRNO_EINPROGRESS; in bMayConnect()
2978 xResult = -pdFREERTOS_ERRNO_EAGAIN; in bMayConnect()
2982 return xResult; in bMayConnect()
3003 BaseType_t xResult = 0; in prvTCPConnectStart() local
3008 xResult = -pdFREERTOS_ERRNO_EINVAL; in prvTCPConnectStart()
3013 xResult = -pdFREERTOS_ERRNO_EBADF; in prvTCPConnectStart()
3018 xResult = -pdFREERTOS_ERRNO_EISCONN; in prvTCPConnectStart()
3024 xResult = FreeRTOS_bind( pxSocket, NULL, 0U ); in prvTCPConnectStart()
3031 if( xResult == 0 ) in prvTCPConnectStart()
3035 xResult = bMayConnect( pxSocket ); /* -EINPROGRESS, -EAGAIN, or 0 for OK */ in prvTCPConnectStart()
3038 if( xResult == 0 ) in prvTCPConnectStart()
3060 xResult = -pdFREERTOS_ERRNO_ECANCELED; in prvTCPConnectStart()
3065 return xResult; in prvTCPConnectStart()
3093 BaseType_t xResult = -pdFREERTOS_ERRNO_EINVAL; in FreeRTOS_connect() local
3098 xResult = prvTCPConnectStart( pxSocket, pxAddress ); in FreeRTOS_connect()
3100 if( xResult == 0 ) in FreeRTOS_connect()
3115 xResult = -pdFREERTOS_ERRNO_EWOULDBLOCK; in FreeRTOS_connect()
3127 xResult = FreeRTOS_issocketconnected( pxSocket ); in FreeRTOS_connect()
3129 if( xResult > 0 ) in FreeRTOS_connect()
3132 xResult = 0; in FreeRTOS_connect()
3139 xResult = -pdFREERTOS_ERRNO_ETIMEDOUT; in FreeRTOS_connect()
3152 xResult = -pdFREERTOS_ERRNO_ENOTCONN; in FreeRTOS_connect()
3159 return xResult; in FreeRTOS_connect()
3548 int32_t xResult = 1; in prvTCPSendCheck() local
3553 xResult = -pdFREERTOS_ERRNO_EINVAL; in prvTCPSendCheck()
3557 xResult = -pdFREERTOS_ERRNO_ENOMEM; in prvTCPSendCheck()
3563 xResult = -pdFREERTOS_ERRNO_ENOTCONN; in prvTCPSendCheck()
3570 xResult = 0; in prvTCPSendCheck()
3575 xResult = 0; in prvTCPSendCheck()
3584 xResult = -pdFREERTOS_ERRNO_ENOMEM; in prvTCPSendCheck()
3592 return xResult; in prvTCPSendCheck()
3863 BaseType_t xResult = 0; in FreeRTOS_listen() local
3871 xResult = -pdFREERTOS_ERRNO_EOPNOTSUPP; in FreeRTOS_listen()
3876 xResult = -pdFREERTOS_ERRNO_EOPNOTSUPP; in FreeRTOS_listen()
3910 return xResult; in FreeRTOS_listen()
3934 BaseType_t xResult; in FreeRTOS_shutdown() local
3940 xResult = -pdFREERTOS_ERRNO_EOPNOTSUPP; in FreeRTOS_shutdown()
3945 xResult = -pdFREERTOS_ERRNO_ENOTCONN; in FreeRTOS_shutdown()
3954 xResult = 0; in FreeRTOS_shutdown()
3959 return xResult; in FreeRTOS_shutdown()
4296 int32_t xResult = 0; in lTCPAddRxdata() local
4314 xResult = -1; in lTCPAddRxdata()
4318 if( xResult >= 0 ) in lTCPAddRxdata()
4332xResult = ( int32_t ) uxStreamBufferAdd( pxStream, uxOffset, pcData, ( size_t ) ulByteCount ); in lTCPAddRxdata()
4336 if( xResult != ( int32_t ) ulByteCount ) in lTCPAddRxdata()
4340 ( int ) xResult, in lTCPAddRxdata()
4418 return xResult; in lTCPAddRxdata()
4441 BaseType_t xResult; in FreeRTOS_GetRemoteAddress() local
4445 xResult = -pdFREERTOS_ERRNO_EINVAL; in FreeRTOS_GetRemoteAddress()
4457 xResult = ( BaseType_t ) sizeof( *pxAddress ); in FreeRTOS_GetRemoteAddress()
4460 return xResult; in FreeRTOS_GetRemoteAddress()
4481 BaseType_t xResult; in FreeRTOS_maywrite() local
4485 xResult = -pdFREERTOS_ERRNO_EINVAL; in FreeRTOS_maywrite()
4491 xResult = -1; in FreeRTOS_maywrite()
4495 xResult = 0; in FreeRTOS_maywrite()
4500 xResult = ( BaseType_t ) pxSocket->u.xTCP.uxTxStreamSize; in FreeRTOS_maywrite()
4504 xResult = ( BaseType_t ) uxStreamBufferGetSpace( pxSocket->u.xTCP.txStream ); in FreeRTOS_maywrite()
4507 return xResult; in FreeRTOS_maywrite()