Searched refs:p_old (Results 1 – 7 of 7) sorted by relevance
/external/valgrind/main/drd/ |
D | drd_malloc_wrappers.c | 179 static void* drd_realloc(ThreadId tid, void* p_old, SizeT new_size) in drd_realloc() argument 185 if (! p_old) in drd_realloc() 190 drd_free(tid, p_old); in drd_realloc() 198 mc = VG_(HT_lookup)(s_malloc_list, (UWord)p_old); in drd_realloc() 211 p_new = p_old; in drd_realloc() 219 p_new = p_old; in drd_realloc() 229 VG_(memcpy)(p_new, p_old, mc->size); in drd_realloc() 232 VG_(cli_free)(p_old); in drd_realloc() 235 VG_(HT_remove)(s_malloc_list, (UWord)p_old); in drd_realloc()
|
/external/valgrind/main/exp-dhat/ |
D | dh_main.c | 538 void* renew_block ( ThreadId tid, void* p_old, SizeT new_req_szB ) in renew_block() argument 540 if (0) VG_(printf)("REALL %p %ld\n", p_old, new_req_szB); in renew_block() 546 Block* bk = find_Block_containing( (Addr)p_old ); in renew_block() 553 tl_assert(bk->payload <= (Addr)p_old); in renew_block() 554 tl_assert( (Addr)p_old < bk->payload + bk->req_szB ); in renew_block() 556 if (bk->payload != (Addr)p_old) { in renew_block() 574 return p_old; in renew_block() 585 tl_assert(p_new != p_old); in renew_block() 587 VG_(memcpy)(p_new, p_old, bk->req_szB); in renew_block() 588 VG_(cli_free)(p_old); in renew_block() [all …]
|
/external/valgrind/main/memcheck/ |
D | mc_malloc_wrappers.c | 387 void* MC_(realloc) ( ThreadId tid, void* p_old, SizeT new_szB ) in MC_() 401 mc = VG_(HT_remove) ( MC_(malloc_list), (UWord)p_old ); in MC_() 403 MC_(record_free_error) ( tid, (Addr)p_old ); in MC_() 411 tl_assert((Addr)p_old == mc->data); in MC_() 441 MC_(copy_address_range_state) ( (Addr)p_old, a_new, new_szB ); in MC_() 445 VG_(memcpy)((void*)a_new, p_old, new_szB); in MC_() 450 VG_(memset)((void*)p_old, MC_(clo_free_fill), old_szB); in MC_() 484 MC_(copy_address_range_state) ( (Addr)p_old, a_new, mc->szB ); in MC_() 498 VG_(memcpy)((void*)a_new, p_old, mc->szB); in MC_() 503 VG_(memset)((void*)p_old, MC_(clo_free_fill), old_szB); in MC_()
|
/external/valgrind/main/exp-sgcheck/ |
D | h_main.c | 408 void* h_replace_realloc ( ThreadId tid, void* p_old, SizeT new_size ) in h_replace_realloc() argument 413 seg = find_Seg_by_addr( (Addr)p_old ); in h_replace_realloc() 417 tl_assert(seg->addr == (Addr)p_old); in h_replace_realloc() 422 VG_(memcpy)((void*)p_new, p_old, new_size); in h_replace_realloc() 436 VG_(memcpy)((void*)p_new, p_old, seg->szB); in h_replace_realloc()
|
D | h_main.h | 67 void* h_replace_realloc ( ThreadId tid, void* p_old, SizeT new_size );
|
/external/stlport/test/unit/ |
D | money_facets_test.cpp | 106 string::size_type p_old = strlen( rl.money_int_prefix_old ); in _money_put_get2() local 108 ((p_old != 0) && in _money_put_get2() 109 (str_res.substr(index, p_old) == rl.money_int_prefix_old)) ); in _money_put_get2() 113 index += p_old; in _money_put_get2()
|
/external/valgrind/main/massif/ |
D | ms_main.c | 1661 void* realloc_block ( ThreadId tid, void* p_old, SizeT new_req_szB ) in realloc_block() argument 1670 hc = VG_(HT_remove)(malloc_list, (UWord)p_old); in realloc_block() 1700 p_new = p_old; in realloc_block() 1711 VG_(memcpy)(p_new, p_old, old_req_szB + old_slop_szB); in realloc_block() 1712 VG_(cli_free)(p_old); in realloc_block() 1818 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()
|