Lines Matching refs:csr
138948 Fts3MultiSegReader csr; /* Must be right after "base" */
139158 sqlite3Fts3SegReaderFinish(&pCsr->csr);
139197 rc = sqlite3Fts3SegReaderStep(pFts3, &pCsr->csr);
139200 int nDoclist = pCsr->csr.nDoclist;
139201 char *aDoclist = pCsr->csr.aDoclist;
139207 int n = (pCsr->nStop<pCsr->csr.nTerm) ? pCsr->nStop : pCsr->csr.nTerm;
139208 int mc = memcmp(pCsr->zStop, pCsr->csr.zTerm, n);
139209 if( mc<0 || (mc==0 && pCsr->csr.nTerm>pCsr->nStop) ){
139324 sqlite3Fts3SegReaderFinish(&pCsr->csr);
139327 memset(&pCsr->csr, 0, ((u8*)&pCsr[1]) - (u8*)&pCsr->csr);
139361 pCsr->filter.zTerm, pCsr->filter.nTerm, 0, isScan, &pCsr->csr
139364 rc = sqlite3Fts3SegReaderStart(pFts3, &pCsr->csr, &pCsr->filter);
139392 sqlite3_result_text(pCtx, p->csr.zTerm, p->csr.nTerm, SQLITE_TRANSIENT);
146150 Fts3MultiSegReader csr; /* Cursor to iterate through level(s) */
146161 rc = sqlite3Fts3SegReaderCursor(p, iLangid, iIndex, iLevel, 0, 0, 1, 0, &csr);
146162 if( rc!=SQLITE_OK || csr.nSegment==0 ) goto finished;
146174 if( csr.nSegment==1 ){
146193 assert( csr.nSegment>0 );
146201 rc = sqlite3Fts3SegReaderStart(p, &csr, &filter);
146203 rc = sqlite3Fts3SegReaderStep(p, &csr);
146206 csr.zTerm, csr.nTerm, csr.aDoclist, csr.nDoclist);
146213 p, iLangid, iIndex, iLevel, csr.apSegment, csr.nSegment
146228 sqlite3Fts3SegReaderFinish(&csr);
148060 Fts3MultiSegReader csr;
148067 memset(&csr, 0, sizeof(csr));
148072 p, iLangid, iIndex, FTS3_SEGCURSOR_ALL, 0, 0, 0, 1,&csr
148075 rc = sqlite3Fts3SegReaderStart(p, &csr, &filter);
148079 while( SQLITE_ROW==(rc = sqlite3Fts3SegReaderStep(p, &csr)) ){
148080 char *pCsr = csr.aDoclist;
148081 char *pEnd = &pCsr[csr.nDoclist];
148104 csr.zTerm, csr.nTerm, iLangid, iIndex, iDocid,
148112 sqlite3Fts3SegReaderFinish(&csr);