Home
last modified time | relevance | path

Searched defs:pstTree (Results 1 – 2 of 2) sorted by relevance

/kernel/liteos_a/lib/libscrew/src/
Dlos_rbtree.c49 STATIC VOID OsRbLeftRotateNode(LosRbTree *pstTree, LosRbNode *pstX) in OsRbLeftRotateNode()
88 STATIC VOID OsRbRightRotateNode(LosRbTree *pstTree, LosRbNode *pstY) in OsRbRightRotateNode()
128 STATIC VOID OsRbInsertNodeFixup(LosRbTree *pstTree, VOID *pstData) in OsRbInsertNodeFixup()
190 STATIC VOID OsRbDeleteNodeFixup(LosRbTree *pstTree, LosRbNode *pstNode) in OsRbDeleteNodeFixup()
257 STATIC VOID OsRbDeleteNode(LosRbTree *pstTree, VOID *pstData) in OsRbDeleteNode()
392 STATIC VOID OsRbInitTree(LosRbTree *pstTree) in OsRbInitTree()
413 STATIC VOID OsRbClearTree(LosRbTree *pstTree) in OsRbClearTree()
435 LosRbWalk *LOS_RbCreateWalk(LosRbTree *pstTree) in LOS_RbCreateWalk()
497 VOID LOS_RbInsertOneNodeProcess(LosRbTree *pstTree, LosRbNode *pstParent, LosRbNode *pstNew) in LOS_RbInsertOneNodeProcess()
524 VOID LOS_RbInitTree(LosRbTree *pstTree, pfRBCmpKeyFn pfCmpKey, pfRBFreeFn pfFree, pfRBGetKeyFn pfGe… in LOS_RbInitTree()
[all …]
/kernel/liteos_a/lib/libscrew/include/
Dlos_rbtree.h76 struct TagRbTree *pstTree; member
83 #define RB_SCAN(pstTree, pstNode) do { \ argument
87 #define RB_SCAN_END(pstTree, pstNode) } \ argument
91 #define RB_SCAN_SAFE(pstTree, pstNode, pstNodeTemp) do { … argument
96 #define RB_SCAN_SAFE_END(pstTree, pstNode, pstNodeTemp) } … argument
100 #define RB_MID_SCAN(pstTree, pstNode) do { \ argument
103 #define RB_MID_SCAN_END(pstTree, pstNode) } \ argument
107 #define RB_WALK(pstTree, pstNode, pstRbWalk) do { \ argument
113 #define RB_WALK_END(pstTree, pstNode, pstRbWalk) } \ argument
119 #define RB_COUNT(pstTree) ((pstTree)->ulNodes) argument