• Home
  • Raw
  • Download

Lines Matching refs:iPos

155629       int nByte = 0, iBegin = 0, iEnd = 0, iPos = 0;
155630 rc = pModule->xNext(pCursor, &zByte, &nByte, &iBegin, &iEnd, &iPos);
157958 int iPos = 0;
158000 while( SQLITE_OK==p->xNext(pCsr, &zToken, &nToken, &iStart, &iEnd, &iPos) ){
158001 Tcl_ListObjAppendElement(0, pRet, Tcl_NewIntObj(iPos));
158503 int iPos; /* Current 'pos' value */
158724 pCsr->iPos = 0;
158750 &pCsr->iStart, &pCsr->iEnd, &pCsr->iPos
158832 sqlite3_result_int(pCtx, pCsr->iPos);
159578 sqlite3_int64 iPos, /* Position of term for entry to add */
159610 assert( iPos>p->iLastPos || (iPos==0 && p->iLastPos==0) );
159611 rc = fts3PendingListAppendVarint(&p, 2+iPos-p->iLastPos);
159613 p->iLastPos = iPos;
159639 int iPos,
159651 if( fts3PendingListAppend(&pList, p->iPrevDocid, iCol, iPos, &rc) ){
159684 int iPos = 0;
159713 && SQLITE_OK==(rc = xNext(pCsr, &zToken, &nToken, &iStart, &iEnd, &iPos))
159716 if( iPos>=nWord ) nWord = iPos+1;
159721 if( iPos<0 || !zToken || nToken<=0 ){
159728 p, iCol, iPos, &p->aIndex[0].hPending, zToken, nToken
159737 p, iCol, iPos, &pIndex->hPending, zToken, pIndex->nPrefix
163957 int iPos /* Position */
163965 ret += (ret<<3) + iPos;
164012 i64 iPos = 0;
164021 iPos = 0;
164029 iPos += (iVal - 2);
164032 (int)iCol, (int)iPos
164107 int iPos = 0; /* Position of token in zText */
164109 rc = pModule->xNext(pT, &zToken, &nToken, &iDum1, &iDum2, &iPos);
164113 zToken, nToken, iLang, 0, iDocid, iCol, iPos
164118 zToken, p->aIndex[i].nPrefix, iLang, i, iDocid, iCol, iPos
164281 int iPos = 0; /* Position of token in zText */
164283 rc = pModule->xNext(pTC, &zToken, &nToken, &iDum1, &iDum2, &iPos);
164287 && (pPT->bFirst==0 || iPos==0)
164291 fts3PendingListAppend(&pDef->pList, iDocid, i, iPos, &rc);
164661 int iPos; /* Index of first token in snippet */
165149 int iPos;
165153 fts3SnippetDetails(&sIter, mCovered, &iPos, &iScore, &mCover,&mHighlite);
165156 pFragment->iPos = iPos;
165310 int iPos = pFragment->iPos; /* First token of snippet */
165361 if( iCurrent<iPos ){ continue; }
165366 pTab, pCsr->iLangid, nSnippet, &zDoc[iBegin], n, &iPos, &hlmask
165375 if( iPos>0 || iFragment>0 ){
165381 if( rc!=SQLITE_OK || iCurrent<iPos ) continue;
165384 if( iCurrent>=(iPos+nSnippet) ){
165392 isHighlight = (hlmask & ((u64)1 << (iCurrent-iPos)))!=0;
165394 if( iCurrent>iPos ) rc = fts3StringAppend(pOut, &zDoc[iEnd], iBegin-iEnd);
165646 int iPos; /* Current position */
165680 pIter->iPos += (int)(iRead-2);
165728 pIt->iPos = pIt->iPosOffset;
165744 if( pAdv==0 || pIter->iPos<pAdv->iPos ){
165747 if( nThisLcs==0 || pIter->iPos==pIter[-1].iPos ){
166083 int iPos; /* Position just read from pList */
166103 int iPos = 0; /* First position in position-list */
166110 fts3GetDeltaPosition(&pList, &iPos);
166111 assert( iPos>=0 );
166118 pT->iPos = iPos;
166211 if( pT->pList && (pT->iPos-pT->iOff)<iMinPos ){
166212 iMinPos = pT->iPos-pT->iOff;
166225 fts3GetDeltaPosition(&pTerm->pList, &pTerm->iPos);
186885 #define FTS5_POS2COLUMN(iPos) (int)(iPos >> 32)
186886 #define FTS5_POS2OFFSET(iPos) (int)(iPos & 0xFFFFFFFF)
186899 i64 iPos; /* (iCol<<32) + iPos */
186981 int iPos,
187042 int iPos, /* Position of token within column */
187165 int iPos, /* Position of token within column */
188925 int iPos; /* Current token offset in zIn[] */
188970 int iPos;
188975 iPos = p->iPos++;
188978 if( iPos<p->iRangeStart || iPos>p->iRangeEnd ) return SQLITE_OK;
188979 if( p->iRangeStart && iPos==p->iRangeStart ) p->iOff = iStartOff;
188982 if( iPos==p->iter.iStart ){
188988 if( iPos==p->iter.iEnd ){
189000 if( p->iRangeEnd>0 && iPos==p->iRangeEnd ){
189003 if( iPos>=p->iter.iStart && iPos<p->iter.iEnd ){
189065 int iPos; /* Current token position */
189111 if( p->iPos>0 ){
189119 rc = fts5SentenceFinderAdd(p, p->iPos);
189124 p->iPos++;
189135 int iPos, /* Starting offset to score */
189153 if( rc==SQLITE_OK && ic==iCol && iOff>=iPos && iOff<(iPos+nToken) ){
189238 sFinder.iPos = 0;
189724 if( sqlite3Fts5PoslistNext64(pIter->a, pIter->n, &pIter->i, &pIter->iPos) ){
189750 i64 iPos
189753 if( (iPos & colmask) != (*piPrev & colmask) ){
189755 pBuf->n += sqlite3Fts5PutVarint(&pBuf->p[pBuf->n], (iPos>>32));
189756 *piPrev = (iPos & colmask);
189758 pBuf->n += sqlite3Fts5PutVarint(&pBuf->p[pBuf->n], (iPos-*piPrev)+2);
189759 *piPrev = iPos;
189765 i64 iPos
189769 sqlite3Fts5PoslistSafeAppend(pBuf, &pWriter->iPrev, iPos);
191270 if( aIter[i].iPos==iPrev ){
191273 if( aIter[i].iPos<iMin ){
191274 iMin = aIter[i].iPos;
191353 i64 iPos = aIter[0].iPos;
191358 i64 iAdj = iPos + i;
191359 if( pPos->iPos!=iAdj ){
191361 while( pPos->iPos<iAdj ){
191364 if( pPos->iPos>iAdj ) iPos = pPos->iPos-i;
191370 if( bFirst==0 || FTS5_POS2OFFSET(iPos)==0 ){
191371 rc = sqlite3Fts5PoslistWriterAppend(&pPhrase->poslist, &writer, iPos);
191394 i64 iPos; /* Current position */
191401 p->iPos = p->iLookahead;
191405 return (p->iPos==FTS5_LOOKAHEAD_EOF);
191489 iMax = a[0].reader.iPos;
191495 if( pPos->iPos<iMin || pPos->iPos>iMax ){
191497 while( pPos->iPos<iMin ){
191500 if( pPos->iPos>iMax ) iMax = pPos->iPos;
191507 i64 iPos = a[i].reader.iPos;
191509 if( a[i].pOut->n==0 || iPos!=pWriter->iPrev ){
191510 sqlite3Fts5PoslistWriterAppend(a[i].pOut, pWriter, iPos);
193796 int iPos; /* Position of last value written */
193960 int iPos, /* Position of token within column */
194065 p->iPos = 0;
194080 p->iPos = 0;
194083 p->iCol = (i16)(iPos = iCol);
194089 p->nData += sqlite3Fts5PutVarint(&pPtr[p->nData], iPos - p->iPos + 2);
194090 p->iPos = iPos;
198826 int iPos = 0;
198830 if( (nCopy - iPos)<=nSpace ){
198831 n = nCopy - iPos;
198833 n = fts5PoslistPrefix(&pPoslist[iPos], nSpace);
198836 fts5BufferSafeAppendBlob(pBuf, &pPoslist[iPos], n);
198837 iPos += n;
198841 if( iPos>=nCopy ) break;
199561 int iPos, /* Position of token within column */
199573 p->pHash, p->iWriteRowid, iCol, iPos, FTS5_MAIN_PREFIX, pToken, nToken
199581 p->iWriteRowid, iCol, iPos, (char)(FTS5_MAIN_PREFIX+i+1), pToken,
199829 int iPos,
199837 ret += (ret<<3) + iPos;
199912 int iCol = FTS5_POS2COLUMN(sReader.iPos);
199913 int iOff = FTS5_POS2OFFSET(sReader.iPos);
200268 i64 iPos = 0; /* Position read from poslist */
200283 while( 0==sqlite3Fts5PoslistNext64(poslist.p, poslist.n, &iOff, &iPos) ){
200284 int iCol = FTS5_POS2COLUMN(iPos);
200285 int iTokOff = FTS5_POS2OFFSET(iPos);
202559 && (iBest<0 || aIter[i].iPos<aIter[iBest].iPos)
202582 aInst[1] = FTS5_POS2COLUMN(aIter[iBest].iPos);
202583 aInst[2] = FTS5_POS2OFFSET(aIter[iBest].iPos);
204325 int iPos;
204337 iPos = pCtx->szCol-1;
204342 iPos = pCtx->iCol;
204348 iPos = 0;
204356 pCtx->iRowid, iCol, iPos, 0, pToken, nToken
204367 pCtx->iRowid, iCol, iPos, ii+1, pToken, nByte
207097 i64 iPos = 0; /* 64-bit position read from poslist */
207106 while( 0==sqlite3Fts5PoslistNext64(pPos, nPos, &iOff, &iPos) ){
207116 while( 0==sqlite3Fts5PoslistNext64(pPos, nPos, &iOff, &iPos) ){
207117 int ii = FTS5_POS2COLUMN(iPos);
207129 while( 0==sqlite3Fts5PoslistNext64(pPos, nPos, &iOff,&iPos) ){
207130 assert_nc( iPos>=0 && iPos<nCol );
207131 if( iPos>=nCol ){
207135 pCsr->aDoc[iPos]++;