Lines Matching refs:pList
10502 ** Expr.x.pList is a list of arguments if the expression is an SQL function,
10506 ** Expr.flags mask, then Expr.x.pSelect is valid. Otherwise, Expr.x.pList is
10543 ** the subtrees in Expr.x.pList or Expr.x.pSelect are always separately
10563 ExprList *pList; /* Function arguments or in "<expr> IN (<expr-list)" */
10603 #define EP_xIsSelect 0x0800 /* x.pSelect is valid (otherwise x.pList is) */
38212 static struct RowSetEntry *rowSetListToTree(struct RowSetEntry *pList){
38217 assert( pList!=0 );
38218 p = pList;
38219 pList = p->pRight;
38221 for(iDepth=1; pList; iDepth++){
38223 p = pList;
38224 pList = p->pRight;
38226 p->pRight = rowSetNDeepTree(&pList, iDepth);
41374 PgHdr *pList; /* List of dirty pages to revert */
41385 pList = sqlite3PcacheDirtyList(pPager->pPCache);
41386 while( pList && rc==SQLITE_OK ){
41387 PgHdr *pNext = pList->pDirty;
41388 rc = pagerUndoCallback((void *)pPager, pList->pgno);
41389 pList = pNext;
41397 ** the contents of the list of pages headed by pList (connected by pDirty),
41406 PgHdr *pList, /* List of frames to log */
41416 assert( pList );
41419 for(p=pList; p && p->pDirty; p=p->pDirty){
41430 PgHdr **ppNext = &pList;
41431 for(p=pList; (*ppNext = p); p=p->pDirty){
41434 assert( pList );
41437 if( pList->pgno==1 ) pager_write_changecounter(pList);
41439 pPager->pageSize, pList, nTruncate, isCommit, pPager->walSyncFlags
41443 for(p=pList; p; p=p->pDirty){
41449 pList = sqlite3PcacheDirtyList(pPager->pPCache);
41450 for(p=pList; p; p=p->pDirty){
42442 static int pager_write_pagelist(Pager *pPager, PgHdr *pList){
42469 while( rc==SQLITE_OK && pList ){
42470 Pgno pgno = pList->pgno;
42480 if( pgno<=pPager->dbSize && 0==(pList->flags&PGHDR_DONT_WRITE) ){
42484 assert( (pList->flags&PGHDR_NEED_SYNC)==0 );
42485 if( pList->pgno==1 ) pager_write_changecounter(pList);
42488 CODEC2(pPager, pList->pData, pgno, 6, return SQLITE_NOMEM, pData);
42505 sqlite3BackupUpdate(pPager->pBackup, pgno, (u8*)pList->pData);
42508 PAGERID(pPager), pgno, pager_pagehash(pList)));
42515 pager_set_pagehash(pList);
42516 pList = pList->pDirty;
44214 PgHdr *pList = sqlite3PcacheDirtyList(pPager->pPCache);
44216 if( pList==0 ){
44220 pList = pPageOne;
44221 pList->pDirty = 0;
44224 if( ALWAYS(pList) ){
44225 rc = pagerWalFrames(pPager, pList, pPager->dbSize, 1);
48055 PgHdr *pList, /* List of dirty pages to write */
48062 PgHdr *p; /* Iterator to run through pList with. */
48069 assert( pList );
48077 { int cnt; for(cnt=0, p=pList; p; p=p->pDirty, cnt++){}
48145 for(p=pList; p; p=p->pDirty){
48204 for(p=pList; p && rc==SQLITE_OK; p=p->pDirty){
51347 BtShared *pList;
51358 pList = GLOBAL(BtShared*,sqlite3SharedCacheList);
51359 while( ALWAYS(pList) && pList->pNext!=pBt ){
51360 pList=pList->pNext;
51362 if( ALWAYS(pList) ){
51363 pList->pNext = pBt->pNext;
73091 if( sqlite3WalkExprList(pWalker, pExpr->x.pList) ) return WRC_Abort;
73488 assert( pExpr->x.pList==0 );
73696 ExprList *pList = pExpr->x.pList; /* The argument list */
73697 int n = pList ? pList->nExpr : 0; /* Number of arguments */
73753 sqlite3WalkExprList(pWalker, pList);
74720 ** argument. An expression with no children, Expr.pList or
74732 heightOfExprList(p->x.pList, &nHeight);
74917 SQLITE_PRIVATE Expr *sqlite3ExprFunction(Parse *pParse, ExprList *pList, Token *pToken){
74923 sqlite3ExprListDelete(db, pList); /* Avoid memory leak when malloc fails */
74926 pNew->x.pList = pList;
75032 sqlite3ExprListDelete(db, p->x.pList);
75095 if( p->pLeft || p->pRight || p->pColl || p->x.pList ){
75128 ** descended from the Expr.x.pList or Expr.x.pSelect variables).
75202 /* Fill in the pNew->x.pSelect or pNew->x.pList member. */
75206 pNew->x.pList = sqlite3ExprListDup(db, p->x.pList, isReduced);
75383 ** Add a new element to the end of an expression list. If pList is
75392 ExprList *pList, /* List to which to append. Might be NULL */
75396 if( pList==0 ){
75397 pList = sqlite3DbMallocZero(db, sizeof(ExprList) );
75398 if( pList==0 ){
75401 pList->a = sqlite3DbMallocRaw(db, sizeof(pList->a[0]));
75402 if( pList->a==0 ) goto no_mem;
75403 }else if( (pList->nExpr & (pList->nExpr-1))==0 ){
75405 assert( pList->nExpr>0 );
75406 a = sqlite3DbRealloc(db, pList->a, pList->nExpr*2*sizeof(pList->a[0]));
75410 pList->a = a;
75412 assert( pList->a!=0 );
75414 struct ExprList_item *pItem = &pList->a[pList->nExpr++];
75418 return pList;
75423 sqlite3ExprListDelete(db, pList);
75431 ** pList might be NULL following an OOM error. But pName should never be
75437 ExprList *pList, /* List to which to add the span. */
75441 assert( pList!=0 || pParse->db->mallocFailed!=0 );
75442 if( pList ){
75444 assert( pList->nExpr>0 );
75445 pItem = &pList->a[pList->nExpr-1];
75456 ** pList might be NULL following an OOM error. But pSpan should never be
75462 ExprList *pList, /* List to which to add the span. */
75466 assert( pList!=0 || db->mallocFailed!=0 );
75467 if( pList ){
75468 struct ExprList_item *pItem = &pList->a[pList->nExpr-1];
75469 assert( pList->nExpr>0 );
75497 SQLITE_PRIVATE void sqlite3ExprListDelete(sqlite3 *db, ExprList *pList){
75500 if( pList==0 ) return;
75501 assert( pList->a!=0 || pList->nExpr==0 );
75502 for(pItem=pList->a, i=0; i<pList->nExpr; i++, pItem++){
75507 sqlite3DbFree(db, pList->a);
75508 sqlite3DbFree(db, pList);
76085 }else if( ALWAYS(pExpr->x.pList!=0) ){
76094 ExprList *pList = pExpr->x.pList;
76107 for(i=pList->nExpr, pItem=pList->a; i>0; i--, pItem++){
76966 pFarg = pExpr->x.pList;
77075 ** Y is stored in pExpr->pList->a[0].pExpr.
77076 ** Z is stored in pExpr->pList->a[1].pExpr.
77080 struct ExprList_item *pLItem = pExpr->x.pList->a;
77176 ** Ei is in pExpr->pList->a[i*2] and Ri is pExpr->pList->a[i*2+1].
77195 assert( !ExprHasProperty(pExpr, EP_xIsSelect) && pExpr->x.pList );
77196 assert((pExpr->x.pList->nExpr % 2) == 0);
77197 assert(pExpr->x.pList->nExpr > 0);
77198 pEList = pExpr->x.pList;
77478 pFarg = pExpr->x.pList;
77509 sqlite3ExplainExprList(pOut, pExpr->x.pList);
77524 ** Y is stored in pExpr->pList->a[0].pExpr.
77525 ** Z is stored in pExpr->pList->a[1].pExpr.
77529 Expr *pY = pExpr->x.pList->a[0].pExpr;
77530 Expr *pZ = pExpr->x.pList->a[1].pExpr;
77556 sqlite3ExplainExprList(pOut, pExpr->x.pList);
77591 SQLITE_PRIVATE void sqlite3ExplainExprList(Vdbe *pOut, ExprList *pList){
77593 if( pList==0 || pList->nExpr==0 ){
77596 }else if( pList->nExpr==1 ){
77597 sqlite3ExplainExpr(pOut, pList->a[0].pExpr);
77600 for(i=0; i<pList->nExpr; i++){
77603 sqlite3ExplainExpr(pOut, pList->a[i].pExpr);
77605 if( i<pList->nExpr-1 ){
77693 ExprList *pList = pExpr->x.pList;
77695 if( pList ){
77696 int i = pList->nExpr;
77697 struct ExprList_item *pItem = pList->a;
77753 ExprList *pList, /* The expression list to be coded */
77759 assert( pList!=0 );
77762 n = pList->nExpr;
77763 for(pItem=pList->a, i=0; i<n; i++, pItem++){
77806 compLeft.pRight = pExpr->x.pList->a[0].pExpr;
77809 compRight.pRight = pExpr->x.pList->a[1].pExpr;
78129 if( sqlite3ExprListCompare(pA->x.pList, pB->x.pList) ) return 2;
78312 pExpr->x.pList ? pExpr->x.pList->nExpr : 0, enc, 0);
78367 SQLITE_PRIVATE void sqlite3ExprAnalyzeAggList(NameContext *pNC, ExprList *pList){
78370 if( pList ){
78371 for(pItem=pList->a, i=0; i<pList->nExpr; i++, pItem++){
80855 SrcList *pList /* The Source list to check and modify */
80861 if( NEVER(pList==0) ) return 0;
80863 for(i=0, pItem=pList->a; i<pList->nSrc; i++, pItem++){
80910 if( sqlite3FixExprList(pFix, pExpr->x.pList) ) return 1;
80921 ExprList *pList /* The expression to be fixed to one database */
80925 if( pList==0 ) return 0;
80926 for(i=0, pItem=pList->a; i<pList->nExpr; i++, pItem++){
82325 ** Designate the PRIMARY KEY for the table. pList is a list of names
82326 ** of columns that form the primary key. If pList is NULL, then the
82344 ExprList *pList, /* List of field names to be indexed */
82359 if( pList==0 ){
82363 for(i=0; i<pList->nExpr; i++){
82365 if( sqlite3StrICmp(pList->a[i].zName, pTab->aCol[iCol].zName)==0 ){
82373 if( pList->nExpr>1 ) iCol = -1;
82391 p = sqlite3CreateIndex(pParse, 0, 0, 0, pList, onError, 0, 0, sortOrder, 0);
82395 pList = 0;
82399 sqlite3ExprListDelete(pParse->db, pList);
83661 ** pList is a list of columns to be indexed. pList will be NULL if this
83674 ExprList *pList, /* A list of columns to be indexed */
83678 int sortOrder, /* Sort order of primary key when pList==NULL */
83694 struct ExprList_item *pListItem; /* For looping over pList */
83836 /* If pList==0, it means this routine was called to make a primary
83840 if( pList==0 ){
83843 pList = sqlite3ExprListAppend(pParse, 0, 0);
83844 if( pList==0 ) goto exit_create_index;
83845 sqlite3ExprListSetName(pParse, pList, &nullId, 0);
83846 pList->a[0].sortOrder = (u8)sortOrder;
83852 for(i=0; i<pList->nExpr; i++){
83853 Expr *pExpr = pList->a[i].pExpr;
83868 nCol = pList->nExpr;
83893 pIndex->nColumn = pList->nExpr;
83917 for(i=0, pListItem=pList->a; i<pList->nExpr; i++, pListItem++){
84140 sqlite3ExprListDelete(db, pList);
84295 SQLITE_PRIVATE IdList *sqlite3IdListAppend(sqlite3 *db, IdList *pList, Token *pToken){
84297 if( pList==0 ){
84298 pList = sqlite3DbMallocZero(db, sizeof(IdList) );
84299 if( pList==0 ) return 0;
84301 pList->a = sqlite3ArrayAllocate(
84303 pList->a,
84304 sizeof(pList->a[0]),
84305 &pList->nId,
84309 sqlite3IdListDelete(db, pList);
84312 pList->a[i].zName = sqlite3NameFromToken(db, pToken);
84313 return pList;
84319 SQLITE_PRIVATE void sqlite3IdListDelete(sqlite3 *db, IdList *pList){
84321 if( pList==0 ) return;
84322 for(i=0; i<pList->nId; i++){
84323 sqlite3DbFree(db, pList->a[i].zName);
84325 sqlite3DbFree(db, pList->a);
84326 sqlite3DbFree(db, pList);
84330 ** Return the index in pList of the identifier named zId. Return -1
84333 SQLITE_PRIVATE int sqlite3IdListIndex(IdList *pList, const char *zName){
84335 if( pList==0 ) return -1;
84336 for(i=0; i<pList->nId; i++){
84337 if( sqlite3StrICmp(pList->a[i].zName, zName)==0 ) return i;
84415 ** a new one. If an OOM error does occurs, then the prior value of pList
84445 SrcList *pList, /* Append to this SrcList. NULL creates a new SrcList */
84451 if( pList==0 ){
84452 pList = sqlite3DbMallocZero(db, sizeof(SrcList) );
84453 if( pList==0 ) return 0;
84454 pList->nAlloc = 1;
84456 pList = sqlite3SrcListEnlarge(db, pList, 1, pList->nSrc);
84458 sqlite3SrcListDelete(db, pList);
84461 pItem = &pList->a[pList->nSrc-1];
84472 return pList;
84478 SQLITE_PRIVATE void sqlite3SrcListAssignCursors(Parse *pParse, SrcList *pList){
84481 assert(pList || pParse->db->mallocFailed );
84482 if( pList ){
84483 for(i=0, pItem=pList->a; i<pList->nSrc; i++, pItem++){
84496 SQLITE_PRIVATE void sqlite3SrcListDelete(sqlite3 *db, SrcList *pList){
84499 if( pList==0 ) return;
84500 for(pItem=pList->a, i=0; i<pList->nSrc; i++, pItem++){
84510 sqlite3DbFree(db, pList);
87625 || !pExpr->x.pList
87626 || pExpr->x.pList->nExpr!=2
88743 ExprList *pList = 0; /* Changes list if ON UPDATE CASCADE */
88816 pList = sqlite3ExprListAppend(pParse, pList, pNew);
88817 sqlite3ExprListSetName(pParse, pList, &tFromCol, 0);
88860 pStep->pExprList = sqlite3ExprListDup(db, pList, EXPRDUP_REDUCE);
88873 sqlite3ExprListDelete(db, pList);
89315 ** The pList parameter holds EXPRLIST in the first form of the INSERT
89316 ** statement above, and pSelect is NULL. For the second form, pList is
89410 ExprList *pList, /* List of values to be inserted */
89528 assert( pList==0 );
89647 nColumn = pList ? pList->nExpr : 0;
89649 if( sqlite3ResolveExprNames(&sNC, pList->a[i].pExpr) ){
89800 sqlite3ExprCode(pParse, pList->a[keyColumn].pExpr, regCols);
89823 if( (!useTempTable && !pList) || (pColumn && j>=pColumn->nId) ){
89829 sqlite3ExprCodeAndCache(pParse, pList->a[j].pExpr, regCols+i+1);
89867 sqlite3ExprCode(pParse, pList->a[keyColumn].pExpr, regRowid);
89934 sqlite3ExprCode(pParse, pList->a[j].pExpr, iRegStore);
90017 sqlite3ExprListDelete(db, pList);
94901 IdList *pList = pRight->pUsing;
94902 for(j=0; j<pList->nId; j++){
94908 zName = pList->a[j].zName;
95270 static KeyInfo *keyInfoFromExprList(Parse *pParse, ExprList *pList){
95277 nExpr = pList->nExpr;
95284 for(i=0, pItem=pList->a; i<nExpr; i++, pItem++){
97063 substExprList(db, pExpr->x.pList, iTable, pEList);
97070 ExprList *pList, /* List to scan and in which to make substitutes */
97075 if( pList==0 ) return;
97076 for(i=0; i<pList->nExpr; i++){
97077 pList->a[i].pExpr = substExpr(db, pList->a[i].pExpr, iTable, pEList);
97235 ExprList *pList; /* The result set of the outer query */
97530 pList = pParent->pEList;
97531 for(i=0; i<pList->nExpr; i++){
97532 if( pList->a[i].zName==0 ){
97533 const char *zSpan = pList->a[i].zSpan;
97535 pList->a[i].zName = sqlite3DbStrDup(db, zSpan);
97615 pEList = pExpr->x.pList;
98075 if( pE->x.pList==0 || pE->x.pList->nExpr!=1 ){
98080 KeyInfo *pKeyInfo = keyInfoFromExprList(pParse, pE->x.pList);
98097 ExprList *pList = pF->pExpr->x.pList;
98099 sqlite3VdbeAddOp4(v, OP_AggFinal, pF->iMem, pList ? pList->nExpr : 0, 0,
98122 ExprList *pList = pF->pExpr->x.pList;
98124 if( pList ){
98125 nArg = pList->nExpr;
98127 sqlite3ExprCodeExprList(pParse, pList, regAgg, 1);
98141 assert( pList!=0 ); /* pList!=0 if pF->pFunc has NEEDCOLL */
98142 for(j=0, pItem=pList->a; !pColl && j<nArg; j++, pItem++){
98645 sqlite3ExprAnalyzeAggList(&sNC, sAggInfo.aFunc[i].pExpr->x.pList);
98954 pMinMax = sqlite3ExprListDup(db, p->pEList->a[0].pExpr->x.pList,0);
99374 Trigger *pList = 0; /* List of triggers to return */
99388 pTrig->pNext = (pList ? pList : pTab->pTrigger);
99389 pList = pTrig;
99394 return (pList ? pList : pTab->pTrigger);
99976 Trigger *pList = 0;
99980 pList = sqlite3TriggerList(pParse, pTab);
99982 pList==0 || IsVirtual(pTab)==0 );
99983 for(p=pList; p; p=p->pNext){
99991 return (mask ? pList : 0);
103009 mask |= exprListTableUsage(pMaskSet, p->x.pList);
103013 static Bitmask exprListTableUsage(WhereMaskSet *pMaskSet, ExprList *pList){
103016 if( pList ){
103017 for(i=0; i<pList->nExpr; i++){
103018 mask |= exprTableUsage(pMaskSet, pList->a[i].pExpr);
103216 ExprList *pList; /* List of operands to the LIKE operator */
103230 pList = pExpr->x.pList;
103231 pLeft = pList->a[1].pExpr;
103239 pRight = pList->a[0].pExpr;
103305 ExprList *pList;
103313 pList = pExpr->x.pList;
103314 if( pList->nExpr!=2 ){
103317 if( pList->a[1].pExpr->op != TK_COLUMN ){
103608 ExprList *pList = 0; /* The RHS of the IN operator */
103618 pList = sqlite3ExprListAppend(pWC->pParse, pList, pDup);
103628 pNew->x.pList = pList;
103636 sqlite3ExprListDelete(db, pList);
103694 pTerm->prereqRight = exprListTableUsage(pMaskSet, pExpr->x.pList);
103769 ExprList *pList = pExpr->x.pList;
103772 assert( pList!=0 );
103773 assert( pList->nExpr==2 );
103779 sqlite3ExprDup(db, pList->a[i].pExpr, 0), 0);
103823 pLeft = pExpr->x.pList->a[1].pExpr;
103878 pRight = pExpr->x.pList->a[0].pExpr;
103879 pLeft = pExpr->x.pList->a[1].pExpr;
103950 ** Return TRUE if any of the expressions in pList->a[iFirst...] contain
103954 ExprList *pList, /* Search expressions in ths list */
103960 while( iFirst<pList->nExpr ){
103961 if( (exprTableUsage(pMaskSet, pList->a[iFirst++].pExpr)&allowed)!=0 ){
103975 ** If such an expression is found, its index in pList->a[] is returned. If
103980 ExprList *pList, /* Expression list to search */
103988 for(i=0; i<pList->nExpr; i++){
103989 Expr *p = pList->a[i].pExpr;
105364 ExprList *pList, /* The value list on the RHS of "x IN (v1,v2,v3,...)" */
105373 for(i=0; rc==SQLITE_OK && i<pList->nExpr; i++){
105375 rc = whereEqualScanEst(pParse, p, pList->a[i].pExpr, &nEst);
105584 }else if( ALWAYS(pExpr->x.pList && pExpr->x.pList->nExpr) ){
105586 nInMul *= pExpr->x.pList->nExpr;
105702 whereInScanEst(pParse, pProbe, pFirstTerm->pExpr->x.pList, &nRow);
107865 ExprList *pList;
109252 sqlite3ExprListDelete(pParse->db, (yypminor->yy487).pList);
110385 {sqlite3Insert(pParse, yymsp[-2].minor.yy347, yymsp[0].minor.yy487.pList, yymsp[0].minor.yy487.pSelect, yymsp[-1].minor.yy180, yymsp[-4].minor.yy258);}
110401 yygotominor.yy487.pList = yymsp[-1].minor.yy442;
110408 if( yymsp[-4].minor.yy487.pList ){
110409 yymsp[-4].minor.yy487.pSelect = sqlite3SelectNew(pParse, yymsp[-4].minor.yy487.pList, 0, 0, 0, 0, 0, 0, 0, 0);
110410 yymsp[-4].minor.yy487.pList = 0;
110412 yygotominor.yy487.pList = 0;
110549 ExprList *pList;
110550 pList = sqlite3ExprListAppend(pParse,0, yymsp[0].minor.yy342.pExpr);
110551 pList = sqlite3ExprListAppend(pParse,pList, yymsp[-2].minor.yy342.pExpr);
110552 yygotominor.yy342.pExpr = sqlite3ExprFunction(pParse, pList, &yymsp[-1].minor.yy318.eOperator);
110561 ExprList *pList;
110562 pList = sqlite3ExprListAppend(pParse,0, yymsp[-2].minor.yy342.pExpr);
110563 pList = sqlite3ExprListAppend(pParse,pList, yymsp[-4].minor.yy342.pExpr);
110564 pList = sqlite3ExprListAppend(pParse,pList, yymsp[0].minor.yy342.pExpr);
110565 yygotominor.yy342.pExpr = sqlite3ExprFunction(pParse, pList, &yymsp[-3].minor.yy318.eOperator);
110602 ExprList *pList = sqlite3ExprListAppend(pParse,0, yymsp[-2].minor.yy342.pExpr);
110603 pList = sqlite3ExprListAppend(pParse,pList, yymsp[0].minor.yy342.pExpr);
110606 yygotominor.yy342.pExpr->x.pList = pList;
110608 sqlite3ExprListDelete(pParse->db, pList);
110631 yygotominor.yy342.pExpr->x.pList = yymsp[-1].minor.yy442;
110705 yygotominor.yy342.pExpr->x.pList = yymsp[-2].minor.yy442;
110877 {yygotominor.yy327 = sqlite3TriggerInsertStep(pParse->db, &yymsp[-2].minor.yy0, yymsp[-1].minor.yy180, yymsp[0].minor.yy487.pList, yymsp[0].minor.yy487.pSelect, yymsp[-4].minor.yy258);}
116728 sqlite3_int64 iDocid; /* Current docid (if pList!=0) */
116729 int bFreeList; /* True if pList should be sqlite3_free()d */
116730 char *pList; /* Pointer to position list following iDocid */
119063 ** Argument pList points to a position list nList bytes in size. This
119067 ** of the entries from pList at position 0, and terminated by an 0x00 byte.
119072 char *pList, /* Position list (no 0x00 term) */
119073 int nList, /* Size of pList in bytes */
119078 char *p = pList;
119079 char *pEnd = &pList[nList];
120303 ** Arguments pList/nList contain the doclist for token iToken of phrase p.
120306 ** This function assumes that pList points to a buffer allocated using
120312 Fts3Phrase *p, /* Phrase to merge pList/nList into */
120313 int iToken, /* Token pList/nList corresponds to */
120314 char *pList, /* Pointer to doclist */
120315 int nList /* Number of bytes in pList */
120319 if( pList==0 ){
120326 p->doclist.aAll = pList;
120331 sqlite3_free(pList);
120344 pRight = pList;
120350 pLeft = pList;
120401 ** means that the phrase does not appear in the current row, doclist.pList
120419 char *pList;
120421 int rc = sqlite3Fts3DeferredTokenList(pDeferred, &pList, &nList);
120424 if( pList==0 ){
120426 pPhrase->doclist.pList = 0;
120431 aPoslist = pList;
120435 char *aOut = pList;
120442 aPoslist = pList;
120446 pPhrase->doclist.pList = 0;
120458 pPhrase->doclist.pList = aPoslist;
120470 p2 = pPhrase->doclist.pList;
120473 p1 = pPhrase->doclist.pList;
120484 pPhrase->doclist.pList = aOut;
120487 pPhrase->doclist.nList = (int)(aOut - pPhrase->doclist.pList);
120490 pPhrase->doclist.pList = 0;
120625 &pDL->iDocid, &pDL->pList, &pDL->nList
120627 if( rc==SQLITE_OK && !pDL->pList ){
120634 pDL->pList = pDL->pNextDocid;
120655 pDL->pList = pIter;
120657 pDL->nList = (int)(pIter - pDL->pList);
120957 char *pList = 0;
120958 rc = fts3TermSelect(pTab, pToken, pTC->iCol, &nList, &pList);
120959 assert( rc==SQLITE_OK || pList==0 );
120962 fts3EvalPhraseMergeToken(pTab, pTC->pPhrase, pTC->iToken,pList,nList);
121038 sqlite3_free(pPhrase->doclist.pList);
121040 pPhrase->doclist.pList = 0;
121081 assert( pPhrase->doclist.pList );
121083 p2 = pOut = pPhrase->doclist.pList;
121088 nNew = (int)(pOut - pPhrase->doclist.pList) - 1;
121089 assert( pPhrase->doclist.pList[nNew]=='\0' );
121091 memset(&pPhrase->doclist.pList[nNew], 0, pPhrase->doclist.nList - nNew);
121093 *paPoslist = pPhrase->doclist.pList;
121117 ** FTs3Expr.pPhrase->doclist.nList (length of pList in bytes)
121118 ** FTs3Expr.pPhrase->doclist.pList (pointer to position list)
121257 ** (Fts3Expr->pPhrase.doclist.pList/nList) for each phrase in the expression.
121308 char *aPoslist = p->pPhrase->doclist.pList;
121317 aPoslist = pExpr->pRight->pPhrase->doclist.pList;
121420 bHit = (pPhrase->doclist.pList!=0);
121552 ** found in Fts3Expr.pPhrase->doclist.pList for each of the phrase
121558 if( pPhrase && pPhrase->doclist.pList ){
121560 char *p = pPhrase->doclist.pList;
121765 char *pIter = pPhrase->doclist.pList;
125177 PendingList *pList; /* Doclist is assembled here */
125725 static void fts3PendingListDelete(PendingList *pList){
125726 sqlite3_free(pList);
125740 PendingList *pList;
125743 pList = (PendingList *)fts3HashFind(pHash, zToken, nToken);
125744 if( pList ){
125745 p->nPendingData -= (pList->nData + nToken + sizeof(Fts3HashElem));
125747 if( fts3PendingListAppend(&pList
125748 if( pList==fts3HashInsert(pHash, zToken, nToken, pList) ){
125753 sqlite3_free(pList);
125758 p->nPendingData += (pList->nData + nToken + sizeof(Fts3HashElem));
125882 PendingList *pList = (PendingList *)fts3HashData(pElem);
125883 fts3PendingListDelete(pList);
126300 PendingList *pList = (PendingList *)fts3HashData(pElem);
126303 pReader->nNode = pReader->nDoclist = pList->nData + 1;
126304 pReader->aNode = pReader->aDoclist = pList->aData;
127458 char *pList = *ppList;
127460 char *pEnd = &pList[nList];
127462 char *p = pList;
127470 nList = (int)(p - pList);
127474 nList -= (int)(p - pList);
127475 pList = p;
127479 p = &pList[1];
127483 *ppList = pList;
127496 char *pList,
127507 memcpy(pMsr->aBuffer, pList, nList);
127538 char *pList;
127543 rc = fts3SegReaderNextDocid(p, apSegment[0], &pList, &nList);
127557 fts3ColumnFilter(pMsr->iColFilter, &pList, &nList);
127562 rc = fts3MsrBufferData(pMsr, pList, nList+1);
127567 *paPoslist = pList;
127796 char *pList;
127800 fts3SegReaderNextDocid(p, apSegment[0], &pList, &nList);
127811 fts3ColumnFilter(pFilter->iCol, &pList, &nList);
127842 nWrite = sqlite3Fts3FirstFilter(iDelta, pList, nList, a);
127851 memcpy(&pCsr->aBuffer[nDoclist], pList, nList);
128300 fts3PendingListDelete(pDef->pList);
128301 pDef->pList = 0;
128314 fts3PendingListDelete(pDef->pList);
128361 fts3PendingListAppend(&pDef->pList, iDocid, i, iPos, &rc);
128370 if( pDef->pList ){
128371 rc = fts3PendingListAppendVarint(&pDef->pList, 0);
128391 if( p->pList==0 ){
128395 pRet = (char *)sqlite3_malloc(p->pList->nData);
128398 nSkip = sqlite3Fts3GetVarint(p->pList->aData, &dummy);
128399 *pnData = p->pList->nData - nSkip;
128402 memcpy(pRet, &p->pList->aData[nSkip], *pnData);
128706 char *pList; /* Pointer to start of phrase position list */
129008 pPhrase->pList = pCsr;
129016 assert( pPhrase->pList==0 && pPhrase->pHead==0 && pPhrase->pTail==0 );
129918 char *pList; /* Position-list */
129919 int iPos; /* Position just read from pList */
129938 char *pList; /* Pointer to position list for phrase */
129942 pList = sqlite3Fts3EvalPhrasePoslist(p->pCsr, pExpr, p->iCol);
129944 if( pList ){
129945 fts3GetDeltaPosition(&pList, &iPos);
129952 pT->pList = pList;
130046 if( pT->pList && (pT->iPos-pT->iOff)<iMinPos ){
130057 if( 0==(0xFE&*pTerm->pList) ){
130058 pTerm->pList = 0;
130060 fts3GetDeltaPosition(&pTerm->pList, &pTerm->iPos);