Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libsqlite/src/
H A Dexpr.c29 Expr *pNew; in sqliteExpr() local
30 pNew = sqliteMalloc( sizeof(Expr) ); in sqliteExpr()
31 if( pNew==0 ){ in sqliteExpr()
35 pNew->op = op; in sqliteExpr()
36 pNew->pLeft = pLeft; in sqliteExpr()
37 pNew->pRight = pRight; in sqliteExpr()
40 pNew->token = *pToken; in sqliteExpr()
41 pNew->span = *pToken; in sqliteExpr()
43 assert( pNew->token.dyn==0 ); in sqliteExpr()
44 assert( pNew->token.z==0 ); in sqliteExpr()
[all …]
H A Dselect.c38 Select *pNew; in sqliteSelectNew() local
39 pNew = sqliteMalloc( sizeof(*pNew) ); in sqliteSelectNew()
40 if( pNew==0 ){ in sqliteSelectNew()
51 pNew->pEList = pEList; in sqliteSelectNew()
52 pNew->pSrc = pSrc; in sqliteSelectNew()
53 pNew->pWhere = pWhere; in sqliteSelectNew()
54 pNew->pGroupBy = pGroupBy; in sqliteSelectNew()
55 pNew->pHaving = pHaving; in sqliteSelectNew()
56 pNew->pOrderBy = pOrderBy; in sqliteSelectNew()
57 pNew->isDistinct = isDistinct; in sqliteSelectNew()
[all …]
H A Dtrigger.c251 Select *pNew = sqliteSelectDup(p->pSelect); in sqlitePersistTriggerStep() local
253 p->pSelect = pNew; in sqlitePersistTriggerStep()
256 Expr *pNew = sqliteExprDup(p->pWhere); in sqlitePersistTriggerStep() local
258 p->pWhere = pNew; in sqlitePersistTriggerStep()
261 ExprList *pNew = sqliteExprListDup(p->pExprList); in sqlitePersistTriggerStep() local
263 p->pExprList = pNew; in sqlitePersistTriggerStep()
266 IdList *pNew = sqliteIdListDup(p->pIdList); in sqlitePersistTriggerStep() local
268 p->pIdList = pNew; in sqlitePersistTriggerStep()
H A Dbtree.c506 FreeBlk *pNew; in allocateSpace() local
508 pNew = (FreeBlk*)&pPage->u.aDisk[start + nByte]; in allocateSpace()
509 pNew->iNext = p->iNext; in allocateSpace()
510 pNew->iSize = SWAB16(pBt, iSize - nByte); in allocateSpace()
530 FreeBlk *pNew; in freeSpace() local
560 pNew = (FreeBlk*)&pPage->u.aDisk[start]; in freeSpace()
562 pNew->iSize = SWAB16(pBt, size); in freeSpace()
563 pNew->iNext = SWAB16(pBt, idx); in freeSpace()
566 pNew->iSize = SWAB16(pBt, size + SWAB16(pBt, pNext->iSize)); in freeSpace()
567 pNew->iNext = pNext->iNext; in freeSpace()
[all …]
H A Dbuild.c1906 SrcList *pNew; in sqliteSrcListAppend() local
1908 pNew = sqliteRealloc(pList, in sqliteSrcListAppend()
1910 if( pNew==0 ){ in sqliteSrcListAppend()
1914 pList = pNew; in sqliteSrcListAppend()
H A Dsqlite.h.in822 ** encrypted, this routine will encrypt it. If pNew==0 or nNew==0, the