Lines Matching defs:nList
58696 int nList; /* Number of pages in pList */
58715 nList = 0;
58719 nList++;
58724 nList = 1;
58726 pPager->aStat[PAGER_STAT_WRITE] += nList;
65068 int nList; /* Number of elements in aList */
65072 const int nList = *pnList; /* Size of input list */
65080 assert( nList<=HASHTABLE_NPAGE && nList>0 );
65083 for(iList=0; iList<nList; iList++){
65090 assert( p->aList && p->nList<=(1<<iSub) );
65092 walMerge(aContent, p->aList, p->nList, &aMerge, &nMerge, aBuffer);
65095 aSub[iSub].nList = nMerge;
65099 if( nList & (1<<iSub) ){
65103 assert( p->nList<=(1<<iSub) );
65104 assert( p->aList==&aList[nList&~((2<<iSub)-1)] );
65105 walMerge(aContent, p->aList, p->nList, &aMerge, &nMerge, aBuffer);
113035 int nList; /* Number of tokens in pList */
113302 pCtx->nList++;
113537 zOut = sqlite3DbMallocZero(db, nSql + pRename->nList*nQuot + 1);
179670 int nList; /* Length of position list */
182396 ** Argument pList points to a position list nList bytes in size. This
182406 int nList, /* Size of pList in bytes */
182412 char *pEnd = &pList[nList];
182854 ** in buffer aList[], size nList bytes.
182861 static int fts3DoclistCountDocids(char *aList, int nList){
182864 char *aEnd = &aList[nList]; /* Pointer to one byte after EOF */
183837 ** Arguments pList/nList contain the doclist for token iToken of phrase p.
183848 Fts3Phrase *p, /* Phrase to merge pList/nList into */
183849 int iToken, /* Token pList/nList corresponds to */
183851 int nList /* Number of bytes in pList */
183864 p->doclist.nAll = nList;
183882 nRight = nList;
183888 nLeft = nList;
183943 ** and doclist.nList are both zeroed.
183960 int nList;
183961 int rc = sqlite3Fts3DeferredTokenList(pDeferred, &pList, &nList);
183968 pPhrase->doclist.nList = 0;
183973 nPoslist = nList;
183989 pPhrase->doclist.nList = 0;
184001 pPhrase->doclist.nList = nPoslist;
184030 pPhrase->doclist.nList = (int)(aOut - pPhrase->doclist.pList);
184034 pPhrase->doclist.nList = 0;
184241 pDL->nList = (int)(pIter - pDL->pList);
184265 int nList;
184291 p->nList = pPhrase->doclist.nList;
184300 pTab, pToken->pSegcsr, &p->iDocid, &p->pList, &p->nList
184320 ** the Fts3Doclist.pList and nList fields.
184345 &pDL->iDocid, &pDL->pList, &pDL->nList
184387 int nList = 0;
184388 int nByte = a[p->nToken-1].nList;
184402 nList = (int)(pOut - aDoclist);
184408 pDL->nList = nList;
184443 &pDL->pNextDocid, &pDL->iDocid, &pDL->nList, pbEof
184734 int nList = 0;
184736 rc = fts3TermSelect(pTab, pToken, pTC->iCol, &nList, &pList);
184740 pTab, pTC->pPhrase, pTC->iToken,pList,nList
184824 pPhrase->doclist.nList = 0;
184872 assert_fts3_nc( nNew<=pPhrase->doclist.nList && nNew>0 );
184873 if( nNew>=0 && nNew<=pPhrase->doclist.nList ){
184875 memset(&pPhrase->doclist.pList[nNew], 0, pPhrase->doclist.nList - nNew);
184876 pPhrase->doclist.nList = nNew;
184902 ** FTs3Expr.pPhrase->doclist.nList (length of pList in bytes)
184975 memset(pDl->pList, 0, pDl->nList);
184982 memset(pDl->pList, 0, pDl->nList);
185060 ** (Fts3Expr->pPhrase.doclist.pList/nList) for each phrase in the expression.
185102 assert( p->pRight->pPhrase->doclist.nList>0 );
185103 nTmp += p->pRight->pPhrase->doclist.nList;
185105 nTmp += p->pPhrase->doclist.nList;
185230 && pExpr->pPhrase->doclist.nList>0
192514 int nList = *pnList;
192515 char *pEnd = &pList[nList];
192525 nList = (int)(p - pList);
192529 nList -= (int)(p - pList);
192531 if( nList<=0 ){
192538 if( bZero && (pEnd - &pList[nList])>0){
192539 memset(&pList[nList], 0, pEnd - &pList[nList]);
192542 *pnList = nList;
192555 i64 nList
192557 if( nList>pMsr->nBuffer ){
192559 pMsr->nBuffer = nList*2;
192565 assert( nList>0 );
192566 memcpy(pMsr->aBuffer, pList, nList);
192598 int nList;
192602 rc = fts3SegReaderNextDocid(p, apSegment[0], &pList, &nList);
192615 if( nList>0 && fts3SegReaderIsPending(apSegment[0]) ){
192616 rc = fts3MsrBufferData(pMsr, pList, (i64)nList+1);
192618 assert( (pMsr->aBuffer[nList] & 0xFE)==0x00 );
192623 fts3ColumnFilter(pMsr->iColFilter, 1, &pList, &nList);
192626 if( nList>0 ){
192629 *pnPoslist = nList;
192870 int nList = 0;
192873 fts3SegReaderNextDocid(p, apSegment[0], &pList, &nList);
192884 fts3ColumnFilter(pFilter->iCol, 0, &pList, &nList);
192887 if( !isIgnoreEmpty || nList>0 ){
192900 nByte = sqlite3Fts3VarintLen(iDelta) + (isRequirePos?nList+1:0);
192910 nWrite = sqlite3Fts3FirstFilter(iDelta, pList, nList, a);
192919 memcpy(&pCsr->aBuffer[nDoclist], pList, nList);
192920 nDoclist += nList;
196230 int nList; /* Number of phrases in expression */
196241 rc = fts3ExprLoadDoclists(pCsr, &nList, 0);
196249 nByte = sizeof(SnippetPhrase) * nList;
196261 sIter.nPhrase = nList;
196267 for(i=0; i<nList; i++){
229950 int nList = p->nData - nHashPre;
229951 u8 *pRet = (u8*)(*ppOut = sqlite3_malloc64(nPre + nList + 10));
229954 memcpy(&pRet[nPre], &((u8*)p)[nHashPre], nList);
229955 nList += fts5HashAddPoslistSize(pHash, p, pFaux);
229956 *pnDoclist = nList;
232000 int nList;
232002 sqlite3Fts5HashScanEntry(p->pHash, &zTerm, &pList, &nList);
232005 pIter->pLeaf->nn = nList;
232006 pIter->pLeaf->szLeaf = nList;
232007 pIter->iEndofDoclist = nList;
232074 int nList = 0;
232078 sqlite3Fts5HashScanEntry(p->pHash, &zTerm, &pList, &nList);
232085 pIter->pLeaf->nn = nList;
232086 pIter->pLeaf->szLeaf = nList;
232087 pIter->iEndofDoclist = nList+1;
232521 int nList = 0;
232533 sqlite3Fts5HashScanEntry(p->pHash, (const char**)&z, &pList, &nList);
232543 (const char*)pTerm, nTerm, (void**)&pLeaf, &nList
232555 pLeaf->nn = pLeaf->szLeaf = nList;