Lines Matching refs:nList
60283 int nList; /* Number of pages in pList */
60302 nList = 0;
60306 nList++;
60311 nList = 1;
60313 pPager->aStat[PAGER_STAT_WRITE] += nList;
66778 int nList; /* Number of elements in aList */
66782 const int nList = *pnList; /* Size of input list */
66790 assert( nList<=HASHTABLE_NPAGE && nList>0 );
66793 for(iList=0; iList<nList; iList++){
66800 assert( p->aList && p->nList<=(1<<iSub) );
66802 walMerge(aContent, p->aList, p->nList, &aMerge, &nMerge, aBuffer);
66805 aSub[iSub].nList = nMerge;
66809 if( nList & (1<<iSub) ){
66813 assert( p->nList<=(1<<iSub) );
66814 assert( p->aList==&aList[nList&~((2<<iSub)-1)] );
66815 walMerge(aContent, p->aList, p->nList, &aMerge, &nMerge, aBuffer);
116856 int nList; /* Number of tokens in pList */
117124 pCtx->nList++;
117359 zOut = sqlite3DbMallocZero(db, nSql + pRename->nList*nQuot + 1);
186175 int nList; /* Length of position list */
188916 int nList, /* Size of pList in bytes */
188922 char *pEnd = &pList[nList];
189371 static int fts3DoclistCountDocids(char *aList, int nList){
189374 char *aEnd = &aList[nList]; /* Pointer to one byte after EOF */
190417 int nList /* Number of bytes in pList */
190430 p->doclist.nAll = nList;
190448 nRight = nList;
190454 nLeft = nList;
190526 int nList;
190527 int rc = sqlite3Fts3DeferredTokenList(pDeferred, &pList, &nList);
190534 pPhrase->doclist.nList = 0;
190539 nPoslist = nList;
190555 pPhrase->doclist.nList = 0;
190567 pPhrase->doclist.nList = nPoslist;
190596 pPhrase->doclist.nList = (int)(aOut - pPhrase->doclist.pList);
190600 pPhrase->doclist.nList = 0;
190807 pDL->nList = (int)(pIter - pDL->pList);
190831 int nList;
190857 p->nList = pPhrase->doclist.nList;
190866 pTab, pToken->pSegcsr, &p->iDocid, &p->pList, &p->nList
190911 &pDL->iDocid, &pDL->pList, &pDL->nList
190953 int nList = 0;
190954 int nByte = a[p->nToken-1].nList;
190968 nList = (int)(pOut - aDoclist);
190974 pDL->nList = nList;
191009 &pDL->pNextDocid, &pDL->iDocid, &pDL->nList, pbEof
191300 int nList = 0;
191302 rc = fts3TermSelect(pTab, pToken, pTC->iCol, &nList, &pList);
191306 pTab, pTC->pPhrase, pTC->iToken,pList,nList
191390 pPhrase->doclist.nList = 0;
191438 assert_fts3_nc( nNew<=pPhrase->doclist.nList && nNew>0 );
191439 if( nNew>=0 && nNew<=pPhrase->doclist.nList ){
191441 memset(&pPhrase->doclist.pList[nNew], 0, pPhrase->doclist.nList - nNew);
191442 pPhrase->doclist.nList = nNew;
191540 memset(pDl->pList, 0, pDl->nList);
191547 memset(pDl->pList, 0, pDl->nList);
191667 assert( p->pRight->pPhrase->doclist.nList>0 );
191668 nTmp += p->pRight->pPhrase->doclist.nList;
191670 nTmp += p->pPhrase->doclist.nList;
191795 && pExpr->pPhrase->doclist.nList>0
199098 int nList = *pnList;
199099 char *pEnd = &pList[nList];
199109 nList = (int)(p - pList);
199113 nList -= (int)(p - pList);
199115 if( nList<=0 ){
199122 if( bZero && (pEnd - &pList[nList])>0){
199123 memset(&pList[nList], 0, pEnd - &pList[nList]);
199126 *pnList = nList;
199139 i64 nList
199141 if( (nList+FTS3_NODE_PADDING)>pMsr->nBuffer ){
199143 int nNew = nList*2 + FTS3_NODE_PADDING;
199150 assert( nList>0 );
199151 memcpy(pMsr->aBuffer, pList, nList);
199152 memset(&pMsr->aBuffer[nList], 0, FTS3_NODE_PADDING);
199184 int nList;
199188 rc = fts3SegReaderNextDocid(p, apSegment[0], &pList, &nList);
199201 if( nList>0 && fts3SegReaderIsPending(apSegment[0]) ){
199202 rc = fts3MsrBufferData(pMsr, pList, (i64)nList+1);
199204 assert( (pMsr->aBuffer[nList] & 0xFE)==0x00 );
199209 fts3ColumnFilter(pMsr->iColFilter, 1, &pList, &nList);
199212 if( nList>0 ){
199215 *pnPoslist = nList;
199456 int nList = 0;
199459 fts3SegReaderNextDocid(p, apSegment[0], &pList, &nList);
199470 fts3ColumnFilter(pFilter->iCol, 0, &pList, &nList);
199473 if( !isIgnoreEmpty || nList>0 ){
199486 nByte = sqlite3Fts3VarintLen(iDelta) + (isRequirePos?nList+1:0);
199496 nWrite = sqlite3Fts3FirstFilter(iDelta, pList, nList, a);
199505 memcpy(&pCsr->aBuffer[nDoclist], pList, nList);
199506 nDoclist += nList;
202834 int nList; /* Number of phrases in expression */
202845 rc = fts3ExprLoadDoclists(pCsr, &nList, 0);
202853 nByte = sizeof(SnippetPhrase) * nList;
202865 sIter.nPhrase = nList;
202873 for(i=0; i<nList; i++){
240444 int nList = p->nData - nHashPre;
240445 u8 *pRet = (u8*)(*ppOut = sqlite3_malloc64(nPre + nList + 10));
240448 memcpy(&pRet[nPre], &((u8*)p)[nHashPre], nList);
240449 nList += fts5HashAddPoslistSize(pHash, p, pFaux);
240450 *pnDoclist = nList;
242726 int nList;
242728 sqlite3Fts5HashScanEntry(p->pHash, &zTerm, &nTerm, &pList, &nList);
242731 pIter->pLeaf->nn = nList;
242732 pIter->pLeaf->szLeaf = nList;
242733 pIter->iEndofDoclist = nList;
242801 int nList = 0;
242805 sqlite3Fts5HashScanEntry(p->pHash, &zTerm, &nTerm, &pList, &nList);
242812 pIter->pLeaf->nn = nList;
242813 pIter->pLeaf->szLeaf = nList;
242814 pIter->iEndofDoclist = nList+1;
243323 int nList = 0;
243335 sqlite3Fts5HashScanEntry(p->pHash, (const char**)&z, &n, &pList, &nList);
243352 (const char*)pTerm, nTerm, (void**)&pLeaf, &nList
243364 pLeaf->nn = pLeaf->szLeaf = nList;