Lines Matching refs:aIndex
59918 ht_slot *aIndex; /* i0, i1, i2... such that aPgno[iN] ascend */
60904 u32 iPg = pSegment->aPgno[pSegment->aIndex[pSegment->iNext]];
60908 *piFrame = pSegment->iZero + pSegment->aIndex[pSegment->iNext];
61124 ht_slot *aIndex; /* Sorted index for this segment */
61132 aIndex = &((ht_slot *)&p->aSegment[p->nSegment])[sLoc.iZero];
61136 aIndex[j] = (ht_slot)j;
61138 walMergesort((u32 *)sLoc.aPgno, aTmp, aIndex, &nEntry);
61141 p->aSegment[i].aIndex = aIndex;
166801 } *aIndex;
167908 struct Fts3Index *aIndex; /* Allocated array */
167919 aIndex = sqlite3_malloc64(sizeof(struct Fts3Index) * nIndex);
167920 *apIndex = aIndex;
167921 if( !aIndex ){
167925 memset(aIndex, 0, sizeof(struct Fts3Index) * nIndex);
167937 aIndex[i].nPrefix = nPrefix;
168072 struct Fts3Index *aIndex = 0; /* Array of indexes for this table */
168277 rc = fts3PrefixParameter(zPrefix, &nIndex, &aIndex);
168316 p->aIndex = (struct Fts3Index *)&p->azColumn[nCol];
168317 memcpy(p->aIndex, aIndex, sizeof(struct Fts3Index) * nIndex);
168320 fts3HashInit(&p->aIndex[i].hPending, FTS3_HASH_STRING, 1);
168322 p->abNotindexed = (u8 *)&p->aIndex[nIndex];
168406 sqlite3_free(aIndex);
169862 if( iLevel<0 && p->aIndex && p->iPrevLangid==iLangid ){
169990 if( p->aIndex[i].nPrefix==nTerm ){
170000 if( p->aIndex[i].nPrefix==nTerm+1 ){
177934 p, iCol, iPos, &p->aIndex[0].hPending, zToken, nToken
177940 struct Fts3Index *pIndex = &p->aIndex[i];
177994 Fts3Hash *pHash = &p->aIndex[i].hPending;
178802 pHash = &p->aIndex[iIndex].hPending;
182418 if( p->aIndex[i].nPrefix<=nToken ){
182420 zToken, p->aIndex[i].nPrefix, iLang, i, iDocid, iCol, iPos