Lines Matching refs:iCol
38 int iCol; /* Current value of 'col' column */
246 for(pCsr->iCol++; pCsr->iCol<pCsr->nStat; pCsr->iCol++){
247 if( pCsr->aStat[pCsr->iCol].nDoc>0 ) return SQLITE_OK;
255 int iCol;
270 iCol = 0;
281 iCol = 0;
293 assert( iCol==0 );
306 pCsr->aStat[iCol+1].nOcc++;
313 iCol = (int)v;
314 if( fts3auxGrowStatArray(pCsr, iCol+2) ) return SQLITE_NOMEM;
315 pCsr->aStat[iCol+1].nDoc++;
321 pCsr->iCol = 0;
403 int iCol /* Index of column to read value from */
408 if( iCol==0 ){ /* Column "term" */
410 }else if( iCol==1 ){ /* Column "col" */
411 if( p->iCol ){
412 sqlite3_result_int(pContext, p->iCol-1);
416 }else if( iCol==2 ){ /* Column "documents" */
417 sqlite3_result_int64(pContext, p->aStat[p->iCol].nDoc);
419 sqlite3_result_int64(pContext, p->aStat[p->iCol].nOcc);