Lines Matching refs:iFirst
58899 u32 iFirst = 0; /* First frame that may be overwritten */
58918 iFirst = pLive->mxFrame+1;
58990 if( iFirst && (p->pDirty || isCommit==0) ){
58994 if( iWrite>=iFirst ){
67147 int iFirst, /* Index of first cell to add */
67154 int iEnd = iFirst + nCell;
67156 for(i=iFirst; i<iEnd; i++){
67190 int iFirst, /* First cell to delete */
67199 int iEnd = iFirst + nCell;
67203 for(i=iFirst; i<iEnd; i++){
69596 int iFirst = iPage;
69603 N+1, expected, iFirst);
94246 int iFirst = pList ? pList->nExpr : 0;
94267 assert( pList->nExpr==iFirst+i+1 );
94274 Expr *pFirst = pList->a[iFirst].pExpr;
98001 SQLITE_PRIVATE int sqlite3NoTempsInRange(Parse *pParse, int iFirst, int iLast){
98004 && pParse->iRangeReg+pParse->nRangeReg > iFirst
98010 if( pParse->aTempReg[i]>=iFirst && pParse->aTempReg[i]<=iLast ){
118398 int iFirst, mx;
118401 iFirst = 8;
118405 iFirst = 0;
118408 for(i=iFirst; i<mx; i++){
118409 sqlite3VdbeSetColName(sParse.pVdbe, i-iFirst, COLNAME_NAME,
159075 sqlite3_int64 iFirst; /* First slot in %_segments written */
161128 pWriter->iFirst = pWriter->iFree;
161252 pWriter->iFirst, pWriter->iFree, &iLast, &zRoot, &nRoot);
161256 pWriter->iFirst, iLastLeaf, iLast, pWriter->nLeafData, zRoot, nRoot);
165057 int iFirst = 0;
165059 fts3GetDeltaPosition(&pCsr, &iFirst);
165060 assert( iFirst>=0 );
165063 pPhrase->iHead = iFirst;
165064 pPhrase->iTail = iFirst;
189140 int iFirst = -1;
189151 if( iFirst<0 ) iFirst = iOff;
189158 int iAdj = iFirst - (nToken - (iLast-iFirst)) / 2;
192247 static int sqlite3Fts5ExprFirst(Fts5Expr *p, Fts5Index *pIdx, i64 iFirst, int bDesc){
192259 && fts5RowidCmp(p, pRoot->iRowid, iFirst)<0
192261 rc = fts5ExprNodeNext(p, pRoot, 1, iFirst);
194642 u16 iFirst; /* aSeg[] index of firstest iterator */
195027 static void fts5DataDelete(Fts5Index *p, i64 iFirst, i64 iLast){
195050 sqlite3_bind_int64(p->pDeleter, 1, iFirst);
195060 i64 iFirst = FTS5_SEGMENT_ROWID(iSegid, 0);
195062 fts5DataDelete(p, iFirst, iLast);
196106 Fts5SegIter *pSeg = &pIter->aSeg[pIter->aFirst[1].iFirst];
196779 assert( pRes->iFirst==i2 );
196781 assert( pRes->iFirst==i1 );
196796 assert( pRes->iFirst==i1 );
196798 assert( pRes->iFirst==i2 );
196812 Fts5SegIter *pFirst = &pIter->aSeg[ pIter->aFirst[1].iFirst ];
196836 Fts5SegIter *p1 = &pIter->aSeg[ pIter->aFirst[i*2].iFirst ];
196837 Fts5SegIter *p2 = &pIter->aSeg[ pIter->aFirst[i*2+1].iFirst ];
196870 i1 = pIter->aFirst[iOut*2].iFirst;
196871 i2 = pIter->aFirst[iOut*2+1].iFirst;
196901 pRes->iFirst = (u16)iRes;
197070 pRes->iFirst = (u16)(pNew - pIter->aSeg);
197073 pOther = &pIter->aSeg[ pIter->aFirst[i ^ 0x0001].iFirst ];
197085 Fts5SegIter *pSeg = &pIter->aSeg[ pIter->aFirst[1].iFirst ];
197106 int iFirst = pIter->aFirst[1].iFirst;
197108 Fts5SegIter *pSeg = &pIter->aSeg[iFirst];
197117 || fts5MultiIterAdvanceRowid(pIter, iFirst, &pSeg)
197119 fts5MultiIterAdvanced(p, pIter, iFirst, 1);
197121 pSeg = &pIter->aSeg[pIter->aFirst[1].iFirst];
197126 assert( pSeg==&pIter->aSeg[pIter->aFirst[1].iFirst] && pSeg->pLeaf );
197144 int iFirst = pIter->aFirst[1].iFirst;
197145 Fts5SegIter *pSeg = &pIter->aSeg[iFirst];
197151 || fts5MultiIterAdvanceRowid(pIter, iFirst, &pSeg)
197153 fts5MultiIterAdvanced(p, pIter, iFirst, 1);
197708 Fts5SegIter *pSeg = &pNew->aSeg[pNew->aFirst[1].iFirst];
197738 pNew->aFirst[1].iFirst = 1;
197764 || (pIter->aSeg[ pIter->aFirst[1].iFirst ].pLeaf==0)==pIter->base.bEof
197775 assert( pIter->aSeg[ pIter->aFirst[1].iFirst ].pLeaf );
197776 return pIter->aSeg[ pIter->aFirst[1].iFirst ].iRowid;
197802 Fts5SegIter *p = &pIter->aSeg[ pIter->aFirst[1].iFirst ];
198069 i64 iFirst = fts5DlidxExtractFirstRowid(&pDlidx->buf);
198075 sqlite3Fts5BufferAppendVarint(&p->rc, &pDlidx[1].buf, iFirst);
198077 pDlidx[1].iPrev = iFirst;
198505 Fts5SegIter *pSegIter = &pIter->aSeg[ pIter->aFirst[1].iFirst ];
199322 Fts5SegIter *pSeg = &p1->aSeg[ p1->aFirst[1].iFirst ];
199646 Fts5SegIter *pSeg = &pRet->aSeg[pRet->aFirst[1].iFirst];
199687 Fts5SegIter *pSeg = &pIter->aSeg[ pIter->aFirst[1].iFirst ];
200003 int iFirst,
200011 for(i=iFirst; p->rc==SQLITE_OK && i<=iLast; i++){
200275 fts5SegiterPoslist(p, &pIter->aSeg[pIter->aFirst[1].iFirst], 0, &poslist);