/external/valgrind/helgrind/ |
libhb.h | 37 /* typedef struct _Thr Thr; */ /* now in hg_lock_n_thread.h */ 42 /* Initialise library; returns Thr* for root thread. 'shadow_alloc' 45 Thr* libhb_init ( 46 void (*get_stacktrace)( Thr*, Addr*, UWord ), 47 ExeContext* (*get_EC)( Thr* ) 54 /* Thread creation: returns Thr* for new thread */ 55 Thr* libhb_create ( Thr* parent ); 58 void libhb_async_exit ( Thr* exitter ); 59 void libhb_joinedwith_done ( Thr* exitter ) [all...] |
hg_lock_n_thread.h | 57 /* Thr, libhb's private thread record, exported abstractly. Thr's are 59 is a small integer which uniquely identifies a Thr and which is 60 used in ScalarTS because it is smaller than a Thr*. There is a 1-1 61 mapping between Thr's and ThrIDs. */ 62 typedef struct _Thr Thr; 86 Thr* hbthr; /* which in turn points back here .. */ 188 Bool HG_(is_sane_Thread) ( Thread* thr );
|
hg_errors.h | 54 void HG_(record_error_Race) ( Thread* thr, 67 Thr* thr_a, 81 void HG_(record_error_Misc) ( Thread* thr, const HChar* errstr );
|
libhb_core.c | 143 a pair, (Thr*, ULong), but that takes 16 bytes on a 64-bit target. 144 We pack it into 64 bits by representing the Thr* using a ThrID, a 171 NB3: this probably also relies on the fact that Thr's are never 173 Thr's to thrid values (set up in Thr__new) persists forever. 261 // data decls: Thr, ULong_n_EC // 305 /* A small integer giving a unique identity to this Thr. See 315 1-1 mapping between Thread and Thr structures -- each Thr points 316 at its corresponding Thread, and vice versa. Really, Thr and 361 static void (*main_get_stacktrace)( Thr*, Addr*, UWord ) = NULL 4016 Thr* thr = *(Thr**)VG_(indexXA)( thrid_to_thr_map, thrid - 1024 ); local 4023 Thr* thr = HG_(zalloc)( "libhb.Thr__new.1", sizeof(Thr) ); local 6222 Thr* thr; local [all...] |
hg_main.c | 170 ThreadId map_threads_maybe_reverse_lookup_SLOW ( Thread* thr ); /*fwds*/ 174 static Thread* mk_Thread ( Thr* hbthr ) { 248 /* Update 'lk' to reflect that 'thr' now has a write-acquisition of 251 static void lockN_acquire_writer ( Lock* lk, Thread* thr ) 254 tl_assert(HG_(is_sane_Thread)(thr)); 264 tid = map_threads_maybe_reverse_lookup_SLOW(thr); 279 VG_(addToBag)( lk->heldBy, (UWord)thr ); 288 /* assert: .. and that thread is 'thr'. */ 289 tl_assert(VG_(elemBag)(lk->heldBy, (UWord)thr) 291 VG_(addToBag)(lk->heldBy, (UWord)thr); 368 Thread* thr; local 509 Thread* thr; local 601 Thread* thr; local 662 Thread* thr; local 671 Thread* thr; local 705 Thread* thr; local 738 Thread *thr = map_threads_maybe_lookup(tid); local 889 Thread* thr; local 949 Thread* thr; local 1448 Thread* thr; local 1466 Thread *thr = get_current_Thread(); local 1478 Thread *thr = get_current_Thread(); local 1490 Thread *thr = get_current_Thread(); local 1503 Thread *thr = get_current_Thread(); local 1573 Thread *thr = get_current_Thread(); local 1713 Thread* thr; local 1816 Thread *thr = map_threads_lookup(tid); local 1850 Thread *thr = map_threads_lookup(tid); local 1870 Thread* thr; local 1914 Thread* thr = get_current_Thread_in_C_C(); local 1922 Thread* thr = get_current_Thread_in_C_C(); local 1930 Thread* thr = get_current_Thread_in_C_C(); local 1938 Thread* thr = get_current_Thread_in_C_C(); local 1946 Thread* thr = get_current_Thread_in_C_C(); local 1954 Thread* thr = get_current_Thread_in_C_C(); local 1962 Thread* thr = get_current_Thread_in_C_C(); local 1970 Thread* thr = get_current_Thread_in_C_C(); local 1978 Thread* thr = get_current_Thread_in_C_C(); local 1986 Thread* thr = get_current_Thread_in_C_C(); local 2019 Thread* thr; local 2078 Thread* thr; local 2119 Thread* thr; local 2137 Thread* thr; local 2151 Thread* thr; local 2172 Thread* thr; local 2303 Thread* thr; local 2348 Thread* thr; local 2424 Thread* thr; local 2495 Thread* thr; local 2588 Thread* thr; local 2639 Thread* thr; local 2664 Thread* thr; local 2684 Thread* thr; local 2698 Thread* thr; local 2829 Thread* thr; local 2876 Thread* thr; local 2904 Thread* thr; local 3004 Thread* thr; local 3058 Thread* thr; local 3179 Thread* thr; local 3222 Thread* thr; local 3342 Thread* thr; local 3367 Thread* thr; local 3415 Thread *thr = map_threads_maybe_lookup(tid); local 3435 Thread *thr = map_threads_maybe_lookup(tid); local 4111 Thread* thr; \/* allocating thread *\/ member in struct:__anon25910 5415 Thread* thr = map_threads_maybe_lookup( tid ); local 5450 Thread *thr = map_threads_maybe_lookup(tid); local 5459 Thread *thr = map_threads_maybe_lookup(tid); local 5710 Thread* thr; local 5727 Thread* thr; local [all...] |
hg_errors.c | 312 Thread* thr; member in struct:__anon25895::__anon25896::__anon25897 326 Thread* thr; /* doing the unlocking */ member in struct:__anon25895::__anon25896::__anon25898 330 Thread* thr; /* doing the unlocking */ member in struct:__anon25895::__anon25896::__anon25899 335 Thread* thr; /* doing the unlocking */ member in struct:__anon25895::__anon25896::__anon25900 339 Thread* thr; member in struct:__anon25895::__anon25896::__anon25901 345 Thread* thr; member in struct:__anon25895::__anon25896::__anon25902 361 Thread* thr; member in struct:__anon25895::__anon25896::__anon25903 406 tl_assert(xe->XE.Race.thr); 410 xe->XE.Race.thr->locksetW, 430 Thr* thrp = NULL 898 Thread* thr = get_admin_threads(); local [all...] |