Lines Matching defs:aIndex

63942     int iNext;                    /* Next slot in aIndex[] not yet returned */
63943 ht_slot *aIndex; /* i0, i1, i2... such that aPgno[iN] ascend */
63945 int nEntry; /* Nr. of entries in aPgno[] and aIndex[] */
64965 u32 iPg = pSegment->aPgno[pSegment->aIndex[pSegment->iNext]];
64969 *piFrame = pSegment->iZero + pSegment->aIndex[pSegment->iNext];
65185 ht_slot *aIndex; /* Sorted index for this segment */
65192 aIndex = &((ht_slot *)&p->aSegment[p->nSegment])[sLoc.iZero];
65196 aIndex[j] = (ht_slot)j;
65198 walMergesort((u32 *)sLoc.aPgno, aTmp, aIndex, &nEntry);
65201 p->aSegment[i].aIndex = aIndex;
179551 ** there is an entry in the aIndex[] array. Index 0 is an index of all the
179552 ** terms that appear in the document set. Each subsequent index in aIndex[]
179561 int nIndex; /* Size of aIndex[] */
179565 } *aIndex;
180674 struct Fts3Index *aIndex; /* Allocated array */
180685 aIndex = sqlite3_malloc64(sizeof(struct Fts3Index) * nIndex);
180686 *apIndex = aIndex;
180687 if( !aIndex ){
180691 memset(aIndex, 0, sizeof(struct Fts3Index) * nIndex);
180703 aIndex[i].nPrefix = nPrefix;
180837 int nIndex = 0; /* Size of aIndex[] array */
180838 struct Fts3Index *aIndex = 0; /* Array of indexes for this table */
181043 rc = fts3PrefixParameter(zPrefix, &nIndex, &aIndex);
181053 nIndex * sizeof(struct Fts3Index) + /* aIndex */
181082 p->aIndex = (struct Fts3Index *)&p->azColumn[nCol];
181083 memcpy(p->aIndex, aIndex, sizeof(struct Fts3Index) * nIndex);
181086 fts3HashInit(&p->aIndex[i].hPending, FTS3_HASH_STRING, 1);
181088 p->abNotindexed = (u8 *)&p->aIndex[nIndex];
181172 sqlite3_free(aIndex);
182628 if( iLevel<0 && p->aIndex && p->iPrevLangid==iLangid ){
182756 if( p->aIndex[i].nPrefix==nTerm ){
182766 if( p->aIndex[i].nPrefix==nTerm+1 ){
190455 int iIndex, /* Index in p->aIndex[] */
190487 int iIndex, /* Index for p->aIndex[] */
190729 p, iCol, iPos, &p->aIndex[0].hPending, zToken, nToken
190735 struct Fts3Index *pIndex = &p->aIndex[i];
190789 Fts3Hash *pHash = &p->aIndex[i].hPending;
191016 int iIndex, /* Index for p->aIndex */
191592 int iIndex, /* Index for p->aIndex */
191605 pHash = &p->aIndex[iIndex].hPending;
192453 int iIndex, /* Index for p->aIndex */
193109 int iIndex, /* Index in p->aIndex[] to merge */
195233 if( p->aIndex[i].nPrefix<=nToken ){
195235 zToken, p->aIndex[i].nPrefix, iLang, i, iDocid, iCol, iPos