• Home
  • Raw
  • Download

Lines Matching refs:iLast

51831   u32 iLast;                      /* Last frame in log */
51841 iLast = pWal->hdr.mxFrame;
51844 nSegment = walFramePage(iLast) + 1;
51847 + iLast*sizeof(ht_slot);
51859 sizeof(ht_slot) * (iLast>HASHTABLE_NPAGE?HASHTABLE_NPAGE:iLast)
51878 nEntry = (int)(iLast - iZero);
52689 u32 iLast = pWal->hdr.mxFrame; /* Last page in WAL for this reader */
52702 if( iLast==0 || pWal->readLock==0 ){
52733 for(iHash=walFramePage(iLast); iHash>=iMinHash && iRead==0; iHash--){
52748 if( iFrame<=iLast && iFrame>=pWal->minFrame && aPgno[aHash[iKey]]==pgno ){
52766 for(iTest=iLast; iTest>=pWal->minFrame; iTest--){
56063 u32 iLast = pPage->pBt->usableSize-4; /* Largest possible freeblock offset */
56073 assert( iStart<=iLast );
56093 if( iFreeBlk>iLast ) return SQLITE_CORRUPT_BKPT;
87353 int iLast = iReg + nReg - 1;
87357 if( r>=iReg && r<=iLast ){
148236 sqlite3_int64 iLast = 0; /* Largest block id written to database */
148245 pWriter->iFirst, pWriter->iFree, &iLast, &zRoot, &nRoot);
148249 pWriter->iFirst, iLastLeaf, iLast, pWriter->nLeafData, zRoot, nRoot);
148959 i64 iLast = (iAbsLevel/FTS3_SEGDIR_MAXLEVEL + 1) * FTS3_SEGDIR_MAXLEVEL - 1;
148968 sqlite3_bind_int64(pRange, 2, iLast);
168335 int iLast = iStart - 1 + pApi->xPhraseSize(pFts, ip);
168343 if( rc==SQLITE_OK && ic==iSnippetCol && iLast<iStart+nToken ){
168346 if( iFinal>iLast ) iLast = iFinal;
168353 iBestLast = iLast;
170469 i64 iLast = *piLast;
170473 if( (bDesc==0 && iLast>iRowid) || (bDesc && iLast<iRowid) ){
170474 int rc = sqlite3Fts5IterNextFrom(pIter, iLast);
170481 assert( (bDesc==0 && iRowid>=iLast) || (bDesc==1 && iRowid<=iLast) );
170495 i64 iLast = *piLast;
170502 if( (bDesc==0 && iLast>iRowid) || (bDesc && iLast<iRowid) ){
170503 rc = sqlite3Fts5IterNextFrom(p->pIter, iLast);
170595 i64 iLast; /* Lastest rowid any iterator points to */
170611 iLast = fts5ExprSynonymRowid(&pLeft->aTerm[0], bDesc, 0);
170613 iLast = sqlite3Fts5IterRowid(pLeft->aTerm[0].pIter);
170624 if( iRowid==iLast ) continue;
170626 if( fts5ExprSynonymAdvanceto(pTerm, bDesc, &iLast, &rc) ){
170633 if( iRowid==iLast ) continue;
170635 if( fts5ExprAdvanceto(pIter, bDesc, &iLast, &rc, &pNode->bEof) ){
170643 pNode->iRowid = iLast;
170761 i64 iLast = pAnd->iRowid;
170774 int cmp = fts5RowidCmp(pExpr, iLast, pChild->iRowid);
170777 rc = fts5ExprNodeNext(pExpr, pChild, 1, iLast);
170786 assert( pChild->bEof || fts5RowidCmp(pExpr, iLast, pChild->iRowid)<=0 );
170791 }else if( iLast!=pChild->iRowid ){
170793 iLast = pChild->iRowid;
170805 pAnd->iRowid = iLast;
170878 i64 iLast = pNode->iRowid;
170882 assert( p1->bEof || fts5RowidCmp(pExpr, p1->iRowid, iLast)>=0 );
170884 if( (p1->iRowid==iLast)
171066 static int sqlite3Fts5ExprNext(Fts5Expr *p, i64 iLast){
171072 if( fts5RowidCmp(p, pRoot->iRowid, iLast)>0 ){
173232 static void fts5DataDelete(Fts5Index *p, i64 iFirst, i64 iLast){
173255 sqlite3_bind_int64(p->pDeleter, 2, iLast);
173265 i64 iLast = FTS5_SEGMENT_ROWID(iSegid+1, 0)-1;
173266 fts5DataDelete(p, iFirst, iLast);
177544 int iLast
177550 for(i=iFirst; p->rc==SQLITE_OK && i<=iLast; i++){