Lines Matching refs:nDoc
90 sqlite3_int64 nDoc; /* Number of docs in database */
588 int nDoc, /* Size of buffer zDoc in bytes */
618 /* Open a cursor on zDoc/nDoc. Check if there are (nSnippet+nDesired)
619 ** or more tokens in zDoc/nDoc.
621 rc = pMod->xOpen(pTab->pTokenizer, zDoc, nDoc, &pC);
662 int nDoc; /* Size of zDoc in bytes */
670 sqlite3_tokenizer_cursor *pC; /* Tokenizer cursor open on zDoc/nDoc */
681 nDoc = sqlite3_column_bytes(pCsr->pStmt, iCol);
685 rc = pMod->xOpen(pTab->pTokenizer, zDoc, nDoc, &pC);
710 int n = nDoc - iBegin;
817 ** Y values are set to nDoc, where nDoc is the number of documents in the
852 aOut[iCol*3 + 1] = (u32)p->nDoc;
853 aOut[iCol*3 + 2] = (u32)p->nDoc;
952 sqlite3_int64 nDoc;
962 a += sqlite3Fts3GetVarint(a, &nDoc);
963 if( nDoc==0 ) return SQLITE_CORRUPT;
964 *pnDoc = (u32)nDoc;
1124 ** rows (i.e. FTS3_MATCHINFO_NPHRASE, NCOL, NDOC, AVGLENGTH and part of HITS)
1155 sqlite3_int64 nDoc;
1156 rc = fts3MatchinfoSelectDoctotal(pTab, &pSelect, &nDoc, 0);
1157 pInfo->aMatchinfo[0] = (u32)nDoc;
1163 sqlite3_int64 nDoc; /* Number of rows in table */
1166 rc = fts3MatchinfoSelectDoctotal(pTab, &pSelect, &nDoc, &a);
1173 iVal = (u32)(((u32)(nToken&0xffffffff)+nDoc/2)/nDoc);
1211 rc = fts3MatchinfoSelectDoctotal(pTab, &pSelect, &pInfo->nDoc, 0);
1491 int nDoc;
1508 nDoc = sqlite3_column_bytes(pCsr->pStmt, iCol+1);
1518 rc = pMod->xOpen(pTab->pTokenizer, zDoc, nDoc, &pC);