Lines Matching refs:pChild
2217 RtreeNode *pChild = 0; in ChooseLeaf() local
2243 rc = nodeAcquire(pRtree, iBest, pNode, &pChild); in ChooseLeaf()
2245 pNode = pChild; in ChooseLeaf()
2564 RtreeNode *pChild = nodeHashLookup(pRtree, iRowid); in updateMapping() local
2567 if( p==pChild ) return SQLITE_CORRUPT_VTAB; in updateMapping()
2569 if( pChild ){ in updateMapping()
2570 nodeRelease(pRtree, pChild->pParent); in updateMapping()
2572 pChild->pParent = pNode; in updateMapping()
2729 RtreeNode *pChild = pLeaf; in fixLeafParent() local
2730 while( rc==SQLITE_OK && pChild->iNode!=1 && pChild->pParent==0 ){ in fixLeafParent()
2732 sqlite3_bind_int64(pRtree->pReadParent, 1, pChild->iNode); in fixLeafParent()
2746 rc2 = nodeAcquire(pRtree, iNode, 0, &pChild->pParent); in fixLeafParent()
2751 if( rc==SQLITE_OK && !pChild->pParent ){ in fixLeafParent()
2755 pChild = pChild->pParent; in fixLeafParent()
2983 RtreeNode *pChild = nodeHashLookup(pRtree, pCell->iRowid); in rtreeInsertCell() local
2984 if( pChild ){ in rtreeInsertCell()
2985 nodeRelease(pRtree, pChild->pParent); in rtreeInsertCell()
2987 pChild->pParent = pNode; in rtreeInsertCell()
3103 RtreeNode *pChild = 0; in rtreeDeleteRowid() local
3105 rc = nodeAcquire(pRtree, iChild, pRoot, &pChild); /* tag-20210916a */ in rtreeDeleteRowid()
3107 rc = removeNode(pRtree, pChild, pRtree->iDepth-1); in rtreeDeleteRowid()
3109 rc2 = nodeRelease(pRtree, pChild); in rtreeDeleteRowid()