Searched refs:pfCmpKey (Results 1 – 2 of 2) sorted by relevance
/kernel/liteos_a/lib/libscrew/src/ |
D | los_rbtree.c | 406 pstTree->pfCmpKey = NULL; in OsRbInitTree() 511 ulCmpResult = pstTree->pfCmpKey(pNodeKey, pKey); in LOS_RbInsertOneNodeProcess() 524 VOID LOS_RbInitTree(LosRbTree *pstTree, pfRBCmpKeyFn pfCmpKey, pfRBFreeFn pfFree, pfRBGetKeyFn pfGe… in LOS_RbInitTree() argument 532 pstTree->pfCmpKey = pfCmpKey; in LOS_RbInitTree() 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() 670 if ((NULL == pstTree->pfGetKey) || (NULL == pstTree->pfCmpKey)) { in LOS_RbGetNode() 682 ulCmpResult = pstTree->pfCmpKey(pKey, pNodeKey); in LOS_RbGetNode() 714 if ((NULL == pstTree->pfGetKey) || (NULL == pstTree->pfCmpKey)) { in LOS_RbAddNode()
|
/kernel/liteos_a/lib/libscrew/include/ |
D | los_rbtree.h | 68 pfRBCmpKeyFn pfCmpKey; member 124 VOID LOS_RbInitTree(LosRbTree *pstTree, pfRBCmpKeyFn pfCmpKey, pfRBFreeFn pfFree, pfRBGetKeyFn pfGe…
|