Lines Matching refs:iDocid
111 sqlite3_int64 iDocid;
278 sqlite3_int64 iDocid, /* Docid to bind for SQL_SELECT_DOCSIZE */
289 sqlite3_bind_int64(pStmt, 1, iDocid);
314 sqlite3_int64 iDocid, /* Docid to read size data for */
317 return fts3SelectDocsize(pTab, SQL_SELECT_DOCSIZE, iDocid, ppStmt);
465 sqlite3_int64 iDocid, /* Docid for entry to add */
473 assert( !p || p->iLastDocid<=iDocid );
475 if( !p || p->iLastDocid!=iDocid ){
476 sqlite3_int64 iDelta = iDocid - (p ? p->iLastDocid : 0);
487 p->iLastDocid = iDocid;
594 ** contents of the document with docid iDocid.
596 static int fts3PendingTermsDocid(Fts3Table *p, sqlite_int64 iDocid){
603 if( iDocid<=p->iPrevDocid || p->nPendingData>p->nMaxPendingData ){
607 p->iPrevDocid = iDocid;
629 ** fts3InsertData(). Parameter iDocid is the docid of the new row.
1008 n = sqlite3Fts3GetVarint(pReader->aDoclist, &pReader->iDocid);
1046 ** NULL. Otherwise, set Fts3SegReader.iDocid to the next docid and
1055 pReader->iDocid += iDelta;
1354 if( pLhs->iDocid==pRhs->iDocid ){
1357 rc = (pLhs->iDocid > pRhs->iDocid) ? 1 : -1;
2145 sqlite3_int64 iDocid = apSegment[0]->iDocid;
2150 && apSegment[j]->iDocid==iDocid
2161 nByte = sqlite3Fts3VarintLen(iDocid-iPrev) + (isRequirePos?nList+1:0);
2172 &pCsr->aBuffer[nDoclist], iDocid-iPrev
2174 iPrev = iDocid;
2552 sqlite3_int64 iDocid; /* Docid of the row pCsr points to */
2560 iDocid = sqlite3_column_int64(pCsr->pStmt, 0);
2581 fts3PendingListAppend(&pDef->pList, iDocid, i, iPos, &rc);