Searched refs:pKey (Results 1 – 2 of 2) sorted by relevance
/kernel/liteos_a/lib/libscrew/src/ |
D | los_rbtree.c | 501 VOID *pKey = NULL; in LOS_RbInsertOneNodeProcess() local 510 pKey = pstTree->pfGetKey(pstParent); in LOS_RbInsertOneNodeProcess() 511 ulCmpResult = pstTree->pfCmpKey(pNodeKey, pKey); in LOS_RbInsertOneNodeProcess() 631 LosRbNode *LOS_RbGetNextNode(LosRbTree *pstTree, VOID *pKey) in LOS_RbGetNextNode() argument 635 if (TRUE == LOS_RbGetNode(pstTree, pKey, &pNode)) { in LOS_RbGetNextNode() 639 } else if (RB_BIGGER == pstTree->pfCmpKey(pKey, pstTree->pfGetKey(pNode))) { in LOS_RbGetNextNode() 646 if (RB_SMALLER == pstTree->pfCmpKey(pKey, pstTree->pfGetKey(pNode))) { in LOS_RbGetNextNode() 656 ULONG_T LOS_RbGetNode(LosRbTree *pstTree, VOID *pKey, LosRbNode **ppstNode) in LOS_RbGetNode() argument 664 if ((NULL == pstTree) || (NULL == pKey) || (NULL == ppstNode)) { in LOS_RbGetNode() 682 ulCmpResult = pstTree->pfCmpKey(pKey, pNodeKey); in LOS_RbGetNode()
|
/kernel/liteos_a/lib/libscrew/include/ |
D | los_rbtree.h | 126 LosRbNode *LOS_RbGetNextNode(LosRbTree *pstTree, VOID *pKey); 127 ULONG_T LOS_RbGetNode(LosRbTree *pstTree, VOID *pKey, LosRbNode **ppstNode);
|