Home
last modified time | relevance | path

Searched refs:pNew (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/lib/libsqlite/src/
H A Dexpr.c26 Expr *pNew; in sqliteExpr() local
27 pNew = sqliteMalloc( sizeof(Expr) ); in sqliteExpr()
28 if( pNew==0 ){ in sqliteExpr()
32 pNew->op = op; in sqliteExpr()
33 pNew->pLeft = pLeft; in sqliteExpr()
34 pNew->pRight = pRight; in sqliteExpr()
37 pNew->token = *pToken; in sqliteExpr()
38 pNew->span = *pToken; in sqliteExpr()
40 assert( pNew->token.dyn==0 ); in sqliteExpr()
41 assert( pNew->token.z==0 ); in sqliteExpr()
[all …]
H A Dselect.c34 Select *pNew; in sqliteSelectNew() local
35 pNew = sqliteMalloc( sizeof(*pNew) ); in sqliteSelectNew()
36 if( pNew==0 ){ in sqliteSelectNew()
47 pNew->pEList = pEList; in sqliteSelectNew()
48 pNew->pSrc = pSrc; in sqliteSelectNew()
49 pNew->pWhere = pWhere; in sqliteSelectNew()
50 pNew->pGroupBy = pGroupBy; in sqliteSelectNew()
51 pNew->pHaving = pHaving; in sqliteSelectNew()
52 pNew->pOrderBy = pOrderBy; in sqliteSelectNew()
53 pNew->isDistinct = isDistinct; in sqliteSelectNew()
[all …]
H A Dtrigger.c248 Select *pNew = sqliteSelectDup(p->pSelect); in sqlitePersistTriggerStep() local
250 p->pSelect = pNew; in sqlitePersistTriggerStep()
253 Expr *pNew = sqliteExprDup(p->pWhere); in sqlitePersistTriggerStep() local
255 p->pWhere = pNew; in sqlitePersistTriggerStep()
258 ExprList *pNew = sqliteExprListDup(p->pExprList); in sqlitePersistTriggerStep() local
260 p->pExprList = pNew; in sqlitePersistTriggerStep()
263 IdList *pNew = sqliteIdListDup(p->pIdList); in sqlitePersistTriggerStep() local
265 p->pIdList = pNew; in sqlitePersistTriggerStep()
H A Dbtree.c504 FreeBlk *pNew; in allocateSpace() local
506 pNew = (FreeBlk*)&pPage->u.aDisk[start + nByte]; in allocateSpace()
507 pNew->iNext = p->iNext; in allocateSpace()
508 pNew->iSize = SWAB16(pBt, iSize - nByte); in allocateSpace()
528 FreeBlk *pNew; in freeSpace() local
558 pNew = (FreeBlk*)&pPage->u.aDisk[start]; in freeSpace()
560 pNew->iSize = SWAB16(pBt, size); in freeSpace()
561 pNew->iNext = SWAB16(pBt, idx); in freeSpace()
564 pNew->iSize = SWAB16(pBt, size + SWAB16(pBt, pNext->iSize)); in freeSpace()
565 pNew->iNext = pNext->iNext; in freeSpace()
[all …]
H A Dbuild.c1903 SrcList *pNew; in sqliteSrcListAppend() local
1905 pNew = sqliteRealloc(pList, in sqliteSrcListAppend()
1907 if( pNew==0 ){ in sqliteSrcListAppend()
1911 pList = pNew; in sqliteSrcListAppend()
H A Dsqlite.h.in819 ** encrypted, this routine will encrypt it. If pNew==0 or nNew==0, the