Lines Matching refs:pfGetKey
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() 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()
718 pNodeKey = pstTree->pfGetKey(pstNew); in LOS_RbAddNode()