Home
last modified time | relevance | path

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

/kernel/liteos_a/lib/libscrew/src/
Dlos_rbtree.c142 while (LOS_RB_RED == pstX->pstParent->lColor) { in OsRbInsertNodeFixup()
148 if (LOS_RB_RED == pstY->lColor) { in OsRbInsertNodeFixup()
151 pstGParent->lColor = LOS_RB_RED; in OsRbInsertNodeFixup()
162 pstGParent->lColor = LOS_RB_RED; in OsRbInsertNodeFixup()
166 if (LOS_RB_RED == pstY->lColor) { in OsRbInsertNodeFixup()
169 pstGParent->lColor = LOS_RB_RED; in OsRbInsertNodeFixup()
180 pstGParent->lColor = LOS_RB_RED; in OsRbInsertNodeFixup()
200 if (LOS_RB_RED == pstW->lColor) { in OsRbDeleteNodeFixup()
202 pstNode->pstParent->lColor = LOS_RB_RED; in OsRbDeleteNodeFixup()
208 pstW->lColor = LOS_RB_RED; in OsRbDeleteNodeFixup()
[all …]
/kernel/liteos_a/lib/libscrew/include/
Dlos_rbtree.h48 #define LOS_RB_RED 0 macro