• 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 ){
158415 sqlite3_int64 iLast = 0; /* Largest block id written to database */
158424 pWriter->iFirst, pWriter->iFree, &iLast, &zRoot, &nRoot);
158428 pWriter->iFirst, iLastLeaf, iLast, pWriter->nLeafData, zRoot, nRoot);
159138 i64 iLast = (iAbsLevel/FTS3_SEGDIR_MAXLEVEL + 1) * FTS3_SEGDIR_MAXLEVEL - 1;
159147 sqlite3_bind_int64(pRange, 2, iLast);
185050 int iLast = 0;
185059 iLast = iOff + pApi->xPhraseSize(pFts, ip);
185065 int iAdj = iFirst - (nToken - (iLast-iFirst)) / 2;
187436 i64 iLast = *piLast;
187440 if( (bDesc==0 && iLast>iRowid) || (bDesc && iLast<iRowid) ){
187441 int rc = sqlite3Fts5IterNextFrom(pIter, iLast);
187448 assert( (bDesc==0 && iRowid>=iLast) || (bDesc==1 && iRowid<=iLast) );
187462 i64 iLast = *piLast;
187469 if( (bDesc==0 && iLast>iRowid) || (bDesc && iLast<iRowid) ){
187470 rc = sqlite3Fts5IterNextFrom(p->pIter, iLast);
187686 i64 iLast; /* Lastest rowid any iterator points to */
187702 iLast = fts5ExprSynonymRowid(&pLeft->aTerm[0], bDesc, 0);
187704 iLast = pLeft->aTerm[0].pIter->iRowid;
187715 if( iRowid==iLast ) continue;
187717 if( fts5ExprSynonymAdvanceto(pTerm, bDesc, &iLast, &rc) ){
187724 if( pIter->iRowid==iLast || pIter->bEof ) continue;
187726 if( fts5ExprAdvanceto(pIter, bDesc, &iLast, &rc, &pNode->bEof) ){
187734 pNode->iRowid = iLast;
187891 i64 iLast = pNode->iRowid;
187895 assert( p1->bEof || fts5RowidCmp(pExpr, p1->iRowid, iLast)>=0 );
187897 if( (p1->iRowid==iLast)
187921 i64 iLast = pAnd->iRowid;
187931 int cmp = fts5RowidCmp(pExpr, iLast, pChild->iRowid);
187934 rc = fts5ExprNodeNext(pExpr, pChild, 1, iLast);
187945 assert( pChild->bEof || fts5RowidCmp(pExpr, iLast, pChild->iRowid)<=0 );
187950 }else if( iLast!=pChild->iRowid ){
187952 iLast = pChild->iRowid;
187964 pAnd->iRowid = iLast;
188167 static int sqlite3Fts5ExprNext(Fts5Expr *p, i64 iLast){
188175 if( fts5RowidCmp(p, pRoot->iRowid, iLast)>0 ){
190896 static void fts5DataDelete(Fts5Index *p, i64 iFirst, i64 iLast){
190919 sqlite3_bind_int64(p->pDeleter, 2, iLast);
190929 i64 iLast = FTS5_SEGMENT_ROWID(iSegid+1, 0)-1;
190930 fts5DataDelete(p, iFirst, iLast);
195866 int iLast
195872 for(i=iFirst; p->rc==SQLITE_OK && i<=iLast; i++){