Lines Matching refs:iLast
57205 u32 iLast; /* Last frame in log */
57215 iLast = pWal->hdr.mxFrame;
57218 nSegment = walFramePage(iLast) + 1;
57221 + iLast*sizeof(ht_slot);
57233 sizeof(ht_slot) * (iLast>HASHTABLE_NPAGE?HASHTABLE_NPAGE:iLast)
57252 nEntry = (int)(iLast - iZero);
58444 u32 iLast = pWal->hdr.mxFrame; /* Last page in WAL for this reader */
58457 if( iLast==0 || (pWal->readLock==0 && pWal->bShmUnreliable==0) ){
58488 for(iHash=walFramePage(iLast); iHash>=iMinHash && iRead==0; iHash--){
58503 if( iFrame<=iLast && iFrame>=pWal->minFrame && aPgno[aHash[iKey]]==pgno ){
58521 for(iTest=iLast; iTest>=pWal->minFrame && iTest>0; iTest--){
58850 static int walRewriteChecksums(Wal *pWal, u32 iLast){
58878 for(; rc==SQLITE_OK && iRead<=iLast; iRead++){
98017 SQLITE_PRIVATE int sqlite3NoTempsInRange(Parse *pParse, int iFirst, int iLast){
98021 && pParse->iRangeReg <= iLast
98026 if( pParse->aTempReg[i]>=iFirst && pParse->aTempReg[i]<=iLast ){
161272 sqlite3_int64 iLast = 0; /* Largest block id written to database */
161281 pWriter->iFirst, pWriter->iFree, &iLast, &zRoot, &nRoot);
161285 pWriter->iFirst, iLastLeaf, iLast, pWriter->nLeafData, zRoot, nRoot);
161995 i64 iLast = (iAbsLevel/FTS3_SEGDIR_MAXLEVEL + 1) * FTS3_SEGDIR_MAXLEVEL - 1;
162004 sqlite3_bind_int64(pRange, 2, iLast);
189176 int iLast = 0;
189185 iLast = iOff + pApi->xPhraseSize(pFts, ip);
189191 int iAdj = iFirst - (nToken - (iLast-iFirst)) / 2;
191577 i64 iLast = *piLast;
191581 if( (bDesc==0 && iLast>iRowid) || (bDesc && iLast<iRowid) ){
191582 int rc = sqlite3Fts5IterNextFrom(pIter, iLast);
191589 assert( (bDesc==0 && iRowid>=iLast) || (bDesc==1 && iRowid<=iLast) );
191603 i64 iLast = *piLast;
191610 if( (bDesc==0 && iLast>iRowid) || (bDesc && iLast<iRowid) ){
191611 rc = sqlite3Fts5IterNextFrom(p->pIter, iLast);
191829 i64 iLast; /* Lastest rowid any iterator points to */
191846 iLast = fts5ExprSynonymRowid(&pLeft->aTerm[0], bDesc, 0);
191848 iLast = pLeft->aTerm[0].pIter->iRowid;
191859 if( iRowid==iLast ) continue;
191861 if( fts5ExprSynonymAdvanceto(pTerm, bDesc, &iLast, &rc) ){
191868 if( pIter->iRowid==iLast || pIter->bEof ) continue;
191870 if( fts5ExprAdvanceto(pIter, bDesc, &iLast, &rc, &pNode->bEof) ){
191878 pNode->iRowid = iLast;
192035 i64 iLast = pNode->iRowid;
192039 assert( p1->bEof || fts5RowidCmp(pExpr, p1->iRowid, iLast)>=0 );
192041 if( (p1->iRowid==iLast)
192065 i64 iLast = pAnd->iRowid;
192075 int cmp = fts5RowidCmp(pExpr, iLast, pChild->iRowid);
192078 rc = fts5ExprNodeNext(pExpr, pChild, 1, iLast);
192089 assert( pChild->bEof || fts5RowidCmp(pExpr, iLast, pChild->iRowid)<=0 );
192094 }else if( iLast!=pChild->iRowid ){
192096 iLast = pChild->iRowid;
192108 pAnd->iRowid = iLast;
192311 static int sqlite3Fts5ExprNext(Fts5Expr *p, i64 iLast){
192319 if( fts5RowidCmp(p, pRoot->iRowid, iLast)>0 ){
195062 static void fts5DataDelete(Fts5Index *p, i64 iFirst, i64 iLast){
195086 sqlite3_bind_int64(p->pDeleter, 2, iLast);
195096 i64 iLast = FTS5_SEGMENT_ROWID(iSegid+1, 0)-1;
195097 fts5DataDelete(p, iFirst, iLast);
200040 int iLast
200046 for(i=iFirst; p->rc==SQLITE_OK && i<=iLast; i++){