Lines Matching refs:nDoc

169986   sqlite3_int64 nDoc;             /* Documents in table */
173224 int nDoc = 0; /* Return value */
173229 nDoc++;
173235 return nDoc;
174938 sqlite3_int64 nDoc = 0;
174949 a += sqlite3Fts3GetVarintBounded(a, pEnd, &nDoc);
174954 if( nDoc==0 || nByte==0 ){
174959 pCsr->nDoc = nDoc;
174960 pCsr->nRowAvg = (int)(((nByte / nDoc) + p->nPgsz) / p->nPgsz);
175890 assert( pCsr->nDoc>0 );
175892 aiOut[iCol*3 + 1] = (u32)pCsr->nDoc;
175893 aiOut[iCol*3 + 2] = (u32)pCsr->nDoc;
176146 sqlite3_int64 nDoc; /* 'documents' values for current csr row */
176381 if( pCsr->aStat[pCsr->iCol].nDoc>0 ) return SQLITE_OK;
176413 pCsr->aStat[0].nDoc++;
176424 ** increment the column 0 "nDoc" count for this term.
176429 pCsr->aStat[1].nDoc++;
176449 pCsr->aStat[iCol+1].nDoc++;
176591 sqlite3_result_int64(pCtx, p->aStat[p->iCol].nDoc);
186117 sqlite3_int64 nDoc; /* Number of docs in database */
186681 int nDoc, /* Size of buffer zDoc in bytes */
186712 /* Open a cursor on zDoc/nDoc. Check if there are (nSnippet+nDesired)
186713 ** or more tokens in zDoc/nDoc.
186715 rc = sqlite3Fts3OpenTokenizer(pTab->pTokenizer, iLangid, zDoc, nDoc, &pC);
186755 int nDoc; /* Size of zDoc in bytes */
186763 sqlite3_tokenizer_cursor *pC; /* Tokenizer cursor open on zDoc/nDoc */
186772 nDoc = sqlite3_column_bytes(pCsr->pStmt, iCol);
186776 rc = sqlite3Fts3OpenTokenizer(pTab->pTokenizer, pCsr->iLangid, zDoc,nDoc,&pC);
186813 int n = nDoc - iBegin;
186964 ** Y values are set to nDoc, where nDoc is the number of documents in the
187072 sqlite3_int64 nDoc;
187089 a += sqlite3Fts3GetVarintBounded(a, pEnd, &nDoc);
187090 if( nDoc<=0 || a>pEnd ){
187093 *pnDoc = nDoc;
187276 sqlite3_int64 nDoc = 0;
187277 rc = fts3MatchinfoSelectDoctotal(pTab, &pSelect, &nDoc, 0, 0);
187278 pInfo->aMatchinfo[0] = (u32)nDoc;
187284 sqlite3_int64 nDoc; /* Number of rows in table */
187288 rc = fts3MatchinfoSelectDoctotal(pTab, &pSelect, &nDoc, &a, &pEnd);
187299 iVal = (u32)(((u32)(nToken&0xffffffff)+nDoc/2)/nDoc);
187350 rc = fts3MatchinfoSelectDoctotal(pTab, &pSelect, &pInfo->nDoc,0,0);
187655 int nDoc;
187672 nDoc = sqlite3_column_bytes(pCsr->pStmt, iCol+1);
187683 zDoc, nDoc, &pC
214537 int nDoc;
214542 rc = pApi->xColumnText(pFts, i, &sFinder.zDoc, &nDoc);
214545 sFinder.zDoc, nDoc, (void*)&sFinder,fts5SentenceFinderCb