Home
last modified time | relevance | path

Searched refs:ListNode (Results 1 – 25 of 282) sorted by relevance

12345678910>>...12

/ohos5.0/base/startup/init/interfaces/innerkits/include/
H A Dlist.h71 typedef struct ListNode { struct
72 struct ListNode *next; argument
73 struct ListNode *prev; argument
74 } ListNode, ListHead; typedef
88 void OH_ListInit(struct ListNode *list);
97 void OH_ListAddTail(struct ListNode *list, struct ListNode *item);
106 void OH_ListRemove(struct ListNode *item);
118 typedef int (*ListCompareProc)(ListNode *node, ListNode *newNode);
131 void OH_ListAddWithOrder(struct ListNode *head, struct ListNode *item, ListCompareProc compareProc);
151 ListNode *OH_ListFind(const ListNode *head, void *data, ListTraversalProc compareProc);
[all …]
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/src/
H A Dlist.c21 typedef struct ListNode { struct
53 NO_SANITIZE("cfi") static ListNode *ListFreeNode(List *list, ListNode *node) in ListFreeNode()
57 ListNode *next = ListGetNextNode(node); in ListFreeNode()
99 ListNode *node = (ListNode *)calloc(1, sizeof(ListNode)); in ListAddFirst()
112 ListNode *node = (ListNode *)calloc(1, sizeof(ListNode)); in ListAddLast()
139 ListNode *ListGetFirstNode(const List *list) in ListGetFirstNode()
149 ListNode *ListGetLastNode(const List *list) in ListGetLastNode()
158 ListNode *ListGetNextNode(const ListNode *listNode) in ListGetNextNode()
167 void *ListGetNodeData(const ListNode *node) in ListGetNodeData()
196 ListNode *first = ListGetFirstNode(list); in ListRemoveFirst()
[all …]
/ohos5.0/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/
H A Dlist.h53 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()
218 ListNode<T>* listNode = new ListNode<T>(); in Insert()
240 ListNode<T>* Remove(ListNode<T>* node) in Remove()
293 ListNode<T>* Head() const in Head()
305 ListNode<T>* Tail() const in Tail()
317 ListNode<T>* Begin() const in Begin()
342 ListNode<T>* Next(const ListNode<T>* node) const in Next()
[all …]
/ohos5.0/base/startup/init/services/utils/
H A Dlist.c29 void OH_ListInit(struct ListNode *node) in OH_ListInit()
45 void OH_ListAddTail(struct ListNode *head, struct ListNode *item) in OH_ListAddTail()
63 void OH_ListRemove(struct ListNode *item) in OH_ListRemove()
83 void OH_ListAddWithOrder(struct ListNode *head, struct ListNode *item, ListCompareProc compareProc) in OH_ListAddWithOrder()
85 ListNode *match; in OH_ListAddWithOrder()
117 ListNode *OH_ListFind(const ListNode *head, void *data, ListTraversalProc compareProc) in OH_ListFind()
119 ListNode *match; in OH_ListFind()
154 ListNode *match; in OH_ListTraversal()
155 ListNode *next; in OH_ListTraversal()
218 int OH_ListGetCnt(const ListNode *head) in OH_ListGetCnt()
[all …]
/ohos5.0/foundation/communication/dsoftbus/core/common/include/
H A Dcommon_list.h28 typedef struct ListNode { struct
29 struct ListNode *prev; /* Current node's pointer to the previous node */ argument
30 struct ListNode *next; /* Current node's pointer to the next node */ argument
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 *list, ListNode *node) in ListNodeInsert()
68 __attribute__((always_inline)) static inline void ListDelete(ListNode *node) in ListDelete()
118 __attribute__((always_inline)) static inline void ListDel(ListNode *prevNode, ListNode *nextNode) in ListDel()
[all …]
/ohos5.0/foundation/distributeddatamgr/pasteboard/utils/native/include/
H A Dpasteboard_linked_list.h26 struct ListNode { struct
32 ListNode<T> *next; argument
40 head_ = new ListNode<T>(); in LinkedList()
59 ListNode<T> *iter = head_->next; in Clear()
60 ListNode<T> *next = nullptr; in Clear()
76 ListNode<T> *newNode = new ListNode<T>(value); in InsertFront()
88 ListNode<T> *newNode = new ListNode<T>(value); in InsertTail()
89 ListNode<T> *iter = head_; in InsertTail()
103 ListNode<T> *iter = head_->next; in RemoveIf()
104 ListNode<T> *prev = head_; in RemoveIf()
[all …]
/ohos5.0/foundation/communication/wifi/wifi/base/cRPC/src/
H A Dhash_table.c61 p->list = (ListNode **)calloc(p->slots, sizeof(ListNode *)); in InitHashTable()
74 ListNode *t = p->list[i]; 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 *t = p->list[slot]; in FindContext()
144 ListNode *t = p->list[slot]; in InsertHashTable()
145 ListNode *q = t; in InsertHashTable()
151 ListNode *n = (ListNode *)calloc(1, sizeof(ListNode)); in InsertHashTable()
181 ListNode *t = p->list[slot]; in DeleteHashTable()
[all …]
/ohos5.0/base/tee/tee_client/frameworks/include/
H A Dtee_client_list.h22 struct ListNode name = { \
27 static inline void ListInit(struct ListNode *list) in ListInit()
37 static inline void ListInsertHead(struct ListNode *list, struct ListNode *entry) in ListInsertHead()
45 static inline void ListInsertTail(struct ListNode *list, struct ListNode *entry) in ListInsertTail()
53 static inline void ListRemoveEntry(struct ListNode *entry) in ListRemoveEntry()
59 static inline struct ListNode *ListRemoveHead(struct ListNode *list) in ListRemoveHead()
61 struct ListNode *entry = NULL; in ListRemoveHead()
69 static inline struct ListNode *ListRemoveTail(struct ListNode *list) in ListRemoveTail()
71 struct ListNode *entry = NULL; in ListRemoveTail()
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/presets/
H A Dcjson_parser.h35 struct ListNode : public MemoryHeap { struct
37 ListNode *next = nullptr; argument
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_…
155 uint8_t FormatString(const char *format, jerry_value_t arg, ListNode *&node, jerry_value_t num);
225 int GetWinFiles(ListNode *&fileList);
[all …]
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/include/
H A Dlist.h39 typedef struct ListNode ListNode; typedef
114 ListNode *ListGetFirstNode(const List *list);
123 ListNode *ListGetLastNode(const List *list);
132 ListNode *ListGetNextNode(const ListNode *listNode);
141 void *ListGetNodeData(const ListNode *node);
/ohos5.0/base/startup/init/interfaces/innerkits/hookmgr/
H A Dhookmgr.c32 ListNode node;
41 ListNode node;
43 ListNode hooks;
51 ListNode stages;
72 static int hookStageCompare(ListNode *node, void *data) in hookStageCompare()
81 static void hookStageDestroy(ListNode *node) in hookStageDestroy()
111 static int hookItemCompare(ListNode *node, ListNode *newNode) in hookItemCompare()
127 static int hookItemCompareValue(ListNode *node, void *data) in hookItemCompareValue()
232 OH_ListRemove((ListNode *)stageItem); in HookMgrDel()
235 hookStageDestroy((ListNode *)stageItem); in HookMgrDel()
[all …]
/ohos5.0/base/startup/appspawn/standard/
H A Dappspawn_appmgr.c78 static void SpawningQueueDestroy(ListNode *node) in SpawningQueueDestroy()
84 static void ExtDataDestroy(ListNode *node) in ExtDataDestroy()
111 ListNode *node = g_appSpawnMgr->appQueue.next; in TraversalSpawnedProcess()
113 ListNode *next = node->next; in TraversalSpawnedProcess()
120 static int AppInfoPidComparePro(ListNode *node, void *data) in AppInfoPidComparePro()
133 static int AppInfoCompareProc(ListNode *node, ListNode *newNode) in AppInfoCompareProc()
353 ListNode *node = g_appSpawnMgr->appSpawnQueue.next; in AppSpawningCtxTraversal()
355 ListNode *next = node->next; in AppSpawningCtxTraversal()
362 static int DumpAppSpawnQueue(ListNode *node, void *data) in DumpAppSpawnQueue()
373 static int DumpAppQueue(ListNode *node, void *data) in DumpAppQueue()
[all …]
/ohos5.0/base/tee/tee_client/interfaces/kits/c/include/
H A Dtee_client_type.h49 struct ListNode { struct
50 struct ListNode *next; argument
51 struct ListNode *prev; argument
84 struct ListNode session_list;
85 struct ListNode shrd_mem_list;
106 struct ListNode head;
125 struct ListNode head;
/ohos5.0/foundation/communication/wifi/wifi/base/cRPC/include/
H A Dhash_table.h42 typedef struct ListNode ListNode; typedef
43 struct ListNode { struct
45 struct ListNode *next; argument
52 ListNode **list;
/ohos5.0/base/security/device_security_level/baselib/utils/include/
H A Dutils_dslm_list.h24 typedef ListHead ListNode; typedef
26 static inline void AddListNode(ListNode *item, ListNode *where) in AddListNode()
34 static inline void AddListNodeBefore(ListNode *item, ListNode *where) in AddListNodeBefore()
39 static inline void RemoveListNode(ListNode *item) in RemoveListNode()
/ohos5.0/base/startup/init/services/sandbox/include/
H A Dsandbox.h38 struct ListNode node;
44 struct ListNode node;
48 ListNode pathMountsHead;
49 ListNode fileMountsHead;
50 ListNode linksHead;
/ohos5.0/foundation/communication/dsoftbus/core/common/dfx/hidumper_adapter/include/
H A Dsoftbus_hidumper.h37 ListNode node;
45 ListNode node;
53 void SoftBusDumpSubModuleHelp(int fd, char *moduleName, ListNode *varList);
54 int32_t SoftBusAddDumpVarToList(const char *dumpVar, SoftBusVarDumpCb cb, ListNode *subModoleVarLis…
55 void SoftBusReleaseDumpVar(ListNode *varList);
/ohos5.0/foundation/communication/dsoftbus/core/common/dfx/hidumper_adapter/
H A Dsoftbus_hidumper.c44 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 *item = NULL; in SoftBusDumpDispatch()
/ohos5.0/base/startup/appspawn/modules/sandbox/
H A Dappspawn_permission.c25 static int PermissionNodeCompareIndex(ListNode *node, void *data) in PermissionNodeCompareIndex()
31 static int PermissionNodeCompareName(ListNode *node, void *data) in PermissionNodeCompareName()
41 static int PermissionNodeCompareProc(ListNode *node, ListNode *newNode) in PermissionNodeCompareProc()
84 ListNode *node = queue->front.next; in DeleteSandboxPermissions()
103 ListNode *node = queue->front.next; in PermissionRenumber()
125 ListNode *node = OH_ListFind(&queue->front, (void *)permission, PermissionNodeCompareName); in GetPermissionNodeInQueue()
137 ListNode *node = OH_ListFind(&queue->front, (void *)&index, PermissionNodeCompareIndex); in GetPermissionNodeInQueueByIndex()
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/session/include/
H A Dclient_trans_socket_manager.h41 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 …dleTimeout(const ClientSessionServer *serverNode, SessionInfo *sessionNode, ListNode *destroyList);
87 int32_t ReCreateSessionServerToServer(ListNode *sessionServerInfoList);
/ohos5.0/base/startup/appspawn/test/moduletest/threadpool/
H A Dthread_manager.c33 ListNode taskList; // 任务队列,任务还没有启动
34 ListNode waitingTaskQueue; // 启动的任务,排队等待执行
35 ListNode executingTaskQueue; // 正在执行
47 ListNode node;
48 ListNode executorList;
60 ListNode executeNode; // 等待处理的任务节点
95 ListNode *node = mgr->executorQueue.next; in PopTaskExecutor()
108 ListNode *node = task->executorList.next; in AddExecutor()
154 ListNode *node = NULL; in GetTask()
181 ListNode *node = queue->next; in PopTask()
[all …]
/ohos5.0/foundation/systemabilitymgr/samgr_lite/samgr_endpoint/source/
H A Dsa_store.h32 typedef struct ListNode ListNode; typedef
50 ListNode *root;
56 struct ListNode { struct
57 ListNode *next; argument
/ohos5.0/base/startup/init/interfaces/innerkits/modulemgr/
H A Dmodulemgr.c39 ListNode modules;
79 ListNode node;
85 static void ModuleDestroy(ListNode *node) in ModuleDestroy()
129 static int ModuleCompare(ListNode *node, void *data) in ModuleCompare()
172 ModuleDestroy((ListNode *)module); in ModuleMgrInstall()
177 OH_ListAddTail(&(moduleMgr->modules), (ListNode *)module); in ModuleMgrInstall()
283 OH_ListRemove((ListNode *)module); in ModuleMgrUninstall()
285 ModuleDestroy((ListNode *)module); in ModuleMgrUninstall()
299 static int ModuleTraversalProc(ListNode *node, void *cookie) in ModuleTraversalProc()
334 OH_ListTraversal((ListNode *)(&(moduleMgr->modules)), (void *)(&args), ModuleTraversalProc, 0); in ModuleMgrTraversal()
/ohos5.0/base/startup/init/ueventd/include/
H A Dueventd_read_cfg.h34 struct ListNode list;
35 struct ListNode paramNode;
44 struct ListNode list;
49 struct ListNode list;
/ohos5.0/foundation/arkui/ui_lite/frameworks/common/
H A Dspannable_string.cpp44 ListNode<StyleSpan*>* tempSpan = styleList_.Begin(); in GetTextStyle()
87 ListNode<FontSizeSpan>* node = input->sizeList_.Begin(); in SetSpannableString()
92 ListNode<FontIdSpan>* node_id = input->fontIdList_.Begin(); in SetSpannableString()
97 ListNode<LetterHeightSpan>* node_height = input->heightList_.Begin(); in SetSpannableString()
102 ListNode<StyleSpan*>* node_span = input->styleList_.Begin(); in SetSpannableString()
199 ListNode<FontSizeSpan>* tempSpan = sizeList_.Begin(); in SetFontSize()
234 ListNode<FontSizeSpan>* tempSpan = sizeList_.Begin(); in GetFontSize()
258 ListNode<FontIdSpan>* tempSpan = fontIdList_.Begin(); in SetFontId()
292 ListNode<FontIdSpan>* tempSpan = fontIdList_.Begin(); in GetFontId()
316 ListNode<LetterHeightSpan>* tempSpan = heightList_.Begin(); in SetFontHeight()
[all …]

12345678910>>...12