Lines Matching refs:nList

55273   int nList;                      /* Number of pages in pList */
55292 nList = 0;
55296 nList++;
55301 nList = 1;
55303 pPager->aStat[PAGER_STAT_WRITE] += nList;
61462 int nList; /* Number of elements in aList */
61466 const int nList = *pnList; /* Size of input list */
61474 assert( nList<=HASHTABLE_NPAGE && nList>0 );
61477 for(iList=0; iList<nList; iList++){
61484 assert( p->aList && p->nList<=(1<<iSub) );
61486 walMerge(aContent, p->aList, p->nList, &aMerge, &nMerge, aBuffer);
61489 aSub[iSub].nList = nMerge;
61493 if( nList & (1<<iSub) ){
61497 assert( p->nList<=(1<<iSub) );
61498 assert( p->aList==&aList[nList&~((2<<iSub)-1)] );
61499 walMerge(aContent, p->aList, p->nList, &aMerge, &nMerge, aBuffer);
107437 int nList; /* Number of tokens in pList */
107671 pCtx->nList++;
107914 zOut = sqlite3DbMallocZero(db, nSql + pRename->nList*nQuot + 1);
170034 int nList; /* Length of position list */
172758 ** Argument pList points to a position list nList bytes in size. This
172768 int nList, /* Size of pList in bytes */
172774 char *pEnd = &pList[nList];
173216 ** in buffer aList[], size nList bytes.
173223 static int fts3DoclistCountDocids(char *aList, int nList){
173226 char *aEnd = &aList[nList]; /* Pointer to one byte after EOF */
174186 ** Arguments pList/nList contain the doclist for token iToken of phrase p.
174197 Fts3Phrase *p, /* Phrase to merge pList/nList into */
174198 int iToken, /* Token pList/nList corresponds to */
174200 int nList /* Number of bytes in pList */
174213 p->doclist.nAll = nList;
174231 nRight = nList;
174237 nLeft = nList;
174292 ** and doclist.nList are both zeroed.
174310 int nList;
174311 int rc = sqlite3Fts3DeferredTokenList(pDeferred, &pList, &nList);
174317 pPhrase->doclist.nList = 0;
174322 nPoslist = nList;
174337 pPhrase->doclist.nList = 0;
174349 pPhrase->doclist.nList = nPoslist;
174377 pPhrase->doclist.nList = (int)(aOut - pPhrase->doclist.pList);
174381 pPhrase->doclist.nList = 0;
174587 pDL->nList = (int)(pIter - pDL->pList);
174611 int nList;
174637 p->nList = pPhrase->doclist.nList;
174646 pTab, pToken->pSegcsr, &p->iDocid, &p->pList, &p->nList
174666 ** the Fts3Doclist.pList and nList fields.
174691 &pDL->iDocid, &pDL->pList, &pDL->nList
174733 int nList = 0;
174734 int nByte = a[p->nToken-1].nList;
174748 nList = (int)(pOut - aDoclist);
174754 pDL->nList = nList;
174789 &pDL->pNextDocid, &pDL->iDocid, &pDL->nList, pbEof
175080 int nList = 0;
175082 rc = fts3TermSelect(pTab, pToken, pTC->iCol, &nList, &pList);
175086 pTab, pTC->pPhrase, pTC->iToken,pList,nList
175171 pPhrase->doclist.nList = 0;
175219 assert_fts3_nc( nNew<=pPhrase->doclist.nList && nNew>0 );
175220 if( nNew>=0 && nNew<=pPhrase->doclist.nList ){
175222 memset(&pPhrase->doclist.pList[nNew], 0, pPhrase->doclist.nList - nNew);
175223 pPhrase->doclist.nList = nNew;
175249 ** FTs3Expr.pPhrase->doclist.nList (length of pList in bytes)
175322 memset(pDl->pList, 0, pDl->nList);
175329 memset(pDl->pList, 0, pDl->nList);
175407 ** (Fts3Expr->pPhrase.doclist.pList/nList) for each phrase in the expression.
175449 assert( p->pRight->pPhrase->doclist.nList>0 );
175450 nTmp += p->pRight->pPhrase->doclist.nList;
175452 nTmp += p->pPhrase->doclist.nList;
175578 && pExpr->pPhrase->doclist.nList>0
182844 int nList = *pnList;
182845 char *pEnd = &pList[nList];
182855 nList = (int)(p - pList);
182859 nList -= (int)(p - pList);
182861 if( nList<=0 ){
182868 if( bZero && (pEnd - &pList[nList])>0){
182869 memset(&pList[nList], 0, pEnd - &pList[nList]);
182872 *pnList = nList;
182885 int nList
182887 if( nList>pMsr->nBuffer ){
182889 pMsr->nBuffer = nList*2;
182895 assert( nList>0 );
182896 memcpy(pMsr->aBuffer, pList, nList);
182928 int nList;
182932 rc = fts3SegReaderNextDocid(p, apSegment[0], &pList, &nList);
182945 if( nList>0 && fts3SegReaderIsPending(apSegment[0]) ){
182946 rc = fts3MsrBufferData(pMsr, pList, nList+1);
182948 assert( (pMsr->aBuffer[nList] & 0xFE)==0x00 );
182953 fts3ColumnFilter(pMsr->iColFilter, 1, &pList, &nList);
182956 if( nList>0 ){
182959 *pnPoslist = nList;
183199 int nList = 0;
183202 fts3SegReaderNextDocid(p, apSegment[0], &pList, &nList);
183213 fts3ColumnFilter(pFilter->iCol, 0, &pList, &nList);
183216 if( !isIgnoreEmpty || nList>0 ){
183229 nByte = sqlite3Fts3VarintLen(iDelta) + (isRequirePos?nList+1:0);
183238 nWrite = sqlite3Fts3FirstFilter(iDelta, pList, nList, a);
183247 memcpy(&pCsr->aBuffer[nDoclist], pList, nList);
183248 nDoclist += nList;
186548 int nList; /* Number of phrases in expression */
186559 rc = fts3ExprLoadDoclists(pCsr, &nList, 0);
186567 nByte = sizeof(SnippetPhrase) * nList;
186580 sIter.nPhrase = nList;
186586 for(i=0; i<nList; i++){
219753 int nList = p->nData - nHashPre;
219754 u8 *pRet = (u8*)(*ppOut = sqlite3_malloc64(nPre + nList + 10));
219757 memcpy(&pRet[nPre], &((u8*)p)[nHashPre], nList);
219758 nList += fts5HashAddPoslistSize(pHash, p, pFaux);
219759 *pnDoclist = nList;
221740 int nList;
221742 sqlite3Fts5HashScanEntry(p->pHash, &zTerm, &pList, &nList);
221745 pIter->pLeaf->nn = nList;
221746 pIter->pLeaf->szLeaf = nList;
221747 pIter->iEndofDoclist = nList;
221814 int nList = 0;
221818 sqlite3Fts5HashScanEntry(p->pHash, &zTerm, &pList, &nList);
221825 pIter->pLeaf->nn = nList;
221826 pIter->pLeaf->szLeaf = nList;
221827 pIter->iEndofDoclist = nList+1;
222260 int nList = 0;
222272 sqlite3Fts5HashScanEntry(p->pHash, (const char**)&z, &pList, &nList);
222282 (const char*)pTerm, nTerm, (void**)&pLeaf, &nList
222294 pLeaf->nn = pLeaf->szLeaf = nList;