Lines Matching refs:new_szB
387 void* MC_(realloc) ( ThreadId tid, void* p_old, SizeT new_szB ) in MC_()
395 cmalloc_bs_mallocd += (ULong)new_szB; in MC_()
397 if (complain_about_silly_args(new_szB, "realloc")) in MC_()
426 if (new_szB <= old_szB) { in MC_()
430 a_new = (Addr)VG_(cli_malloc)(VG_(clo_alignment), new_szB); in MC_()
441 MC_(copy_address_range_state) ( (Addr)p_old, a_new, new_szB ); in MC_()
442 MC_(make_mem_noaccess) ( a_new+new_szB, MC_MALLOC_REDZONE_SZB ); in MC_()
445 VG_(memcpy)((void*)a_new, p_old, new_szB); in MC_()
460 mc = create_MC_Chunk( ec, a_new, new_szB, MC_AllocMalloc ); in MC_()
468 tl_assert(old_szB < new_szB); in MC_()
470 a_new = (Addr)VG_(cli_malloc)(VG_(clo_alignment), new_szB); in MC_()
485 MC_(make_mem_undefined_w_otag)( a_new+mc->szB, new_szB-mc->szB, in MC_()
487 MC_(make_mem_noaccess) ( a_new+new_szB, MC_MALLOC_REDZONE_SZB ); in MC_()
494 new_szB-old_szB); in MC_()
513 mc = create_MC_Chunk( ec, a_new, new_szB, MC_AllocMalloc ); in MC_()