Home | History | Annotate | Download | only in exp-sgcheck

Lines Matching refs:tid

286 static Seg* add_new_segment ( ThreadId tid, Addr p, SizeT size )
292 seg->ec = VG_(record_ExeContext)( tid, 0/*first_ip_delta*/ );
303 void* alloc_and_new_mem_heap ( ThreadId tid,
313 add_new_segment( tid, p, size );
319 static void die_and_free_mem_heap ( ThreadId tid, Seg* seg )
327 seg->ec = VG_(record_ExeContext)( tid, 0/*first_ip_delta*/ );
335 static void handle_free_heap( ThreadId tid, void* p )
342 die_and_free_mem_heap( tid, seg );
350 void* h_replace_malloc ( ThreadId tid, SizeT n )
352 return alloc_and_new_mem_heap ( tid, n, VG_(clo_alignment),
356 void* h_replace___builtin_new ( ThreadId tid, SizeT n )
358 return alloc_and_new_mem_heap ( tid, n, VG_(clo_alignment),
362 void* h_replace___builtin_vec_new ( ThreadId tid, SizeT n )
364 return alloc_and_new_mem_heap ( tid, n, VG_(clo_alignment),
368 void* h_replace_memalign ( ThreadId tid, SizeT align, SizeT n )
370 return alloc_and_new_mem_heap ( tid, n, align,
374 void* h_replace_calloc ( ThreadId tid, SizeT nmemb, SizeT size1 )
376 return alloc_and_new_mem_heap ( tid, nmemb*size1, VG_(clo_alignment),
380 void h_replace_free ( ThreadId tid, void* p )
395 handle_free_heap(tid, p);
398 void h_replace___builtin_delete ( ThreadId tid, void* p )
400 handle_free_heap(tid, p);
403 void h_replace___builtin_vec_delete ( ThreadId tid, void* p )
405 handle_free_heap(tid, p);
408 void* h_replace_realloc ( ThreadId tid, void* p_old, SizeT new_size )
425 die_and_free_mem_heap( tid, seg );
430 add_new_segment ( tid, p_new, new_size );
439 die_and_free_mem_heap( tid, seg );
446 add_new_segment ( tid, p_new, new_size );
452 SizeT h_replace_malloc_usable_size ( ThreadId tid, void* p )