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,
155514 sqlite3_int64 iFirst; /* First slot in %_segments written */
157562 pWriter->iFirst = pWriter->iFree;
157686 pWriter->iFirst, pWriter->iFree, &iLast, &zRoot, &nRoot);
157690 pWriter->iFirst, iLastLeaf, iLast, pWriter->nLeafData, zRoot, nRoot);
161486 int iFirst = 0;
161488 fts3GetDeltaPosition(&pCsr, &iFirst);
161489 assert( iFirst>=0 );
161492 pPhrase->iHead = iFirst;
161493 pPhrase->iTail = iFirst;
184181 int iFirst = -1;
184192 if( iFirst<0 ) iFirst = iOff;
184199 int iAdj = iFirst - (nToken - (iLast-iFirst)) / 2;
187255 static int sqlite3Fts5ExprFirst(Fts5Expr *p, Fts5Index *pIdx, i64 iFirst, int bDesc){
187267 && fts5RowidCmp(p, pRoot->iRowid, iFirst)<0
187269 rc = fts5ExprNodeNext(p, pRoot, 1, iFirst);
189537 u16 iFirst; /* aSeg[] index of firstest iterator */
189922 static void fts5DataDelete(Fts5Index *p, i64 iFirst, i64 iLast){
189944 sqlite3_bind_int64(p->pDeleter, 1, iFirst);
189954 i64 iFirst = FTS5_SEGMENT_ROWID(iSegid, 0);
189956 fts5DataDelete(p, iFirst, iLast);
191000 Fts5SegIter *pSeg = &pIter->aSeg[pIter->aFirst[1].iFirst];
191673 assert( pRes->iFirst==i2 );
191675 assert( pRes->iFirst==i1 );
191690 assert( pRes->iFirst==i1 );
191692 assert( pRes->iFirst==i2 );
191706 Fts5SegIter *pFirst = &pIter->aSeg[ pIter->aFirst[1].iFirst ];
191730 Fts5SegIter *p1 = &pIter->aSeg[ pIter->aFirst[i*2].iFirst ];
191731 Fts5SegIter *p2 = &pIter->aSeg[ pIter->aFirst[i*2+1].iFirst ];
191764 i1 = pIter->aFirst[iOut*2].iFirst;
191765 i2 = pIter->aFirst[iOut*2+1].iFirst;
191795 pRes->iFirst = (u16)iRes;
191964 pRes->iFirst = (u16)(pNew - pIter->aSeg);
191967 pOther = &pIter->aSeg[ pIter->aFirst[i ^ 0x0001].iFirst ];
191979 Fts5SegIter *pSeg = &pIter->aSeg[ pIter->aFirst[1].iFirst ];
192000 int iFirst = pIter->aFirst[1].iFirst;
192002 Fts5SegIter *pSeg = &pIter->aSeg[iFirst];
192011 || fts5MultiIterAdvanceRowid(pIter, iFirst, &pSeg)
192013 fts5MultiIterAdvanced(p, pIter, iFirst, 1);
192015 pSeg = &pIter->aSeg[pIter->aFirst[1].iFirst];
192020 assert( pSeg==&pIter->aSeg[pIter->aFirst[1].iFirst] && pSeg->pLeaf );
192037 int iFirst = pIter->aFirst[1].iFirst;
192038 Fts5SegIter *pSeg = &pIter->aSeg[iFirst];
192044 || fts5MultiIterAdvanceRowid(pIter, iFirst, &pSeg)
192046 fts5MultiIterAdvanced(p, pIter, iFirst, 1);
192602 Fts5SegIter *pSeg = &pNew->aSeg[pNew->aFirst[1].iFirst];
192632 pNew->aFirst[1].iFirst = 1;
192658 || (pIter->aSeg[ pIter->aFirst[1].iFirst ].pLeaf==0)==pIter->base.bEof
192669 assert( pIter->aSeg[ pIter->aFirst[1].iFirst ].pLeaf );
192670 return pIter->aSeg[ pIter->aFirst[1].iFirst ].iRowid;
192696 Fts5SegIter *p = &pIter->aSeg[ pIter->aFirst[1].iFirst ];
192963 i64 iFirst = fts5DlidxExtractFirstRowid(&pDlidx->buf);
192969 sqlite3Fts5BufferAppendVarint(&p->rc, &pDlidx[1].buf, iFirst);
192971 pDlidx[1].iPrev = iFirst;
193401 Fts5SegIter *pSegIter = &pIter->aSeg[ pIter->aFirst[1].iFirst ];
194207 Fts5SegIter *pSeg = &p1->aSeg[ p1->aFirst[1].iFirst ];
194531 Fts5SegIter *pSeg = &pRet->aSeg[pRet->aFirst[1].iFirst];
194572 Fts5SegIter *pSeg = &pIter->aSeg[ pIter->aFirst[1].iFirst ];
194888 int iFirst,
194896 for(i=iFirst; p->rc==SQLITE_OK && i<=iLast; i++){
195160 fts5SegiterPoslist(p, &pIter->aSeg[pIter->aFirst[1].iFirst], 0, &poslist);