Lines Matching defs:csr
31 Fts3SegReaderCursor csr; /* Must be right after "base" */
41 sqlite3_int64 nDoc; /* 'documents' values for current csr row */
42 sqlite3_int64 nOcc; /* 'occurrences' values for current csr row */
211 sqlite3Fts3SegReaderFinish(&pCsr->csr);
250 rc = sqlite3Fts3SegReaderStep(pFts3, &pCsr->csr);
253 int nDoclist = pCsr->csr.nDoclist;
254 char *aDoclist = pCsr->csr.aDoclist;
260 int n = (pCsr->nStop<pCsr->csr.nTerm) ? pCsr->nStop : pCsr->csr.nTerm;
261 int mc = memcmp(pCsr->zStop, pCsr->csr.zTerm, n);
262 if( mc<0 || (mc==0 && pCsr->csr.nTerm>pCsr->nStop) ){
355 sqlite3Fts3SegReaderFinish(&pCsr->csr);
358 memset(&pCsr->csr, 0, ((u8*)&pCsr[1]) - (u8*)&pCsr->csr);
379 pCsr->filter.zTerm, pCsr->filter.nTerm, 0, isScan, &pCsr->csr
382 rc = sqlite3Fts3SegReaderStart(pFts3, &pCsr->csr, &pCsr->filter);
409 sqlite3_result_text(pContext, p->csr.zTerm, p->csr.nTerm, SQLITE_TRANSIENT);