Lines Matching refs:nList
55787 int nList; /* Number of pages in pList */
55806 nList = 0;
55810 nList++;
55815 nList = 1;
55817 pPager->aStat[PAGER_STAT_WRITE] += nList;
62081 int nList; /* Number of elements in aList */
62085 const int nList = *pnList; /* Size of input list */
62093 assert( nList<=HASHTABLE_NPAGE && nList>0 );
62096 for(iList=0; iList<nList; iList++){
62103 assert( p->aList && p->nList<=(1<<iSub) );
62105 walMerge(aContent, p->aList, p->nList, &aMerge, &nMerge, aBuffer);
62108 aSub[iSub].nList = nMerge;
62112 if( nList & (1<<iSub) ){
62116 assert( p->nList<=(1<<iSub) );
62117 assert( p->aList==&aList[nList&~((2<<iSub)-1)] );
62118 walMerge(aContent, p->aList, p->nList, &aMerge, &nMerge, aBuffer);
108699 int nList; /* Number of tokens in pList */
108962 pCtx->nList++;
109199 zOut = sqlite3DbMallocZero(db, nSql + pRename->nList*nQuot + 1);
172669 int nList; /* Length of position list */
175399 int nList, /* Size of pList in bytes */
175405 char *pEnd = &pList[nList];
175854 static int fts3DoclistCountDocids(char *aList, int nList){
175857 char *aEnd = &aList[nList]; /* Pointer to one byte after EOF */
176837 int nList /* Number of bytes in pList */
176850 p->doclist.nAll = nList;
176868 nRight = nList;
176874 nLeft = nList;
176947 int nList;
176948 int rc = sqlite3Fts3DeferredTokenList(pDeferred, &pList, &nList);
176954 pPhrase->doclist.nList = 0;
176959 nPoslist = nList;
176974 pPhrase->doclist.nList = 0;
176986 pPhrase->doclist.nList = nPoslist;
177014 pPhrase->doclist.nList = (int)(aOut - pPhrase->doclist.pList);
177018 pPhrase->doclist.nList = 0;
177224 pDL->nList = (int)(pIter - pDL->pList);
177248 int nList;
177274 p->nList = pPhrase->doclist.nList;
177283 pTab, pToken->pSegcsr, &p->iDocid, &p->pList, &p->nList
177328 &pDL->iDocid, &pDL->pList, &pDL->nList
177370 int nList = 0;
177371 int nByte = a[p->nToken-1].nList;
177385 nList = (int)(pOut - aDoclist);
177391 pDL->nList = nList;
177426 &pDL->pNextDocid, &pDL->iDocid, &pDL->nList, pbEof
177717 int nList = 0;
177719 rc = fts3TermSelect(pTab, pToken, pTC->iCol, &nList, &pList);
177723 pTab, pTC->pPhrase, pTC->iToken,pList,nList
177807 pPhrase->doclist.nList = 0;
177855 assert_fts3_nc( nNew<=pPhrase->doclist.nList && nNew>0 );
177856 if( nNew>=0 && nNew<=pPhrase->doclist.nList ){
177858 memset(&pPhrase->doclist.pList[nNew], 0, pPhrase->doclist.nList - nNew);
177859 pPhrase->doclist.nList = nNew;
177958 memset(pDl->pList, 0, pDl->nList);
177965 memset(pDl->pList, 0, pDl->nList);
178085 assert( p->pRight->pPhrase->doclist.nList>0 );
178086 nTmp += p->pRight->pPhrase->doclist.nList;
178088 nTmp += p->pPhrase->doclist.nList;
178214 && pExpr->pPhrase->doclist.nList>0
185496 int nList = *pnList;
185497 char *pEnd = &pList[nList];
185507 nList = (int)(p - pList);
185511 nList -= (int)(p - pList);
185513 if( nList<=0 ){
185520 if( bZero && (pEnd - &pList[nList])>0){
185521 memset(&pList[nList], 0, pEnd - &pList[nList]);
185524 *pnList = nList;
185537 int nList
185539 if( nList>pMsr->nBuffer ){
185541 pMsr->nBuffer = nList*2;
185547 assert( nList>0 );
185548 memcpy(pMsr->aBuffer, pList, nList);
185580 int nList;
185584 rc = fts3SegReaderNextDocid(p, apSegment[0], &pList, &nList);
185597 if( nList>0 && fts3SegReaderIsPending(apSegment[0]) ){
185598 rc = fts3MsrBufferData(pMsr, pList, nList+1);
185600 assert( (pMsr->aBuffer[nList] & 0xFE)==0x00 );
185605 fts3ColumnFilter(pMsr->iColFilter, 1, &pList, &nList);
185608 if( nList>0 ){
185611 *pnPoslist = nList;
185851 int nList = 0;
185854 fts3SegReaderNextDocid(p, apSegment[0], &pList, &nList);
185865 fts3ColumnFilter(pFilter->iCol, 0, &pList, &nList);
185868 if( !isIgnoreEmpty || nList>0 ){
185881 nByte = sqlite3Fts3VarintLen(iDelta) + (isRequirePos?nList+1:0);
185890 nWrite = sqlite3Fts3FirstFilter(iDelta, pList, nList, a);
185899 memcpy(&pCsr->aBuffer[nDoclist], pList, nList);
185900 nDoclist += nList;
189207 int nList; /* Number of phrases in expression */
189218 rc = fts3ExprLoadDoclists(pCsr, &nList, 0);
189226 nByte = sizeof(SnippetPhrase) * nList;
189238 sIter.nPhrase = nList;
189244 for(i=0; i<nList; i++){
222865 int nList = p->nData - nHashPre;
222866 u8 *pRet = (u8*)(*ppOut = sqlite3_malloc64(nPre + nList + 10));
222869 memcpy(&pRet[nPre], &((u8*)p)[nHashPre], nList);
222870 nList += fts5HashAddPoslistSize(pHash, p, pFaux);
222871 *pnDoclist = nList;
224915 int nList;
224917 sqlite3Fts5HashScanEntry(p->pHash, &zTerm, &pList, &nList);
224920 pIter->pLeaf->nn = nList;
224921 pIter->pLeaf->szLeaf = nList;
224922 pIter->iEndofDoclist = nList;
224989 int nList = 0;
224993 sqlite3Fts5HashScanEntry(p->pHash, &zTerm, &pList, &nList);
225000 pIter->pLeaf->nn = nList;
225001 pIter->pLeaf->szLeaf = nList;
225002 pIter->iEndofDoclist = nList+1;
225436 int nList = 0;
225448 sqlite3Fts5HashScanEntry(p->pHash, (const char**)&z, &pList, &nList);
225458 (const char*)pTerm, nTerm, (void**)&pLeaf, &nList
225470 pLeaf->nn = pLeaf->szLeaf = nList;