Lines Matching refs:iNew
47163 unsigned int iNew
47181 h = iNew%pCache->nHash;
47182 pPage->iKey = iNew;
47185 if( iNew>pCache->iMaxKey ){
47186 pCache->iMaxKey = iNew;
55155 SQLITE_PRIVATE void sqlite3PagerRekey(DbPage *pPg, Pgno iNew, u16 flags){
55156 assert( pPg->pgno!=iNew );
55158 sqlite3PcacheMove(pPg, iNew);
67264 int iNew, /* Index of new first cell on page */
67276 int iNewEnd = iNew + nNew;
67284 if( iOld<iNew ){
67285 int nShift = pageFreeArray(pPg, iOld, iNew-iOld, pCArray);
67297 if( iNew<iOld ){
67298 int nAdd = MIN(nNew,iOld-iNew);
67299 assert( (iOld-iNew)<nNew || nCell==0 || CORRUPT_DB );
67304 iNew, nAdd, pCArray
67311 int iCell = (iOld + pPg->aiOvfl[i]) - iNew;
67318 iCell+iNew, 1, pCArray
67327 iNew+nCell, nNew-nCell, pCArray
67338 u8 *pCell = pCArray->apCell[i+iNew];
67344 pCArray->pRef->xCellSize(pCArray->pRef, pCArray->apCell[i+iNew])) );
67351 populateCellCache(pCArray, iNew, nNew);
67352 return rebuildPage(pPg, nNew, &pCArray->apCell[iNew], &pCArray->szCell[iNew]);
68136 int iNew = 0;
68146 if( i==cntNew[iNew] ){
68147 pNew = apNew[++iNew];
68254 int iNew;
68267 iNew = iOld = 0;
68271 iNew = cntNew[iPg-1] + !leafData;
68272 nNewCell = cntNew[iPg] - iNew;
68275 rc = editPage(apNew[iPg], iOld, iNew, nNewCell, &b);
134425 tRowcnt iNew;
134429 iNew = a[0] + ((pLower->eOperator & mask) ? a[1] : 0);
134430 if( iNew>iLower ) iLower = iNew;
134442 tRowcnt iNew;
134446 iNew = a[0] + ((pUpper->eOperator & mask) ? a[1] : 0);
134447 if( iNew<iUpper ) iUpper = iNew;
199810 static int sqlite3Fts5IndexSetCookie(Fts5Index *p, int iNew){
199817 sqlite3Fts5Put32(aCookie, iNew);
202341 i64 iNew = sqlite3_value_int64(apVal[1]); /* Rowid to delete */
202342 rc = sqlite3Fts5StorageDelete(pTab->pStorage, iNew, 0);
202350 i64 iNew = sqlite3_value_int64(apVal[1]); /* New rowid */
202351 if( iOld!=iNew ){
202355 rc = sqlite3Fts5StorageDelete(pTab->pStorage, iNew, 0);
204659 int iNew = p->pConfig->iCookie + 1;
204660 rc = sqlite3Fts5IndexSetCookie(p->pIndex, iNew);
204662 p->pConfig->iCookie = iNew;