Home
last modified time | relevance | path

Searched refs:LE_FAILURE (Results 1 – 7 of 7) sorted by relevance

/base/startup/init/services/loopevent/loop/
Dle_epoll.c37 LE_CHECK(loop != NULL, return LE_FAILURE, "Invalid loop"); in Close_()
46 int ret = LE_FAILURE; in AddEvent_()
47 LE_CHECK(loop != NULL, return LE_FAILURE, "Invalid loop"); in AddEvent_()
56 LE_CHECK(ret == 0, return LE_FAILURE, "Failed to add epoll_ctl %d ret %d", fd, errno); in AddEvent_()
62 int ret = LE_FAILURE; in ModEvent_()
63 LE_CHECK(loop != NULL, return LE_FAILURE, "Invalid loop"); in ModEvent_()
72 LE_CHECK(ret == 0, return LE_FAILURE, "Failed to mod epoll_ctl %d ret %d", fd, errno); in ModEvent_()
78 LE_CHECK(loop != NULL, return LE_FAILURE, "Invalid loop"); in DelEvent_()
91 LE_CHECK(loop != NULL, return LE_FAILURE, "Invalid loop"); in RunLoop_()
94 return LE_FAILURE; in RunLoop_()
[all …]
/base/startup/init/services/loopevent/timer/
Dle_timer.c37 LE_CHECK(ret == 0, return LE_FAILURE, "Failed to set timer %d", errno); in SetTimer_()
44 return LE_FAILURE; in HandleTimerEvent_()
77 LE_CHECK(processTimer != NULL, return LE_FAILURE, "Invalid parameters processTimer"); in LE_CreateTimer()
83 LE_CHECK(fd >= 0, return LE_FAILURE, "Failed to create timer"); in LE_CreateTimer()
105 LE_CHECK(ret == 0, return LE_FAILURE, "Failed to set timer"); in LE_StartTimer()
107 LE_CHECK(ret == 0, return LE_FAILURE, "Failed to add event"); in LE_StartTimer()
/base/startup/init/services/loopevent/signal/
Dle_signal.c30 return LE_FAILURE; in HandleSignalEvent_()
34 LE_CHECK(s == sizeof(fdsi), return LE_FAILURE, "Failed to read sign %d %d", s, errno); in HandleSignalEvent_()
52 LE_CHECK(processSignal != NULL, return LE_FAILURE, "Invalid parameters processSignal"); in LE_CreateSignalTask()
/base/startup/init/services/loopevent/task/
Dle_streamtask.c142 return LE_FAILURE; in HandleServerEvent_()
167 LE_CHECK(fd > 0, return LE_FAILURE, "Failed to create socket %s", info->server); in LE_CreateStreamServer()
180 LE_CHECK(ret == 0, return LE_FAILURE, "Failed to copy server name %s", info->server); in LE_CreateStreamServer()
189 …LE_CHECK(info->recvMessage != NULL, return LE_FAILURE, "Invalid parameters recvMessage %s", info->… in LE_CreateStreamClient()
192 LE_CHECK(fd > 0, return LE_FAILURE, "Failed to create socket %s", info->server); in LE_CreateStreamClient()
221 LE_CHECK(fd > 0, return LE_FAILURE, "Failed to accept socket %d", GetSocketFd(server)); in LE_AcceptStreamClient()
Dle_asynctask.c103 LE_CHECK(fd > 0, return LE_FAILURE, "Failed to event fd "); in LE_CreateAsyncTask()
/base/startup/init/services/loopevent/socket/
Dle_socket.c92 LE_CHECK(portStr != NULL, return LE_FAILURE, "Failed to get addr %s", server); in GetSockaddrFromServer_()
96 LE_CHECK(ret >= 0, return LE_FAILURE, "Failed to inet_pton addr %s", server); in GetSockaddrFromServer_()
/base/startup/init/services/loopevent/include/
Dloop_event.h48 LE_FAILURE = 10000, enumerator