Home
last modified time | relevance | path

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

/PHP-5.3/ext/sqlite/libsqlite/src/
H A Dexpr.c82 pNew->pList = pList; in sqliteExprFunction()
135 pNew->pList = sqliteExprListDup(p->pList); in sqliteExprDup()
257 if( pList->nAlloc<=pList->nExpr ){ in sqliteExprListAppend()
258 pList->nAlloc = pList->nAlloc*2 + 4; in sqliteExprListAppend()
259 pList->a = sqliteRealloc(pList->a, pList->nAlloc*sizeof(pList->a[0])); in sqliteExprListAppend()
262 pList->nExpr = pList->nAlloc = 0; in sqliteExprListAppend()
285 assert( pList->a!=0 || (pList->nExpr==0 && pList->nAlloc==0) ); in sqliteExprListDelete()
286 assert( pList->nExpr<=pList->nAlloc ); in sqliteExprListDelete()
768 ExprList *pList = pExpr->pList; in sqliteExprResolveIds() local
990 ExprList *pList = p->pList; in sqliteExprType() local
[all …]
H A Dbuild.c1846 if( pList->nId>=pList->nAlloc ){ in sqliteIdListAppend()
1848 pList->nAlloc = pList->nAlloc*2 + 5; in sqliteIdListAppend()
1849 a = sqliteRealloc(pList->a, pList->nAlloc*sizeof(pList->a[0]) ); in sqliteIdListAppend()
1856 memset(&pList->a[pList->nId], 0, sizeof(pList->a[0])); in sqliteIdListAppend()
1858 char **pz = &pList->a[pList->nId].zName; in sqliteIdListAppend()
1902 if( pList->nSrc>=pList->nAlloc ){ in sqliteSrcListAppend()
1906 sizeof(*pList) + (pList->nAlloc-1)*sizeof(pList->a[0]) ); in sqliteSrcListAppend()
1913 memset(&pList->a[pList->nSrc], 0, sizeof(pList->a[0])); in sqliteSrcListAppend()
1923 char **pz = &pList->a[pList->nSrc].zName; in sqliteSrcListAppend()
1942 pList->a[pList->nSrc].iCursor = -1; in sqliteSrcListAppend()
[all …]
H A Dattach.c225 if( pList==0 ) return 0; in sqliteFixSrcList()
227 for(i=0; i<pList->nSrc; i++){ in sqliteFixSrcList()
228 if( pList->a[i].zDatabase==0 ){ in sqliteFixSrcList()
229 pList->a[i].zDatabase = sqliteStrDup(zDb); in sqliteFixSrcList()
230 }else if( sqliteStrICmp(pList->a[i].zDatabase,zDb)!=0 ){ in sqliteFixSrcList()
234 pList->a[i].zDatabase); in sqliteFixSrcList()
238 if( sqliteFixExpr(pFix, pList->a[i].pOn) ) return 1; in sqliteFixSrcList()
271 if( sqliteFixExprList(pFix, pExpr->pList) ){ in sqliteFixExpr()
286 if( pList==0 ) return 0; in sqliteFixExprList()
287 for(i=0; i<pList->nExpr; i++){ in sqliteFixExprList()
[all …]
H A Dbtree_rb.c1325 while( pList ){ in execute_rollback_list()
1326 switch( pList->eOp ){ in execute_rollback_list()
1330 cur.iTree = pList->iTab; in execute_rollback_list()
1333 pList->nKey, pList->pData, pList->nData ); in execute_rollback_list()
1338 cur.iTree = pList->iTab; in execute_rollback_list()
1340 memRbtreeMoveto(&cur, pList->pKey, pList->nKey, &res); in execute_rollback_list()
1353 sqliteFree(pList->pKey); in execute_rollback_list()
1354 sqliteFree(pList->pData); in execute_rollback_list()
1355 pTmp = pList->pNext; in execute_rollback_list()
1356 sqliteFree(pList); in execute_rollback_list()
[all …]
H A Dinsert.c89 ExprList *pList, /* List of values to be inserted */ in sqliteInsert() argument
240 assert( pList!=0 ); in sqliteInsert()
243 assert( pList ); in sqliteInsert()
244 nColumn = pList->nExpr; in sqliteInsert()
247 if( sqliteExprResolveIds(pParse, &dummy, 0, pList->a[i].pExpr) ){ in sqliteInsert()
250 if( sqliteExprCheck(pParse, pList->a[i].pExpr, 0, 0) ){ in sqliteInsert()
369 sqliteExprCode(pParse, pList->a[keyColumn].pExpr); in sqliteInsert()
393 sqliteExprCode(pParse, pList->a[j].pExpr); in sqliteInsert()
427 sqliteExprCode(pParse, pList->a[keyColumn].pExpr); in sqliteInsert()
466 sqliteExprCode(pParse, pList->a[j].pExpr); in sqliteInsert()
[all …]
H A Dselect.c266 IdList *pList; in sqliteProcessJoin() local
269 pList = pTerm->pUsing; in sqliteProcessJoin()
270 for(j=0; j<pList->nId; j++){ in sqliteProcessJoin()
1543 assert( pExpr->pList==0 ); in substExpr()
1544 pExpr->pList = sqliteExprListDup(pNew->pList); in substExpr()
1560 if( pList==0 ) return; in substExprList()
1755 pList = p->pEList; in flattenSubquery()
1758 if( pList->a[i].zName==0 && (pExpr = pList->a[i].pExpr)->span.z!=0 ){ in flattenSubquery()
1870 pList = pExpr->pList; in simpleMinMaxQuery()
1871 if( pList==0 || pList->nExpr!=1 ) return 0; in simpleMinMaxQuery()
[all …]
H A Dpager.c1256 pPager = pList->pPager; in pager_write_pagelist()
1257 while( pList ){ in pager_write_pagelist()
1260 CODEC(pPager, PGHDR_TO_DATA(pList), pList->pgno, 6); in pager_write_pagelist()
1263 CODEC(pPager, PGHDR_TO_DATA(pList), pList->pgno, 0); in pager_write_pagelist()
1265 pList->dirty = 0; in pager_write_pagelist()
1266 pList = pList->pDirty; in pager_write_pagelist()
1277 PgHdr *p, *pList; in pager_get_all_dirty_pages() local
1278 pList = 0; in pager_get_all_dirty_pages()
1281 p->pDirty = pList; in pager_get_all_dirty_pages()
1282 pList = p; in pager_get_all_dirty_pages()
[all …]
H A Dparse.y580 pList = sqliteExprListAppend(pList, X, 0);
581 A = sqliteExprFunction(pList, 0);
587 pList = sqliteExprListAppend(pList, X, 0);
588 A = sqliteExprFunction(pList, 0);
645 pList = sqliteExprListAppend(pList, Y, 0);
647 if( A ) A->pList = pList;
652 pList = sqliteExprListAppend(pList, Y, 0);
654 if( A ) A->pList = pList;
660 if( A ) A->pList = Y;
670 if( A ) A->pList = Y;
[all …]
H A Dparse.c2580 ExprList *pList = sqliteExprListAppend(0, yymsp[0].minor.yy242, 0); in yy_reduce() local
2581 pList = sqliteExprListAppend(pList, yymsp[-2].minor.yy242, 0); in yy_reduce()
2582 yygotominor.yy242 = sqliteExprFunction(pList, 0); in yy_reduce()
2591 ExprList *pList = sqliteExprListAppend(0, yymsp[0].minor.yy242, 0); in yy_reduce() local
2592 pList = sqliteExprListAppend(pList, yymsp[-3].minor.yy242, 0); in yy_reduce()
2593 yygotominor.yy242 = sqliteExprFunction(pList, 0); in yy_reduce()
2724 ExprList *pList = sqliteExprListAppend(0, yymsp[-2].minor.yy242, 0); in yy_reduce() local
2725 pList = sqliteExprListAppend(pList, yymsp[0].minor.yy242, 0); in yy_reduce()
2727 if( yygotominor.yy242 ) yygotominor.yy242->pList = pList; in yy_reduce()
2736 pList = sqliteExprListAppend(pList, yymsp[0].minor.yy242, 0); in yy_reduce()
[all …]
H A DvdbeInt.h263 Keylist *pList; /* A list of ROWIDs */ member
H A Dvdbe.c3761 pKeylist = p->pList; in sqliteVdbeExec()
3768 pKeylist->pNext = p->pList; in sqliteVdbeExec()
3769 p->pList = pKeylist; in sqliteVdbeExec()
3788 while( p->pList ){ in sqliteVdbeExec()
3789 pTop = p->pList; in sqliteVdbeExec()
3790 p->pList = pTop->pNext; in sqliteVdbeExec()
3794 p->pList = pRev; in sqliteVdbeExec()
3807 pKeylist = p->pList; in sqliteVdbeExec()
3830 if( p->pList ){ in sqliteVdbeExec()
3832 p->pList = 0; in sqliteVdbeExec()
[all …]
H A Dwhere.c136 if( p->pList ){ in exprTableUsage()
138 for(i=0; i<p->pList->nExpr; i++){ in exprTableUsage()
139 mask |= exprTableUsage(pMaskSet, p->pList->a[i].pExpr); in exprTableUsage()
754 }else if( pX->pList ){ in sqliteWhereBegin()
798 if( pX->pList ){ in sqliteWhereBegin()
H A Dvdbeaux.c784 if( p->pList ){ in Cleanup()
785 sqliteVdbeKeylistFree(p->pList); in Cleanup()
786 p->pList = 0; in Cleanup()
H A DsqliteInt.h687 ExprList *pList; /* A list of expressions used as function arguments member
/PHP-5.3/ext/sqlite3/libsqlite/
H A Dsqlite3.c40853 pList = pList->pDirty;
49495 pList=pList->pNext;
71745 pNew->x.pList = pList;
72214 if( pList->nAlloc<=pList->nExpr ){
72313 assert( pList->a!=0 || (pList->nExpr==0 && pList->nAlloc==0) );
80524 pList = sqlite3SrcListEnlarge(db, pList, 1, pList->nSrc);
80529 pItem = &pList->a[pList->nSrc-1];
98995 pList = pExpr->x.pList;
99078 pList = pExpr->x.pList;
99392 pNew->x.pList = pList;
[all …]

Completed in 403 milliseconds