Searched refs:pfGetKey (Results 1 – 2 of 2) sorted by relevance
408 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() argument534 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 …]
70 pfRBGetKeyFn pfGetKey; member124 …OS_RbInitTree(LosRbTree *pstTree, pfRBCmpKeyFn pfCmpKey, pfRBFreeFn pfFree, pfRBGetKeyFn pfGetKey);