Lines Matching refs:nList
46812 int nList; /* Number of elements in aList */
46816 const int nList = *pnList; /* Size of input list */
46824 assert( nList<=HASHTABLE_NPAGE && nList>0 );
46827 for(iList=0; iList<nList; iList++){
46832 assert( p->aList && p->nList<=(1<<iSub) );
46834 walMerge(aContent, p->aList, p->nList, &aMerge, &nMerge, aBuffer);
46837 aSub[iSub].nList = nMerge;
46841 if( nList & (1<<iSub) ){
46843 assert( p->nList<=(1<<iSub) );
46844 assert( p->aList==&aList[nList&~((2<<iSub)-1)] );
46845 walMerge(aContent, p->aList, p->nList, &aMerge, &nMerge, aBuffer);
116741 int nList; /* Length of position list */
119073 ** Argument pList points to a position list nList bytes in size. This
119083 int nList, /* Size of pList in bytes */
119089 char *pEnd = &pList[nList];
119521 ** in buffer aList[], size nList bytes.
119528 static int fts3DoclistCountDocids(char *aList, int nList){
119531 char *aEnd = &aList[nList]; /* Pointer to one byte after EOF */
120322 ** Arguments pList/nList contain the doclist for token iToken of phrase p.
120331 Fts3Phrase *p, /* Phrase to merge pList/nList into */
120332 int iToken, /* Token pList/nList corresponds to */
120334 int nList /* Number of bytes in pList */
120346 p->doclist.nAll = nList;
120364 nRight = nList;
120370 nLeft = nList;
120421 ** and doclist.nList are both zeroed.
120439 int nList;
120440 int rc = sqlite3Fts3DeferredTokenList(pDeferred, &pList, &nList);
120446 pPhrase->doclist.nList = 0;
120451 nPoslist = nList;
120466 pPhrase->doclist.nList = 0;
120478 pPhrase->doclist.nList = nPoslist;
120506 pPhrase->doclist.nList = (int)(aOut - pPhrase->doclist.pList);
120510 pPhrase->doclist.nList = 0;
120644 &pDL->iDocid, &pDL->pList, &pDL->nList
120651 &pDL->pNextDocid, &pDL->iDocid, &pDL->nList, pbEof
120676 pDL->nList = (int)(pIter - pDL->pList);
120975 int nList = 0;
120977 rc = fts3TermSelect(pTab, pToken, pTC->iCol, &nList, &pList);
120981 fts3EvalPhraseMergeToken(pTab, pTC->pPhrase, pTC->iToken,pList,nList);
121060 pPhrase->doclist.nList = 0;
121109 assert( nNew<=pPhrase->doclist.nList && nNew>0 );
121110 memset(&pPhrase->doclist.pList[nNew], 0, pPhrase->doclist.nList - nNew);
121111 pPhrase->doclist.nList = nNew;
121136 ** FTs3Expr.pPhrase->doclist.nList (length of pList in bytes)
121276 ** (Fts3Expr->pPhrase.doclist.pList/nList) for each phrase in the expression.
121319 nTmp += p->pRight->pPhrase->doclist.nList;
121321 nTmp += p->pPhrase->doclist.nList;
121796 assert( pPhrase->doclist.nList>0 );
127478 int nList = *pnList;
127479 char *pEnd = &pList[nList];
127489 nList = (int)(p - pList);
127493 nList -= (int)(p - pList);
127495 if( nList==0 ){
127503 *pnList = nList;
127516 int nList
127518 if( nList>pMsr->nBuffer ){
127520 pMsr->nBuffer = nList*2;
127526 memcpy(pMsr->aBuffer, pList, nList);
127558 int nList;
127562 rc = fts3SegReaderNextDocid(p, apSegment[0], &pList, &nList);
127576 fts3ColumnFilter(pMsr->iColFilter, &pList, &nList);
127579 if( nList>0 ){
127581 rc = fts3MsrBufferData(pMsr, pList, nList+1);
127584 assert( (pMsr->aBuffer[nList] & 0xFE)==0x00 );
127589 *pnPoslist = nList;
127816 int nList;
127819 fts3SegReaderNextDocid(p, apSegment[0], &pList, &nList);
127830 fts3ColumnFilter(pFilter->iCol, &pList, &nList);
127833 if( !isIgnoreEmpty || nList>0 ){
127846 nByte = sqlite3Fts3VarintLen(iDelta) + (isRequirePos?nList+1:0);
127861 nWrite = sqlite3Fts3FirstFilter(iDelta, pList, nList, a);
127870 memcpy(&pCsr->aBuffer[nDoclist], pList, nList);
127871 nDoclist += nList;
129066 int nList; /* Number of phrases in expression */
129077 rc = fts3ExprLoadDoclists(pCsr, &nList, 0);
129085 nByte = sizeof(SnippetPhrase) * nList;
129098 sIter.nPhrase = nList;
129103 for(i=0; i<nList; i++){