Lines Matching refs:iIndex
182610 int iIndex, /* Index to search (from 0 to p->nIndex-1) */
182630 rc = sqlite3Fts3SegReaderPending(p, iIndex, zTerm, nTerm, isPrefix||isScan, &pSeg);
182638 rc = sqlite3Fts3AllSegdirs(p, iLangid, iIndex, iLevel, &pStmt);
182684 int iIndex, /* Index to search (from 0 to p->nIndex-1) */
182692 assert( iIndex>=0 && iIndex<p->nIndex );
182703 p, iLangid, iIndex, iLevel, zTerm, nTerm, isPrefix, isScan, pCsr
190450 ** iIndex starts at absolute level ((iLangid * (nPrefix+1) + iIndex) * 1024).
190455 int iIndex, /* Index in p->aIndex[] */
190458 sqlite3_int64 iBase; /* First absolute level for iLangid/iIndex */
190461 assert( iIndex>=0 && iIndex<p->nIndex );
190463 iBase = ((sqlite3_int64)iLangid * p->nIndex + iIndex) * FTS3_SEGDIR_MAXLEVEL;
190487 int iIndex, /* Index for p->aIndex[] */
190496 assert( iIndex>=0 && iIndex<p->nIndex );
190502 sqlite3_bind_int64(pStmt, 1, getAbsoluteLevel(p, iLangid, iIndex, 0));
190504 getAbsoluteLevel(p, iLangid, iIndex, FTS3_SEGDIR_MAXLEVEL-1)
190511 sqlite3_bind_int64(pStmt, 1, getAbsoluteLevel(p, iLangid, iIndex,iLevel));
191016 int iIndex, /* Index for p->aIndex */
191031 pNextIdx, 1, getAbsoluteLevel(p, iLangid, iIndex, iLevel)
191046 fts3LogMerge(16, getAbsoluteLevel(p, iLangid, iIndex, iLevel));
191047 rc = fts3SegmentMerge(p, iLangid, iIndex, iLevel);
191592 int iIndex, /* Index for p->aIndex */
191605 pHash = &p->aIndex[iIndex].hPending;
192348 ** iIndex.
192357 int iIndex,
192362 assert( iIndex>=0 && iIndex<p->nIndex );
192372 sqlite3_bind_int64(pStmt, 1, getAbsoluteLevel(p, iLangid, iIndex, 0));
192374 getAbsoluteLevel(p, iLangid, iIndex, FTS3_SEGDIR_MAXLEVEL-1)
192453 int iIndex, /* Index for p->aIndex */
192473 sqlite3_bind_int64(pDelete, 1, getAbsoluteLevel(p, iLangid, iIndex, 0));
192475 getAbsoluteLevel(p, iLangid, iIndex, FTS3_SEGDIR_MAXLEVEL-1)
192482 pDelete, 1, getAbsoluteLevel(p, iLangid, iIndex, iLevel)
193109 int iIndex, /* Index in p->aIndex[] to merge */
193126 assert( iIndex>=0 && iIndex<p->nIndex );
193128 rc = sqlite3Fts3SegReaderCursor(p, iLangid, iIndex, iLevel, 0, 0, 1, 0, &csr);
193132 rc = fts3SegmentMaxLevel(p, iLangid, iIndex, &iMaxLevel);
193154 iNewLevel = getAbsoluteLevel(p, iLangid, iIndex, iLevel+1);
193155 rc = fts3AllocateSegdirIdx(p, iLangid, iIndex, iLevel+1, &iIdx);
193161 assert_fts3_nc( iNewLevel>=getAbsoluteLevel(p, iLangid, iIndex, 0) );
193163 iNewLevel<getAbsoluteLevel(p, iLangid, iIndex,FTS3_SEGDIR_MAXLEVEL)
193182 p, iLangid, iIndex, iLevel, csr.apSegment, csr.nSegment
193398 ** iIndex/iLangid combination.
195068 int iIndex, /* Index (0..Fts3Table.nIndex-1) */
195077 ret += (ret<<3) + iIndex;
195097 int iIndex, /* Index to cksum (0..p->nIndex-1) */
195113 p, iLangid, iIndex, FTS3_SEGCURSOR_ALL, 0, 0, 0, 1,&csr
195149 csr.zTerm, csr.nTerm, iLangid, iIndex, iDocid,