Searched refs:sqliteMalloc (Results 1 - 20 of 20) sorted by relevance

/osnet-11/usr/src/lib/libsqlite/src/
H A Dtrigger.c134 nt = (Trigger*)sqliteMalloc(sizeof(Trigger));
238 ** from sqliteMalloc(). As initially created, the Expr.token.z values
280 TriggerStep *pTriggerStep = sqliteMalloc(sizeof(TriggerStep));
305 TriggerStep *pTriggerStep = sqliteMalloc(sizeof(TriggerStep));
333 TriggerStep *pTriggerStep = sqliteMalloc(sizeof(TriggerStep));
352 TriggerStep *pTriggerStep = sqliteMalloc(sizeof(TriggerStep));
722 if( fire_this && (pTriggerStack = sqliteMalloc(sizeof(TriggerStack)))!=0 ){
H A Dexpr.c25 ** for this node is obtained from sqliteMalloc(). The calling function
30 pNew = sqliteMalloc( sizeof(Expr) );
79 pNew = sqliteMalloc( sizeof(Expr) );
157 pNew = sqliteMalloc( sizeof(*pNew) );
160 pNew->a = pItem = sqliteMalloc( p->nExpr*sizeof(p->a[0]) );
253 pList = sqliteMalloc( sizeof(ExprList) );
1117 char *z = sqliteMalloc( p->n + 2 );
1658 if( p==0 && createFlag && (p = sqliteMalloc(sizeof(*p)))!=0 ){
H A Dbtree_rb.c590 BtRbTree *pNewTbl = sqliteMalloc(sizeof(BtRbTree));
622 *ppRbtree = (Rbtree *)sqliteMalloc(sizeof(Rbtree));
658 BtRollbackOp *pRollbackOp = sqliteMalloc(sizeof(BtRollbackOp));
683 BtRollbackOp *pRollbackOp = sqliteMalloc(sizeof(BtRollbackOp));
725 pCur = *ppCur = sqliteMalloc(sizeof(RbtCursor));
786 BtRbNode *pNode = sqliteMalloc(sizeof(BtRbNode));
821 BtRollbackOp *pOp = sqliteMalloc( sizeof(BtRollbackOp) );
838 BtRollbackOp *pOp = sqliteMalloc( sizeof(BtRollbackOp) );
945 BtRollbackOp *pOp = sqliteMalloc( sizeof(BtRollbackOp) );
1243 * memory obtained from sqliteMalloc()
[all...]
H A Dhash.c166 ** to resize if sqliteMalloc() fails.
175 new_ht = (struct _ht *)sqliteMalloc( new_size*sizeof(struct _ht) );
317 new_elem = (HashElem*)sqliteMalloc( sizeof(HashElem) );
H A Dutil.c42 int sqlite_nMalloc; /* Number of sqliteMalloc() calls */
44 int sqlite_iMallocFail; /* Fail sqliteMalloc() after this many calls */
95 ** Check to see if the given pointer was obtained from sqliteMalloc()
117 ** Free memory previously obtained from sqliteMalloc()
150 ** works just like sqliteMalloc(). If n==0, then this routine
224 ** Make a copy of a string in memory obtained from sqliteMalloc()
255 void *sqliteMalloc(int n){ function
267 ** no memory is available. See also sqliteMalloc().
278 ** Free memory previously obtained from sqliteMalloc()
288 ** works just like sqliteMalloc()
[all...]
H A Dupdate.c90 aXRef = sqliteMalloc( sizeof(int) * pTab->nCol );
175 apIdx = sqliteMalloc( sizeof(Index*) * nIdx + nIdxTotal );
H A Dvdbeaux.c41 p = sqliteMalloc( sizeof(Vdbe) );
274 ** the string is made into memory obtained from sqliteMalloc().
490 p->pAgg = sqliteMalloc( nByte );
619 p->aStack = sqliteMalloc(
971 p->azVar[i] = sqliteMalloc( len );
H A DsqliteInt.h184 # define sqliteMalloc(X) sqliteMalloc_(X,1,__FILE__,__LINE__) macro
207 extern int sqlite_nMalloc; /* Number of sqliteMalloc() calls */
209 extern int sqlite_iMallocFail; /* Fail sqliteMalloc() after this many calls */
1116 void *sqliteMalloc(int);
H A Dattach.c78 aNew = sqliteMalloc( sizeof(db->aDb[0])*3 );
H A Dfunc.c213 if ((res = sqliteMalloc(outlen)) == NULL)
410 z = sqliteMalloc( i+n+3 );
646 p->z = sqliteMalloc( len+1 );
H A Dbuild.c389 ** Space to hold the name is obtained from sqliteMalloc() and must
515 pTable = sqliteMalloc( sizeof(Table) );
829 ** from sqliteMalloc() and must be freed by the calling function.
1392 pFKey = sqliteMalloc( nByte );
1598 pIndex = sqliteMalloc( sizeof(Index) + strlen(zName) + 1 +
1845 pList = sqliteMalloc( sizeof(IdList) );
1901 pList = sqliteMalloc( sizeof(SrcList) );
H A Dselect.c37 pNew = sqliteMalloc( sizeof(*pNew) );
318 zSortOrder = sqliteMalloc( pOrderBy->nExpr + 1 );
358 char *zType = sqliteMalloc( nColumn+1 );
797 pTab = sqliteMalloc( sizeof(Table) );
805 pTab->aCol = aCol = sqliteMalloc( sizeof(pTab->aCol[0])*pTab->nCol );
H A Dpager.c963 pPager = sqliteMalloc( sizeof(*pPager) + nameLen*3 + 30 );
1648 pPager->aInJournal = sqliteMalloc( pPager->dbSize/8 + 1 );
2128 pPager->aInCkpt = sqliteMalloc( pPager->dbSize/8 + 1 );
H A Ddate.c782 z = sqliteMalloc( n );
H A Dmain.c483 db = sqliteMalloc( sizeof(sqlite) );
H A Dos.c1769 ** to the full pathname stored in space obtained from sqliteMalloc().
1790 zFull = sqliteMalloc( nByte );
H A Dwhere.c425 pWInfo = sqliteMalloc( sizeof(WhereInfo) + pTabList->nSrc*sizeof(WhereLevel));
H A Dbtree.c712 pBt = sqliteMalloc( sizeof(*pBt) );
1057 pCur = sqliteMalloc( sizeof(*pCur) );
3333 zKey1 = sqliteMalloc( nLower+1 );
H A Dparse.y360 from(A) ::= . {A = sqliteMalloc(sizeof(*A));}
H A Dvdbe.c167 pElem = sqliteMalloc( sizeof(AggElem) + nKey +
221 ** from sqliteMalloc(). This is different from Stringify() above in that
481 ** from sqliteMalloc() and p->zErrMsg is made to point to that memory.
910 ** from sqliteMalloc().
4411 p->agg.apFunc = sqliteMalloc( p->agg.nMem*sizeof(p->agg.apFunc[0]) );

Completed in 85 milliseconds