Lines Matching refs:HG_
59 ULong HG_(stats__string_table_queries) = 0;
61 ULong HG_(stats__string_table_get_map_size) ( void ) { in HG_() function
71 HG_(stats__string_table_queries)++; in string_table_strdup()
75 string_table = VG_(newFM)( HG_(zalloc), "hg.sts.1", in string_table_strdup()
76 HG_(free), string_table_cmp ); in string_table_strdup()
85 copy = HG_(strdup)("hg.sts.2", str); in string_table_strdup()
96 ULong HG_(stats__LockN_to_P_queries) = 0;
98 ULong HG_(stats__LockN_to_P_get_map_size) ( void ) { in HG_() function
106 tl_assert( HG_(is_sane_LockNorP)(lk1) ); in lock_unique_cmp()
107 tl_assert( HG_(is_sane_LockNorP)(lk2) ); in lock_unique_cmp()
140 HG_(stats__LockN_to_P_queries)++; in mk_LockP_from_LockN()
147 Lock* lock_list = HG_(get_admin_locks)(); in mk_LockP_from_LockN()
161 tl_assert( HG_(is_sane_LockN)(lkn) ); in mk_LockP_from_LockN()
164 map_LockN_to_P = VG_(newFM)( HG_(zalloc), "hg.mLPfLN.1", in mk_LockP_from_LockN()
165 HG_(free), lock_unique_cmp ); in mk_LockP_from_LockN()
169 lkp = HG_(zalloc)( "hg.mLPfLN.2", sizeof(Lock) ); in mk_LockP_from_LockN()
183 tl_assert( HG_(is_sane_LockP)(lkp) ); in mk_LockP_from_LockN()
199 tl_assert( HG_(plausibleWS)(univ_lsets, lockset) ); in enumerate_WordSet_into_LockP_vector()
200 UWord nLocks = HG_(cardinalityWS)(univ_lsets, lockset); in enumerate_WordSet_into_LockP_vector()
201 Lock** lockPs = HG_(zalloc)( "hg.eWSiLPa", in enumerate_WordSet_into_LockP_vector()
210 HG_(getPayloadWS)( &lockNs, &nLockNs, univ_lsets, lockset ); in enumerate_WordSet_into_LockP_vector()
382 UInt HG_(update_extra) ( Error* err ) in HG_() function
399 HG_(get_univ_lsets)(), in HG_()
424 = HG_(mm_find_containing_block)( in HG_()
435 = VG_(newXA)( HG_(zalloc), "hg.update_extra.Race.descr1", in HG_()
436 HG_(free), sizeof(HChar) ); in HG_()
438 = VG_(newXA)( HG_(zalloc), "hg.update_extra.Race.descr2", in HG_()
439 HG_(free), sizeof(HChar) ); in HG_()
464 if (HG_(clo_history_level) >= 2) { in HG_()
490 HG_(get_univ_lsets)(), in HG_()
504 void HG_(record_error_Race) ( Thread* thr, in HG_() function
511 tl_assert( HG_(is_sane_Thread)(thr) ); in HG_()
553 tl_assert( HG_(is_sane_ThreadId)(thr->coretid) ); in HG_()
564 void HG_(record_error_UnlockUnlocked) ( Thread* thr, Lock* lk ) in HG_() function
567 tl_assert( HG_(is_sane_Thread)(thr) ); in HG_()
568 tl_assert( HG_(is_sane_LockN)(lk) ); in HG_()
576 tl_assert( HG_(is_sane_ThreadId)(thr->coretid) ); in HG_()
582 void HG_(record_error_UnlockForeign) ( Thread* thr, in HG_() function
586 tl_assert( HG_(is_sane_Thread)(thr) ); in HG_()
587 tl_assert( HG_(is_sane_Thread)(owner) ); in HG_()
588 tl_assert( HG_(is_sane_LockN)(lk) ); in HG_()
596 tl_assert( HG_(is_sane_ThreadId)(thr->coretid) ); in HG_()
602 void HG_(record_error_UnlockBogus) ( Thread* thr, Addr lock_ga ) in HG_() function
605 tl_assert( HG_(is_sane_Thread)(thr) ); in HG_()
611 tl_assert( HG_(is_sane_ThreadId)(thr->coretid) ); in HG_()
617 void HG_(record_error_LockOrder)( in HG_() function
627 tl_assert( HG_(is_sane_Thread)(thr) ); in HG_()
628 tl_assert(HG_(clo_track_lockorders)); in HG_()
638 tl_assert( HG_(is_sane_ThreadId)(thr->coretid) ); in HG_()
644 void HG_(record_error_PthAPIerror) ( Thread* thr, HChar* fnname, in HG_() function
648 tl_assert( HG_(is_sane_Thread)(thr) ); in HG_()
658 tl_assert( HG_(is_sane_ThreadId)(thr->coretid) ); in HG_()
664 void HG_(record_error_Misc_w_aux) ( Thread* thr, HChar* errstr, in HG_() function
668 tl_assert( HG_(is_sane_Thread)(thr) ); in HG_()
677 tl_assert( HG_(is_sane_ThreadId)(thr->coretid) ); in HG_()
683 void HG_(record_error_Misc) ( Thread* thr, HChar* errstr ) in HG_() function
685 HG_(record_error_Misc_w_aux)(thr, errstr, NULL, NULL); in HG_()
688 Bool HG_(eq_Error) ( VgRes not_used, Error* e1, Error* e2 ) in HG_() function
703 && (HG_(clo_cmp_race_err_addrs) in HG_()
767 tl_assert(HG_(is_sane_Thread)(thr)); in announce_one_thread()
886 void HG_(before_pp_Error) ( Error* err ) in HG_() function
925 void HG_(pp_Error) ( Error* err ) in HG_() function
939 emit( " <kind>%s</kind>\n", HG_(get_error_name)(err)); in HG_()
944 tl_assert( HG_(is_sane_Thread)( xe->XE.Misc.thr ) ); in HG_()
979 tl_assert( HG_(is_sane_Thread)( xe->XE.LockOrder.thr ) ); in HG_()
1043 tl_assert( HG_(is_sane_Thread)( xe->XE.PthAPIerror.thr ) ); in HG_()
1074 tl_assert( HG_(is_sane_Thread)( xe->XE.UnlockBogus.thr ) ); in HG_()
1101 tl_assert( HG_(is_sane_LockP)( xe->XE.UnlockForeign.lock ) ); in HG_()
1102 tl_assert( HG_(is_sane_Thread)( xe->XE.UnlockForeign.owner ) ); in HG_()
1103 tl_assert( HG_(is_sane_Thread)( xe->XE.UnlockForeign.thr ) ); in HG_()
1146 tl_assert( HG_(is_sane_LockP)( xe->XE.UnlockUnlocked.lock ) ); in HG_()
1147 tl_assert( HG_(is_sane_Thread)( xe->XE.UnlockUnlocked.thr ) ); in HG_()
1191 tl_assert( HG_(is_sane_Thread)( xe->XE.Race.thr )); in HG_()
1193 tl_assert( HG_(is_sane_Thread)( xe->XE.Race.h2_ct )); in HG_()
1336 Char* HG_(get_error_name) ( Error* err ) in HG_() function
1350 Bool HG_(recognised_suppression) ( Char* name, Supp *su ) in HG_() function
1369 Bool HG_(read_extra_suppression_info) ( Int fd, Char** bufpp, SizeT* nBufp, in HG_() function
1377 Bool HG_(error_matches_suppression) ( Error* err, Supp* su ) in HG_() function
1392 Bool HG_(get_extra_suppression_info) ( Error* err, in HG_() function