• Home
  • Raw
  • Download

Lines Matching +full:li +full:-

2  * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
3 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
65 * <li>The parameter passed in should be ensured to be a legal pointer.</li>
72 * <ul><li>los_list.h: the header file that contains the API declaration.</li></ul>
77 list->pstNext = list; in LOS_ListInit()
78 list->pstPrev = list; in LOS_ListInit()
87 * <li>This API is used to point to the next node pointed to by the current node.</li>
91 * <li>None.</li>
98 * <ul><li>los_list.h: the header file that contains the API declaration.</li></ul>
101 #define LOS_DL_LIST_FIRST(object) ((object)->pstNext)
111 * <li>The parameters passed in should be ensured to be legal pointers.</li>
119 * <ul><li>los_list.h: the header file that contains the API declaration.</li></ul>
124 node->pstNext = list->pstNext; in LOS_ListAdd()
125 node->pstPrev = list; in LOS_ListAdd()
126 list->pstNext->pstPrev = node; in LOS_ListAdd()
127 list->pstNext = node; in LOS_ListAdd()
138 * <li>The parameters passed in should be ensured to be legal pointers.</li>
146 * <ul><li>los_list.h: the header file that contains the API declaration.</li></ul>
151 LOS_ListAdd(list->pstPrev, node); in LOS_ListTailInsert()
162 * <li>The parameters passed in should be ensured to be legal pointers.</li>
170 * <ul><li>los_list.h: the header file that contains the API declaration.</li></ul>
184 * <li>This API is used to delete a specified node from a doubly linked list.</li>
188 * <li>The parameter passed in should be ensured to be a legal pointer.</li>
195 * <ul><li>los_list.h: the header file that contains the API declaration.</li></ul>
200 node->pstNext->pstPrev = node->pstPrev; in LOS_ListDelete()
201 node->pstPrev->pstNext = node->pstNext; in LOS_ListDelete()
202 node->pstNext = (LOS_DL_LIST *)NULL; in LOS_ListDelete()
203 node->pstPrev = (LOS_DL_LIST *)NULL; in LOS_ListDelete()
212 * <li>This API is used to return whether a doubly linked list is empty.</li>
216 * <li>The parameter passed in should be ensured to be a legal pointer.</li>
224 * <ul><li>los_list.h: the header file that contains the API declaration.</li></ul>
229 return (BOOL)(node->pstNext == node); in LOS_ListEmpty()
240 * <li>None.</li>
248 * <ul><li>los_list.h: the header file that contains the API declaration.</li></ul>
251 #define LOS_OFF_SET_OF(type, member) ((UINT32)&(((type *)0)->member))
260 * <li>None.</li>
264 * <li>None.</li>
273 * <ul><li>los_list.h: the header file that contains the API declaration.</li></ul>
277 ((type *)(VOID *)((CHAR *)(item) - LOS_OFF_SET_OF(type, member))) \
287 * <li>None.</li>
297 * <ul><li>los_list.h: the header file that contains the API declaration.</li></ul>
301 for ((item) = LOS_DL_LIST_ENTRY((list)->pstNext, type, member); \
302 &(item)->member != (list); \
303 (item) = LOS_DL_LIST_ENTRY((item)->member.pstNext, type, member))
313 * <li>None.</li>
324 * <ul><li>los_list.h: the header file that contains the API declaration.</li></ul>
328 for ((item) = LOS_DL_LIST_ENTRY((list)->pstNext, type, member), \
329 (next) = LOS_DL_LIST_ENTRY((item)->member.pstNext, type, member); \
330 &((item)->member) != (list); \
331 (item) = (next), (next) = LOS_DL_LIST_ENTRY((item)->member.pstNext, type, member))
341 * <li>The parameter passed in should be ensured to be s legal pointer.</li>
348 * <ul><li>los_list.h: the header file that contains the API declaration.</li></ul>
353 list->pstNext->pstPrev = list->pstPrev; in LOS_ListDelInit()
354 list->pstPrev->pstNext = list->pstNext; in LOS_ListDelInit()
366 * <li>None.</li>
374 * <ul><li>los_list.h: the header file that contains the API declaration.</li></ul>
378 for ((item) = (list)->pstNext; (item) != (list); (item) = (item)->pstNext)
388 * <li>None.</li>
397 * <ul><li>los_list.h: the header file that contains the API declaration.</li></ul>
401 for ((item) = (list)->pstNext, (next) = (item)->pstNext; (item) != (list); \
402 (item) = (next), (next) = (item)->pstNext)
412 * <li>None.</li>
419 * <ul><li>los_list.h: the header file that contains the API declaration.</li></ul>