/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 | 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_() 101 ThreadState *VG_(get_ThreadState)(ThreadId tid) in VG_() 108 Bool VG_(is_valid_tid) ( ThreadId tid ) in VG_() 118 ThreadId VG_(get_running_tid)(void) in VG_() 123 Bool VG_(is_running_thread)(ThreadId tid) in VG_() 134 inline Bool VG_(is_exiting)(ThreadId tid) in VG_() 144 ThreadId tid; in VG_() 158 ThreadId tid; in VG_() 169 ThreadId VG_(lwpid_to_vgtid)(Int lwp) in VG_() [all …]
|
D | pub_core_syswrap.h | 44 extern void VG_(main_thread_wrapper_NORETURN)(ThreadId tid); 46 extern void VG_(client_syscall) ( ThreadId tid, UInt trc ); 48 extern void VG_(post_syscall) ( ThreadId tid ); 58 ThreadId tid, 65 extern void VG_(reap_threads)(ThreadId self); 81 (ThreadId,VgSchedReturnCode);
|
D | pub_core_threadstate.h | 126 ThreadId parent; // parent tid (if any) 138 void (*post_mach_trap_fn)(ThreadId tid, 281 ThreadId tid; 369 extern ThreadId VG_(running_tid); 386 extern ThreadState *VG_(get_ThreadState) ( ThreadId tid ); 389 extern Bool VG_(is_valid_tid) ( ThreadId tid ); 392 extern Bool VG_(is_running_thread)(ThreadId tid); 395 extern Bool VG_(is_exiting)(ThreadId tid); 405 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_libcproc.h | 83 extern void VG_(do_atfork_pre) ( ThreadId tid ); 84 extern void VG_(do_atfork_parent) ( ThreadId tid ); 85 extern void VG_(do_atfork_child) ( ThreadId tid );
|
/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 | 23 void set_id(ThreadId id) { id_ = id; } in set_id() 24 ThreadId id() { return id_; } in id() 41 ThreadId id_; 80 return mutex_owner_.Equals(ThreadId::Current()); in IsLockedByCurrentThread() 83 ThreadId CurrentId(); 85 void TerminateExecution(ThreadId thread_id); 100 ThreadId mutex_owner_; 101 ThreadId lazily_archived_thread_;
|
D | v8threads.cc | 108 if (lazily_archived_thread_.Equals(ThreadId::Current())) { in RestoreThread() 109 lazily_archived_thread_ = ThreadId::Invalid(); in RestoreThread() 114 lazily_archived_thread_state_->set_id(ThreadId::Invalid()); in RestoreThread() 151 state->set_id(ThreadId::Invalid()); in RestoreThread() 160 mutex_owner_ = ThreadId::Current(); in Lock() 166 mutex_owner_ = ThreadId::Invalid(); in Unlock() 183 : id_(ThreadId::Invalid()), in ThreadState() 246 : mutex_owner_(ThreadId::Invalid()), in ThreadManager() 247 lazily_archived_thread_(ThreadId::Invalid()), in ThreadManager() 274 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. */ 135 DrdThreadId DRD_(VgThreadIdToDrdThreadId)(const ThreadId tid); 136 DrdThreadId DRD_(NewVgThreadIdToDrdThreadId)(const ThreadId tid); 138 ThreadId DRD_(DrdThreadIdToVgThreadId)(const DrdThreadId tid); 140 const ThreadId vg_created); 141 DrdThreadId DRD_(thread_post_create)(const ThreadId vg_created); 164 void DRD_(thread_set_vg_running_tid)(const ThreadId vg_tid); 165 void DRD_(thread_set_running_tid)(const ThreadId vg_tid,
|
D | drd_main.c | 276 const ThreadId tid, in drd_pre_mem_read() 289 const ThreadId tid, in drd_pre_mem_read_asciiz() 317 const ThreadId tid, in drd_post_mem_write() 364 ThreadId tid) in drd_start_using_mem_w_tid() 541 ThreadId vg_tid; in on_alt_stack() 569 void drd_pre_deliver_signal(const ThreadId vg_tid, const Int sigNo, in drd_pre_deliver_signal() 593 void drd_post_deliver_signal(const ThreadId vg_tid, const Int sigNo) in drd_post_deliver_signal() 616 ThreadId tid) in drd_start_using_mem_stack_signal() 630 void drd_pre_thread_create(const ThreadId creator, const ThreadId created) in drd_pre_thread_create() 651 void drd_post_thread_create(const ThreadId vg_created) in drd_post_thread_create() [all …]
|
/external/v8/test/cctest/ |
D | test-threads.cc | 128 i::List<i::ThreadId>* refs, unsigned int thread_no, in ThreadIdValidationThread() 137 i::ThreadId thread_id = i::ThreadId::Current(); in Run() 150 i::List<i::ThreadId>* refs_; 160 i::List<i::ThreadId> refs(kNThreads); in TEST() 168 refs.Add(i::ThreadId::Invalid()); in TEST()
|
/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() 236 ThreadId VG_(alloc_ThreadState) ( void ) in VG_() 263 void VG_(acquire_BigLock)(ThreadId tid, const HChar* who) in VG_() 312 void VG_(release_BigLock)(ThreadId tid, ThreadStatus sleepstate, in VG_() 363 Bool VG_(owns_BigLock_LL) ( ThreadId tid ) in VG_() 373 void VG_(exit_thread)(ThreadId tid) in VG_() 394 void VG_(get_thread_out_of_syscall)(ThreadId tid) in VG_() [all …]
|
/external/valgrind/coregrind/m_syswrap/ |
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, 64 extern void ML_(record_fd_open_named) (ThreadId tid, Int fd); 65 extern void ML_(record_fd_open_nameless) (ThreadId tid, Int fd); 66 extern void ML_(record_fd_open_with_given_name)(ThreadId tid, Int fd, 85 ML_(buf_and_len_pre_check) ( ThreadId tid, Addr buf_p, Addr buflen_p, 88 ML_(buf_and_len_post_check) ( ThreadId tid, SysRes res, 93 void ML_(PRE_unknown_ioctl)(ThreadId tid, UWord request, UWord arg); 95 void ML_(POST_unknown_ioctl)(ThreadId tid, UInt res, UWord request, UWord arg); 225 #define TId ThreadId
|
/external/valgrind/helgrind/ |
D | hg_main.c | 164 ThreadId map_threads_maybe_reverse_lookup_SLOW ( Thread* thr ); /*fwds*/ 250 ThreadId tid; in lockN_acquire_writer() 306 ThreadId tid; in lockN_acquire_reader() 648 static Thread* map_threads_maybe_lookup ( ThreadId coretid ) in map_threads_maybe_lookup() 657 static inline Thread* map_threads_lookup ( ThreadId coretid ) in map_threads_lookup() 668 static ThreadId map_threads_maybe_reverse_lookup_SLOW ( Thread* thr ) in map_threads_maybe_reverse_lookup_SLOW() 670 ThreadId tid; in map_threads_maybe_reverse_lookup_SLOW() 682 static ThreadId map_threads_reverse_lookup_SLOW ( Thread* thr ) in map_threads_reverse_lookup_SLOW() 684 ThreadId tid = map_threads_maybe_reverse_lookup_SLOW( thr ); in map_threads_reverse_lookup_SLOW() 691 static void map_threads_delete ( ThreadId coretid ) in map_threads_delete() [all …]
|