Home
last modified time | relevance | path

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

/kernel/liteos_a/lib/libscrew/src/
Dlos_rbtree.c149 pstY->lColor = LOS_RB_BLACK; in OsRbInsertNodeFixup()
150 pstParent->lColor = LOS_RB_BLACK; in OsRbInsertNodeFixup()
161 pstX->pstParent->lColor = LOS_RB_BLACK; in OsRbInsertNodeFixup()
167 pstY->lColor = LOS_RB_BLACK; in OsRbInsertNodeFixup()
168 pstParent->lColor = LOS_RB_BLACK; in OsRbInsertNodeFixup()
179 pstX->pstParent->lColor = LOS_RB_BLACK; in OsRbInsertNodeFixup()
185 pstTree->pstRoot->lColor = LOS_RB_BLACK; in OsRbInsertNodeFixup()
197 while ((pstNode != pstTree->pstRoot) && (LOS_RB_BLACK == pstNode->lColor)) { in OsRbDeleteNodeFixup()
201 pstW->lColor = LOS_RB_BLACK; in OsRbDeleteNodeFixup()
207 … if ((LOS_RB_BLACK == pstW->pstLeft->lColor) && (LOS_RB_BLACK == pstW->pstRight->lColor)) { in OsRbDeleteNodeFixup()
[all …]
/kernel/liteos_a/lib/libscrew/include/
Dlos_rbtree.h49 #define LOS_RB_BLACK 1 macro