• Home
  • Raw
  • Download

Lines Matching refs:iLast

56210   u32 iLast;                      /* Last frame in log */
56220 iLast = pWal->hdr.mxFrame;
56223 nSegment = walFramePage(iLast) + 1;
56226 + iLast*sizeof(ht_slot);
56238 sizeof(ht_slot) * (iLast>HASHTABLE_NPAGE?HASHTABLE_NPAGE:iLast)
56257 nEntry = (int)(iLast - iZero);
57237 u32 iLast = pWal->hdr.mxFrame; /* Last page in WAL for this reader */
57250 if( iLast==0 || pWal->readLock==0 ){
57281 for(iHash=walFramePage(iLast); iHash>=iMinHash && iRead==0; iHash--){
57296 if( iFrame<=iLast && iFrame>=pWal->minFrame && aPgno[aHash[iKey]]==pgno ){
57314 for(iTest=iLast; iTest>=pWal->minFrame; iTest--){
57643 static int walRewriteChecksums(Wal *pWal, u32 iLast){
57671 for(; rc==SQLITE_OK && iRead<=iLast; iRead++){
60838 u32 iLast = pPage->pBt->usableSize-4; /* Largest possible freeblock offset */
60848 assert( iStart<=iLast );
60871 if( iFreeBlk>iLast ) return SQLITE_CORRUPT_BKPT;
96294 SQLITE_PRIVATE int sqlite3NoTempsInRange(Parse *pParse, int iFirst, int iLast){
96297 && pParse->iRangeReg+pParse->nRangeReg<iLast
96303 if( pParse->aTempReg[i]>=iFirst && pParse->aTempReg[i]<=iLast ){
158402 sqlite3_int64 iLast = 0; /* Largest block id written to database */
158411 pWriter->iFirst, pWriter->iFree, &iLast, &zRoot, &nRoot);
158415 pWriter->iFirst, iLastLeaf, iLast, pWriter->nLeafData, zRoot, nRoot);
159125 i64 iLast = (iAbsLevel/FTS3_SEGDIR_MAXLEVEL + 1) * FTS3_SEGDIR_MAXLEVEL - 1;
159134 sqlite3_bind_int64(pRange, 2, iLast);
185037 int iLast = 0;
185046 iLast = iOff + pApi->xPhraseSize(pFts, ip);
185052 int iAdj = iFirst - (nToken - (iLast-iFirst)) / 2;
187423 i64 iLast = *piLast;
187427 if( (bDesc==0 && iLast>iRowid) || (bDesc && iLast<iRowid) ){
187428 int rc = sqlite3Fts5IterNextFrom(pIter, iLast);
187435 assert( (bDesc==0 && iRowid>=iLast) || (bDesc==1 && iRowid<=iLast) );
187449 i64 iLast = *piLast;
187456 if( (bDesc==0 && iLast>iRowid) || (bDesc && iLast<iRowid) ){
187457 rc = sqlite3Fts5IterNextFrom(p->pIter, iLast);
187673 i64 iLast; /* Lastest rowid any iterator points to */
187689 iLast = fts5ExprSynonymRowid(&pLeft->aTerm[0], bDesc, 0);
187691 iLast = pLeft->aTerm[0].pIter->iRowid;
187702 if( iRowid==iLast ) continue;
187704 if( fts5ExprSynonymAdvanceto(pTerm, bDesc, &iLast, &rc) ){
187711 if( pIter->iRowid==iLast || pIter->bEof ) continue;
187713 if( fts5ExprAdvanceto(pIter, bDesc, &iLast, &rc, &pNode->bEof) ){
187721 pNode->iRowid = iLast;
187878 i64 iLast = pNode->iRowid;
187882 assert( p1->bEof || fts5RowidCmp(pExpr, p1->iRowid, iLast)>=0 );
187884 if( (p1->iRowid==iLast)
187908 i64 iLast = pAnd->iRowid;
187918 int cmp = fts5RowidCmp(pExpr, iLast, pChild->iRowid);
187921 rc = fts5ExprNodeNext(pExpr, pChild, 1, iLast);
187932 assert( pChild->bEof || fts5RowidCmp(pExpr, iLast, pChild->iRowid)<=0 );
187937 }else if( iLast!=pChild->iRowid ){
187939 iLast = pChild->iRowid;
187951 pAnd->iRowid = iLast;
188154 static int sqlite3Fts5ExprNext(Fts5Expr *p, i64 iLast){
188162 if( fts5RowidCmp(p, pRoot->iRowid, iLast)>0 ){
190883 static void fts5DataDelete(Fts5Index *p, i64 iFirst, i64 iLast){
190906 sqlite3_bind_int64(p->pDeleter, 2, iLast);
190916 i64 iLast = FTS5_SEGMENT_ROWID(iSegid+1, 0)-1;
190917 fts5DataDelete(p, iFirst, iLast);
195853 int iLast
195859 for(i=iFirst; p->rc==SQLITE_OK && i<=iLast; i++){