Home
last modified time | relevance | path

Searched refs:LE_TEST_FLAGS (Results 1 – 6 of 6) sorted by relevance

/base/startup/init/services/loopevent/socket/
Dle_socket.c195 if (LE_TEST_FLAGS(flags, TASK_SERVER)) { in CreateSocket()
197 } else if (LE_TEST_FLAGS(flags, TASK_CONNECT)) { in CreateSocket()
201 if (LE_TEST_FLAGS(flags, TASK_SERVER)) { in CreateSocket()
203 (int)LE_TEST_FLAGS(flags, TASK_PUBLIC)); in CreateSocket()
204 } else if (LE_TEST_FLAGS(flags, TASK_CONNECT)) { in CreateSocket()
237 if (!LE_TEST_FLAGS(flags, TASK_SERVER)) { in listenSocket()
/base/startup/init/services/loopevent/task/
Dle_streamtask.c94 if (LE_TEST_FLAGS(oper, EVENT_WRITE)) { in HandleStreamEvent_()
97 if (LE_TEST_FLAGS(oper, EVENT_READ)) { in HandleStreamEvent_()
100 if (status == LE_DIS_CONNECTED || LE_TEST_FLAGS(oper, EVENT_ERROR)) { in HandleStreamEvent_()
116 if (LE_TEST_FLAGS(oper, EVENT_WRITE)) { in HandleClientEvent_()
121 if (LE_TEST_FLAGS(oper, EVENT_READ)) { in HandleClientEvent_()
183 if (!LE_TEST_FLAGS(oper, EVENT_READ)) { in HandleServerEvent_()
Dle_asynctask.c71 if (LE_TEST_FLAGS(oper, EVENT_READ)) { in HandleAsyncEvent_()
/base/startup/init/services/loopevent/utils/
Dle_utils.h26 #define LE_TEST_FLAGS(flags, flag) (((flags) & (flag)) == (flag)) macro
/base/startup/init/services/loopevent/loop/
Dle_epoll.c30 if (LE_TEST_FLAGS(op, EVENT_READ)) { in GetEpollEvent_()
33 if (LE_TEST_FLAGS(op, EVENT_WRITE)) { in GetEpollEvent_()
/base/startup/init/services/loopevent/signal/
Dle_signal.c30 if (!LE_TEST_FLAGS(oper, EVENT_READ)) { in HandleSignalEvent_()