/external/valgrind/coregrind/ |
D | pub_core_tooliface.h | 144 Bool (*tool_handle_client_request)(ThreadId, UWord*, UWord*); 147 void (*tool_pre_syscall) (ThreadId, UInt, UWord*, UInt); 148 void (*tool_post_syscall)(ThreadId, UInt, UWord*, UInt, SysRes); 161 void* (*tool_malloc) (ThreadId, SizeT); 162 void* (*tool___builtin_new) (ThreadId, SizeT); 163 void* (*tool___builtin_vec_new) (ThreadId, SizeT); 164 void* (*tool_memalign) (ThreadId, SizeT, SizeT); 165 void* (*tool_calloc) (ThreadId, SizeT, SizeT); 166 void (*tool_free) (ThreadId, void*); 167 void (*tool___builtin_delete) (ThreadId, void*); [all …]
|
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, void* payload); [all …]
|
D | pub_core_signals.h | 55 extern void VG_(poll_signals) ( ThreadId ); 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); [all …]
|
D | pub_core_scheduler.h | 44 extern ThreadId VG_(alloc_ThreadState)(void); 47 extern void VG_(exit_thread)(ThreadId tid); 52 extern void VG_(get_thread_out_of_syscall)(ThreadId tid); 55 extern void VG_(nuke_all_threads_except) ( ThreadId me, 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 ); 96 extern ThreadId VG_(scheduler_init_phase1) ( void ); 101 extern void VG_(scheduler_init_phase2) ( ThreadId main_tid,
|
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 ); 59 ThreadId tid, 68 extern Bool VG_(is_ip_in_blocking_syscall)(ThreadId tid, Addr ip); 72 extern void VG_(reap_threads)(ThreadId self); 88 (ThreadId,VgSchedReturnCode); 91 extern void VG_(save_context)(ThreadId tid, vki_ucontext_t *uc, 93 extern void VG_(restore_context)(ThreadId tid, vki_ucontext_t *uc, 98 extern void VG_(track_client_dataseg)(ThreadId tid);
|
D | m_tooliface.c | 273 static Bool (*tool_handle_client_request_func)(ThreadId, UWord *, UWord *); 275 static Bool wrap_tool_handle_client_request(ThreadId tid, UWord *arg1, in wrap_tool_handle_client_request() 286 Bool (*handle)(ThreadId, UWord*, UWord*) in VG_() 296 void(*pre) (ThreadId, UInt, UWord*, UInt), in VG_() 297 void(*post)(ThreadId, UInt, UWord*, UInt, SysRes res) in VG_() 332 void* (*malloc) ( ThreadId, SizeT ), in VG_() 333 void* (*__builtin_new) ( ThreadId, SizeT ), in VG_() 334 void* (*__builtin_vec_new) ( ThreadId, SizeT ), in VG_() 335 void* (*memalign) ( ThreadId, SizeT, SizeT ), in VG_() 336 void* (*calloc) ( ThreadId, SizeT, SizeT ), in VG_() [all …]
|
D | m_threadstate.c | 45 ThreadId VG_(running_tid) = VG_INVALID_THREADID; 56 ThreadId tid; in VG_() 97 ThreadState *VG_(get_ThreadState)(ThreadId tid) in VG_() 104 Bool VG_(is_valid_tid) ( ThreadId tid ) in VG_() 114 ThreadId VG_(get_running_tid)(void) in VG_() 119 Bool VG_(is_running_thread)(ThreadId tid) in VG_() 130 inline Bool VG_(is_exiting)(ThreadId tid) in VG_() 140 ThreadId tid; in VG_() 154 ThreadId tid; in VG_() 165 ThreadId VG_(lwpid_to_vgtid)(Int lwp) in VG_() [all …]
|
D | pub_core_threadstate.h | 126 ThreadId parent; // parent tid (if any) 138 void (*post_mach_trap_fn)(ThreadId tid, 331 ThreadId tid; 419 extern ThreadId VG_(running_tid); 436 extern ThreadState *VG_(get_ThreadState) ( ThreadId tid ); 439 extern Bool VG_(is_valid_tid) ( ThreadId tid ); 442 extern Bool VG_(is_running_thread)(ThreadId tid); 445 extern Bool VG_(is_exiting)(ThreadId tid); 455 extern ThreadId VG_(lwpid_to_vgtid)(Int lwpid);
|
D | pub_core_gdbserver.h | 46 void VG_(gdbserver_prerun_action) (ThreadId tid); 58 extern Bool VG_(gdbserver_activity) (ThreadId tid); 63 void VG_(gdbserver_exit) (ThreadId tid, VgSchedReturnCode tids_schedretcode); 113 extern Bool VG_(gdbserver_report_signal) (vki_siginfo_t *info, ThreadId tid); 120 ThreadId tid);
|
D | pub_core_sigframe.h | 51 void VG_(sigframe_create) ( ThreadId tid, 64 void VG_(sigframe_destroy)( ThreadId tid, Bool isRT ); 68 void VG_(sigframe_return)(ThreadId tid, const vki_ucontext_t *uc);
|
/external/valgrind/include/ |
D | pub_tool_tooliface.h | 69 ThreadId tid; /* tid requesting translation */ 422 Bool (*handle_client_request)(ThreadId tid, UWord* arg_block, UWord* ret) 437 void (* pre_syscall)(ThreadId tid, UInt syscallno, 439 void (*post_syscall)(ThreadId tid, UInt syscallno, 474 void* (*pmalloc) ( ThreadId tid, SizeT n ), 475 void* (*p__builtin_new) ( ThreadId tid, SizeT n ), 476 void* (*p__builtin_vec_new) ( ThreadId tid, SizeT n ), 477 void* (*pmemalign) ( ThreadId tid, SizeT align, SizeT n ), 478 void* (*pcalloc) ( ThreadId tid, SizeT nmemb, SizeT size1 ), 479 void (*pfree) ( ThreadId tid, void* p ), [all …]
|
D | pub_tool_machine.h | 120 Addr VG_(get_IP) ( ThreadId tid ); 121 Addr VG_(get_SP) ( ThreadId tid ); 131 VG_(get_shadow_regs_area) ( ThreadId tid, 135 VG_(set_shadow_regs_area) ( ThreadId tid, 144 extern void VG_(apply_to_GP_regs)(void (*f)(ThreadId tid, 150 extern void VG_(thread_stack_reset_iter) ( /*OUT*/ThreadId* tid ); 154 extern Bool VG_(thread_stack_next) ( /*MOD*/ThreadId* tid, 160 extern Addr VG_(thread_get_stack_max) ( ThreadId tid ); 163 extern SizeT VG_(thread_get_stack_size) ( ThreadId tid ); 167 extern Addr VG_(thread_get_altstack_min) ( ThreadId tid ); [all …]
|
/external/valgrind/exp-sgcheck/ |
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, void* p );
|
D | h_main.c | 286 static Seg* add_new_segment ( ThreadId tid, Addr p, SizeT size ) in add_new_segment() 303 void* alloc_and_new_mem_heap ( ThreadId tid, in alloc_and_new_mem_heap() 319 static void die_and_free_mem_heap ( ThreadId tid, Seg* seg ) in die_and_free_mem_heap() 335 static void handle_free_heap( ThreadId tid, void* p ) in handle_free_heap() 350 void* h_replace_malloc ( ThreadId tid, SizeT n ) in h_replace_malloc() 356 void* h_replace___builtin_new ( ThreadId tid, SizeT n ) in h_replace___builtin_new() 362 void* h_replace___builtin_vec_new ( ThreadId tid, SizeT n ) in h_replace___builtin_vec_new() 368 void* h_replace_memalign ( ThreadId tid, SizeT align, SizeT n ) in h_replace_memalign() 374 void* h_replace_calloc ( ThreadId tid, SizeT nmemb, SizeT size1 ) in h_replace_calloc() 380 void h_replace_free ( ThreadId tid, void* p ) in h_replace_free() [all …]
|
/external/valgrind/memcheck/ |
D | mc_include.h | 83 void MC_(set_allocated_at) (ThreadId, MC_Chunk*); 84 void MC_(set_freed_at) (ThreadId, MC_Chunk*); 101 void* MC_(new_block) ( ThreadId tid, 105 void MC_(handle_free) ( ThreadId tid, 110 void MC_(mempool_alloc) ( ThreadId tid, Addr pool, 146 void* MC_(malloc) ( ThreadId tid, SizeT n ); 147 void* MC_(__builtin_new) ( ThreadId tid, SizeT n ); 148 void* MC_(__builtin_vec_new) ( ThreadId tid, SizeT n ); 149 void* MC_(memalign) ( ThreadId tid, SizeT align, SizeT n ); 150 void* MC_(calloc) ( ThreadId tid, SizeT nmemb, SizeT size1 ); [all …]
|
D | mc_malloc_wrappers.c | 78 MC_Chunk* create_MC_Chunk ( ThreadId tid, Addr p, SizeT szB, 190 MC_Chunk* create_MC_Chunk ( ThreadId tid, Addr p, SizeT szB, in create_MC_Chunk() 295 void MC_(set_allocated_at) (ThreadId tid, MC_Chunk* mc) in MC_() 308 void MC_(set_freed_at) (ThreadId tid, MC_Chunk* mc) in MC_() 339 void* MC_(new_block) ( ThreadId tid, in MC_() 380 void* MC_(malloc) ( ThreadId tid, SizeT n ) in MC_() 390 void* MC_(__builtin_new) ( ThreadId tid, SizeT n ) in MC_() 400 void* MC_(__builtin_vec_new) ( ThreadId tid, SizeT n ) in MC_() 410 void* MC_(memalign) ( ThreadId tid, SizeT alignB, SizeT n ) in MC_() 420 void* MC_(calloc) ( ThreadId tid, SizeT nmemb, SizeT size1 ) in MC_() [all …]
|
/external/v8/src/ |
D | v8threads.h | 25 void set_id(ThreadId id) { id_ = id; } in set_id() 26 ThreadId id() { return id_; } in id() 43 ThreadId id_; 82 return mutex_owner_.Equals(ThreadId::Current()); in IsLockedByCurrentThread() 85 ThreadId CurrentId(); 87 void TerminateExecution(ThreadId thread_id); 102 ThreadId mutex_owner_; 103 ThreadId lazily_archived_thread_;
|
D | v8threads.cc | 103 if (lazily_archived_thread_.Equals(ThreadId::Current())) { in RestoreThread() 104 lazily_archived_thread_ = ThreadId::Invalid(); in RestoreThread() 109 lazily_archived_thread_state_->set_id(ThreadId::Invalid()); in RestoreThread() 146 state->set_id(ThreadId::Invalid()); in RestoreThread() 155 mutex_owner_ = ThreadId::Current(); in Lock() 161 mutex_owner_ = ThreadId::Invalid(); in Unlock() 178 : id_(ThreadId::Invalid()), in ThreadState() 241 : mutex_owner_(ThreadId::Invalid()), in ThreadManager() 242 lazily_archived_thread_(ThreadId::Invalid()), in ThreadManager() 269 DCHECK(lazily_archived_thread_.Equals(ThreadId::Invalid())); in ArchiveThread() [all …]
|
/external/valgrind/drd/ |
D | drd_malloc_wrappers.c | 70 static void* new_block(ThreadId tid, SizeT size, SizeT align, Bool is_zeroed) in new_block() 89 void DRD_(malloclike_block)(const ThreadId tid, const Addr p, const SizeT size) in DRD_() 109 static void handle_free(ThreadId tid, void* p) in handle_free() 122 Bool DRD_(freelike_block)(const ThreadId tid, const Addr p, const Bool dealloc) in DRD_() 146 static void* drd_malloc(ThreadId tid, SizeT n) in drd_malloc() 152 static void* drd_memalign(ThreadId tid, SizeT align, SizeT n) in drd_memalign() 158 static void* drd_calloc(ThreadId tid, SizeT nmemb, SizeT size1) in drd_calloc() 165 static void drd_free(ThreadId tid, void* p) in drd_free() 178 static void* drd_realloc(ThreadId tid, void* p_old, SizeT new_size) in drd_realloc() 253 static void* drd___builtin_new(ThreadId tid, SizeT n) in drd___builtin_new() [all …]
|
D | drd_thread.h | 71 ThreadId vg_threadid; /**< Valgrind thread ID. */ 146 DrdThreadId DRD_(VgThreadIdToDrdThreadId)(const ThreadId tid); 147 DrdThreadId DRD_(NewVgThreadIdToDrdThreadId)(const ThreadId tid); 149 ThreadId DRD_(DrdThreadIdToVgThreadId)(const DrdThreadId tid); 151 const ThreadId vg_created); 152 DrdThreadId DRD_(thread_post_create)(const ThreadId vg_created); 179 void DRD_(thread_set_vg_running_tid)(const ThreadId vg_tid); 180 void DRD_(thread_set_running_tid)(const ThreadId vg_tid,
|
D | drd_main.c | 281 const ThreadId tid, in drd_pre_mem_read() 294 const ThreadId tid, in drd_pre_mem_read_asciiz() 322 const ThreadId tid, in drd_post_mem_write() 369 ThreadId tid) in drd_start_using_mem_w_tid() 546 ThreadId vg_tid; in on_alt_stack() 574 void drd_pre_deliver_signal(const ThreadId vg_tid, const Int sigNo, in drd_pre_deliver_signal() 598 void drd_post_deliver_signal(const ThreadId vg_tid, const Int sigNo) in drd_post_deliver_signal() 621 ThreadId tid) in drd_start_using_mem_stack_signal() 635 void drd_pre_thread_create(const ThreadId creator, const ThreadId created) in drd_pre_thread_create() 656 void drd_post_thread_create(const ThreadId vg_created) in drd_post_thread_create() [all …]
|
/external/v8/test/cctest/ |
D | test-threads.cc | 38 i::List<i::ThreadId>* refs, unsigned int thread_no, in ThreadIdValidationThread() 47 i::ThreadId thread_id = i::ThreadId::Current(); in Run() 60 i::List<i::ThreadId>* refs_; 70 i::List<i::ThreadId> refs(kNThreads); in TEST() 78 refs.Add(i::ThreadId::Invalid()); in TEST()
|
/external/valgrind/coregrind/m_syswrap/ |
D | priv_syswrap-solaris.h | 49 extern Addr ML_(allocstack) (ThreadId tid); 50 extern void ML_(setup_start_thread_context)(ThreadId tid, vki_ucontext_t *uc); 54 extern void ML_(save_machine_context)(ThreadId tid, vki_ucontext_t *uc, 56 extern void ML_(restore_machine_context)(ThreadId tid, vki_ucontext_t *uc, 63 extern void ML_(update_gdt_lwpgs)(ThreadId tid);
|
D | priv_syswrap-generic.h | 48 Bool ML_(valid_client_addr)(Addr start, SizeT size, ThreadId tid, 61 Bool ML_(fd_allowed)(Int fd, const HChar *syscallname, ThreadId tid, 65 extern void ML_(record_fd_open_named) (ThreadId tid, Int fd); 66 extern void ML_(record_fd_open_nameless) (ThreadId tid, Int fd); 67 extern void ML_(record_fd_open_with_given_name)(ThreadId tid, Int fd, 92 ML_(buf_and_len_pre_check) ( ThreadId tid, Addr buf_p, Addr buflen_p, 95 ML_(buf_and_len_post_check) ( ThreadId tid, SysRes res, 100 void ML_(PRE_unknown_ioctl)(ThreadId tid, UWord request, UWord arg); 102 void ML_(POST_unknown_ioctl)(ThreadId tid, UInt res, UWord request, UWord arg); 105 void ML_(pre_argv_envp)(Addr a, ThreadId tid, const HChar *s1, const HChar *s2); [all …]
|
/external/valgrind/coregrind/m_scheduler/ |
D | scheduler.c | 125 static void do_client_request ( ThreadId tid ); 126 static void scheduler_sanity ( ThreadId tid ); 127 static void mostly_clear_thread_record ( ThreadId tid ); 176 void print_sched_event ( ThreadId tid, const HChar* what ) in print_sched_event() 238 ThreadId VG_(alloc_ThreadState) ( void ) in VG_() 265 void VG_(acquire_BigLock)(ThreadId tid, const HChar* who) in VG_() 314 void VG_(release_BigLock)(ThreadId tid, ThreadStatus sleepstate, in VG_() 365 Bool VG_(owns_BigLock_LL) ( ThreadId tid ) in VG_() 375 void VG_(exit_thread)(ThreadId tid) in VG_() 396 void VG_(get_thread_out_of_syscall)(ThreadId tid) in VG_() [all …]
|