Lines Matching refs:iFirst
57457 u32 iFirst = 0; /* First frame that may be overwritten */
57476 iFirst = pLive->mxFrame+1;
57548 if( iFirst && (p->pDirty || isCommit==0) ){
57552 if( iWrite>=iFirst ){
65591 int iFirst, /* Index of first cell to add */
65598 int iEnd = iFirst + nCell;
65600 for(i=iFirst; i<iEnd; i++){
65634 int iFirst, /* First cell to delete */
65643 int iEnd = iFirst + nCell;
65647 for(i=iFirst; i<iEnd; i++){
68028 int iFirst = iPage;
68035 N+1, expected, iFirst);
92269 int iFirst = pList ? pList->nExpr : 0;
92290 assert( pList->nExpr==iFirst+i+1 );
92297 if( pList && pList->a[iFirst].pExpr ){
92298 Expr *pFirst = pList->a[iFirst].pExpr;
95861 SQLITE_PRIVATE int sqlite3NoTempsInRange(Parse *pParse, int iFirst, int iLast){
95865 && pParse->iRangeReg>=iFirst
95870 if( pParse->aTempReg[i]>=iFirst && pParse->aTempReg[i]<=iLast ){
116009 int iFirst, mx;
116012 iFirst = 8;
116016 iFirst = 0;
116019 for(i=iFirst; i<mx; i++){
116020 sqlite3VdbeSetColName(sParse.pVdbe, i-iFirst, COLNAME_NAME,
155526 sqlite3_int64 iFirst; /* First slot in %_segments written */
157574 pWriter->iFirst = pWriter->iFree;
157698 pWriter->iFirst, pWriter->iFree, &iLast, &zRoot, &nRoot);
157702 pWriter->iFirst, iLastLeaf, iLast, pWriter->nLeafData, zRoot, nRoot);
161498 int iFirst = 0;
161500 fts3GetDeltaPosition(&pCsr, &iFirst);
161501 assert( iFirst>=0 );
161504 pPhrase->iHead = iFirst;
161505 pPhrase->iTail = iFirst;
184193 int iFirst = -1;
184204 if( iFirst<0 ) iFirst = iOff;
184211 int iAdj = iFirst - (nToken - (iLast-iFirst)) / 2;
187267 static int sqlite3Fts5ExprFirst(Fts5Expr *p, Fts5Index *pIdx, i64 iFirst, int bDesc){
187279 && fts5RowidCmp(p, pRoot->iRowid, iFirst)<0
187281 rc = fts5ExprNodeNext(p, pRoot, 1, iFirst);
189549 u16 iFirst; /* aSeg[] index of firstest iterator */
189934 static void fts5DataDelete(Fts5Index *p, i64 iFirst, i64 iLast){
189956 sqlite3_bind_int64(p->pDeleter, 1, iFirst);
189966 i64 iFirst = FTS5_SEGMENT_ROWID(iSegid, 0);
189968 fts5DataDelete(p, iFirst, iLast);
191012 Fts5SegIter *pSeg = &pIter->aSeg[pIter->aFirst[1].iFirst];
191685 assert( pRes->iFirst==i2 );
191687 assert( pRes->iFirst==i1 );
191702 assert( pRes->iFirst==i1 );
191704 assert( pRes->iFirst==i2 );
191718 Fts5SegIter *pFirst = &pIter->aSeg[ pIter->aFirst[1].iFirst ];
191742 Fts5SegIter *p1 = &pIter->aSeg[ pIter->aFirst[i*2].iFirst ];
191743 Fts5SegIter *p2 = &pIter->aSeg[ pIter->aFirst[i*2+1].iFirst ];
191776 i1 = pIter->aFirst[iOut*2].iFirst;
191777 i2 = pIter->aFirst[iOut*2+1].iFirst;
191807 pRes->iFirst = (u16)iRes;
191976 pRes->iFirst = (u16)(pNew - pIter->aSeg);
191979 pOther = &pIter->aSeg[ pIter->aFirst[i ^ 0x0001].iFirst ];
191991 Fts5SegIter *pSeg = &pIter->aSeg[ pIter->aFirst[1].iFirst ];
192012 int iFirst = pIter->aFirst[1].iFirst;
192014 Fts5SegIter *pSeg = &pIter->aSeg[iFirst];
192023 || fts5MultiIterAdvanceRowid(pIter, iFirst, &pSeg)
192025 fts5MultiIterAdvanced(p, pIter, iFirst, 1);
192027 pSeg = &pIter->aSeg[pIter->aFirst[1].iFirst];
192032 assert( pSeg==&pIter->aSeg[pIter->aFirst[1].iFirst] && pSeg->pLeaf );
192049 int iFirst = pIter->aFirst[1].iFirst;
192050 Fts5SegIter *pSeg = &pIter->aSeg[iFirst];
192056 || fts5MultiIterAdvanceRowid(pIter, iFirst, &pSeg)
192058 fts5MultiIterAdvanced(p, pIter, iFirst, 1);
192614 Fts5SegIter *pSeg = &pNew->aSeg[pNew->aFirst[1].iFirst];
192644 pNew->aFirst[1].iFirst = 1;
192670 || (pIter->aSeg[ pIter->aFirst[1].iFirst ].pLeaf==0)==pIter->base.bEof
192681 assert( pIter->aSeg[ pIter->aFirst[1].iFirst ].pLeaf );
192682 return pIter->aSeg[ pIter->aFirst[1].iFirst ].iRowid;
192708 Fts5SegIter *p = &pIter->aSeg[ pIter->aFirst[1].iFirst ];
192975 i64 iFirst = fts5DlidxExtractFirstRowid(&pDlidx->buf);
192981 sqlite3Fts5BufferAppendVarint(&p->rc, &pDlidx[1].buf, iFirst);
192983 pDlidx[1].iPrev = iFirst;
193413 Fts5SegIter *pSegIter = &pIter->aSeg[ pIter->aFirst[1].iFirst ];
194219 Fts5SegIter *pSeg = &p1->aSeg[ p1->aFirst[1].iFirst ];
194543 Fts5SegIter *pSeg = &pRet->aSeg[pRet->aFirst[1].iFirst];
194584 Fts5SegIter *pSeg = &pIter->aSeg[ pIter->aFirst[1].iFirst ];
194900 int iFirst,
194908 for(i=iFirst; p->rc==SQLITE_OK && i<=iLast; i++){
195172 fts5SegiterPoslist(p, &pIter->aSeg[pIter->aFirst[1].iFirst], 0, &poslist);