/foundation/communication/dsoftbus/core/common/include/ |
H A D | common_list.h | 112 #define LIST_FOR_EACH_ENTRY_SAFE(item, nextItem, list, type, member) \ 114 (nextItem) = LIST_ENTRY((item)->member.next, type, member); \ 116 (item) = (nextItem), (nextItem) = LIST_ENTRY((item)->member.next, type, member)) 136 #define LIST_FOR_EACH_SAFE(item, nextItem, list) \ 137 for ((item) = (list)->next, (nextItem) = (item)->next; (item) != (list); \ 138 (item) = (nextItem), (nextItem) = (item)->next)
|
/foundation/communication/dsoftbus/core/transmission/trans_channel/tcp_direct/src/ |
H A D | trans_tcp_direct_manager.c | 90 SessionConn *nextItem = NULL; in NotifyTdcChannelTimeOut() local 91 LIST_FOR_EACH_ENTRY_SAFE(item, nextItem, tdcChannelList, SessionConn, node) { in NotifyTdcChannelTimeOut() 101 SessionConn *nextItem = NULL; in TransTdcTimerProc() local 115 LIST_FOR_EACH_ENTRY_SAFE(item, nextItem, &sessionList->list, SessionConn, node) { in TransTdcTimerProc() 139 SessionConn *nextItem = NULL; in NotifyTdcChannelStopProc() local 141 LIST_FOR_EACH_ENTRY_SAFE(item, nextItem, tdcChannelList, SessionConn, node) { in NotifyTdcChannelStopProc() 153 SessionConn *nextItem = NULL; in TransTdcStopSessionProc() local 165 LIST_FOR_EACH_ENTRY_SAFE(item, nextItem, &sessionList->list, SessionConn, node) { in TransTdcStopSessionProc() 225 SessionConn *nextItem = NULL; in TransTdcDeathCallback() local 236 LIST_FOR_EACH_ENTRY_SAFE(item, nextItem, in TransTdcDeathCallback() [all...] |
H A D | trans_tcp_direct_p2p.c | 122 HmlListenerInfo *nextItem = NULL; in DelHmlListenerByMoudle() local 123 LIST_FOR_EACH_ENTRY_SAFE(item, nextItem, &g_hmlListenerList->list, HmlListenerInfo, node) { in DelHmlListenerByMoudle() 157 P2pListenerInfo *nextItem = NULL; in ClearP2pSessionInfo() local 158 LIST_FOR_EACH_ENTRY_SAFE(item, nextItem, &g_p2pSessionInfo.peerDeviceInfoList->list, P2pListenerInfo, node) { in ClearP2pSessionInfo() 203 P2pListenerInfo *nextItem = NULL; in StopP2pListenerByRemoteUuid() local 204 LIST_FOR_EACH_ENTRY_SAFE(item, nextItem, &g_p2pSessionInfo.peerDeviceInfoList->list, P2pListenerInfo, node) { in StopP2pListenerByRemoteUuid() 232 SessionConn *nextItem = NULL; in NotifyP2pSessionConnClear() local 234 LIST_FOR_EACH_ENTRY_SAFE(item, nextItem, sessionConnList, SessionConn, node) { in NotifyP2pSessionConnClear() 245 SessionConn *nextItem = NULL; in ClearP2pSessionConn() local 254 LIST_FOR_EACH_ENTRY_SAFE(item, nextItem, in ClearP2pSessionConn() 302 HmlListenerInfo *nextItem = NULL; GetModuleByHmlIp() local 324 HmlListenerInfo *nextItem = NULL; ClearHmlListenerByUuid() local 360 HmlListenerInfo *nextItem = NULL; StartHmlListener() local 824 HmlListenerInfo *nextItem = NULL; AddHmlTrigger() local [all...] |
H A D | trans_tcp_direct_sessionconn.c | 117 SessionConn *nextItem = NULL; in GetSessionConnByRequestId() local 118 LIST_FOR_EACH_ENTRY_SAFE(item, nextItem, &g_sessionConnList->list, SessionConn, node) { in GetSessionConnByRequestId() 133 SessionConn *nextItem = NULL; in GetSessionConnByReq() local 134 LIST_FOR_EACH_ENTRY_SAFE(item, nextItem, &g_sessionConnList->list, SessionConn, node) { in GetSessionConnByReq()
|
H A D | trans_tcp_direct_message.c | 1259 ServerDataBuf *nextItem = NULL; in TransTdcUpdateDataBufWInfo() local 1260 LIST_FOR_EACH_ENTRY_SAFE(item, nextItem, &(g_tcpSrvDataList->list), ServerDataBuf, node) { in TransTdcUpdateDataBufWInfo()
|
/foundation/communication/dsoftbus/sdk/frame/common/src/ |
H A D | softbus_client_frame_manager.c | 100 ListNode *nextItem = NULL; in DelClientPkgName() local 102 LIST_FOR_EACH_SAFE(item, nextItem, &g_pkgNameList) { in DelClientPkgName() 137 ListNode *nextItem = NULL; in FreeClientPkgName() local 139 LIST_FOR_EACH_SAFE(item, nextItem, &g_pkgNameList) { in FreeClientPkgName()
|
/foundation/communication/dsoftbus/core/common/dfx/hidumper_adapter/ |
H A D | softbus_hidumper.c | 133 ListNode *nextItem = NULL; in SoftBusReleaseDumpVar() local 134 LIST_FOR_EACH_SAFE(item, nextItem, varList) { in SoftBusReleaseDumpVar() 167 ListNode *nextItem = NULL; in SoftBusHiDumperReleaseHandler() local 168 LIST_FOR_EACH_SAFE(item, nextItem, &g_hidumperhander_list) { in SoftBusHiDumperReleaseHandler()
|
/foundation/communication/dsoftbus/core/common/message_handler/ |
H A D | message_handler.c | 319 ListNode *nextItem = NULL; in PostMessageAtTime() local 321 LIST_FOR_EACH_SAFE(item, nextItem, &context->msgHead) { in PostMessageAtTime() 391 ListNode *nextItem = NULL; in LoopRemoveMessageCustom() local 392 LIST_FOR_EACH_SAFE(item, nextItem, &context->msgHead) { in LoopRemoveMessageCustom() 549 ListNode *nextItem = NULL; in DestroyLooper() local 550 LIST_FOR_EACH_SAFE(item, nextItem, &context->msgHead) { in DestroyLooper()
|
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/ |
H A D | lnn_lane_link.c | 1018 P2pAddrNode *nextItem = NULL; in LaneDeinitP2pAddrList() local 1019 LIST_FOR_EACH_ENTRY_SAFE(item, nextItem, &g_P2pAddrList.list, P2pAddrNode, node) { in LaneDeinitP2pAddrList() 1031 P2pAddrNode *nextItem = NULL; in LaneDeleteP2pAddress() local 1041 LIST_FOR_EACH_ENTRY_SAFE(item, nextItem, &g_P2pAddrList.list, P2pAddrNode, node) { in LaneDeleteP2pAddress() 1059 P2pAddrNode *nextItem = NULL; in LaneAddP2pAddress() local 1067 LIST_FOR_EACH_ENTRY_SAFE(item, nextItem, &g_P2pAddrList.list, P2pAddrNode, node) { in LaneAddP2pAddress() 1110 P2pAddrNode *nextItem = NULL; in LaneAddP2pAddressByIp() local 1117 LIST_FOR_EACH_ENTRY_SAFE(item, nextItem, &g_P2pAddrList.list, P2pAddrNode, node) { in LaneAddP2pAddressByIp() 1153 P2pAddrNode *nextItem = NULL; in LaneUpdateP2pAddressByIp() local 1159 LIST_FOR_EACH_ENTRY_SAFE(item, nextItem, in LaneUpdateP2pAddressByIp() 1173 P2pAddrNode *nextItem = NULL; LaneGetP2PReuseMac() local [all...] |
H A D | lnn_ctrl_lane.c | 435 CtrlReqInfo *nextItem = NULL; in CtrlDeinit() local 436 LIST_FOR_EACH_ENTRY_SAFE(item, nextItem, &g_ctrlReqList->list, CtrlReqInfo, node) { in CtrlDeinit()
|
H A D | lnn_trans_lane.c | 1737 TransReqInfo *nextItem = NULL; in Deinit() local 1738 LIST_FOR_EACH_ENTRY_SAFE(item, nextItem, &g_requestList->list, TransReqInfo, node) { in Deinit()
|
/foundation/communication/dsoftbus/core/common/dfx/hisysevent_adapter/ |
H A D | softbus_hisysevt_transreporter.c | 203 CalledApiInfoStruct *nextItem = NULL; in ReleaseCalledApiInfoList() local 204 LIST_FOR_EACH_ENTRY_SAFE(item, nextItem, &g_calledApiInfoList->list, CalledApiInfoStruct, node) { in ReleaseCalledApiInfoList() 224 CalledApiCntStruct *nextItem = NULL; in ReleaseCalledApiCntList() local 225 LIST_FOR_EACH_ENTRY_SAFE(item, nextItem, &g_calledApiCntlist->list, CalledApiCntStruct, node) { in ReleaseCalledApiCntList()
|
H A D | softbus_hisysevt_bus_center.c | 333 DevUdidNode *nextItem = NULL; in ReleaseDevUdidInfoNode() local 340 LIST_FOR_EACH_ENTRY_SAFE(item, nextItem, &g_devUdidList, DevUdidNode, node) { in ReleaseDevUdidInfoNode() 510 AppDiscNode *nextItem = NULL; in ReleaseAppDiscInfoNode() local 517 LIST_FOR_EACH_ENTRY_SAFE(item, nextItem, &g_appDiscList, AppDiscNode, node) { in ReleaseAppDiscInfoNode()
|
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/tcp_direct/src/ |
H A D | client_trans_tcp_direct_message.c | 602 ClientDataBuf *nextItem = NULL; in TransClientUpdateTdcDataBufWInfo() local 603 LIST_FOR_EACH_ENTRY_SAFE(item, nextItem, &(g_tcpDataList->list), ClientDataBuf, node) { in TransClientUpdateTdcDataBufWInfo()
|
/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_net_builder_init.c | 791 LnnConnectionFsm *nextItem = NULL; in LnnDeinitNetBuilder() local 796 LIST_FOR_EACH_ENTRY_SAFE(item, nextItem, &LnnGetNetBuilder()->fsmList, LnnConnectionFsm, node) { in LnnDeinitNetBuilder()
|
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/heartbeat/src/ |
H A D | lnn_heartbeat_medium_mgr.c | 1069 LnnHeartbeatRecvInfo *nextItem = NULL; in HbDeinitRecvList() local 1078 LIST_FOR_EACH_ENTRY_SAFE(item, nextItem, &g_hbRecvList->list, LnnHeartbeatRecvInfo, node) { in HbDeinitRecvList() 1091 LnnHeartbeatRecvInfo *nextItem = NULL; in LnnHbClearRecvList() local 1100 LIST_FOR_EACH_ENTRY_SAFE(item, nextItem, &g_hbRecvList->list, LnnHeartbeatRecvInfo, node) { in LnnHbClearRecvList()
|
H A D | lnn_heartbeat_strategy.c | 784 GearModeStorageInfo *nextItem = NULL; in UnRegistParamMgr() local 790 LIST_FOR_EACH_ENTRY_SAFE(item, nextItem, ¶mMgr->gearModeList, GearModeStorageInfo, node) { in UnRegistParamMgr()
|
/foundation/communication/dsoftbus/core/connection/ble/src/ |
H A D | softbus_conn_ble_connection.c | 168 BleUnderlayerStatus *nextItem = NULL; in ConnBleFreeConnection() local 169 LIST_FOR_EACH_ENTRY_SAFE(item, nextItem, &connection->connectStatus->list, BleUnderlayerStatus, node) { in ConnBleFreeConnection()
|