Home
last modified time | relevance | path

Searched refs:new_szB (Results 1 – 3 of 3) sorted by relevance

/external/valgrind/main/memcheck/
Dmc_malloc_wrappers.c407 void* MC_(realloc) ( ThreadId tid, void* p_old, SizeT new_szB ) in MC_()
413 if (complain_about_silly_args(new_szB, "realloc")) in MC_()
418 cmalloc_bs_mallocd += (ULong)new_szB; in MC_()
446 if (new_szB <= old_szB) { in MC_()
450 a_new = (Addr)VG_(cli_malloc)(VG_(clo_alignment), new_szB); in MC_()
461 MC_(copy_address_range_state) ( (Addr)p_old, a_new, new_szB ); in MC_()
462 MC_(make_mem_noaccess) ( a_new+new_szB, MC_(Malloc_Redzone_SzB)); in MC_()
465 VG_(memcpy)((void*)a_new, p_old, new_szB); in MC_()
480 mc = create_MC_Chunk( ec, a_new, new_szB, MC_AllocMalloc ); in MC_()
488 tl_assert(old_szB < new_szB); in MC_()
[all …]
/external/valgrind/main/exp-dhat/
Ddh_main.c660 static void* dh_realloc ( ThreadId tid, void* p_old, SizeT new_szB ) in dh_realloc() argument
663 return dh_malloc(tid, new_szB); in dh_realloc()
665 if (new_szB == 0) { in dh_realloc()
669 return renew_block(tid, p_old, new_szB); in dh_realloc()
/external/valgrind/main/massif/
Dms_main.c1818 static void* ms_realloc ( ThreadId tid, void* p_old, SizeT new_szB ) in ms_realloc() argument
1820 return realloc_block(tid, p_old, new_szB); in ms_realloc()