Lines Matching defs:nPos

229653       int nPos = nSz*2 + p->bDel;                     /* Value of nPos field */
229656 if( nPos<=127 ){
229657 pPtr[p->iSzPoslist] = (u8)nPos;
229659 int nByte = sqlite3Fts5GetVarintLen((u32)nPos);
229661 sqlite3Fts5PutVarint(&pPtr[p->iSzPoslist], nPos);
230462 int nPos; /* Number of bytes in current position list */
231640 ** Fts5SegIter.nPos
231653 pIter->nPos = 1;
231658 pIter->nPos = 1;
231661 pIter->nPos = 0;
231668 pIter->nPos = nSz>>1;
231669 assert_nc( pIter->nPos>=0 );
231800 ** Fts5SegIter.rowid is set, but nPos and bDel are not.
231830 int nPos;
231832 i += fts5GetPoslistSize(&a[i], &nPos, &bDummy);
231833 i += nPos;
231919 return (p->rc==SQLITE_OK && pSeg->pLeaf && pSeg->nPos==0);
231946 iOff += pIter->nPos;
232053 iOff = pIter->iLeafOffset + pIter->nPos;
232146 pIter->nPos = nSz>>1;
232147 assert_nc( pIter->nPos>=0 );
232949 if( pIter->bSkipEmpty==0 || pSeg->nPos ){
233130 int nRem = pSeg->nPos; /* Number of bytes still to come */
233182 if( 0==fts5BufferGrow(&p->rc, pBuf, pSeg->nPos+FTS5_DATA_ZERO_PADDING) ){
233184 assert( pBuf->nSpace >= pBuf->n+pSeg->nPos+FTS5_DATA_ZERO_PADDING );
233185 memset(&pBuf->p[pBuf->n+pSeg->nPos], 0, FTS5_DATA_ZERO_PADDING);
233208 ** Parameter pPos points to a buffer containing a position list, size nPos.
233222 const u8 *pPos, int nPos, /* Position list */
233228 const u8 *pEnd = &p[nPos]; /* One byte past end of position list */
233232 if( pColset->nCol>1 && sqlite3Fts5BufferSize(pRc, &pIter->poslist, nPos) ){
233282 pIter->base.nData = pSeg->nPos;
233291 pIter->base.nData = pSeg->nPos;
233296 if( pSeg->iLeafOffset+pSeg->nPos<=pSeg->pLeaf->szLeaf ){
233347 if( pSeg->iLeafOffset+pSeg->nPos>pSeg->pLeaf->szLeaf ){
233351 u8 *pEnd = (u8*)&a[pSeg->nPos];
233389 if( pSeg->iLeafOffset+pSeg->nPos<=pSeg->pLeaf->szLeaf ){
233395 fts5IndexExtractColset(pRc, pColset, a, pSeg->nPos, pIter);
234360 int nPos; /* position-list size field value */
234374 if( pSegIter->nPos==0 && (bOldest || pSegIter->bDel==0) ) continue;
234389 if( pSegIter->nPos>0 ){
234395 nPos = pSegIter->nPos*2 + pSegIter->bDel;
234396 fts5BufferAppendVarint(&p->rc, &writer.writer.buf, nPos);
234664 int nPos;
234665 int nCopy = fts5GetPoslistSize(&pDoclist[iOff], &nPos, &bDummy);
234666 nCopy += nPos;
234901 int nPos;
234902 pIter->nSize = fts5GetVarint32(p, nPos);
234903 pIter->nPoslist = (nPos>>1);
236480 int nPos;
236482 iOff += fts5GetPoslistSize(&a[iOff], &nPos, &bDel);
236483 sqlite3Fts5BufferAppendPrintf(pRc, pBuf, " nPos=%d%s", nPos, bDel?"*":"");
236484 iOff += fts5DecodePoslist(pRc, pBuf, &a[iOff], MIN(n-iOff, nPos));
243983 const u8 *pPos; int nPos; /* Position list */
243988 nPos = pCsr->pIter->nData;
243993 while( 0==sqlite3Fts5PoslistNext64(pPos, nPos, &iOff, &iPos) ){
244003 while( 0==sqlite3Fts5PoslistNext64(pPos, nPos, &iOff, &iPos) ){
244016 while( 0==sqlite3Fts5PoslistNext64(pPos, nPos, &iOff,&iPos) ){