Lines Matching refs:szMalloc

20867   int szMalloc;       /* Size of the zMalloc allocation */  member
30943 pMem->szMalloc = sqlite3DbMallocSize(pMem->db, pMem->z);
75679 assert( (p->flags & MEM_Dyn)==0 || p->szMalloc==0 );
75713 assert( p->szMalloc==0
75714 || p->szMalloc==sqlite3DbMallocSize(p->db,p->zMalloc) );
75726 ((p->szMalloc>0 && p->z==p->zMalloc)? 1 : 0) +
75786 if( p->szMalloc>0 && p->z==p->zMalloc ){
75787 assert( p->enc==SQLITE_UTF8 || p->szMalloc >= ((p->n+1)&~1)+2 );
75788 assert( p->enc!=SQLITE_UTF8 || p->szMalloc >= p->n+1 );
75868 assert( pMem->szMalloc==0
75869 || pMem->szMalloc==sqlite3DbMallocSize(pMem->db, pMem->zMalloc) );
75870 if( pMem->szMalloc>0 && bPreserve && pMem->z==pMem->zMalloc ){
75880 if( pMem->szMalloc>0 ) sqlite3DbFreeNN(pMem->db, pMem->zMalloc);
75886 pMem->szMalloc = 0;
75889 pMem->szMalloc = sqlite3DbMallocSize(pMem->db, pMem->zMalloc);
75921 assert( (pMem->flags & MEM_Dyn)==0 || pMem->szMalloc==0 );
75922 if( pMem->szMalloc<szNew ){
75962 if( pMem->szMalloc==0 || pMem->z!=pMem->zMalloc ){
76083 if( pMem->szMalloc>0 ) sqlite3DbFreeNN(pMem->db, pMem->zMalloc);
76149 if( p->szMalloc ){
76151 p->szMalloc = 0;
76168 if( VdbeMemDynamic(p) || p->szMalloc ){
76433 pMem->szMalloc = 0;
76677 pFrom->szMalloc = 0;
76755 pMem->szMalloc = sqlite3DbMallocSize(pMem->db, pMem->zMalloc);
78646 if( p->szMalloc ) sqlite3DbFree(db, p->zMalloc);
79404 p->szMalloc = 0;
79421 if( p->szMalloc ) sqlite3DbFree(db, p->zMalloc);
79446 }else if( p->szMalloc ){
79448 p->szMalloc = 0;
81569 pMem->szMalloc = 0;
81617 VVA_ONLY( mem1.szMalloc = 0; ) /* Only needed by assert() statements */
81662 assert( mem1.szMalloc==0 ); /* See comment below */
81680 assert( mem1.szMalloc==0 );
82041 VVA_ONLY( mem1.szMalloc = 0; ) /* Only needed by assert() statements */
82177 assert( mem1.szMalloc==0 ); /* See comment below */
82191 assert( mem1.szMalloc==0 );
82492 testcase( m.szMalloc!=0 );
86306 assert( pOut->szMalloc>0 && pOut->zMalloc==pOut->z );
86308 pOut->szMalloc = 0;
87926 if( pDest->szMalloc < len+2 ){
88265 if( nByte+nZero<=pOut->szMalloc ){