Home | History | Annotate | Download | only in dist

Lines Matching refs:zMalloc

12138   char *zMalloc;      /* Dynamic buffer allocated by sqlite3_malloc() */
19724 pMem->zMalloc = pMem->z;
19875 assert( m.z==m.zMalloc );
54242 ((pMem->zMalloc && pMem->zMalloc==pMem->z) ? 1 : 0) +
54250 if( sqlite3DbMallocSize(pMem->db, pMem->zMalloc)<n ){
54251 if( preserve && pMem->z==pMem->zMalloc ){
54252 pMem->z = pMem->zMalloc = sqlite3DbReallocOrFree(pMem->db, pMem->z, n);
54255 sqlite3DbFree(pMem->db, pMem->zMalloc);
54256 pMem->zMalloc = sqlite3DbMallocRaw(pMem->db, n);
54260 if( pMem->z && preserve && pMem->zMalloc && pMem->z!=pMem->zMalloc ){
54261 memcpy(pMem->zMalloc, pMem->z, pMem->n);
54267 pMem->z = pMem->zMalloc;
54291 if( (f&(MEM_Str|MEM_Blob)) && pMem->z!=pMem->zMalloc ){
54423 sqlite3DbFree(pMem->db, pMem->zMalloc);
54433 ** does not free any Mem.zMalloc buffer.
54465 sqlite3DbFree(p->db, p->zMalloc);
54467 p->zMalloc = 0;
54723 pMem->zMalloc = sqlite3DbMallocRaw(db, 64);
54727 assert( pMem->zMalloc );
54728 pMem->u.pRowSet = sqlite3RowSetInit(db, pMem->zMalloc,
54729 sqlite3DbMallocSize(db, pMem->zMalloc));
54774 ** Size of struct Mem not including the Mem.zMalloc member.
54776 #define MEMCELLSIZE (size_t)(&(((Mem *)0)->zMalloc))
54833 pFrom->zMalloc = 0;
54905 pMem->zMalloc = pMem->z = (char *)z;
55929 sqlite3DbFree(db, p->zMalloc);
56311 sqlite3DbFree(db, p->zMalloc);
56332 }else if( p->zMalloc ){
56333 sqlite3DbFree(db, p->zMalloc);
56334 p->zMalloc = 0;
58118 pMem->zMalloc = 0;
58143 if( NEVER(pMem->zMalloc) ) sqlite3VdbeMemRelease(pMem);
58194 VVA_ONLY( mem1.zMalloc = 0; ) /* Only needed by assert() statements */
58227 assert( mem1.zMalloc==0 ); /* See comment below */
58255 assert( mem1.zMalloc==0 );
58349 testcase( m.zMalloc!=0 );
60598 char *zMalloc; /* Holding variable for allocated memory */
61334 assert( pOut->zMalloc==pOut->z );
61336 pOut->zMalloc = 0;
61421 char *zMalloc; /* Holding variable for allocated memory */
61440 u.ac.zMalloc = pOut->zMalloc;
61441 pOut->zMalloc = 0;
61443 pIn1->zMalloc = u.ac.zMalloc;
61810 u.ag.ctx.s.zMalloc = 0;
62757 if( u.am.sMem.zMalloc ){
62758 assert( u.am.sMem.z==u.am.sMem.zMalloc );
62764 u.am.pDest->zMalloc = u.am.sMem.zMalloc;
65686 u.cb.ctx.s.zMalloc = 0;
114718 int nMalloc; /* Size of malloc'd buffer at zMalloc */
114719 char *zMalloc; /* Malloc'd space (possibly) used for zTerm */
114742 int nMalloc; /* Size of malloc'd buffer at zMalloc */
114743 char *zMalloc; /* Malloc'd space (possibly) used for zTerm */
116170 char *zNew = sqlite3_realloc(pTree->zMalloc, nTerm*2);
116175 pTree->zMalloc = zNew;
116177 pTree->zTerm = pTree->zMalloc;
116213 pNew->zMalloc = pTree->zMalloc;
116215 pTree->zMalloc = 0;
116307 assert( pRight==0 || p->zMalloc==0 );
116308 sqlite3_free(p->zMalloc);
116437 char *zNew = sqlite3_realloc(pWriter->zMalloc, nTerm*2);
116442 pWriter->zMalloc = zNew;
116445 assert( pWriter->zTerm==pWriter->zMalloc );
116499 sqlite3_free(pWriter->zMalloc);