Lines Matching refs:nPos

240146       int nPos = nSz*2 + p->bDel;                     /* Value of nPos field */
240149 if( nPos<=127 ){
240150 pPtr[p->iSzPoslist] = (u8)nPos;
240152 int nByte = sqlite3Fts5GetVarintLen((u32)nPos);
240154 sqlite3Fts5PutVarint(&pPtr[p->iSzPoslist], nPos);
241073 int nPos; /* Number of bytes in current position list */
242356 pIter->nPos = 1;
242361 pIter->nPos = 1;
242364 pIter->nPos = 0;
242371 pIter->nPos = nSz>>1;
242372 assert_nc( pIter->nPos>=0 );
242555 int nPos;
242557 i += fts5GetPoslistSize(&a[i], &nPos, &bDummy);
242558 i += nPos;
242644 return (p->rc==SQLITE_OK && pSeg->pLeaf && pSeg->nPos==0);
242671 iOff += pIter->nPos;
242779 iOff = pIter->iLeafOffset + pIter->nPos;
242872 pIter->nPos = nSz>>1;
242873 assert_nc( pIter->nPos>=0 );
243870 if( (pIter->bSkipEmpty==0 || pSeg->nPos)
244055 int nRem = pSeg->nPos; /* Number of bytes still to come */
244107 if( 0==fts5BufferGrow(&p->rc, pBuf, pSeg->nPos+FTS5_DATA_ZERO_PADDING) ){
244109 assert( pBuf->nSpace >= pBuf->n+pSeg->nPos+FTS5_DATA_ZERO_PADDING );
244110 memset(&pBuf->p[pBuf->n+pSeg->nPos], 0, FTS5_DATA_ZERO_PADDING);
244147 const u8 *pPos, int nPos, /* Position list */
244153 const u8 *pEnd = &p[nPos]; /* One byte past end of position list */
244157 if( pColset->nCol>1 && sqlite3Fts5BufferSize(pRc, &pIter->poslist, nPos) ){
244207 pIter->base.nData = pSeg->nPos;
244216 pIter->base.nData = pSeg->nPos;
244221 if( pSeg->iLeafOffset+pSeg->nPos<=pSeg->pLeaf->szLeaf ){
244272 if( pSeg->iLeafOffset+pSeg->nPos>pSeg->pLeaf->szLeaf ){
244276 u8 *pEnd = (u8*)&a[pSeg->nPos];
244314 if( pSeg->iLeafOffset+pSeg->nPos<=pSeg->pLeaf->szLeaf ){
244320 fts5IndexExtractColset(pRc, pColset, a, pSeg->nPos, pIter);
245302 int nPos; /* position-list size field value */
245316 if( pSegIter->nPos==0 && (bOldest || pSegIter->bDel==0) ) continue;
245331 if( pSegIter->nPos>0 ){
245337 nPos = pSegIter->nPos*2 + pSegIter->bDel;
245338 fts5BufferAppendVarint(&p->rc, &writer.writer.buf, nPos);
245770 int nPos = 0;
245771 iSOP += fts5GetVarint32(&aPg[iSOP], nPos);
245773 iStart = iSOP + (nPos/2);
245775 iSOP += fts5GetVarint32(&aPg[iSOP], nPos);
245778 iNextOff = pSeg->iLeafOffset + pSeg->nPos;
246145 int nPos = 0;
246146 int nCopy = fts5GetPoslistSize(&pDoclist[iOff], &nPos, &bDel);
246148 fts5BufferAppendVarint(&p->rc, pBuf, nPos*2);
246150 nCopy = nPos;
246152 nCopy += nPos;
246419 int nPos;
246420 pIter->nSize = fts5GetVarint32(p, nPos);
246421 pIter->nPoslist = (nPos>>1);
248945 int nPos;
248947 iOff += fts5GetPoslistSize(&a[iOff], &nPos, &bDel);
248948 sqlite3Fts5BufferAppendPrintf(pRc, pBuf, " nPos=%d%s", nPos, bDel?"*":"");
248949 iOff += fts5DecodePoslist(pRc, pBuf, &a[iOff], MIN(n-iOff, nPos));
257047 const u8 *pPos; int nPos; /* Position list */
257052 nPos = pCsr->pIter->nData;
257057 while( 0==sqlite3Fts5PoslistNext64(pPos, nPos, &iOff, &iPos) ){
257067 while( 0==sqlite3Fts5PoslistNext64(pPos, nPos, &iOff, &iPos) ){
257080 while( 0==sqlite3Fts5PoslistNext64(pPos, nPos, &iOff,&iPos) ){