Searched refs:aNew (Results 1 – 4 of 4) sorted by relevance
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | attach.c | 27 Db *aNew; in sqliteAttach() local 75 aNew = sqliteMalloc( sizeof(db->aDb[0])*3 ); in sqliteAttach() 76 if( aNew==0 ) return; in sqliteAttach() 77 memcpy(aNew, db->aDb, sizeof(db->aDb[0])*2); in sqliteAttach() 79 aNew = sqliteRealloc(db->aDb, sizeof(db->aDb[0])*(db->nDb+1) ); in sqliteAttach() 80 if( aNew==0 ) return; in sqliteAttach() 82 db->aDb = aNew; in sqliteAttach() 83 aNew = &db->aDb[db->nDb++]; in sqliteAttach() 84 memset(aNew, 0, sizeof(*aNew)); in sqliteAttach() 85 sqliteHashInit(&aNew->tblHash, SQLITE_HASH_STRING, 0); in sqliteAttach() [all …]
|
H A D | vdbeaux.c | 83 Op *aNew; in sqliteVdbeAddOp() local 85 aNew = sqliteRealloc(p->aOp, p->nOpAlloc*sizeof(Op)); in sqliteVdbeAddOp() 86 if( aNew==0 ){ in sqliteVdbeAddOp() 90 p->aOp = aNew; in sqliteVdbeAddOp() 154 int *aNew; in sqliteVdbeMakeLabel() local 156 aNew = sqliteRealloc( p->aLabel, p->nLabelAlloc*sizeof(p->aLabel[0])); in sqliteVdbeMakeLabel() 157 if( aNew==0 ){ in sqliteVdbeMakeLabel() 160 p->aLabel = aNew; in sqliteVdbeMakeLabel() 206 Op *aNew; in sqliteVdbeAddOpList() local 208 aNew = sqliteRealloc(p->aOp, p->nOpAlloc*sizeof(Op)); in sqliteVdbeAddOpList() [all …]
|
H A D | os.c | 921 int *aNew; in sqliteOsClose() local 924 aNew = sqliteRealloc( pOpen->aPending, pOpen->nPending*sizeof(int) ); in sqliteOsClose() 925 if( aNew==0 ){ in sqliteOsClose() 928 pOpen->aPending = aNew; in sqliteOsClose()
|
H A D | build.c | 573 Column *aNew; in sqliteAddColumn() local 574 aNew = sqliteRealloc( p->aCol, (p->nCol+8)*sizeof(p->aCol[0])); in sqliteAddColumn() 575 if( aNew==0 ) return; in sqliteAddColumn() 576 p->aCol = aNew; in sqliteAddColumn()
|