Lines Matching defs:csr
121886 Fts3MultiSegReader csr; /* Must be right after "base" */
121896 sqlite3_int64 nDoc; /* 'documents' values for current csr row */
121897 sqlite3_int64 nOcc; /* 'occurrences' values for current csr row */
122067 sqlite3Fts3SegReaderFinish(&pCsr->csr);
122106 rc = sqlite3Fts3SegReaderStep(pFts3, &pCsr->csr);
122109 int nDoclist = pCsr->csr.nDoclist;
122110 char *aDoclist = pCsr->csr.aDoclist;
122116 int n = (pCsr->nStop<pCsr->csr.nTerm) ? pCsr->nStop : pCsr->csr.nTerm;
122117 int mc = memcmp(pCsr->zStop, pCsr->csr.zTerm, n);
122118 if( mc<0 || (mc==0 && pCsr->csr.nTerm>pCsr->nStop) ){
122212 sqlite3Fts3SegReaderFinish(&pCsr->csr);
122215 memset(&pCsr->csr, 0, ((u8*)&pCsr[1]) - (u8*)&pCsr->csr);
122236 pCsr->filter.zTerm, pCsr->filter.nTerm, 0, isScan, &pCsr->csr
122239 rc = sqlite3Fts3SegReaderStart(pFts3, &pCsr->csr, &pCsr->filter);
122266 sqlite3_result_text(pContext, p->csr.zTerm, p->csr.nTerm, SQLITE_TRANSIENT);
127929 Fts3MultiSegReader csr; /* Cursor to iterate through level(s) */
127939 rc = sqlite3Fts3SegReaderCursor(p, iLangid, iIndex, iLevel, 0, 0, 1, 0, &csr);
127940 if( rc!=SQLITE_OK || csr.nSegment==0 ) goto finished;
127947 if( csr.nSegment==1 ){
127966 assert( csr.nSegment>0 );
127974 rc = sqlite3Fts3SegReaderStart(p, &csr, &filter);
127976 rc = sqlite3Fts3SegReaderStep(p, &csr);
127979 csr.zTerm, csr.nTerm, csr.aDoclist, csr.nDoclist);
127986 p, iLangid, iIndex, iLevel, csr.apSegment, csr.nSegment
127994 sqlite3Fts3SegReaderFinish(&csr);