Lines Matching defs:nDoc

179622   sqlite3_int64 nDoc;             /* Documents in table */
182862 int nDoc = 0; /* Return value */
182867 nDoc++;
182873 return nDoc;
184592 sqlite3_int64 nDoc = 0;
184603 a += sqlite3Fts3GetVarintBounded(a, pEnd, &nDoc);
184608 if( nDoc==0 || nByte==0 ){
184613 pCsr->nDoc = nDoc;
184614 pCsr->nRowAvg = (int)(((nByte / nDoc) + p->nPgsz) / p->nPgsz);
185542 assert( pCsr->nDoc>0 );
185544 aiOut[iCol*3 + 1] = (u32)pCsr->nDoc;
185545 aiOut[iCol*3 + 2] = (u32)pCsr->nDoc;
185801 sqlite3_int64 nDoc; /* 'documents' values for current csr row */
186036 if( pCsr->aStat[pCsr->iCol].nDoc>0 ) return SQLITE_OK;
186069 pCsr->aStat[0].nDoc++;
186080 ** increment the column 0 "nDoc" count for this term.
186085 pCsr->aStat[1].nDoc++;
186109 pCsr->aStat[iCol+1].nDoc++;
186251 sqlite3_result_int64(pCtx, p->aStat[p->iCol].nDoc);
195800 sqlite3_int64 nDoc; /* Number of docs in database */
196362 int nDoc, /* Size of buffer zDoc in bytes */
196393 /* Open a cursor on zDoc/nDoc. Check if there are (nSnippet+nDesired)
196394 ** or more tokens in zDoc/nDoc.
196396 rc = sqlite3Fts3OpenTokenizer(pTab->pTokenizer, iLangid, zDoc, nDoc, &pC);
196436 int nDoc; /* Size of zDoc in bytes */
196444 sqlite3_tokenizer_cursor *pC; /* Tokenizer cursor open on zDoc/nDoc */
196453 nDoc = sqlite3_column_bytes(pCsr->pStmt, iCol);
196457 rc = sqlite3Fts3OpenTokenizer(pTab->pTokenizer, pCsr->iLangid, zDoc,nDoc,&pC);
196494 int n = nDoc - iBegin;
196645 ** Y values are set to nDoc, where nDoc is the number of documents in the
196753 sqlite3_int64 nDoc;
196770 a += sqlite3Fts3GetVarintBounded(a, pEnd, &nDoc);
196771 if( nDoc<=0 || a>pEnd ){
196774 *pnDoc = nDoc;
196958 sqlite3_int64 nDoc = 0;
196959 rc = fts3MatchinfoSelectDoctotal(pTab, &pSelect, &nDoc, 0, 0);
196960 pInfo->aMatchinfo[0] = (u32)nDoc;
196966 sqlite3_int64 nDoc; /* Number of rows in table */
196970 rc = fts3MatchinfoSelectDoctotal(pTab, &pSelect, &nDoc, &a, &pEnd);
196981 iVal = (u32)(((u32)(nToken&0xffffffff)+nDoc/2)/nDoc);
197032 rc = fts3MatchinfoSelectDoctotal(pTab, &pSelect, &pInfo->nDoc,0,0);
197337 int nDoc;
197354 nDoc = sqlite3_column_bytes(pCsr->pStmt, iCol+1);
197365 zDoc, nDoc, &pC
224707 int nDoc;
224712 rc = pApi->xColumnText(pFts, i, &sFinder.zDoc, &nDoc);
224715 sFinder.zDoc, nDoc, (void*)&sFinder,fts5SentenceFinderCb