Lines Matching defs:iLast
51849 u32 iLast; /* Last frame in log */
51859 iLast = pWal->hdr.mxFrame;
51862 nSegment = walFramePage(iLast) + 1;
51865 + iLast*sizeof(ht_slot);
51877 sizeof(ht_slot) * (iLast>HASHTABLE_NPAGE?HASHTABLE_NPAGE:iLast)
51896 nEntry = (int)(iLast - iZero);
52707 u32 iLast = pWal->hdr.mxFrame; /* Last page in WAL for this reader */
52720 if( iLast==0 || pWal->readLock==0 ){
52746 ** (iFrame<=iLast):
52751 for(iHash=walFramePage(iLast); iHash>=iMinHash && iRead==0; iHash--){
52766 if( iFrame<=iLast && iFrame>=pWal->minFrame && aPgno[aHash[iKey]]==pgno ){
52784 for(iTest=iLast; iTest>=pWal->minFrame; iTest--){
56081 u32 iLast = pPage->pBt->usableSize-4; /* Largest possible freeblock offset */
56091 assert( iStart<=iLast );
56111 if( iFreeBlk>iLast ) return SQLITE_CORRUPT_BKPT;
87371 int iLast = iReg + nReg - 1;
87375 if( r>=iReg && r<=iLast ){
148266 sqlite3_int64 iLast = 0; /* Largest block id written to database */
148275 pWriter->iFirst, pWriter->iFree, &iLast, &zRoot, &nRoot);
148279 pWriter->iFirst, iLastLeaf, iLast, pWriter->nLeafData, zRoot, nRoot);
148989 i64 iLast = (iAbsLevel/FTS3_SEGDIR_MAXLEVEL + 1) * FTS3_SEGDIR_MAXLEVEL - 1;
148998 sqlite3_bind_int64(pRange, 2, iLast);
168365 int iLast = iStart - 1 + pApi->xPhraseSize(pFts, ip);
168373 if( rc==SQLITE_OK && ic==iSnippetCol && iLast<iStart+nToken ){
168376 if( iFinal>iLast ) iLast = iFinal;
168383 iBestLast = iLast;
170499 i64 iLast = *piLast;
170503 if( (bDesc==0 && iLast>iRowid) || (bDesc && iLast<iRowid) ){
170504 int rc = sqlite3Fts5IterNextFrom(pIter, iLast);
170511 assert( (bDesc==0 && iRowid>=iLast) || (bDesc==1 && iRowid<=iLast) );
170525 i64 iLast = *piLast;
170532 if( (bDesc==0 && iLast>iRowid) || (bDesc && iLast<iRowid) ){
170533 rc = sqlite3Fts5IterNextFrom(p->pIter, iLast);
170625 i64 iLast; /* Lastest rowid any iterator points to */
170636 /* Initialize iLast, the "lastest" rowid any iterator points to. If the
170641 iLast = fts5ExprSynonymRowid(&pLeft->aTerm[0], bDesc, 0);
170643 iLast = sqlite3Fts5IterRowid(pLeft->aTerm[0].pIter);
170654 if( iRowid==iLast ) continue;
170656 if( fts5ExprSynonymAdvanceto(pTerm, bDesc, &iLast, &rc) ){
170663 if( iRowid==iLast ) continue;
170665 if( fts5ExprAdvanceto(pIter, bDesc, &iLast, &rc, &pNode->bEof) ){
170673 pNode->iRowid = iLast;
170791 i64 iLast = pAnd->iRowid;
170804 int cmp = fts5RowidCmp(pExpr, iLast, pChild->iRowid);
170806 /* Advance pChild until it points to iLast or laster */
170807 rc = fts5ExprNodeNext(pExpr, pChild, 1, iLast);
170814 ** rowid iLast. So if it is not at exactly iLast, pChild->iRowid is the
170816 assert( pChild->bEof || fts5RowidCmp(pExpr, iLast, pChild->iRowid)<=0 );
170821 }else if( iLast!=pChild->iRowid ){
170823 iLast = pChild->iRowid;
170835 pAnd->iRowid = iLast;
170908 i64 iLast = pNode->iRowid;
170912 assert( p1->bEof || fts5RowidCmp(pExpr, p1->iRowid, iLast)>=0 );
170914 if( (p1->iRowid==iLast)
171096 static int sqlite3Fts5ExprNext(Fts5Expr *p, i64 iLast){
171102 if( fts5RowidCmp(p, pRoot->iRowid, iLast)>0 ){
173260 ** DELETE FROM %_data WHERE id BETWEEN $iFirst AND $iLast
173262 static void fts5DataDelete(Fts5Index *p, i64 iFirst, i64 iLast){
173285 sqlite3_bind_int64(p->pDeleter, 2, iLast);
173295 i64 iLast = FTS5_SEGMENT_ROWID(iSegid+1, 0)-1;
173296 fts5DataDelete(p, iFirst, iLast);
177564 ** 1) All leaves of pSeg between iFirst and iLast (inclusive) exist and
177566 ** 2) All leaves of pSeg between iNoRowid and iLast (inclusive) exist and
177574 int iLast
177580 for(i=iFirst; p->rc==SQLITE_OK && i<=iLast; i++){