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.c339 void* MC_(realloc) ( ThreadId tid, void* p_old, SizeT new_szB ) in MC_()
347 cmalloc_bs_mallocd += (ULong)new_szB; in MC_()
349 if (complain_about_silly_args(new_szB, "realloc")) in MC_()
378 if (new_szB <= old_szB) { in MC_()
382 a_new = (Addr)VG_(cli_malloc)(VG_(clo_alignment), new_szB); in MC_()
393 MC_(copy_address_range_state) ( (Addr)p_old, a_new, new_szB ); in MC_()
394 MC_(make_mem_noaccess) ( a_new+new_szB, MC_MALLOC_REDZONE_SZB ); in MC_()
397 VG_(memcpy)((void*)a_new, p_old, new_szB); in MC_()
412 mc = create_MC_Chunk( ec, a_new, new_szB, MC_AllocMalloc ); in MC_()
420 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.c1822 static void* ms_realloc ( ThreadId tid, void* p_old, SizeT new_szB ) in ms_realloc() argument
1824 return realloc_block(tid, p_old, new_szB); in ms_realloc()