Home
last modified time | relevance | path

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

/kernel/liteos_a/lib/libscrew/src/
Dlos_rbtree.c501 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/
Dlos_rbtree.h126 LosRbNode *LOS_RbGetNextNode(LosRbTree *pstTree, VOID *pKey);
127 ULONG_T LOS_RbGetNode(LosRbTree *pstTree, VOID *pKey, LosRbNode **ppstNode);