Lines Matching refs:LE_CHECK
160 …LE_CHECK(loopHandle != NULL && taskHandle != NULL && info != NULL, return LE_INVALID_PARAM, "Inval… in LE_CreateStreamServer()
161 LE_CHECK(info->server != NULL, return LE_INVALID_PARAM, "Invalid parameters server"); in LE_CreateStreamServer()
162 LE_CHECK(info->incommingConnect != NULL, return LE_INVALID_PARAM, in LE_CreateStreamServer()
168 LE_CHECK(fd > 0, return LE_FAILURE, "Failed to create socket %s", info->server); in LE_CreateStreamServer()
174 LE_CHECK(task != NULL, close(fd); in LE_CreateStreamServer()
181 LE_CHECK(ret == 0, return LE_FAILURE, "Failed to copy server name %s", info->server); in LE_CreateStreamServer()
189 …LE_CHECK(loopHandle != NULL && taskHandle != NULL && info != NULL, return LE_INVALID_PARAM, "Inval… in LE_CreateStreamClient()
190 …LE_CHECK(info->recvMessage != NULL, return LE_FAILURE, "Invalid parameters recvMessage %s", info->… in LE_CreateStreamClient()
193 LE_CHECK(fd > 0, return LE_FAILURE, "Failed to create socket %s", info->server); in LE_CreateStreamClient()
196 LE_CHECK(task != NULL, close(fd); in LE_CreateStreamClient()
216 LE_CHECK(loopHandle != NULL && info != NULL, return LE_INVALID_PARAM, "Invalid parameters"); in LE_AcceptStreamClient()
217 LE_CHECK(server != NULL && taskHandle != NULL, return LE_INVALID_PARAM, "Invalid parameters"); in LE_AcceptStreamClient()
218 LE_CHECK(info->recvMessage != NULL, return LE_INVALID_PARAM, "Invalid parameters recvMessage"); in LE_AcceptStreamClient()
222 LE_CHECK(fd > 0, return LE_FAILURE, "Failed to accept socket %d", GetSocketFd(server)); in LE_AcceptStreamClient()
226 LE_CHECK(task != NULL, close(fd); in LE_AcceptStreamClient()
246 LE_CHECK(loopHandle != NULL && taskHandle != NULL, return, "Invalid parameters"); in LE_CloseStreamTask()
252 LE_CHECK(taskHandle != NULL, return -1, "Invalid parameters"); in LE_GetSocketFd()