Lines Matching defs:csr
2230 Fts3SegReaderCursor csr; /* Cursor to iterate through level(s) */
2232 rc = sqlite3Fts3SegReaderCursor(p, iLevel, 0, 0, 1, 0, &csr);
2233 if( rc!=SQLITE_OK || csr.nSegment==0 ) goto finished;
2241 if( csr.nSegment==1 ){
2255 assert( csr.nSegment>0 );
2262 rc = sqlite3Fts3SegReaderStart(p, &csr, &filter);
2264 rc = sqlite3Fts3SegReaderStep(p, &csr);
2267 csr.zTerm, csr.nTerm, csr.aDoclist, csr.nDoclist);
2272 rc = fts3DeleteSegdir(p, iLevel, csr.apSegment, csr.nSegment);
2278 sqlite3Fts3SegReaderFinish(&csr);