Lines Matching defs:poslist

188184   ** poslist). This is an 0x00 byte preceded by some byte that does not
188192 ** set. So to find the start of the poslist, skip forward 2 bytes then
188195 ** Normally. The other case is that p==pStart and the poslist to return
230486 const u8 *a, int n, /* Buffer containing poslist */
233457 const u8 *a, int n, /* Buffer containing poslist */
234858 Fts5Buffer poslist; /* Current position list */
235328 ** the pPhrase->poslist buffer accordingly. Output parameter *pbMatch
235347 fts5BufferZero(&pPhrase->poslist);
235401 rc = sqlite3Fts5PoslistWriterAppend(&pPhrase->poslist, &writer, iPos);
235411 *pbMatch = (pPhrase->poslist.n>0);
235453 Fts5Buffer *pOut; /* Output poslist */
235459 ** Fts5ExprPhrase.poslist buffers are populated accordingly. This function
235499 ** the phrase poslist buffer. The new poslist for the phrase (containing
235502 ** being read. This is safe as the entries for the new poslist are a
235506 Fts5Buffer *pPoslist = &apPhrase[i]->poslist;
235639 pPhrase->poslist.n = 0;
235644 pPhrase->poslist.n = 1;
235648 return pPhrase->poslist.n;
235653 ** Populate the pPhrase->poslist buffers at the same time. If any
235665 fts5BufferSet(&rc, &pPhrase->poslist, pIter->nData, pIter->pData);
235779 pPhrase->poslist.n = 0;
235964 ** of a single term only, grab pointers into the poslist managed by the
235966 ** a new poslist the way we have to for more complicated phrase or NEAR
235975 pPhrase->poslist.n = pIter->nData;
235977 pPhrase->poslist.p = (u8*)pIter->pData;
235980 pNode->bNomatch = (pPhrase->poslist.n==0);
236360 if( pPhrase->poslist.nSpace>0 ) fts5BufferFree(&pPhrase->poslist);
237676 *pa = pPhrase->poslist.p;
237677 nRet = pPhrase->poslist.n;
237707 Fts5Buffer *pBuf = &pExpr->apExprPhrase[i]->poslist;
237780 &pExpr->apExprPhrase[i]->poslist, &p->aPopulator[i].writer, p->iOff
237829 pNode->pNear->apPhrase[0]->poslist.n = 0;
237844 return (pNode->pNear->apPhrase[0]->poslist.n>0);
237904 && pPhrase->poslist.n>0
238069 int iSzPoslist; /* Offset of space for 4-byte poslist size */
238320 ** + 4 byte reserved for the "poslist size" varint.
238738 ** poslist: first poslist
238741 ** poslist: next poslist
238744 ** poslist format:
238746 ** varint: size of poslist in bytes multiplied by 2, not including
239194 ** poslist:
239195 ** Used by sqlite3Fts5IterPoslist() when the poslist needs to be buffered.
239209 Fts5Buffer poslist; /* Buffer containing current poslist */
241739 fts5BufferFree(&pIter->poslist);
242203 ** If memory is required for the new position list, use buffer pIter->poslist.
242224 if( pColset->nCol>1 && sqlite3Fts5BufferSize(pRc, &pIter->poslist, nPos) ){
242232 pIter->base.pData = pIter->poslist.p;
242233 pIter->base.nData = pIter->poslist.n;
242250 fts5BufferSafeAppendBlob(&pIter->poslist, aCopy, p-aCopy);
242253 pIter->base.pData = pIter->poslist.p;
242254 pIter->base.nData = pIter->poslist.n;
242294 ** Fts5Iter.poslist buffer and then set the output pointer to point
242296 fts5BufferZero(&pIter->poslist);
242297 fts5SegiterPoslist(pIter->pIndex, pSeg, 0, &pIter->poslist);
242298 pIter->base.pData = pIter->poslist.p;
242317 fts5BufferZero(&pIter->poslist);
242318 fts5SegiterPoslist(pIter->pIndex, pSeg, pIter->pColset, &pIter->poslist);
242320 pIter->base.pData = pIter->poslist.p;
242321 pIter->base.nData = pIter->poslist.n;
242348 u8 *aOut = pIter->poslist.p;
242366 pIter->base.pData = pIter->poslist.p;
242367 pIter->base.nData = aOut - pIter->poslist.p;
242386 fts5BufferZero(&pIter->poslist);
242390 ** Fts5Iter.poslist buffer and then set the output pointer to point
242392 fts5BufferZero(&pIter->poslist);
242393 fts5SegiterPoslist(pIter->pIndex, pSeg, pColset, &pIter->poslist);
242394 pIter->base.pData = pIter->poslist.p;
242395 pIter->base.nData = pIter->poslist.n;
242423 sqlite3Fts5BufferSize(pRc, &pIter->poslist, pConfig->nCol);
244155 /* If in secure delete mode, and if this entry in the poslist is
244222 /* The entire poslist will fit on the current leaf. So copy
244226 /* The entire poslist will not fit on this leaf. So it needs
244610 PrefixMerger *pNext; /* Next in docid/poslist order */
244774 /* Copy poslist from pHead to output */
245353 /* Populate an iterator for each poslist that will be merged */
245366 if( fts5BufferGrow(&pIter->pIndex->rc, &pIter->poslist, nByte+nHit*10) ){
245384 pIter->poslist.n = 0;
245404 sqlite3Fts5PoslistSafeAppend(&pIter->poslist, &iPrev, iMinPos);
245415 pIter->base.pData = pIter->poslist.p;
245416 pIter->base.nData = pIter->poslist.n;
246751 Fts5Buffer poslist = {0,0,0}; /* Buffer used to hold a poslist */
246796 i64 iPos = 0; /* Position read from poslist */
246797 int iOff = 0; /* Offset within poslist */
246810 poslist.n = 0;
246811 fts5SegiterPoslist(p, &pIter->aSeg[pIter->aFirst[1].iFirst], 0, &poslist);
246812 fts5BufferAppendBlob(&p->rc, &poslist, 4, (const u8*)"\0\0\0\0");
246813 while( 0==sqlite3Fts5PoslistNext64(poslist.p, poslist.n, &iOff, &iPos) ){
246829 fts5BufferFree(&poslist);
247786 Fts5Buffer *pPoslist; /* Pointer to current poslist */
255100 i64 iPos = 0; /* 64-bit position read from poslist */