Home
last modified time | relevance | path

Searched refs:sqliteMalloc (Results 1 – 22 of 22) sorted by relevance

/illumos-gate/usr/src/lib/libsqlite/src/
H A Dtrigger.c131 nt = (Trigger*)sqliteMalloc(sizeof(Trigger)); in sqliteBeginTrigger()
277 TriggerStep *pTriggerStep = sqliteMalloc(sizeof(TriggerStep)); in sqliteTriggerSelectStep()
302 TriggerStep *pTriggerStep = sqliteMalloc(sizeof(TriggerStep)); in sqliteTriggerInsertStep()
330 TriggerStep *pTriggerStep = sqliteMalloc(sizeof(TriggerStep)); in sqliteTriggerUpdateStep()
349 TriggerStep *pTriggerStep = sqliteMalloc(sizeof(TriggerStep)); in sqliteTriggerDeleteStep()
719 if( fire_this && (pTriggerStack = sqliteMalloc(sizeof(TriggerStack)))!=0 ){ in sqliteCodeRowTrigger()
H A Dbtree_rb.c587 BtRbTree *pNewTbl = sqliteMalloc(sizeof(BtRbTree)); in btreeCreateTable()
619 *ppRbtree = (Rbtree *)sqliteMalloc(sizeof(Rbtree)); in sqliteRbtreeOpen()
655 BtRollbackOp *pRollbackOp = sqliteMalloc(sizeof(BtRollbackOp)); in memRbtreeCreateTable()
680 BtRollbackOp *pRollbackOp = sqliteMalloc(sizeof(BtRollbackOp)); in memRbtreeDropTable()
722 pCur = *ppCur = sqliteMalloc(sizeof(RbtCursor)); in memRbtreeCursor()
783 BtRbNode *pNode = sqliteMalloc(sizeof(BtRbNode)); in memRbtreeInsert()
818 BtRollbackOp *pOp = sqliteMalloc( sizeof(BtRollbackOp) ); in memRbtreeInsert()
835 BtRollbackOp *pOp = sqliteMalloc( sizeof(BtRollbackOp) ); in memRbtreeInsert()
942 BtRollbackOp *pOp = sqliteMalloc( sizeof(BtRollbackOp) ); in memRbtreeDelete()
H A Dhash.c172 new_ht = (struct _ht *)sqliteMalloc( new_size*sizeof(struct _ht) ); in rehash()
314 new_elem = (HashElem*)sqliteMalloc( sizeof(HashElem) ); in sqliteHashInsert()
H A Dfunc.c210 if ((res = sqliteMalloc(outlen)) == NULL) in utf8textprep()
407 z = sqliteMalloc( i+n+3 ); in quoteFunc()
643 p->z = sqliteMalloc( len+1 ); in minmaxStep()
H A Dexpr.c27 pNew = sqliteMalloc( sizeof(Expr) ); in sqliteExpr()
76 pNew = sqliteMalloc( sizeof(Expr) ); in sqliteExprFunction()
154 pNew = sqliteMalloc( sizeof(*pNew) ); in sqliteExprListDup()
157 pNew->a = pItem = sqliteMalloc( p->nExpr*sizeof(p->a[0]) ); in sqliteExprListDup()
250 pList = sqliteMalloc( sizeof(ExprList) ); in sqliteExprListAppend()
1116 char *z = sqliteMalloc( p->n + 2 ); in sqliteExprCode()
1658 if( p==0 && createFlag && (p = sqliteMalloc(sizeof(*p)))!=0 ){ in sqliteFindFunction()
H A Dupdate.c87 aXRef = sqliteMalloc( sizeof(int) * pTab->nCol ); in sqliteUpdate()
172 apIdx = sqliteMalloc( sizeof(Index*) * nIdx + nIdxTotal ); in sqliteUpdate()
H A Dvdbeaux.c38 p = sqliteMalloc( sizeof(Vdbe) ); in sqliteVdbeCreate()
487 p->pAgg = sqliteMalloc( nByte ); in sqlite_aggregate_context()
616 p->aStack = sqliteMalloc( in sqliteVdbeMakeReady()
968 p->azVar[i] = sqliteMalloc( len ); in sqlite_bind()
H A DsqliteInt.h181 # define sqliteMalloc(X) sqliteMalloc_(X,1,__FILE__,__LINE__) macro
1113 void *sqliteMalloc(int);
H A Dutil.c252 void *sqliteMalloc(int n){ in sqliteMalloc() function
291 return sqliteMalloc(n); in sqliteRealloc()
H A Dbuild.c512 pTable = sqliteMalloc( sizeof(Table) ); in sqliteStartTable()
1389 pFKey = sqliteMalloc( nByte ); in sqliteCreateForeignKey()
1595 pIndex = sqliteMalloc( sizeof(Index) + strlen(zName) + 1 + in sqliteCreateIndex()
1842 pList = sqliteMalloc( sizeof(IdList) ); in sqliteIdListAppend()
1898 pList = sqliteMalloc( sizeof(SrcList) ); in sqliteSrcListAppend()
H A Dvacuum.c257 zTemp = sqliteMalloc( nFilename+100 ); in sqliteRunVacuum()
H A Dattach.c75 aNew = sqliteMalloc( sizeof(db->aDb[0])*3 ); in sqliteAttach()
H A Dselect.c35 pNew = sqliteMalloc( sizeof(*pNew) ); in sqliteSelectNew()
316 zSortOrder = sqliteMalloc( pOrderBy->nExpr + 1 ); in pushOntoSorter()
356 char *zType = sqliteMalloc( nColumn+1 ); in sqliteAddKeyType()
795 pTab = sqliteMalloc( sizeof(Table) ); in sqliteResultSetOfSelect()
803 pTab->aCol = aCol = sqliteMalloc( sizeof(pTab->aCol[0])*pTab->nCol ); in sqliteResultSetOfSelect()
H A Dpager.c961 pPager = sqliteMalloc( sizeof(*pPager) + nameLen*3 + 30 ); in sqlitepager_open()
1646 pPager->aInJournal = sqliteMalloc( pPager->dbSize/8 + 1 ); in pager_open_journal()
2126 pPager->aInCkpt = sqliteMalloc( pPager->dbSize/8 + 1 ); in sqlitepager_ckpt_begin()
H A Ddate.c781 z = sqliteMalloc( n ); in strftimeFunc()
H A Dprintf.c554 bufpt = zExtra = sqliteMalloc( n ); in vxprintf()
H A Dmain.c480 db = sqliteMalloc( sizeof(sqlite) ); in sqlite_open()
H A Dbtree.c710 pBt = sqliteMalloc( sizeof(*pBt) ); in sqliteBtreeOpen()
1055 pCur = sqliteMalloc( sizeof(*pCur) ); in fileBtreeCursor()
3331 zKey1 = sqliteMalloc( nLower+1 ); in checkTreePage()
H A Dwhere.c422 pWInfo = sqliteMalloc( sizeof(WhereInfo) + pTabList->nSrc*sizeof(WhereLevel)); in sqliteWhereBegin()
H A Dos.c1787 zFull = sqliteMalloc( nByte );
H A Dvdbe.c165 pElem = sqliteMalloc( sizeof(AggElem) + nKey + in AggInsert()
4409 p->agg.apFunc = sqliteMalloc( p->agg.nMem*sizeof(p->agg.apFunc[0]) ); in sqliteVdbeExec()
H A Dparse.y358 from(A) ::= . {A = sqliteMalloc(sizeof(*A));}