Searched refs:pList (Results 1 - 15 of 15) sorted by relevance

/PHP_5_3/ext/sqlite/libsqlite/src/
H A Dattach.c220 SrcList *pList /* The Source list to check and modify */
225 if( pList==0 ) return 0;
227 for(i=0; i<pList->nSrc; i++){
228 if( pList->a[i].zDatabase==0 ){
229 pList->a[i].zDatabase = sqliteStrDup(zDb);
230 }else if( sqliteStrICmp(pList->a[i].zDatabase,zDb)!=0 ){
234 pList->a[i].zDatabase);
237 if( sqliteFixSelect(pFix, pList->a[i].pSelect) ) return 1;
238 if( sqliteFixExpr(pFix, pList->a[i].pOn) ) return 1;
271 if( sqliteFixExprList(pFix, pExpr->pList) ){
[all...]
H A Dbtree_rb.c1317 static void execute_rollback_list(Rbtree *pRbtree, BtRollbackOp *pList) argument
1325 while( pList ){
1326 switch( pList->eOp ){
1328 cur.pTree = sqliteHashFind( &pRbtree->tblHash, 0, pList->iTab );
1330 cur.iTree = pList->iTab;
1332 memRbtreeInsert( &cur, pList->pKey,
1333 pList->nKey, pList->pData, pList->nData );
1336 cur.pTree = sqliteHashFind( &pRbtree->tblHash, 0, pList
[all...]
H A Dbuild.c661 ** Designate the PRIMARY KEY for the table. pList is a list of names
662 ** of columns that form the primary key. If pList is NULL, then the
680 void sqliteAddPrimaryKey(Parse *pParse, IdList *pList, int onError){ argument
691 if( pList==0 ){
695 for(i=0; i<pList->nId; i++){
697 if( sqliteStrICmp(pList->a[i].zName, pTab->aCol[iCol].zName)==0 ) break;
701 if( pList->nId>1 ) iCol = -1;
711 sqliteCreateIndex(pParse, 0, 0, pList, onError, 0, 0);
712 pList = 0;
716 sqliteIdListDelete(pList);
1472 sqliteCreateIndex( Parse *pParse, Token *pName, SrcList *pTable, IdList *pList, int onError, Token *pStart, Token *pEnd ) argument
1840 sqliteIdListAppend(IdList *pList, Token *pToken) argument
1896 sqliteSrcListAppend(SrcList *pList, Token *pTable, Token *pDatabase) argument
1950 sqliteSrcListAssignCursors(Parse *pParse, SrcList *pList) argument
1962 sqliteSrcListAddAlias(SrcList *pList, Token *pToken) argument
1973 sqliteIdListDelete(IdList *pList) argument
1987 sqliteIdListIndex(IdList *pList, const char *zName) argument
1999 sqliteSrcListDelete(SrcList *pList) argument
[all...]
H A Dexpr.c74 Expr *sqliteExprFunction(ExprList *pList, Token *pToken){ argument
78 /* sqliteExprListDelete(pList); // Leak pList when malloc fails */
82 pNew->pList = pList;
102 sqliteExprListDelete(p->pList);
135 pNew->pList = sqliteExprListDup(p->pList);
245 ** Add a new element to the end of an expression list. If pList is
248 ExprList *sqliteExprListAppend(ExprList *pList, Exp argument
282 sqliteExprListDelete(ExprList *pList) argument
768 ExprList *pList = pExpr->pList; local
990 ExprList *pList = p->pList; local
1150 ExprList *pList = pExpr->pList; local
1270 sqliteExprCodeExprList( Parse *pParse, ExprList *pList, int includeTypes ) argument
[all...]
H A Dinsert.c29 ** The pList parameter holds EXPRLIST in the first form of the INSERT
30 ** statement above, and pSelect is NULL. For the second form, pList is
89 ExprList *pList, /* List of values to be inserted */
240 assert( pList!=0 );
243 assert( pList );
244 nColumn = pList->nExpr;
247 if( sqliteExprResolveIds(pParse, &dummy, 0, pList->a[i].pExpr) ){
250 if( sqliteExprCheck(pParse, pList->a[i].pExpr, 0, 0) ){
369 sqliteExprCode(pParse, pList->a[keyColumn].pExpr);
393 sqliteExprCode(pParse, pList
86 sqliteInsert( Parse *pParse, SrcList *pTabList, ExprList *pList, Select *pSelect, IdList *pColumn, int onError ) argument
[all...]
H A Dpager.c1251 static int pager_write_pagelist(PgHdr *pList){ argument
1255 if( pList==0 ) return SQLITE_OK;
1256 pPager = pList->pPager;
1257 while( pList ){
1258 assert( pList->dirty );
1259 sqliteOsSeek(&pPager->fd, (pList->pgno-1)*(off_t)SQLITE_PAGE_SIZE);
1260 CODEC(pPager, PGHDR_TO_DATA(pList), pList->pgno, 6);
1261 TRACE2("STORE %d\n", pList->pgno);
1262 rc = sqliteOsWrite(&pPager->fd, PGHDR_TO_DATA(pList), SQLITE_PAGE_SIZ
1277 PgHdr *p, *pList; local
[all...]
H A Dparse.c2580 ExprList *pList = sqliteExprListAppend(0, yymsp[0].minor.yy242, 0); local
2581 pList = sqliteExprListAppend(pList, yymsp[-2].minor.yy242, 0);
2582 yygotominor.yy242 = sqliteExprFunction(pList, 0);
2591 ExprList *pList = sqliteExprListAppend(0, yymsp[0].minor.yy242, 0); local
2592 pList = sqliteExprListAppend(pList, yymsp[-3].minor.yy242, 0);
2593 yygotominor.yy242 = sqliteExprFunction(pList, 0);
2724 ExprList *pList = sqliteExprListAppend(0, yymsp[-2].minor.yy242, 0); local
2725 pList
2735 ExprList *pList = sqliteExprListAppend(0, yymsp[-2].minor.yy242, 0); local
[all...]
H A Dparse.y579 ExprList *pList = sqliteExprListAppend(0, Y, 0);
580 pList = sqliteExprListAppend(pList, X, 0);
581 A = sqliteExprFunction(pList, 0);
586 ExprList *pList = sqliteExprListAppend(0, Y, 0);
587 pList = sqliteExprListAppend(pList, X, 0);
588 A = sqliteExprFunction(pList, 0);
644 ExprList *pList = sqliteExprListAppend(0, X, 0);
645 pList
[all...]
H A Dselect.c266 IdList *pList; local
269 pList = pTerm->pUsing;
270 for(j=0; j<pList->nId; j++){
271 if( columnIndex(pTerm->pTab, pList->a[j].zName)<0 ||
272 columnIndex(pOther->pTab, pList->a[j].zName)<0 ){
274 "not present in both tables", pList->a[j].zName);
277 addWhereTerm(pList->a[j].zName, pTerm->pTab, pOther->pTab, &p->pWhere);
1534 assert( pExpr->pLeft==0 && pExpr->pRight==0 && pExpr->pList==0 );
1543 assert( pExpr->pList==0 );
1544 pExpr->pList
1558 substExprList(ExprList *pList, int iTable, ExprList *pEList) argument
1645 ExprList *pList; /* The result set of the outer query */ local
1855 ExprList *pEList, *pList, eList; local
[all...]
H A DsqliteInt.h655 ** Expr.pRight and Expr.pLeft are subexpressions. Expr.pList is a list
687 ExprList *pList; /* A list of expressions used as function arguments member in struct:Expr
H A Dvdbe.c3761 pKeylist = p->pList;
3768 pKeylist->pNext = p->pList;
3769 p->pList = pKeylist;
3788 while( p->pList ){
3789 pTop = p->pList;
3790 p->pList = pTop->pNext;
3794 p->pList = pRev;
3807 pKeylist = p->pList;
3816 p->pList = pKeylist->pNext;
3830 if( p->pList ){
[all...]
H A DvdbeInt.h263 Keylist *pList; /* A list of ROWIDs */ member in struct:Vdbe
H A Dvdbeaux.c784 if( p->pList ){
785 sqliteVdbeKeylistFree(p->pList);
786 p->pList = 0;
H A Dwhere.c136 if( p->pList ){
138 for(i=0; i<p->pList->nExpr; i++){
139 mask |= exprTableUsage(pMaskSet, p->pList->a[i].pExpr);
754 }else if( pX->pList ){
798 if( pX->pList ){
/PHP_5_3/ext/sqlite3/libsqlite/
H A Dsqlite3.c10206 ** Expr.x.pList is a list of arguments if the expression is an SQL function,
10210 ** Expr.flags mask, then Expr.x.pSelect is valid. Otherwise, Expr.x.pList is
10247 ** the subtrees in Expr.x.pList or Expr.x.pSelect are always separately
10267 ExprList *pList; /* Function arguments or in "<expr> IN (<expr-list)" */ member in union:Expr::__anon406
10307 #define EP_xIsSelect 0x0800 /* x.pSelect is valid (otherwise x.pList is) */
36584 rowSetListToTree(struct RowSetEntry *pList) argument
39720 PgHdr *pList; /* List of dirty pages to revert */ local
39750 pagerWalFrames( Pager *pPager, PgHdr *pList, Pgno nTruncate, int isCommit, int syncFlags ) argument
40779 pager_write_pagelist(Pager *pPager, PgHdr *pList) argument
42544 PgHdr *pList = sqlite3PcacheDirtyList(pPager->pPCache); local
46232 sqlite3WalFrames( Wal *pWal, int szPage, PgHdr *pList, Pgno nTruncate, int isCommit, int sync_flags ) argument
49482 BtShared *pList; local
70530 ExprList *pList = pExpr->x.pList; /* The argument list */ local
71736 sqlite3ExprFunction(Parse *pParse, ExprList *pList, Token *pToken) argument
72201 sqlite3ExprListAppend( Parse *pParse, ExprList *pList, Expr *pExpr ) argument
72247 sqlite3ExprListSetName( Parse *pParse, ExprList *pList, Token *pName, int dequote ) argument
72272 sqlite3ExprListSetSpan( Parse *pParse, ExprList *pList, ExprSpan *pSpan ) argument
72309 sqlite3ExprListDelete(sqlite3 *db, ExprList *pList) argument
72895 ExprList *pList = pExpr->x.pList; local
74236 ExprList *pList = pExpr->x.pList; local
74294 sqlite3ExprCodeExprList( Parse *pParse, ExprList *pList, int target, int doHardCopy ) argument
74914 sqlite3ExprAnalyzeAggList(NameContext *pNC, ExprList *pList) argument
78475 sqlite3AddPrimaryKey( Parse *pParse, ExprList *pList, int onError, int autoInc, int sortOrder ) argument
79731 sqlite3CreateIndex( Parse *pParse, Token *pName1, Token *pName2, SrcList *pTblName, ExprList *pList, int onError, Token *pStart, Token *pEnd, int sortOrder, int ifNotExist ) argument
80360 sqlite3IdListAppend(sqlite3 *db, IdList *pList, Token *pToken) argument
80387 sqlite3IdListDelete(sqlite3 *db, IdList *pList) argument
80401 sqlite3IdListIndex(IdList *pList, const char *zName) argument
80511 sqlite3SrcListAppend( sqlite3 *db, SrcList *pList, Token *pTable, Token *pDatabase ) argument
80546 sqlite3SrcListAssignCursors(Parse *pParse, SrcList *pList) argument
80564 sqlite3SrcListDelete(sqlite3 *db, SrcList *pList) argument
84787 ExprList *pList = 0; /* Changes list if ON UPDATE CASCADE */ local
85449 sqlite3Insert( Parse *pParse, SrcList *pTabList, ExprList *pList, Select *pSelect, IdList *pColumn, int onError ) argument
90854 IdList *pList = pRight->pUsing; local
91217 keyInfoFromExprList(Parse *pParse, ExprList *pList) argument
92993 substExprList( sqlite3 *db, ExprList *pList, int iTable, ExprList *pEList ) argument
93155 ExprList *pList; /* The result set of the outer query */ local
94015 ExprList *pList = pF->pExpr->x.pList; local
94038 ExprList *pList = pF->pExpr->x.pList; local
94874 sqlite3PrintExprList(ExprList *pList) argument
95185 Trigger *pList = 0; /* List of triggers to return */ local
95774 Trigger *pList = 0; local
98788 exprListTableUsage(WhereMaskSet *pMaskSet, ExprList *pList) argument
98981 ExprList *pList; /* List of operands to the LIKE operator */ local
99070 ExprList *pList; local
99372 ExprList *pList = 0; /* The RHS of the IN operator */ local
99533 ExprList *pList = pExpr->x.pList; local
99717 referencesOtherTables( ExprList *pList, WhereMaskSet *pMaskSet, int iFirst, int iBase ) argument
100927 whereInScanEst( Parse *pParse, Index *p, ExprList *pList, double *pnRow ) argument
106031 ExprList *pList; local
106043 ExprList *pList; local
106084 ExprList *pList = sqlite3ExprListAppend(pParse,0, yymsp[-2].minor.yy118.pExpr); local
112058 char *pList; /* Pointer to position list following iDocid */ member in struct:Fts3Doclist
115183 fts3EvalPhraseMergeToken( Fts3Table *pTab, Fts3Phrase *p, int iToken, char *pList, int nList ) argument
115279 char *pList; local
115685 char *pList = 0; local
119708 PendingList *pList; /* Doclist is assembled here */ member in struct:Fts3DeferredToken
120203 fts3PendingListDelete(PendingList *pList) argument
120218 PendingList *pList; local
120350 PendingList *pList = (PendingList *)fts3HashData(pElem); local
120715 PendingList *pList = (PendingList *)fts3HashData(pElem); local
121859 char *pList = *ppList; local
121895 fts3MsrBufferData( Fts3MultiSegReader *pMsr, char *pList, int nList ) argument
121939 char *pList; local
122185 char *pList; local
122952 char *pList; /* Pointer to start of phrase position list */ member in struct:SnippetPhrase
124162 char *pList; /* Position-list */ member in struct:TermOffset
124182 char *pList; /* Pointer to position list for phrase */ local
[all...]

Completed in 166 milliseconds