Lines Matching defs:pNode
633 LosRbNode *pNode = NULL;
635 if (TRUE == LOS_RbGetNode(pstTree, pKey, &pNode)) {
636 return LOS_RbSuccessorNode(pstTree, pNode);
637 } else if ((NULL == pNode) || (&pstTree->stNilT == pNode)) {
639 } else if (RB_BIGGER == pstTree->pfCmpKey(pKey, pstTree->pfGetKey(pNode))) {
640 while (NULL != pNode) {
641 pNode = LOS_RbSuccessorNode(pstTree, pNode);
642 if (NULL == pNode) {
646 if (RB_SMALLER == pstTree->pfCmpKey(pKey, pstTree->pfGetKey(pNode))) {
650 return pNode;
652 return pNode;