Home
last modified time | relevance | path

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

/kernel/liteos_a/lib/libscrew/src/
Dlos_rbtree.c408 pstTree->pfGetKey = NULL; in OsRbInitTree()
509 pNodeKey = pstTree->pfGetKey(pstNew); in LOS_RbInsertOneNodeProcess()
510 pKey = pstTree->pfGetKey(pstParent); in LOS_RbInsertOneNodeProcess()
524 …LOS_RbInitTree(LosRbTree *pstTree, pfRBCmpKeyFn pfCmpKey, pfRBFreeFn pfFree, pfRBGetKeyFn pfGetKey) in LOS_RbInitTree() argument
534 pstTree->pfGetKey = pfGetKey; 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()
680 pNodeKey = pstTree->pfGetKey(pstX); in LOS_RbGetNode()
714 if ((NULL == pstTree->pfGetKey) || (NULL == pstTree->pfCmpKey)) { in LOS_RbAddNode()
[all …]
/kernel/liteos_a/lib/libscrew/include/
Dlos_rbtree.h70 pfRBGetKeyFn pfGetKey; member
124 …OS_RbInitTree(LosRbTree *pstTree, pfRBCmpKeyFn pfCmpKey, pfRBFreeFn pfFree, pfRBGetKeyFn pfGetKey);