Searched refs:pstX (Results 1 – 2 of 2) sorted by relevance
41 STATIC VOID OsRbLeftRotateNode(LosRbTree *pstTree, LosRbNode *pstX);49 STATIC VOID OsRbLeftRotateNode(LosRbTree *pstTree, LosRbNode *pstX) in OsRbLeftRotateNode() argument55 if (pstTree == NULL || pstX == NULL) { in OsRbLeftRotateNode()69 pstY = pstX->pstRight; in OsRbLeftRotateNode()70 pstX->pstRight = pstY->pstLeft; in OsRbLeftRotateNode()71 pstY->pstLeft->pstParent = pstX; in OsRbLeftRotateNode()72 pstY->pstParent = pstX->pstParent; in OsRbLeftRotateNode()73 if (pstNilT == pstX->pstParent) { in OsRbLeftRotateNode()76 if (pstX == pstX->pstParent->pstLeft) { in OsRbLeftRotateNode()77 pstX->pstParent->pstLeft = pstY; in OsRbLeftRotateNode()[all …]
120 #define RB_IS_NOT_NILT(pstX) ((NULL != (pstX)->pstLeft) && (NULL != (pstX)->pstRight)) argument