Lines Matching defs:aIndex
54898 int iNext; /* Next slot in aIndex[] not yet returned */
54899 ht_slot *aIndex; /* i0, i1, i2... such that aPgno[iN] ascend */
54901 int nEntry; /* Nr. of entries in aPgno[] and aIndex[] */
55781 u32 iPg = pSegment->aPgno[pSegment->aIndex[pSegment->iNext]];
55785 *piFrame = pSegment->iZero + pSegment->aIndex[pSegment->iNext];
56002 ht_slot *aIndex; /* Sorted index for this segment */
56010 aIndex = &((ht_slot *)&p->aSegment[p->nSegment])[iZero];
56014 aIndex[j] = (ht_slot)j;
56016 walMergesort((u32 *)aPgno, aTmp, aIndex, &nEntry);
56019 p->aSegment[i].aIndex = aIndex;
145167 ** there is an entry in the aIndex[] array. Index 0 is an index of all the
145168 ** terms that appear in the document set. Each subsequent index in aIndex[]
145177 int nIndex; /* Size of aIndex[] */
145181 } *aIndex;
146215 struct Fts3Index *aIndex; /* Allocated array */
146226 aIndex = sqlite3_malloc(sizeof(struct Fts3Index) * nIndex);
146227 *apIndex = aIndex;
146228 if( !aIndex ){
146232 memset(aIndex, 0, sizeof(struct Fts3Index) * nIndex);
146244 aIndex[i].nPrefix = nPrefix;
146378 int nIndex = 0; /* Size of aIndex[] array */
146379 struct Fts3Index *aIndex = 0; /* Array of indexes for this table */
146583 rc = fts3PrefixParameter(zPrefix, &nIndex, &aIndex);
146593 nIndex * sizeof(struct Fts3Index) + /* aIndex */
146622 p->aIndex = (struct Fts3Index *)&p->azColumn[nCol];
146623 memcpy(p->aIndex, aIndex, sizeof(struct Fts3Index) * nIndex);
146626 fts3HashInit(&p->aIndex[i].hPending, FTS3_HASH_STRING, 1);
146628 p->abNotindexed = (u8 *)&p->aIndex[nIndex];
146708 sqlite3_free(aIndex);
148106 if( iLevel<0 && p->aIndex ){
148234 if( p->aIndex[i].nPrefix==nTerm ){
148244 if( p->aIndex[i].nPrefix==nTerm+1 ){
155903 int iIndex, /* Index in p->aIndex[] */
155935 int iIndex, /* Index for p->aIndex[] */
156177 p, iCol, iPos, &p->aIndex[0].hPending, zToken, nToken
156183 struct Fts3Index *pIndex = &p->aIndex[i];
156237 Fts3Hash *pHash = &p->aIndex[i].hPending;
156464 int iIndex, /* Index for p->aIndex */
157018 int iIndex, /* Index for p->aIndex */
157031 pHash = &p->aIndex[iIndex].hPending;
157862 int iIndex, /* Index for p->aIndex */
158505 int iIndex, /* Index in p->aIndex[] to merge */
160556 if( p->aIndex[i].nPrefix<=nToken ){
160558 zToken, p->aIndex[i].nPrefix, iLang, i, iDocid, iCol, iPos