Home
last modified time | relevance | path

Searched refs:new_req_szB (Results 1 – 2 of 2) sorted by relevance

/external/valgrind/massif/
Dms_main.c1245 void* realloc_block ( ThreadId tid, void* p_old, SizeT new_req_szB ) in realloc_block() argument
1264 VERB(3, "<<< realloc_block (%lu)\n", new_req_szB); in realloc_block()
1271 if (new_req_szB < old_req_szB) { in realloc_block()
1282 if (new_req_szB <= old_req_szB + old_slop_szB) { in realloc_block()
1285 new_slop_szB = old_slop_szB + (old_req_szB - new_req_szB); in realloc_block()
1289 p_new = VG_(cli_malloc)(VG_(clo_alignment), new_req_szB); in realloc_block()
1298 tl_assert(new_actual_szB >= new_req_szB); in realloc_block()
1299 new_slop_szB = new_actual_szB - new_req_szB; in realloc_block()
1305 hc->req_szB = new_req_szB; in realloc_block()
1312 hc->where = add_heap_xt( tid, new_req_szB, in realloc_block()
[all …]
/external/valgrind/exp-dhat/
Ddh_main.c538 void* renew_block ( ThreadId tid, void* p_old, SizeT new_req_szB ) in renew_block() argument
540 if (0) VG_(printf)("REALL %p %lu\n", p_old, new_req_szB); in renew_block()
543 tl_assert(new_req_szB > 0); // map 0 to 1 in renew_block()
568 if (new_req_szB <= bk->req_szB) { in renew_block()
572 (Long)new_req_szB - (Long)bk->req_szB); in renew_block()
573 bk->req_szB = new_req_szB; in renew_block()
579 p_new = VG_(cli_malloc)(VG_(clo_alignment), new_req_szB); in renew_block()
599 (Long)new_req_szB - (Long)bk->req_szB); in renew_block()
601 bk->req_szB = new_req_szB; in renew_block()