• Home
  • Raw
  • Download

Lines Matching refs:iLast

57189   u32 iLast;                      /* Last frame in log */
57199 iLast = pWal->hdr.mxFrame;
57202 nSegment = walFramePage(iLast) + 1;
57205 + iLast*sizeof(ht_slot);
57217 sizeof(ht_slot) * (iLast>HASHTABLE_NPAGE?HASHTABLE_NPAGE:iLast)
57236 nEntry = (int)(iLast - iZero);
58428 u32 iLast = pWal->hdr.mxFrame; /* Last page in WAL for this reader */
58441 if( iLast==0 || (pWal->readLock==0 && pWal->bShmUnreliable==0) ){
58472 for(iHash=walFramePage(iLast); iHash>=iMinHash && iRead==0; iHash--){
58487 if( iFrame<=iLast && iFrame>=pWal->minFrame && aPgno[aHash[iKey]]==pgno ){
58505 for(iTest=iLast; iTest>=pWal->minFrame && iTest>0; iTest--){
58834 static int walRewriteChecksums(Wal *pWal, u32 iLast){
58862 for(; rc==SQLITE_OK && iRead<=iLast; iRead++){
98001 SQLITE_PRIVATE int sqlite3NoTempsInRange(Parse *pParse, int iFirst, int iLast){
98005 && pParse->iRangeReg <= iLast
98010 if( pParse->aTempReg[i]>=iFirst && pParse->aTempReg[i]<=iLast ){
161244 sqlite3_int64 iLast = 0; /* Largest block id written to database */
161253 pWriter->iFirst, pWriter->iFree, &iLast, &zRoot, &nRoot);
161257 pWriter->iFirst, iLastLeaf, iLast, pWriter->nLeafData, zRoot, nRoot);
161967 i64 iLast = (iAbsLevel/FTS3_SEGDIR_MAXLEVEL + 1) * FTS3_SEGDIR_MAXLEVEL - 1;
161976 sqlite3_bind_int64(pRange, 2, iLast);
189148 int iLast = 0;
189157 iLast = iOff + pApi->xPhraseSize(pFts, ip);
189163 int iAdj = iFirst - (nToken - (iLast-iFirst)) / 2;
191549 i64 iLast = *piLast;
191553 if( (bDesc==0 && iLast>iRowid) || (bDesc && iLast<iRowid) ){
191554 int rc = sqlite3Fts5IterNextFrom(pIter, iLast);
191561 assert( (bDesc==0 && iRowid>=iLast) || (bDesc==1 && iRowid<=iLast) );
191575 i64 iLast = *piLast;
191582 if( (bDesc==0 && iLast>iRowid) || (bDesc && iLast<iRowid) ){
191583 rc = sqlite3Fts5IterNextFrom(p->pIter, iLast);
191801 i64 iLast; /* Lastest rowid any iterator points to */
191818 iLast = fts5ExprSynonymRowid(&pLeft->aTerm[0], bDesc, 0);
191820 iLast = pLeft->aTerm[0].pIter->iRowid;
191831 if( iRowid==iLast ) continue;
191833 if( fts5ExprSynonymAdvanceto(pTerm, bDesc, &iLast, &rc) ){
191840 if( pIter->iRowid==iLast || pIter->bEof ) continue;
191842 if( fts5ExprAdvanceto(pIter, bDesc, &iLast, &rc, &pNode->bEof) ){
191850 pNode->iRowid = iLast;
192007 i64 iLast = pNode->iRowid;
192011 assert( p1->bEof || fts5RowidCmp(pExpr, p1->iRowid, iLast)>=0 );
192013 if( (p1->iRowid==iLast)
192037 i64 iLast = pAnd->iRowid;
192047 int cmp = fts5RowidCmp(pExpr, iLast, pChild->iRowid);
192050 rc = fts5ExprNodeNext(pExpr, pChild, 1, iLast);
192061 assert( pChild->bEof || fts5RowidCmp(pExpr, iLast, pChild->iRowid)<=0 );
192066 }else if( iLast!=pChild->iRowid ){
192068 iLast = pChild->iRowid;
192080 pAnd->iRowid = iLast;
192283 static int sqlite3Fts5ExprNext(Fts5Expr *p, i64 iLast){
192291 if( fts5RowidCmp(p, pRoot->iRowid, iLast)>0 ){
195034 static void fts5DataDelete(Fts5Index *p, i64 iFirst, i64 iLast){
195058 sqlite3_bind_int64(p->pDeleter, 2, iLast);
195068 i64 iLast = FTS5_SEGMENT_ROWID(iSegid+1, 0)-1;
195069 fts5DataDelete(p, iFirst, iLast);
200012 int iLast
200018 for(i=iFirst; p->rc==SQLITE_OK && i<=iLast; i++){