/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/src/ |
H A D | list.c | 21 typedef struct ListNode { struct 33 static ListNode *ListGetFirstNodeInt(const List *list) in ListGetFirstNodeInt() 40 return DL_LIST_ENTRY(list->dlList.pstNext, ListNode, node); in ListGetFirstNodeInt() 53 NO_SANITIZE("cfi") static ListNode *ListFreeNode(List *list, ListNode *node) in ListFreeNode() 57 ListNode *next = ListGetNextNode(node); in ListFreeNode() 72 for (ListNode *node = ListGetFirstNode(list); node;) { in ListClear() 99 ListNode *node = (ListNode *)calloc(1, sizeof(ListNode)); in ListAddFirst() [all...] |
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/ |
H A D | list.h | 51 class ListNode : public HeapBase { class 53 ListNode<T>* prev_; 54 ListNode<T>* next_; 123 ListNode<T>* listNode = new ListNode<T>(); in PushBack() 146 ListNode<T>* listNode = new ListNode<T>(); in PushFront() 171 ListNode<T>* tmpTail = head_.prev_; in PopBack() 194 ListNode<T>* tmpHead = head_.next_; in PopFront() 213 void Insert(ListNode< [all...] |
/foundation/communication/dsoftbus/core/common/include/ |
H A D | common_list.h | 28 typedef struct ListNode { struct 29 struct ListNode *prev; /* Current node's pointer to the previous node */ 30 struct ListNode *next; /* Current node's pointer to the next node */ 31 } ListNode; typedef 34 __attribute__((always_inline)) static inline void ListInit(ListNode *list) in ListInit() 47 __attribute__((always_inline)) static inline void ListAdd(ListNode *list, ListNode *node) in ListAdd() 56 __attribute__((always_inline)) static inline void ListTailInsert(ListNode *list, ListNode *node) in ListTailInsert() 62 __attribute__((always_inline)) static inline void ListNodeInsert(ListNode *lis [all...] |
/foundation/communication/wifi/wifi/base/cRPC/src/ |
H A D | hash_table.c | 61 p->list = (ListNode **)calloc(p->slots, sizeof(ListNode *)); in InitHashTable() 74 ListNode *t = p->list[i]; in DestroyHashTable() 76 ListNode *next = t->next; in DestroyHashTable() 97 ListNode **new_list = (ListNode **)calloc(slot, sizeof(ListNode *)); in RebuildHashTable() 105 ListNode *t = p->list[i]; in RebuildHashTable() 107 ListNode *q = t->next; in RebuildHashTable() 126 ListNode * in FindContext() [all...] |
/foundation/communication/wifi/wifi/base/cRPC/include/ |
H A D | hash_table.h | 29 * | ListNode |----> ListNode ----> ListNode 32 * | ListNode |----> ListNode ----> ListNode 35 * | ListNode |----> ListNode ----> ListNode 38 * | ListNode | 42 typedef struct ListNode ListNode; global() typedef 43 struct ListNode { global() struct [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/include/ |
H A D | list.h | 39 typedef struct ListNode ListNode; typedef 111 * @return ListNode pointer. 114 ListNode *ListGetFirstNode(const List *list); 120 * @return ListNode pointer. 123 ListNode *ListGetLastNode(const List *list); 128 * @param[in] listNode ListNode pointer. 129 * @return ListNode* Next listNode pointer. 132 ListNode *ListGetNextNode(const ListNode *listNod [all...] |
/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/presets/ |
H A D | cjson_parser.h | 35 struct ListNode : public MemoryHeap { struct in OHOS::ACELite::final 37 ListNode *next = nullptr; 90 uint8_t Split(const char *target, char delemeter, ListNode *&node); 92 static bool AddNode(ListNode *&head, char *current); 93 static char *GetNode(ListNode *node, int index); 94 static void ClearNode(ListNode *&node); 95 static char *ToString(ListNode *node, uint8_t length); 146 uint8_t FormatString(const char *format, jerry_value_t arg, ListNode *&node, bool isPlural, jerry_value_t num); 155 uint8_t FormatString(const char *format, jerry_value_t arg, ListNode *&node, jerry_value_t num); 225 int GetWinFiles(ListNode * [all...] |
H A D | cjson_parser.cpp | 80 ListNode *values = nullptr; // store the value after split. in FillPlaceholder() 100 ListNode *&values, in FormatString() 104 uint8_t CJSONParser::FormatString(const char *format, jerry_value_t arg, ListNode *&values, jerry_length_t num) in FormatString() 160 ListNode *plurals = nullptr; in GetPluralValue() 180 bool CJSONParser::AddNode(ListNode *&head, char *current) in AddNode() 185 ListNode *node = new ListNode(); in AddNode() 196 char *CJSONParser::GetNode(ListNode *node, int index) in GetNode() 207 void CJSONParser::ClearNode(ListNode *&node) in ClearNode() 210 ListNode *curren in ClearNode() [all...] |
/foundation/communication/dsoftbus/core/common/dfx/hidumper_adapter/include/ |
H A D | softbus_hidumper.h | 37 ListNode node; 45 ListNode node; 53 void SoftBusDumpSubModuleHelp(int fd, char *moduleName, ListNode *varList); 54 int32_t SoftBusAddDumpVarToList(const char *dumpVar, SoftBusVarDumpCb cb, ListNode *subModoleVarList); 55 void SoftBusReleaseDumpVar(ListNode *varList);
|
/foundation/communication/dsoftbus/sdk/transmission/session/include/ |
H A D | client_trans_socket_manager.h | 41 NO_SANITIZE("cfi") void ClientDestroySession(const ListNode *destroyList, ShutdownReason reason); 43 void DestroyClientSessionServer(ClientSessionServer *server, ListNode *destroyList); 51 const char *networkId, int32_t type, ListNode *destroyList); 70 void ClientCleanUpIdleTimeoutSocket(const ListNode *destroyList); 77 void ClientUpdateIdleTimeout(const ClientSessionServer *serverNode, SessionInfo *sessionNode, ListNode *destroyList); 87 int32_t ReCreateSessionServerToServer(ListNode *sessionServerInfoList);
|
/foundation/communication/dsoftbus/core/common/dfx/hidumper_adapter/ |
H A D | softbus_hidumper.c | 44 ListNode *item = NULL; in SoftBusDumpShowHelp() 73 void SoftBusDumpSubModuleHelp(int fd, char *moduleName, ListNode *varList) in SoftBusDumpSubModuleHelp() 81 ListNode *item = NULL; in SoftBusDumpSubModuleHelp() 109 int32_t SoftBusAddDumpVarToList(const char *dumpVar, SoftBusVarDumpCb cb, ListNode *varList) in SoftBusAddDumpVarToList() 127 void SoftBusReleaseDumpVar(ListNode *varList) in SoftBusReleaseDumpVar() 132 ListNode *item = NULL; in SoftBusReleaseDumpVar() 133 ListNode *nextItem = NULL; in SoftBusReleaseDumpVar() 166 ListNode *item = NULL; in SoftBusHiDumperReleaseHandler() 167 ListNode *nextItem = NULL; in SoftBusHiDumperReleaseHandler() 204 ListNode *ite in SoftBusDumpDispatch() [all...] |
/foundation/systemabilitymgr/samgr_lite/samgr_endpoint/source/ |
H A D | sa_store.h | 32 typedef struct ListNode ListNode;
typedef 50 ListNode *root;
56 struct ListNode {
struct 57 ListNode *next;
|
H A D | sa_store.c | 26 static void FreeTreeNode(SAStore *saStore, ListNode *node);
28 static inline ListNode *FindServiceByName(ListNode *curNode, const char *service)
in FindServiceByName() 62 ListNode *curNode = FindServiceByName(saStore->root, service);
in SASTORA_Save() 89 curNode = SAMGR_Malloc(sizeof(ListNode));
in SASTORA_Save() 214 ListNode *curNode = FindServiceByName(saStore->root, service);
in SASTORA_Find() 253 ListNode *node = saStore->root;
in SASTORA_ClearServiceByHandle() 254 ListNode *prev = NULL;
in SASTORA_ClearServiceByHandle() 257 ListNode *freeNode = node;
in SASTORA_ClearServiceByHandle() 273 static void FreeTreeNode(SAStore *saStore, ListNode *nod [all...] |
/foundation/arkui/ui_lite/frameworks/core/ |
H A D | task_manager.cpp | 34 ListNode<Task*>* pos = list_.Begin(); in Add() 51 ListNode<Task*>* pos = list_.Begin(); in Remove() 72 ListNode<Task*>* node = list_.Begin(); in TaskHandler()
|
/foundation/communication/dsoftbus/sdk/frame/common/src/ |
H A D | softbus_client_frame_manager.c | 39 ListNode node; 48 ListNode *item = NULL; in CheckPkgNameInfo() 99 ListNode *item = NULL; in DelClientPkgName() 100 ListNode *nextItem = NULL; in DelClientPkgName() 136 ListNode *item = NULL; in FreeClientPkgName() 137 ListNode *nextItem = NULL; in FreeClientPkgName() 269 ListNode *item = NULL; in GetSoftBusClientNameList() 310 ListNode *item = NULL; in CheckPackageName()
|
/foundation/arkui/ui_lite/frameworks/animator/ |
H A D | animator_manager.cpp | 39 ListNode<Animator*>* pos = list_.Begin(); in Add() 55 ListNode<Animator*>* pos = list_.Begin(); in Remove() 67 ListNode<Animator*>* pos = list_.Begin(); in AnimatorTask()
|
/foundation/communication/dsoftbus/core/common/security/permission/include/ |
H A D | permission_entry.h | 50 ListNode node; 59 ListNode node; 64 ListNode appInfo;
|
/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/include/ |
H A D | lnn_p2p_info.h | 36 ListNode node; 45 ListNode node; 51 ListNode node;
|
/foundation/resourceschedule/ffrt/src/util/ |
H A D | IntrusiveList.h | 97 struct ListNode { struct 103 ListNode(ListNode* p, ListNode* n) noexcept : prev {p}, next {n} 106 ListNode() noexcept = default; 111 ListNode* prev {this}; 112 ListNode* next {this};
|
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/rfcomm/ |
H A D | rfcomm_channel.c | 65 ListNode *node = NULL; in RfcommDestroyChannelList() 368 ListNode *node = NULL; in RfcommReleaseCachePkt() 479 ListNode *node = NULL; in RfcommGetChannelByDlci() 509 ListNode *node = NULL; in RfcommGetFirstChannelOnSession() 539 ListNode *node = NULL; in RfcommGetChannelByHandle() 568 ListNode *node = NULL; in RfcommCheckSessionValid() 595 ListNode *node = NULL; in RfcommIsChannelValid() 628 ListNode *node = NULL; in RfcommOpenAllChannelOnSession() 652 ListNode *node = NULL; in RfcommResetAllChannelOnSession() 674 ListNode *nod in RfcommSendAllCachePktOnSession() [all...] |
/foundation/arkui/ui_lite/frameworks/common/ |
H A D | spannable_string.cpp | 44 ListNode<StyleSpan*>* tempSpan = styleList_.Begin(); in GetTextStyle() 96 ListNode<FontSizeSpan>* node = input->sizeList_.Begin(); in SetSpannableString() 101 ListNode<FontIdSpan>* node_id = input->fontIdList_.Begin(); in SetSpannableString() 106 ListNode<LetterHeightSpan>* node_height = input->heightList_.Begin(); in SetSpannableString() 111 ListNode<StyleSpan*>* node_span = input->styleList_.Begin(); in SetSpannableString() 116 ListNode<BackgroundColorSpan>* node_backColor = input->backgroundColorList_.Begin(); in SetSpannableString() 123 ListNode<ForegroundColorSpan>* node_foreColor = input->foregroundColorList_.Begin(); in SetSpannableString() 128 ListNode<LineBackgroundColorSpan>* node_lineBackColor = input->lineBackgroundColorList_.Begin(); in SetSpannableString() 208 ListNode<FontSizeSpan>* tempSpan = sizeList_.Begin(); in SetFontSize() 243 ListNode<FontSizeSpa in GetFontSize() [all...] |
/foundation/communication/dsoftbus/adapter/common/net/bluetooth/include/ |
H A D | softbus_adapter_ble_gatt_server.h | 134 ListNode node; 144 ListNode node; 150 ListNode services; 151 ListNode connections; // as server connected
|
/foundation/communication/dsoftbus/core/connection/br/include/ |
H A D | softbus_conn_br_manager.h | 52 ListNode node; 55 ListNode requests; 65 ListNode node;
|
/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_session_key.c | 37 ListNode node; 47 LIST_FOR_EACH_ENTRY(item, (const ListNode *)list, SessionKeyItem, node) { in RemoveOldKey() 56 LIST_FOR_EACH_ENTRY(item, (const ListNode *)list, SessionKeyItem, node) { in RemoveOldKey() 186 LIST_FOR_EACH_ENTRY(item, (const ListNode *)list, SessionKeyItem, node) { in GetSessionKeyTypeByIndex() 214 LIST_FOR_EACH_ENTRY(item, (const ListNode *)list, SessionKeyItem, node) { in GetLatestAvailableSessionKeyTime() 236 LIST_FOR_EACH_ENTRY(item, (const ListNode *)list, SessionKeyItem, node) { in SetSessionKeyAvailable() 275 ListNodeInsert((ListNode *)list, &item->node); in AddSessionKey() 289 if (IsListEmpty((const ListNode *)list)) { in GetLatestSessionKey() 296 LIST_FOR_EACH_ENTRY(item, (const ListNode *)list, SessionKeyItem, node) { in GetLatestSessionKey() 330 LIST_FOR_EACH_ENTRY(item, (const ListNode *)lis in SetSessionKeyAuthLinkType() [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/l2cap/ |
H A D | l2cap_inst.c | 48 ListNode *node = NULL; in L2capGetPsm() 67 ListNode *node = NULL; in L2capGetConnection() 86 ListNode *node = NULL; in L2capGetConnection2() 105 ListNode *node = NULL; in L2capGetConnection3() 106 ListNode *nodeChan = NULL; in L2capGetConnection3() 130 ListNode *node = NULL; in L2capGetChannel() 148 ListNode *node = NULL; in L2capGetChannel2() 260 ListNode *node = NULL; in L2capDestroyChannelTx() 327 ListNode *node = NULL; in L2capDisconnectTimeout() 412 ListNode *nod in L2capDeleteConnection() [all...] |