Lines Matching defs:nDoc

116701   sqlite3_int64 nDoc;             /* Documents in table */
119529 int nDoc = 0; /* Return value */
119534 nDoc++;
119540 return nDoc;
120831 sqlite3_int64 nDoc = 0;
120842 a += sqlite3Fts3GetVarint(a, &nDoc);
120846 if( nDoc==0 || nByte==0 ){
120851 pCsr->nDoc = nDoc;
120852 pCsr->nRowAvg = (int)(((nByte / nDoc) + p->nPgsz) / p->nPgsz);
121737 assert( pCsr->nDoc>0 );
121739 aiOut[iCol*3 + 1] = (u32)pCsr->nDoc;
121740 aiOut[iCol*3 + 2] = (u32)pCsr->nDoc;
121896 sqlite3_int64 nDoc; /* 'documents' values for current csr row */
122103 if( pCsr->aStat[pCsr->iCol].nDoc>0 ) return SQLITE_OK;
122135 pCsr->aStat[0].nDoc++;
122146 ** increment the column 0 "nDoc" count for this term.
122151 pCsr->aStat[1].nDoc++;
122171 pCsr->aStat[iCol+1].nDoc++;
122274 sqlite3_result_int64(pContext, p->aStat[p->iCol].nDoc);
128746 sqlite3_int64 nDoc; /* Number of docs in database */
129194 int nDoc, /* Size of buffer zDoc in bytes */
129224 /* Open a cursor on zDoc/nDoc. Check if there are (nSnippet+nDesired)
129225 ** or more tokens in zDoc/nDoc.
129227 rc = sqlite3Fts3OpenTokenizer(pTab->pTokenizer, iLangid, zDoc, nDoc, &pC);
129267 int nDoc; /* Size of zDoc in bytes */
129275 sqlite3_tokenizer_cursor *pC; /* Tokenizer cursor open on zDoc/nDoc */
129286 nDoc = sqlite3_column_bytes(pCsr->pStmt, iCol);
129290 rc = sqlite3Fts3OpenTokenizer(pTab->pTokenizer, pCsr->iLangid, zDoc,nDoc,&pC);
129314 int n = nDoc - iBegin;
129403 ** Y values are set to nDoc, where nDoc is the number of documents in the
129498 sqlite3_int64 nDoc;
129508 a += sqlite3Fts3GetVarint(a, &nDoc);
129509 if( nDoc==0 ) return FTS_CORRUPT_VTAB;
129510 *pnDoc = (u32)nDoc;
129685 sqlite3_int64 nDoc = 0;
129686 rc = fts3MatchinfoSelectDoctotal(pTab, &pSelect, &nDoc, 0);
129687 pInfo->aMatchinfo[0] = (u32)nDoc;
129693 sqlite3_int64 nDoc; /* Number of rows in table */
129696 rc = fts3MatchinfoSelectDoctotal(pTab, &pSelect, &nDoc, &a);
129703 iVal = (u32)(((u32)(nToken&0xffffffff)+nDoc/2)/nDoc);
129741 rc = fts3MatchinfoSelectDoctotal(pTab, &pSelect, &pInfo->nDoc, 0);
130023 int nDoc;
130040 nDoc = sqlite3_column_bytes(pCsr->pStmt, iCol+1);
130051 zDoc, nDoc, &pC