/external/valgrind/main/coregrind/ |
D | pub_core_tooliface.h | 139 Bool (*tool_handle_client_request)(ThreadId, UWord*, UWord*); 142 void (*tool_pre_syscall) (ThreadId, UInt, UWord*, UInt); 143 void (*tool_post_syscall)(ThreadId, UInt, UWord*, UInt, SysRes); 150 void* (*tool_malloc) (ThreadId, SizeT); 151 void* (*tool___builtin_new) (ThreadId, SizeT); 152 void* (*tool___builtin_vec_new) (ThreadId, SizeT); 153 void* (*tool_memalign) (ThreadId, SizeT, SizeT); 154 void* (*tool_calloc) (ThreadId, SizeT, SizeT); 155 void (*tool_free) (ThreadId, void*); 156 void (*tool___builtin_delete) (ThreadId, void*); [all …]
|
D | pub_core_replacemalloc.h | 43 void* (*tl_malloc) (ThreadId tid, SizeT n); 44 void* (*tl___builtin_new) (ThreadId tid, SizeT n); 45 void* (*tl___builtin_vec_new) (ThreadId tid, SizeT n); 46 void* (*tl_memalign) (ThreadId tid, SizeT align, SizeT n); 47 void* (*tl_calloc) (ThreadId tid, SizeT nmemb, SizeT n); 48 void (*tl_free) (ThreadId tid, void* p); 49 void (*tl___builtin_delete) (ThreadId tid, void* p); 50 void (*tl___builtin_vec_delete)(ThreadId tid, void* p); 51 void* (*tl_realloc) (ThreadId tid, void* p, SizeT size); 52 SizeT (*tl_malloc_usable_size) (ThreadId tid, void* payload); [all …]
|
D | pub_core_signals.h | 51 extern void VG_(poll_signals) ( ThreadId ); 54 extern SysRes VG_(do_sys_sigaltstack) ( ThreadId tid, vki_stack_t* ss, 59 extern SysRes VG_(do_sys_sigprocmask) ( ThreadId tid, Int how, 64 ( ThreadId tid, /* OUT */ vki_sigset_t* saved_mask ); 71 extern void VG_(synth_fault) (ThreadId tid); 72 extern void VG_(synth_fault_mapping)(ThreadId tid, Addr addr); 73 extern void VG_(synth_fault_perms) (ThreadId tid, Addr addr); 74 extern void VG_(synth_sigill) (ThreadId tid, Addr addr); 75 extern void VG_(synth_sigtrap) (ThreadId tid); 76 extern void VG_(synth_sigbus) (ThreadId tid);
|
D | pub_core_scheduler.h | 41 extern ThreadId VG_(alloc_ThreadState)(void); 44 extern void VG_(exit_thread)(ThreadId tid); 49 extern void VG_(get_thread_out_of_syscall)(ThreadId tid); 52 extern void VG_(nuke_all_threads_except) ( ThreadId me, 60 extern void VG_(acquire_BigLock) ( ThreadId tid, HChar* who ); 75 extern void VG_(release_BigLock) ( ThreadId tid, 86 extern VgSchedReturnCode VG_(scheduler) ( ThreadId tid ); 90 extern ThreadId VG_(scheduler_init_phase1) ( void ); 94 extern void VG_(scheduler_init_phase2) ( ThreadId main_tid,
|
D | m_tooliface.c | 265 Bool (*handle)(ThreadId, UWord*, UWord*) in VG_() 273 void(*pre) (ThreadId, UInt, UWord*, UInt), in VG_() 274 void(*post)(ThreadId, UInt, UWord*, UInt, SysRes res) in VG_() 293 void* (*malloc) ( ThreadId, SizeT ), in VG_() 294 void* (*__builtin_new) ( ThreadId, SizeT ), in VG_() 295 void* (*__builtin_vec_new) ( ThreadId, SizeT ), in VG_() 296 void* (*memalign) ( ThreadId, SizeT, SizeT ), in VG_() 297 void* (*calloc) ( ThreadId, SizeT, SizeT ), in VG_() 298 void (*free) ( ThreadId, void* ), in VG_() 299 void (*__builtin_delete) ( ThreadId, void* ), in VG_() [all …]
|
D | m_threadstate.c | 41 ThreadId VG_(running_tid) = VG_INVALID_THREADID; 62 ThreadState *VG_(get_ThreadState)(ThreadId tid) in VG_() 69 Bool VG_(is_valid_tid) ( ThreadId tid ) in VG_() 79 ThreadId VG_(get_running_tid)(void) in VG_() 84 Bool VG_(is_running_thread)(ThreadId tid) in VG_() 95 inline Bool VG_(is_exiting)(ThreadId tid) in VG_() 105 ThreadId tid; in VG_() 119 ThreadId tid; in VG_() 130 ThreadId VG_(lwpid_to_vgtid)(Int lwp) in VG_() 132 ThreadId tid; in VG_()
|
D | pub_core_syswrap.h | 41 extern void VG_(main_thread_wrapper_NORETURN)(ThreadId tid); 43 extern void VG_(client_syscall) ( ThreadId tid, UInt trc ); 45 extern void VG_(post_syscall) ( ThreadId tid ); 52 ThreadId tid, 59 extern void VG_(reap_threads)(ThreadId self); 75 (ThreadId,VgSchedReturnCode);
|
D | pub_core_threadstate.h | 133 ThreadId parent; // parent tid (if any) 145 void (*post_mach_trap_fn)(ThreadId tid, 284 ThreadId tid; 369 extern ThreadId VG_(running_tid); 380 extern ThreadState *VG_(get_ThreadState) ( ThreadId tid ); 383 extern Bool VG_(is_valid_tid) ( ThreadId tid ); 386 extern Bool VG_(is_running_thread)(ThreadId tid); 389 extern Bool VG_(is_exiting)(ThreadId tid); 399 extern ThreadId VG_(lwpid_to_vgtid)(Int lwpid);
|
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 );
|
D | pub_core_gdbserver.h | 44 void VG_(gdbserver_prerun_action) (ThreadId tid); 49 extern Bool VG_(gdbserver_activity) (ThreadId tid); 84 extern Bool VG_(gdbserver_report_signal) (Int signo, ThreadId tid);
|
/external/valgrind/main/include/ |
D | pub_tool_tooliface.h | 69 ThreadId tid; /* tid requesting translation */ 410 Bool (*handle_client_request)(ThreadId tid, UWord* arg_block, UWord* ret) 425 void (* pre_syscall)(ThreadId tid, UInt syscallno, 427 void (*post_syscall)(ThreadId tid, UInt syscallno, 448 void* (*pmalloc) ( ThreadId tid, SizeT n ), 449 void* (*p__builtin_new) ( ThreadId tid, SizeT n ), 450 void* (*p__builtin_vec_new) ( ThreadId tid, SizeT n ), 451 void* (*pmemalign) ( ThreadId tid, SizeT align, SizeT n ), 452 void* (*pcalloc) ( ThreadId tid, SizeT nmemb, SizeT size1 ), 453 void (*pfree) ( ThreadId tid, void* p ), [all …]
|
D | pub_tool_machine.h | 93 Addr VG_(get_IP) ( ThreadId tid ); 94 Addr VG_(get_SP) ( ThreadId tid ); 104 VG_(get_shadow_regs_area) ( ThreadId tid, 108 VG_(set_shadow_regs_area) ( ThreadId tid, 114 void VG_(set_syscall_return_shadows) ( ThreadId tid, 129 extern void VG_(thread_stack_reset_iter) ( /*OUT*/ThreadId* tid ); 130 extern Bool VG_(thread_stack_next) ( /*MOD*/ThreadId* tid, 135 extern Addr VG_(thread_get_stack_max) ( ThreadId tid ); 138 extern SizeT VG_(thread_get_stack_size) ( ThreadId tid ); 142 extern Addr VG_(thread_get_altstack_min) ( ThreadId tid ); [all …]
|
/external/valgrind/main/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/main/memcheck/ |
D | mc_include.h | 82 void* MC_(new_block) ( ThreadId tid, 86 void MC_(handle_free) ( ThreadId tid, 91 void MC_(mempool_alloc) ( ThreadId tid, Addr pool, 122 void* MC_(malloc) ( ThreadId tid, SizeT n ); 123 void* MC_(__builtin_new) ( ThreadId tid, SizeT n ); 124 void* MC_(__builtin_vec_new) ( ThreadId tid, SizeT n ); 125 void* MC_(memalign) ( ThreadId tid, SizeT align, SizeT n ); 126 void* MC_(calloc) ( ThreadId tid, SizeT nmemb, SizeT size1 ); 127 void MC_(free) ( ThreadId tid, void* p ); 128 void MC_(__builtin_delete) ( ThreadId tid, void* p ); [all …]
|
D | mc_malloc_wrappers.c | 233 void* MC_(new_block) ( ThreadId tid, in MC_() 278 void* MC_(malloc) ( ThreadId tid, SizeT n ) in MC_() 288 void* MC_(__builtin_new) ( ThreadId tid, SizeT n ) in MC_() 298 void* MC_(__builtin_vec_new) ( ThreadId tid, SizeT n ) in MC_() 308 void* MC_(memalign) ( ThreadId tid, SizeT alignB, SizeT n ) in MC_() 318 void* MC_(calloc) ( ThreadId tid, SizeT nmemb, SizeT size1 ) in MC_() 329 void die_and_free_mem ( ThreadId tid, MC_Chunk* mc, SizeT rzB ) in die_and_free_mem() 350 void MC_(handle_free) ( ThreadId tid, Addr p, UInt rzB, MC_AllocKind kind ) in MC_() 369 void MC_(free) ( ThreadId tid, void* p ) in MC_() 375 void MC_(__builtin_delete) ( ThreadId tid, void* p ) in MC_() [all …]
|
/external/v8/src/ |
D | v8threads.h | 46 void set_id(ThreadId id) { id_ = id; } in set_id() 47 ThreadId id() { return id_; } in id() 63 ThreadId id_; 102 return mutex_owner_.Equals(ThreadId::Current()); in IsLockedByCurrentThread() 105 ThreadId CurrentId(); 107 void TerminateExecution(ThreadId thread_id); 120 ThreadId mutex_owner_; 121 ThreadId lazily_archived_thread_;
|
D | v8threads.cc | 160 if (lazily_archived_thread_.Equals(ThreadId::Current())) { in RestoreThread() 161 lazily_archived_thread_ = ThreadId::Invalid(); in RestoreThread() 166 lazily_archived_thread_state_->set_id(ThreadId::Invalid()); in RestoreThread() 205 state->set_id(ThreadId::Invalid()); in RestoreThread() 214 mutex_owner_ = ThreadId::Current(); in Lock() 220 mutex_owner_ = ThreadId::Invalid(); in Unlock() 239 : id_(ThreadId::Invalid()), in ThreadState() 297 mutex_owner_(ThreadId::Invalid()), in ThreadManager() 298 lazily_archived_thread_(ThreadId::Invalid()), in ThreadManager() 315 ASSERT(lazily_archived_thread_.Equals(ThreadId::Invalid())); in ArchiveThread() [all …]
|
D | isolate.h | 147 class ThreadId { 150 ThreadId() : id_(kInvalidId) {} in ThreadId() function 153 static ThreadId Current() { return ThreadId(GetCurrentThreadId()); } in Current() 156 static ThreadId Invalid() { return ThreadId(kInvalidId); } in Invalid() 159 INLINE(bool Equals(const ThreadId& other) const) { in INLINE() 174 static ThreadId FromInteger(int id) { return ThreadId(id); } in FromInteger() 179 explicit ThreadId(int id) : id_(id) {} in ThreadId() function 238 ThreadId thread_id_; 370 PerIsolateThreadData(Isolate* isolate, ThreadId thread_id) in PerIsolateThreadData() 382 ThreadId thread_id() const { return thread_id_; } in thread_id() [all …]
|
/external/valgrind/main/drd/ |
D | drd_malloc_wrappers.c | 71 static void* new_block(ThreadId tid, SizeT size, SizeT align, Bool is_zeroed) in new_block() 90 void DRD_(malloclike_block)(const ThreadId tid, const Addr p, const SizeT size) in DRD_() 110 static void handle_free(ThreadId tid, void* p) in handle_free() 123 Bool DRD_(freelike_block)(const ThreadId tid, const Addr p, const Bool dealloc) in DRD_() 147 static void* drd_malloc(ThreadId tid, SizeT n) in drd_malloc() 153 static void* drd_memalign(ThreadId tid, SizeT align, SizeT n) in drd_memalign() 159 static void* drd_calloc(ThreadId tid, SizeT nmemb, SizeT size1) in drd_calloc() 166 static void drd_free(ThreadId tid, void* p) in drd_free() 179 static void* drd_realloc(ThreadId tid, void* p_old, SizeT new_size) in drd_realloc() 254 static void* drd___builtin_new(ThreadId tid, SizeT n) in drd___builtin_new() [all …]
|
D | drd_main.c | 256 const ThreadId tid, in drd_pre_mem_read() 268 const ThreadId tid, in drd_pre_mem_read_asciiz() 296 const ThreadId tid, in drd_post_mem_write() 343 ThreadId tid) in drd_start_using_mem_w_tid() 480 ThreadId vg_tid; in on_alt_stack() 508 void drd_pre_deliver_signal(const ThreadId vg_tid, const Int sigNo, in drd_pre_deliver_signal() 532 void drd_post_deliver_signal(const ThreadId vg_tid, const Int sigNo) in drd_post_deliver_signal() 555 ThreadId tid) in drd_start_using_mem_stack_signal() 567 void drd_pre_thread_create(const ThreadId creator, const ThreadId created) in drd_pre_thread_create() 587 void drd_post_thread_create(const ThreadId vg_created) in drd_post_thread_create() [all …]
|
D | drd_thread.h | 72 ThreadId vg_threadid; /**< Valgrind thread ID. */ 134 DrdThreadId DRD_(VgThreadIdToDrdThreadId)(const ThreadId tid); 135 DrdThreadId DRD_(NewVgThreadIdToDrdThreadId)(const ThreadId tid); 137 ThreadId DRD_(DrdThreadIdToVgThreadId)(const DrdThreadId tid); 139 const ThreadId vg_created); 140 DrdThreadId DRD_(thread_post_create)(const ThreadId vg_created); 163 void DRD_(thread_set_vg_running_tid)(const ThreadId vg_tid); 164 void DRD_(thread_set_running_tid)(const ThreadId vg_tid,
|
/external/valgrind/main/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 ); 163 void print_sched_event ( ThreadId tid, Char* what ) in print_sched_event() 210 ThreadId VG_(alloc_ThreadState) ( void ) in VG_() 234 void VG_(acquire_BigLock)(ThreadId tid, HChar* who) in VG_() 282 void VG_(release_BigLock)(ThreadId tid, ThreadStatus sleepstate, HChar* who) in VG_() 325 void VG_(exit_thread)(ThreadId tid) in VG_() 346 void VG_(get_thread_out_of_syscall)(ThreadId tid) in VG_() 393 ThreadId tid = VG_(running_tid); in VG_() [all …]
|
/external/v8/test/cctest/ |
D | test-threads.cc | 144 i::List<i::ThreadId>* refs, in ThreadIdValidationThread() 153 i::ThreadId thread_id = i::ThreadId::Current(); in Run() 166 i::List<i::ThreadId>* refs_; 175 i::List<i::ThreadId> refs(kNThreads); in TEST() 183 refs.Add(i::ThreadId::Invalid()); in TEST()
|
/external/valgrind/main/coregrind/m_syswrap/ |
D | priv_syswrap-generic.h | 40 Bool ML_(valid_client_addr)(Addr start, SizeT size, ThreadId tid, 53 Bool ML_(fd_allowed)(Int fd, const Char *syscallname, ThreadId tid, Bool isNewFD); 55 extern void ML_(record_fd_open_named) (ThreadId tid, Int fd); 56 extern void ML_(record_fd_open_nameless) (ThreadId tid, Int fd); 57 extern void ML_(record_fd_open_with_given_name)(ThreadId tid, Int fd, 76 ML_(buf_and_len_pre_check) ( ThreadId tid, Addr buf_p, Addr buflen_p, 79 ML_(buf_and_len_post_check) ( ThreadId tid, SysRes res, 84 void ML_(PRE_unknown_ioctl)(ThreadId tid, UWord request, UWord arg); 86 void ML_(POST_unknown_ioctl)(ThreadId tid, UInt res, UWord request, UWord arg); 216 #define TId ThreadId
|