Searched refs:aNew (Results 1 – 4 of 4) sorted by relevance
/titanic_41/usr/src/lib/libsqlite/src/ |
H A D | attach.c | 30 Db *aNew; in sqliteAttach() local 78 aNew = sqliteMalloc( sizeof(db->aDb[0])*3 ); in sqliteAttach() 79 if( aNew==0 ) return; in sqliteAttach() 80 memcpy(aNew, db->aDb, sizeof(db->aDb[0])*2); in sqliteAttach() 82 aNew = sqliteRealloc(db->aDb, sizeof(db->aDb[0])*(db->nDb+1) ); in sqliteAttach() 83 if( aNew==0 ) return; in sqliteAttach() 85 db->aDb = aNew; in sqliteAttach() 86 aNew = &db->aDb[db->nDb++]; in sqliteAttach() 87 memset(aNew, 0, sizeof(*aNew)); in sqliteAttach() 88 sqliteHashInit(&aNew->tblHash, SQLITE_HASH_STRING, 0); in sqliteAttach() [all …]
|
H A D | vdbeaux.c | 86 Op *aNew; in sqliteVdbeAddOp() local 88 aNew = sqliteRealloc(p->aOp, p->nOpAlloc*sizeof(Op)); in sqliteVdbeAddOp() 89 if( aNew==0 ){ in sqliteVdbeAddOp() 93 p->aOp = aNew; in sqliteVdbeAddOp() 157 int *aNew; in sqliteVdbeMakeLabel() local 159 aNew = sqliteRealloc( p->aLabel, p->nLabelAlloc*sizeof(p->aLabel[0])); in sqliteVdbeMakeLabel() 160 if( aNew==0 ){ in sqliteVdbeMakeLabel() 163 p->aLabel = aNew; in sqliteVdbeMakeLabel() 209 Op *aNew; in sqliteVdbeAddOpList() local 211 aNew = sqliteRealloc(p->aOp, p->nOpAlloc*sizeof(Op)); in sqliteVdbeAddOpList() [all …]
|
H A D | os.c | 924 int *aNew; in sqliteOsClose() local 927 aNew = sqliteRealloc( pOpen->aPending, pOpen->nPending*sizeof(int) ); in sqliteOsClose() 928 if( aNew==0 ){ in sqliteOsClose() 931 pOpen->aPending = aNew; in sqliteOsClose()
|
H A D | build.c | 576 Column *aNew; in sqliteAddColumn() local 577 aNew = sqliteRealloc( p->aCol, (p->nCol+8)*sizeof(p->aCol[0])); in sqliteAddColumn() 578 if( aNew==0 ) return; in sqliteAddColumn() 579 p->aCol = aNew; in sqliteAddColumn()
|