Lines Matching refs:iFirst
60655 u32 iFirst = 1 + (iPg==0?0:HASHTABLE_NPAGE_ONE+(iPg-1)*HASHTABLE_NPAGE);
60661 for(iFrame=iFirst; iFrame<=iLast; iFrame++){
62918 u32 iFirst = 0; /* First frame that may be overwritten */
62937 iFirst = pLive->mxFrame+1;
63009 if( iFirst && (p->pDirty || isCommit==0) ){
63013 if( iWrite>=iFirst ){
71424 int iFirst, /* First cell in pCArray to use */
71432 int i = iFirst; /* Which cell to copy from pCArray*/
71518 int iFirst, /* Index of first cell to add */
71522 int i = iFirst; /* Loop counter - cell index to insert */
71525 int iEnd = iFirst + nCell; /* End of loop. One past last cell to ins */
71529 if( iEnd<=iFirst ) return 0;
71580 int iFirst, /* First cell to delete */
71589 int iEnd = iFirst + nCell;
71593 for(i=iFirst; i<iEnd; i++){
78970 int iFirst, /* Index of first register to be released */
78977 assert( iFirst>=1 );
78978 assert( iFirst+N-1<=pParse->nMem );
78982 iFirst++;
78991 sqlite3VdbeAddOp3(pParse->pVdbe, OP_ReleaseReg, iFirst, N, *(int*)&mask);
80131 int iFirst, mx, i;
80136 iFirst = 8;
80140 iFirst = 0;
80143 for(i=iFirst; i<mx; i++){
80144 sqlite3VdbeSetColName(p, i-iFirst, COLNAME_NAME,
101407 int iFirst = pList ? pList->nExpr : 0;
101432 assert( pList->nExpr==iFirst+i+1 );
101439 Expr *pFirst = pList->a[iFirst].pExpr;
105781 SQLITE_PRIVATE int sqlite3NoTempsInRange(Parse *pParse, int iFirst, int iLast){
105784 && pParse->iRangeReg+pParse->nRangeReg > iFirst
105790 if( pParse->aTempReg[i]>=iFirst && pParse->aTempReg[i]<=iLast ){
177279 sqlite3_int64 iFirst; /* First slot in %_segments written */
179353 pWriter->iFirst = pWriter->iFree;
179486 pWriter->iFirst, pWriter->iFree, &iLast, &zRoot, &nRoot);
179490 pWriter->iFirst, iLastLeaf, iLast, pWriter->nLeafData, zRoot, nRoot);
183367 int iFirst = 0;
183369 fts3GetDeltaPosition(&pCsr, &iFirst);
183370 if( iFirst<0 ){
183375 pPhrase->iHead = iFirst;
183376 pPhrase->iTail = iFirst;
211150 int iFirst = -1;
211162 if( iFirst<0 ) iFirst = iOff;
211169 sqlite3_int64 iAdj = iFirst - (nToken - (iLast-iFirst)) / 2;
214306 static int sqlite3Fts5ExprFirst(Fts5Expr *p, Fts5Index *pIdx, i64 iFirst, int bDesc){
214318 && fts5RowidCmp(p, pRoot->iRowid, iFirst)<0
214320 rc = fts5ExprNodeNext(p, pRoot, 1, iFirst);
216731 u16 iFirst; /* aSeg[] index of firstest iterator */
217119 static void fts5DataDelete(Fts5Index *p, i64 iFirst, i64 iLast){
217131 sqlite3_bind_int64(p->pDeleter, 1, iFirst);
217141 i64 iFirst = FTS5_SEGMENT_ROWID(iSegid, 0);
217143 fts5DataDelete(p, iFirst, iLast);
218203 Fts5SegIter *pSeg = &pIter->aSeg[pIter->aFirst[1].iFirst];
218890 assert( pRes->iFirst==i2 );
218892 assert( pRes->iFirst==i1 );
218907 assert( pRes->iFirst==i1 );
218909 assert( pRes->iFirst==i2 );
218923 Fts5SegIter *pFirst = &pIter->aSeg[ pIter->aFirst[1].iFirst ];
218947 Fts5SegIter *p1 = &pIter->aSeg[ pIter->aFirst[i*2].iFirst ];
218948 Fts5SegIter *p2 = &pIter->aSeg[ pIter->aFirst[i*2+1].iFirst ];
218981 i1 = pIter->aFirst[iOut*2].iFirst;
218982 i2 = pIter->aFirst[iOut*2+1].iFirst;
219012 pRes->iFirst = (u16)iRes;
219180 pRes->iFirst = (u16)(pNew - pIter->aSeg);
219183 pOther = &pIter->aSeg[ pIter->aFirst[i ^ 0x0001].iFirst ];
219195 Fts5SegIter *pSeg = &pIter->aSeg[ pIter->aFirst[1].iFirst ];
219216 int iFirst = pIter->aFirst[1].iFirst;
219218 Fts5SegIter *pSeg = &pIter->aSeg[iFirst];
219227 || fts5MultiIterAdvanceRowid(pIter, iFirst, &pSeg)
219229 fts5MultiIterAdvanced(p, pIter, iFirst, 1);
219231 pSeg = &pIter->aSeg[pIter->aFirst[1].iFirst];
219236 assert( pSeg==&pIter->aSeg[pIter->aFirst[1].iFirst] && pSeg->pLeaf );
219254 int iFirst = pIter->aFirst[1].iFirst;
219255 Fts5SegIter *pSeg = &pIter->aSeg[iFirst];
219261 || fts5MultiIterAdvanceRowid(pIter, iFirst, &pSeg)
219263 fts5MultiIterAdvanced(p, pIter, iFirst, 1);
219817 Fts5SegIter *pSeg = &pNew->aSeg[pNew->aFirst[1].iFirst];
219847 pNew->aFirst[1].iFirst = 1;
219873 || (pIter->aSeg[ pIter->aFirst[1].iFirst ].pLeaf==0)==pIter->base.bEof
219884 assert( pIter->aSeg[ pIter->aFirst[1].iFirst ].pLeaf );
219885 return pIter->aSeg[ pIter->aFirst[1].iFirst ].iRowid;
219911 Fts5SegIter *p = &pIter->aSeg[ pIter->aFirst[1].iFirst ];
220182 i64 iFirst = fts5DlidxExtractFirstRowid(&pDlidx->buf);
220188 sqlite3Fts5BufferAppendVarint(&p->rc, &pDlidx[1].buf, iFirst);
220190 pDlidx[1].iPrev = iFirst;
220630 Fts5SegIter *pSegIter = &pIter->aSeg[ pIter->aFirst[1].iFirst ];
221476 Fts5SegIter *pSeg = &p1->aSeg[ p1->aFirst[1].iFirst ];
221808 Fts5SegIter *pSeg = &pRet->aSeg[pRet->aFirst[1].iFirst];
221849 Fts5SegIter *pSeg = &pIter->aSeg[ pIter->aFirst[1].iFirst ];
222202 int iFirst,
222210 for(i=iFirst; p->rc==SQLITE_OK && i<=iLast; i++){
222475 fts5SegiterPoslist(p, &pIter->aSeg[pIter->aFirst[1].iFirst], 0, &poslist);