Home
last modified time | relevance | path

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

/external/valgrind/memcheck/
Dmc_malloc_wrappers.c534 void* MC_(realloc) ( ThreadId tid, void* p_old, SizeT new_szB ) in MC_()
541 if (MC_(record_fishy_value_error)(tid, "realloc", "size", new_szB)) in MC_()
546 cmalloc_bs_mallocd += (ULong)new_szB; in MC_()
567 a_new = (Addr)VG_(cli_malloc)(VG_(clo_alignment), new_szB); in MC_()
579 new_mc = create_MC_Chunk( tid, a_new, new_szB, MC_AllocMalloc ); in MC_()
591 if (old_szB >= new_szB) { in MC_()
595 MC_(copy_address_range_state) ( (Addr)p_old, a_new, new_szB ); in MC_()
596 VG_(memcpy)((void*)a_new, p_old, new_szB); in MC_()
611 new_szB-old_szB, in MC_()
619 new_szB-old_szB); in MC_()
[all …]
/external/valgrind/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/massif/
Dms_main.c1411 static void* ms_realloc ( ThreadId tid, void* p_old, SizeT new_szB ) in ms_realloc() argument
1413 return realloc_block(tid, p_old, new_szB); in ms_realloc()