Lines Matching defs:pRoot
1241 RtreeNode *pRoot = 0;
1294 rc = nodeAcquire(pRtree, 1, 0, &pRoot);
1298 int nCell = NCELL(pRoot);
1299 pCsr->pNode = pRoot;
1301 assert( pCsr->pNode==pRoot );
1308 assert( pCsr->pNode==pRoot );
1309 nodeRelease(pRtree, pRoot);
2652 RtreeNode *pRoot;
2655 rc = nodeAcquire(pRtree, 1, 0, &pRoot);
2693 if( rc==SQLITE_OK && pRtree->iDepth>0 && NCELL(pRoot)==1 ){
2696 i64 iChild = nodeGetRowid(pRtree, pRoot, 0);
2697 rc = nodeAcquire(pRtree, iChild, pRoot, &pChild);
2705 writeInt16(pRoot->zData, pRtree->iDepth);
2706 pRoot->isDirty = 1;
2721 rc = nodeRelease(pRtree, pRoot);
2723 nodeRelease(pRtree, pRoot);