/external/valgrind/coregrind/ |
H A D | m_threadstate.c | 56 ThreadId tid; local 62 for (tid = 1; tid < VG_N_THREADS; tid++) { 64 ANNOTATE_BENIGN_RACE_SIZED(&VG_(threads)[tid].status, 65 sizeof(VG_(threads)[tid].status), "")); 67 ANNOTATE_BENIGN_RACE_SIZED(&VG_(threads)[tid].os_state.exitcode, 68 sizeof(VG_(threads)[tid].os_state.exitcode), 97 ThreadState *VG_(get_ThreadState)(ThreadId tid) argument 99 vg_assert(tid > 119 is_running_thread(ThreadId tid) argument 130 is_exiting(ThreadId tid) argument 140 ThreadId tid; local 154 ThreadId tid; local 167 ThreadId tid; local [all...] |
H A D | pub_core_replacemalloc.h | 44 void* (*tl_malloc) (ThreadId tid, SizeT n); 45 void* (*tl___builtin_new) (ThreadId tid, SizeT n); 46 void* (*tl___builtin_vec_new) (ThreadId tid, SizeT n); 47 void* (*tl_memalign) (ThreadId tid, SizeT align, SizeT n); 48 void* (*tl_calloc) (ThreadId tid, SizeT nmemb, SizeT n); 49 void (*tl_free) (ThreadId tid, void* p); 50 void (*tl___builtin_delete) (ThreadId tid, void* p); 51 void (*tl___builtin_vec_delete)(ThreadId tid, void* p); 52 void* (*tl_realloc) (ThreadId tid, void* p, SizeT size); 53 SizeT (*tl_malloc_usable_size) (ThreadId tid, voi [all...] |
H A D | pub_core_coredump.h | 41 extern void VG_(make_coredump) ( ThreadId tid, const vki_siginfo_t *si,
|
H A D | pub_core_signals.h | 58 extern SysRes VG_(do_sys_sigaltstack) ( ThreadId tid, vki_stack_t* ss, 63 extern SysRes VG_(do_sys_sigprocmask) ( ThreadId tid, Int how, 68 ( ThreadId tid, /* OUT */ vki_sigset_t* saved_mask ); 75 extern void VG_(synth_fault) (ThreadId tid); 76 extern void VG_(synth_fault_mapping)(ThreadId tid, Addr addr); 77 extern void VG_(synth_fault_perms) (ThreadId tid, Addr addr); 78 extern void VG_(synth_sigill) (ThreadId tid, Addr addr); 79 extern void VG_(synth_sigtrap) (ThreadId tid); 80 extern void VG_(synth_sigbus) (ThreadId tid); 81 extern void VG_(synth_sigfpe) (ThreadId tid, UIn [all...] |
H A D | m_machine.c | 48 Addr VG_(get_IP) ( ThreadId tid ) { 49 return INSTR_PTR( VG_(threads)[tid].arch ); 51 Addr VG_(get_SP) ( ThreadId tid ) { 52 return STACK_PTR( VG_(threads)[tid].arch ); 54 Addr VG_(get_FP) ( ThreadId tid ) { 55 return FRAME_PTR( VG_(threads)[tid].arch ); 58 void VG_(set_IP) ( ThreadId tid, Addr ip ) { argument 59 INSTR_PTR( VG_(threads)[tid].arch ) = ip; 61 void VG_(set_SP) ( ThreadId tid, Addr sp ) { argument 62 STACK_PTR( VG_(threads)[tid] 142 get_shadow_regs_area( ThreadId tid, UChar* dst, Int shadowNo, PtrdiffT offset, SizeT size ) argument 166 set_shadow_regs_area( ThreadId tid, Int shadowNo, PtrdiffT offset, SizeT size, const UChar* src ) argument 190 apply_to_GPs_of_tid(ThreadId tid, void (*f)(ThreadId, const HChar*, Addr)) argument 418 ThreadId tid; local 430 thread_stack_reset_iter( ThreadId* tid) argument 435 thread_stack_next( ThreadId* tid, Addr* stack_min, Addr* stack_max) argument 453 thread_get_stack_max(ThreadId tid) argument 460 thread_get_stack_size(ThreadId tid) argument 467 thread_get_altstack_min(ThreadId tid) argument 474 thread_get_altstack_size(ThreadId tid) argument [all...] |
H A D | pub_core_syswrap.h | 45 extern void VG_(main_thread_wrapper_NORETURN)(ThreadId tid); 47 extern void VG_(client_syscall) ( ThreadId tid, UInt trc ); 49 extern void VG_(post_syscall) ( ThreadId tid ); 51 /* Clear this module's private state for thread 'tid' */ 52 extern void VG_(clear_syscallInfo) ( Int tid ); 55 extern Bool VG_(is_in_syscall) ( Int tid ); 59 ThreadId tid, 68 extern Bool VG_(is_ip_in_blocking_syscall)(ThreadId tid, Addr ip); 91 extern void VG_(save_context)(ThreadId tid, vki_ucontext_t *uc, 93 extern void VG_(restore_context)(ThreadId tid, vki_ucontext_ [all...] |
H A D | pub_core_scheduler.h | 46 /* A thread exits. tid must currently be running. */ 47 extern void VG_(exit_thread)(ThreadId tid); 49 /* If 'tid' is blocked in a syscall, send it SIGVGKILL so as to get it 52 extern void VG_(get_thread_out_of_syscall)(ThreadId tid); 54 /* Nuke all threads except tid. */ 61 the CPU lock. By the time it returns, tid will be the running 63 extern void VG_(acquire_BigLock) ( ThreadId tid, const HChar* who ); 78 extern void VG_(release_BigLock) ( ThreadId tid, 85 extern Bool VG_(owns_BigLock_LL) ( ThreadId tid ); 92 extern VgSchedReturnCode VG_(scheduler) ( ThreadId tid ); [all...] |
H A D | pub_core_sigframe.h | 49 /* Create a signal frame for thread 'tid'. */ 51 void VG_(sigframe_create) ( ThreadId tid, 61 /* Remove a signal frame from thread 'tid's stack, and 64 void VG_(sigframe_destroy)( ThreadId tid, Bool isRT ); 68 void VG_(sigframe_return)(ThreadId tid, const vki_ucontext_t *uc);
|
/external/ltp/lib/newlib_tests/ |
H A D | test01.c | 33 .tid = "test01",
|
H A D | test03.c | 31 .tid = "test02",
|
H A D | test10.c | 30 .tid = "test10",
|
H A D | test12.c | 29 .tid = "test12",
|
/external/valgrind/coregrind/m_coredump/ |
H A D | coredump-macho.c | 38 void VG_(make_coredump)(ThreadId tid, const vki_siginfo_t *si, ULong max_size) argument
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_delete/speculative/ |
H A D | 5-1.c | 22 timer_t tid; local 24 tid = (timer_t) & tval; 26 if (timer_delete(tid) == -1) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_getoverrun/speculative/ |
H A D | 6-1.c | 22 timer_t tid; local 24 tid = (timer_t) & tval; 26 if (timer_getoverrun(tid) == -1) {
|
H A D | 6-3.c | 27 timer_t tid; local 32 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) { 37 if (timer_getoverrun(tid + 1) == -1) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_gettime/speculative/ |
H A D | 6-1.c | 22 timer_t tid; local 25 tid = (timer_t) & tval; 26 if (timer_gettime(tid, &its) == -1) {
|
H A D | 6-2.c | 25 timer_t tid; local 31 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) { 36 if (timer_gettime(tid + 1, &its) == -1) {
|
/external/valgrind/drd/tests/ |
H A D | annotate_hb_race.c | 31 pthread_t tid[2]; local 35 pthread_create(&tid[0], 0, thread_func, &result[0]); 36 pthread_create(&tid[1], 0, thread_func, &result[1]); 42 pthread_join(tid[0], NULL); 43 pthread_join(tid[1], NULL);
|
H A D | pth_cancel_locked.c | 27 pthread_t tid; local 36 pthread_create(&tid, 0, &thread, 0); 43 pthread_cancel(tid); 46 pthread_join(tid, 0); 49 pthread_cancel(tid);
|
/external/valgrind/drd/ |
H A D | drd_thread.h | 146 DrdThreadId DRD_(VgThreadIdToDrdThreadId)(const ThreadId tid); 147 DrdThreadId DRD_(NewVgThreadIdToDrdThreadId)(const ThreadId tid); 148 DrdThreadId DRD_(PtThreadIdToDrdThreadId)(const PThreadId tid); 149 ThreadId DRD_(DrdThreadIdToVgThreadId)(const DrdThreadId tid); 154 void DRD_(thread_delete)(const DrdThreadId tid, Bool detached); 155 void DRD_(thread_finished)(const DrdThreadId tid); 156 void DRD_(drd_thread_atfork_child)(const DrdThreadId tid); 157 void DRD_(thread_pre_cancel)(const DrdThreadId tid); 158 void DRD_(thread_set_stack_startup)(const DrdThreadId tid, 160 Addr DRD_(thread_get_stack_min)(const DrdThreadId tid); 231 IsValidDrdThreadId(const DrdThreadId tid) argument 302 thread_set_stack_min(const DrdThreadId tid, const Addr stack_min) argument 357 thread_get_segment(const DrdThreadId tid) argument [all...] |
H A D | drd_thread.c | 48 static void thread_append_segment(const DrdThreadId tid, Segment* const sg); 49 static void thread_discard_segment(const DrdThreadId tid, Segment* const sg); 51 const DrdThreadId tid); 52 static Bool thread_conflict_set_up_to_date(const DrdThreadId tid); 164 DrdThreadId DRD_(VgThreadIdToDrdThreadId)(const ThreadId tid) argument 168 if (tid == VG_INVALID_THREADID) 174 && DRD_(g_threadinfo)[i].vg_threadid == tid) 184 static DrdThreadId DRD_(VgThreadIdToNewDrdThreadId)(const ThreadId tid) argument 188 tl_assert(DRD_(VgThreadIdToDrdThreadId)(tid) == DRD_INVALID_THREADID); 198 DRD_(g_threadinfo)[i].vg_threadid = tid; 235 PtThreadIdToDrdThreadId(const PThreadId tid) argument 254 DrdThreadIdToVgThreadId(const DrdThreadId tid) argument 363 thread_delayed_delete(const DrdThreadId tid) argument 442 thread_set_stack_startup(const DrdThreadId tid, const Addr stack_startup) argument 453 thread_get_stack_min(const DrdThreadId tid) argument 464 thread_get_stack_min_min(const DrdThreadId tid) argument 472 thread_get_stack_max(const DrdThreadId tid) argument 480 thread_get_stack_size(const DrdThreadId tid) argument 487 thread_get_on_alt_stack(const DrdThreadId tid) argument 494 thread_set_on_alt_stack(const DrdThreadId tid, const Bool on_alt_stack) argument 515 thread_delete(const DrdThreadId tid, const Bool detached) argument 547 thread_finished(const DrdThreadId tid) argument 573 drd_thread_atfork_child(const DrdThreadId tid) argument 591 thread_pre_cancel(const DrdThreadId tid) argument 609 thread_set_pthreadid(const DrdThreadId tid, const PThreadId ptid) argument 628 thread_get_joinable(const DrdThreadId tid) argument 642 thread_set_joinable(const DrdThreadId tid, const Bool joinable) argument 653 thread_entering_pthread_create(const DrdThreadId tid) argument 669 thread_left_pthread_create(const DrdThreadId tid) argument 686 thread_entering_rtld_bind_guard(const DrdThreadId tid, int flags) argument 702 thread_leaving_rtld_bind_clear(const DrdThreadId tid, int flags) argument 716 thread_get_name(const DrdThreadId tid) argument 725 thread_set_name(const DrdThreadId tid, const HChar* const name) argument 796 thread_enter_synchr(const DrdThreadId tid) argument 806 thread_leave_synchr(const DrdThreadId tid) argument 814 thread_get_synchr_nesting_count(const DrdThreadId tid) argument 822 thread_append_segment(const DrdThreadId tid, Segment* const sg) argument 850 thread_discard_segment(const DrdThreadId tid, Segment* const sg) argument 878 thread_get_vc(const DrdThreadId tid) argument 892 thread_get_latest_segment(Segment** sg, const DrdThreadId tid) argument 1032 thread_consistent_segment_ordering(const DrdThreadId tid, Segment* const sg1, Segment* const sg2) argument 1124 thread_new_segment(const DrdThreadId tid) argument 1204 thread_combine_vc_sync(DrdThreadId tid, const Segment* sg) argument 1246 thread_new_segment_and_combine_vc(DrdThreadId tid, const Segment* sg) argument 1281 thread_set_record_loads(const DrdThreadId tid, const Bool enabled) argument 1291 thread_set_record_stores(const DrdThreadId tid, const Bool enabled) argument 1331 show_call_stack(const DrdThreadId tid, ExeContext* const callstack) argument 1349 thread_report_conflicting_segments_segment(const DrdThreadId tid, const Addr addr, const SizeT size, const BmAccessTypeT access_type, const Segment* const p) argument 1404 thread_report_conflicting_segments(const DrdThreadId tid, const Addr addr, const SizeT size, const BmAccessTypeT access_type) argument 1425 thread_conflict_set_up_to_date(const DrdThreadId tid) argument 1453 thread_compute_conflict_set(struct bitmap** conflict_set, const DrdThreadId tid) argument 1548 thread_update_conflict_set(const DrdThreadId tid, const VectorClock* const old_vc) argument [all...] |
H A D | drd_error.h | 102 DrdThreadId tid; // Thread ID of the running thread. member in struct:__anon23261 109 DrdThreadId tid; member in struct:__anon23262 116 DrdThreadId tid; member in struct:__anon23263 121 DrdThreadId tid; member in struct:__anon23264 128 DrdThreadId tid; member in struct:__anon23265 134 DrdThreadId tid; member in struct:__anon23266 141 DrdThreadId tid; member in struct:__anon23267 146 DrdThreadId tid; member in struct:__anon23268 153 DrdThreadId tid; member in struct:__anon23269 158 DrdThreadId tid; member in struct:__anon23270 166 DrdThreadId tid; member in struct:__anon23271 171 DrdThreadId tid; member in struct:__anon23272 176 DrdThreadId tid; member in struct:__anon23273 [all...] |
/external/valgrind/exp-sgcheck/ |
H A D | h_main.h | 59 void* h_replace_malloc ( ThreadId tid, SizeT n ); 60 void* h_replace___builtin_new ( ThreadId tid, SizeT n ); 61 void* h_replace___builtin_vec_new ( ThreadId tid, SizeT n ); 62 void* h_replace_memalign ( ThreadId tid, SizeT align, SizeT n ); 63 void* h_replace_calloc ( ThreadId tid, SizeT nmemb, SizeT size1 ); 64 void h_replace_free ( ThreadId tid, void* p ); 65 void h_replace___builtin_delete ( ThreadId tid, void* p ); 66 void h_replace___builtin_vec_delete ( ThreadId tid, void* p ); 67 void* h_replace_realloc ( ThreadId tid, void* p_old, SizeT new_size ); 68 SizeT h_replace_malloc_usable_size ( ThreadId tid, voi [all...] |
/external/compiler-rt/test/tsan/ |
H A D | bench_release_only.cc | 12 void thread(int tid) { argument 13 __atomic_load_n(&x[tid * kStride], __ATOMIC_ACQUIRE); 15 __atomic_store_n(&x[tid * kStride], 0, __ATOMIC_RELEASE);
|