Searched refs:LE_TEST_FLAGS (Results 1 – 6 of 6) sorted by relevance
/base/startup/init/services/loopevent/socket/ |
D | le_socket.c | 195 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/ |
D | le_streamtask.c | 94 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_()
|
D | le_asynctask.c | 71 if (LE_TEST_FLAGS(oper, EVENT_READ)) { in HandleAsyncEvent_()
|
/base/startup/init/services/loopevent/utils/ |
D | le_utils.h | 26 #define LE_TEST_FLAGS(flags, flag) (((flags) & (flag)) == (flag)) macro
|
/base/startup/init/services/loopevent/loop/ |
D | le_epoll.c | 30 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/ |
D | le_signal.c | 30 if (!LE_TEST_FLAGS(oper, EVENT_READ)) { in HandleSignalEvent_()
|