Home
last modified time | relevance | path

Searched refs:pstRight (Results 1 – 2 of 2) sorted by relevance

/kernel/liteos_a/lib/libscrew/src/
Dlos_rbtree.c69 pstY = pstX->pstRight; in OsRbLeftRotateNode()
70 pstX->pstRight = pstY->pstLeft; in OsRbLeftRotateNode()
79 pstX->pstParent->pstRight = pstY; in OsRbLeftRotateNode()
110 pstY->pstLeft = pstX->pstRight; in OsRbRightRotateNode()
111 pstX->pstRight->pstParent = pstY; in OsRbRightRotateNode()
116 if (pstY == pstY->pstParent->pstRight) { in OsRbRightRotateNode()
117 pstY->pstParent->pstRight = pstX; in OsRbRightRotateNode()
123 pstX->pstRight = pstY; in OsRbRightRotateNode()
147 pstY = pstGParent->pstRight; in OsRbInsertNodeFixup()
156 if (pstParent->pstRight == pstX) { in OsRbInsertNodeFixup()
[all …]
/kernel/liteos_a/lib/libscrew/include/
Dlos_rbtree.h53 struct TagRbNode *pstRight; member
120 #define RB_IS_NOT_NILT(pstX) ((NULL != (pstX)->pstLeft) && (NULL != (pstX)->pstRight))