Lines Matching refs:pChild

58305   MemPage *pChild = 0;           /* Pointer to a new child page */
58318 rc = allocateBtreePage(pBt,&pChild,&pgnoChild,pRoot->pgno,0);
58319 copyNodeContent(pRoot, pChild, &rc);
58326 releasePage(pChild);
58329 assert( sqlite3PagerIswriteable(pChild->pDbPage) );
58331 assert( pChild->nCell==pRoot->nCell );
58333 TRACE(("BALANCE: copy root %d into %d\n", pRoot->pgno, pChild->pgno));
58335 /* Copy the overflow cells from pRoot to pChild */
58336 memcpy(pChild->aiOvfl, pRoot->aiOvfl,
58338 memcpy(pChild->apOvfl, pRoot->apOvfl,
58340 pChild->nOverflow = pRoot->nOverflow;
58342 /* Zero the contents of pRoot. Then install pChild as the right-child. */
58343 zeroPage(pRoot, pChild->aData[0] & ~PTF_LEAF);
58346 *ppChild = pChild;
146510 RtreeNode *pChild;
146536 rc = nodeAcquire(pRtree, iBest, pNode, &pChild);
146538 pNode = pChild;
146848 RtreeNode *pChild = nodeHashLookup(pRtree, iRowid);
146849 if( pChild ){
146850 nodeRelease(pRtree, pChild->pParent);
146852 pChild->pParent = pNode;
147007 RtreeNode *pChild = pLeaf;
147008 while( rc==SQLITE_OK && pChild->iNode!=1 && pChild->pParent==0 ){
147010 sqlite3_bind_int64(pRtree->pReadParent, 1, pChild->iNode);
147016 /* Before setting pChild->pParent, test that we are not creating a
147017 ** loop of references (as we would if, say, pChild==pParent). We don't
147024 rc2 = nodeAcquire(pRtree, iNode, 0, &pChild->pParent);
147029 if( rc==SQLITE_OK && !pChild->pParent ) rc = SQLITE_CORRUPT_VTAB;
147030 pChild = pChild->pParent;
147257 RtreeNode *pChild = nodeHashLookup(pRtree, pCell->iRowid);
147258 if( pChild ){
147259 nodeRelease(pRtree, pChild->pParent);
147261 pChild->pParent = pNode;
147373 RtreeNode *pChild;
147375 rc = nodeAcquire(pRtree, iChild, pRoot, &pChild);
147377 rc = removeNode(pRtree, pChild, pRtree->iDepth-1);
147379 rc2 = nodeRelease(pRtree, pChild);