Home | History | Annotate | Download | only in rtree

Lines Matching defs:pChild

1000   RtreeNode *pChild;
1018 rc = nodeAcquire(pRtree, iRowid, pCursor->pNode, &pChild);
1024 pCursor->pNode = pChild;
1026 for(ii=0; isEof && ii<NCELL(pChild); ii++){
1035 assert( pCursor->pNode==pChild );
1037 nodeRelease(pRtree, pChild);
1576 RtreeNode *pChild;
1634 rc = nodeAcquire(pRtree, iBest, pNode, &pChild);
1636 pNode = pChild;
2152 RtreeNode *pChild = nodeHashLookup(pRtree, iRowid);
2153 if( pChild ){
2154 nodeRelease(pRtree, pChild->pParent);
2156 pChild->pParent = pNode;
2310 RtreeNode *pChild = pLeaf;
2311 while( rc==SQLITE_OK && pChild->iNode!=1 && pChild->pParent==0 ){
2313 sqlite3_bind_int64(pRtree->pReadParent, 1, pChild->iNode);
2319 /* Before setting pChild->pParent, test that we are not creating a
2320 ** loop of references (as we would if, say, pChild==pParent). We don't
2327 rc2 = nodeAcquire(pRtree, iNode, 0, &pChild->pParent);
2332 if( rc==SQLITE_OK && !pChild->pParent ) rc = SQLITE_CORRUPT;
2333 pChild = pChild->pParent;
2558 RtreeNode *pChild = nodeHashLookup(pRtree, pCell->iRowid);
2559 if( pChild ){
2560 nodeRelease(pRtree, pChild->pParent);
2562 pChild->pParent = pNode;
2695 RtreeNode *pChild;
2697 rc = nodeAcquire(pRtree, iChild, pRoot, &pChild);
2699 rc = removeNode(pRtree, pChild, pRtree->iDepth-1);
2701 rc2 = nodeRelease(pRtree, pChild);