Lines Matching refs:xResult

2003     BaseType_t xResult;  in FreeRTOS_closesocket()  local
2014 xResult = 0; in FreeRTOS_closesocket()
2050 xResult = -1; in FreeRTOS_closesocket()
2054 xResult = 1; in FreeRTOS_closesocket()
2058 return xResult; in FreeRTOS_closesocket()
3178 BaseType_t xResult; in FreeRTOS_inet_pton() local
3185 xResult = FreeRTOS_inet_pton4( pcSource, pvDestination ); in FreeRTOS_inet_pton()
3191 xResult = FreeRTOS_inet_pton6( pcSource, pvDestination ); in FreeRTOS_inet_pton()
3196 xResult = -pdFREERTOS_ERRNO_EAFNOSUPPORT; in FreeRTOS_inet_pton()
3200 return xResult; in FreeRTOS_inet_pton()
3375 BaseType_t xResult = pdFALSE; in FreeRTOS_EUI48_pton() local
3422 xResult = pdTRUE; in FreeRTOS_EUI48_pton()
3434 return xResult; in FreeRTOS_EUI48_pton()
3609 BaseType_t xResult; in bMayConnect() local
3617 xResult = 0; in bMayConnect()
3621 xResult = -pdFREERTOS_ERRNO_EINPROGRESS; in bMayConnect()
3634 xResult = -pdFREERTOS_ERRNO_EAGAIN; in bMayConnect()
3638 return xResult; in bMayConnect()
3659 BaseType_t xResult = 0; in prvTCPConnectStart() local
3664 xResult = -pdFREERTOS_ERRNO_EINVAL; in prvTCPConnectStart()
3669 xResult = -pdFREERTOS_ERRNO_EBADF; in prvTCPConnectStart()
3674 xResult = -pdFREERTOS_ERRNO_EISCONN; in prvTCPConnectStart()
3680 xResult = FreeRTOS_bind( pxSocket, NULL, 0U ); in prvTCPConnectStart()
3687 if( xResult == 0 ) in prvTCPConnectStart()
3691 xResult = bMayConnect( pxSocket ); /* -EINPROGRESS, -EAGAIN, or 0 for OK */ in prvTCPConnectStart()
3694 if( xResult == 0 ) in prvTCPConnectStart()
3736 xResult = -pdFREERTOS_ERRNO_ECANCELED; in prvTCPConnectStart()
3741 return xResult; in prvTCPConnectStart()
3769 BaseType_t xResult = -pdFREERTOS_ERRNO_EINVAL; in FreeRTOS_connect() local
3788 xResult = prvTCPConnectStart( pxSocket, pxAddress ); in FreeRTOS_connect()
3790 if( xResult == 0 ) in FreeRTOS_connect()
3805 xResult = -pdFREERTOS_ERRNO_EWOULDBLOCK; in FreeRTOS_connect()
3817 xResult = FreeRTOS_issocketconnected( pxSocket ); in FreeRTOS_connect()
3820 if( xResult < 0 ) in FreeRTOS_connect()
3826 if( xResult > 0 ) in FreeRTOS_connect()
3829 xResult = 0; in FreeRTOS_connect()
3836 xResult = -pdFREERTOS_ERRNO_ETIMEDOUT; in FreeRTOS_connect()
3849 xResult = -pdFREERTOS_ERRNO_ENOTCONN; in FreeRTOS_connect()
3856 return xResult; in FreeRTOS_connect()
4314 int32_t xResult = 1; in prvTCPSendCheck() local
4319 xResult = -pdFREERTOS_ERRNO_EINVAL; in prvTCPSendCheck()
4323 xResult = -pdFREERTOS_ERRNO_ENOMEM; in prvTCPSendCheck()
4329 xResult = -pdFREERTOS_ERRNO_ENOTCONN; in prvTCPSendCheck()
4336 xResult = 0; in prvTCPSendCheck()
4341 xResult = 0; in prvTCPSendCheck()
4350 xResult = -pdFREERTOS_ERRNO_ENOMEM; in prvTCPSendCheck()
4358 return xResult; in prvTCPSendCheck()
4654 BaseType_t xResult = 0; in FreeRTOS_listen() local
4662 xResult = -pdFREERTOS_ERRNO_EOPNOTSUPP; in FreeRTOS_listen()
4667 xResult = -pdFREERTOS_ERRNO_EOPNOTSUPP; in FreeRTOS_listen()
4701 return xResult; in FreeRTOS_listen()
4725 BaseType_t xResult; in FreeRTOS_shutdown() local
4731 xResult = -pdFREERTOS_ERRNO_EOPNOTSUPP; in FreeRTOS_shutdown()
4736 xResult = -pdFREERTOS_ERRNO_ENOTCONN; in FreeRTOS_shutdown()
4745 xResult = 0; in FreeRTOS_shutdown()
4750 return xResult; in FreeRTOS_shutdown()
5194 int32_t xResult = 0; in lTCPAddRxdata() local
5212 xResult = -1; in lTCPAddRxdata()
5216 if( xResult >= 0 ) in lTCPAddRxdata()
5235xResult = ( int32_t ) uxStreamBufferAdd( pxStream, uxOffset, pcData, ( size_t ) ulByteCount ); in lTCPAddRxdata()
5239 if( xResult != ( int32_t ) ulByteCount ) in lTCPAddRxdata()
5243 ( int ) xResult, in lTCPAddRxdata()
5269 return xResult; in lTCPAddRxdata()
5294 BaseType_t xResult; in FreeRTOS_GetRemoteAddress() local
5298 xResult = -pdFREERTOS_ERRNO_EINVAL; in FreeRTOS_GetRemoteAddress()
5337 xResult = ( BaseType_t ) sizeof( *pxAddress ); in FreeRTOS_GetRemoteAddress()
5340 return xResult; in FreeRTOS_GetRemoteAddress()
5362 BaseType_t xResult = ( BaseType_t ) ipTYPE_IPv4; in FreeRTOS_GetIPType() local
5368 xResult = ( BaseType_t ) ipTYPE_IPv4; in FreeRTOS_GetIPType()
5374 xResult = ( BaseType_t ) ipTYPE_IPv6; in FreeRTOS_GetIPType()
5383 return xResult; in FreeRTOS_GetIPType()
5397 BaseType_t xResult = 0; in FreeRTOS_maywrite() local
5401 xResult = -pdFREERTOS_ERRNO_EINVAL; in FreeRTOS_maywrite()
5407 xResult = -1; in FreeRTOS_maywrite()
5412 xResult = ( BaseType_t ) pxSocket->u.xTCP.uxTxStreamSize; in FreeRTOS_maywrite()
5416 xResult = ( BaseType_t ) uxStreamBufferGetSpace( pxSocket->u.xTCP.txStream ); in FreeRTOS_maywrite()
5419 return xResult; in FreeRTOS_maywrite()