Searched refs:sqliteMalloc (Results 1 – 22 of 22) sorted by relevance
131 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()
587 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()
172 new_ht = (struct _ht *)sqliteMalloc( new_size*sizeof(struct _ht) ); in rehash()314 new_elem = (HashElem*)sqliteMalloc( sizeof(HashElem) ); in sqliteHashInsert()
210 if ((res = sqliteMalloc(outlen)) == NULL) in utf8textprep()407 z = sqliteMalloc( i+n+3 ); in quoteFunc()643 p->z = sqliteMalloc( len+1 ); in minmaxStep()
27 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()
87 aXRef = sqliteMalloc( sizeof(int) * pTab->nCol ); in sqliteUpdate()172 apIdx = sqliteMalloc( sizeof(Index*) * nIdx + nIdxTotal ); in sqliteUpdate()
38 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()
181 # define sqliteMalloc(X) sqliteMalloc_(X,1,__FILE__,__LINE__) macro1113 void *sqliteMalloc(int);
252 void *sqliteMalloc(int n){ in sqliteMalloc() function291 return sqliteMalloc(n); in sqliteRealloc()
512 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()
257 zTemp = sqliteMalloc( nFilename+100 ); in sqliteRunVacuum()
75 aNew = sqliteMalloc( sizeof(db->aDb[0])*3 ); in sqliteAttach()
35 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()
961 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()
781 z = sqliteMalloc( n ); in strftimeFunc()
554 bufpt = zExtra = sqliteMalloc( n ); in vxprintf()
480 db = sqliteMalloc( sizeof(sqlite) ); in sqlite_open()
710 pBt = sqliteMalloc( sizeof(*pBt) ); in sqliteBtreeOpen()1055 pCur = sqliteMalloc( sizeof(*pCur) ); in fileBtreeCursor()3331 zKey1 = sqliteMalloc( nLower+1 ); in checkTreePage()
422 pWInfo = sqliteMalloc( sizeof(WhereInfo) + pTabList->nSrc*sizeof(WhereLevel)); in sqliteWhereBegin()
1787 zFull = sqliteMalloc( nByte );
165 pElem = sqliteMalloc( sizeof(AggElem) + nKey + in AggInsert()4409 p->agg.apFunc = sqliteMalloc( p->agg.nMem*sizeof(p->agg.apFunc[0]) ); in sqliteVdbeExec()
358 from(A) ::= . {A = sqliteMalloc(sizeof(*A));}