/external/chromium-trace/catapult/third_party/Paste/paste/debug/ |
D | watchthreads.py | 212 for thread_id, (time_started, worker_environ) in workers: 219 thread.thread_id = thread_id 223 thread.traceback = traceback_thread(thread_id) 246 thread_id = int(vars['thread_id']) 248 if thread_id not in thread_pool.worker_tracker: 251 'any requests' % thread_id) 253 thread_pool.kill_worker(thread_id) 256 headers=[('Location', script_name+'?kill=%s' % thread_id)]) 259 def traceback_thread(thread_id): argument 268 if not thread_id in frames: [all …]
|
/external/chromium-trace/catapult/third_party/Paste/paste/ |
D | httpserver.py | 659 time_started, info = self.worker_tracker.get(worker.thread_id, 701 time_started, info = self.worker_tracker.get(worker.thread_id, 710 for thread_id, (time_killed, worker) in self.dying_threads.items(): 711 if not self.thread_exists(thread_id): 714 thread_id) 716 del self.dying_threads[thread_id] 726 def kill_worker(self, thread_id): argument 736 thread_obj = threading._active.get(thread_id) 737 killthread.async_raise(thread_id, SystemExit) 739 del self.worker_tracker[thread_id] [all …]
|
/external/compiler-rt/lib/asan/ |
D | asan_debugging.cc | 84 static uptr AsanGetStack(uptr addr, uptr *trace, u32 size, u32 *thread_id, in AsanGetStack() argument 93 if (thread_id) *thread_id = chunk.AllocTid(); in AsanGetStack() 97 if (thread_id) *thread_id = chunk.FreeTid(); in AsanGetStack() 126 uptr __asan_get_alloc_stack(uptr addr, uptr *trace, uptr size, u32 *thread_id) { in __asan_get_alloc_stack() argument 127 return AsanGetStack(addr, trace, size, thread_id, /* alloc_stack */ true); in __asan_get_alloc_stack() 131 uptr __asan_get_free_stack(uptr addr, uptr *trace, uptr size, u32 *thread_id) { in __asan_get_free_stack() argument 132 return AsanGetStack(addr, trace, size, thread_id, /* alloc_stack */ false); in __asan_get_free_stack()
|
/external/avahi/avahi-common/ |
D | thread-watch.c | 42 pthread_t thread_id; member 111 assert(!p->thread_running || !pthread_equal(pthread_self(), p->thread_id)); in avahi_threaded_poll_free() 134 if (pthread_create(&p->thread_id, NULL, thread, p) < 0) in avahi_threaded_poll_start() 149 assert(!pthread_equal(pthread_self(), p->thread_id)); in avahi_threaded_poll_stop() 155 pthread_join(p->thread_id, NULL); in avahi_threaded_poll_stop() 165 assert(pthread_equal(pthread_self(), p->thread_id)); in avahi_threaded_poll_quit() 174 assert(!p->thread_running || !pthread_equal(pthread_self(), p->thread_id)); in avahi_threaded_poll_lock() 183 assert(!p->thread_running || !pthread_equal(pthread_self(), p->thread_id)); in avahi_threaded_poll_unlock()
|
/external/mesa3d/src/gallium/tests/unit/ |
D | pipe_barrier_test.c | 52 int thread_id = *((int *) thread_data); in PIPE_THREAD_ROUTINE() local 54 printf("thread %d starting\n", thread_id); in PIPE_THREAD_ROUTINE() 55 os_time_sleep(thread_id * 1000 * 1000); in PIPE_THREAD_ROUTINE() 56 printf("thread %d before barrier\n", thread_id); in PIPE_THREAD_ROUTINE() 58 printf("thread %d exiting\n", thread_id); in PIPE_THREAD_ROUTINE()
|
/external/compiler-rt/test/asan/TestCases/ |
D | debug_stacks.cc | 30 int thread_id; in main() local 31 num_frames = __asan_get_alloc_stack(mem, trace, num_frames, &thread_id); in main() 36 fprintf(stderr, "thread id = %d\n", thread_id); in main() 44 num_frames = __asan_get_free_stack(mem, trace, num_frames, &thread_id); in main() 49 fprintf(stderr, "thread id = %d\n", thread_id); in main()
|
/external/v8/tools/profviz/ |
D | composer.js | 62 function TimerEvent(label, color, pause, thread_id) { argument 63 assert(thread_id >= 0 && thread_id < kNumThreads, "invalid thread id"); 68 this.thread_id = thread_id; 233 var thread_id = new_event.thread_id; 235 start = Math.max(last_time_stamp[thread_id] + kMinRangeLength, start); 238 var last_event = event_stack[thread_id].top(); 240 var new_range = new Range(last_time_stamp[thread_id], start); 243 event_stack[thread_id].push(new_event); 244 last_time_stamp[thread_id] = start; 250 var thread_id = finished_event.thread_id; [all …]
|
/external/google-breakpad/src/processor/ |
D | minidump_unittest.cc | 264 uint32_t thread_id; in TEST() local 265 ASSERT_TRUE(md_thread->GetThreadID(&thread_id)); in TEST() 266 ASSERT_EQ(0xa898f11bU, thread_id); in TEST() 335 uint32_t thread_id; in TEST() local 336 ASSERT_TRUE(md_thread->GetThreadID(&thread_id)); in TEST() 337 ASSERT_EQ(0xa898f11bU, thread_id); in TEST() 378 uint32_t thread_id; in TEST() local 379 ASSERT_TRUE(md_thread->GetThreadID(&thread_id)); in TEST() 380 ASSERT_EQ(0xa898f11bU, thread_id); in TEST() 579 uint32_t thread_id; in TEST() local [all …]
|
/external/libchrome/base/trace_event/ |
D | trace_event.h | 323 phase, category_group, name, id, thread_id, timestamp, flags, ...) \ argument 332 trace_event_trace_id.data(), thread_id, \ 548 int thread_id, in AddTraceEventWithThreadIdAndTimestamp() argument 558 phase, category_group_enabled, name, id, bind_id, thread_id, timestamp, in AddTraceEventWithThreadIdAndTimestamp() 569 int thread_id, in AddTraceEventWithThreadIdAndTimestamp() argument 591 phase, category_group_enabled, name, id, bind_id, thread_id, timestamp, in AddTraceEventWithThreadIdAndTimestamp() 602 int thread_id, in AddTraceEventWithThreadIdAndTimestamp() argument 624 phase, category_group_enabled, name, id, bind_id, thread_id, timestamp, in AddTraceEventWithThreadIdAndTimestamp() 634 int thread_id, in AddTraceEventWithThreadIdAndTimestamp() argument 651 phase, category_group_enabled, name, id, bind_id, thread_id, timestamp, in AddTraceEventWithThreadIdAndTimestamp() [all …]
|
D | trace_log.cc | 123 int thread_id, in InitializeMetadataEvent() argument 135 thread_id, in InitializeMetadataEvent() 1057 int thread_id = static_cast<int>(base::PlatformThread::CurrentId()); in AddTraceEvent() local 1065 thread_id, in AddTraceEvent() 1087 int thread_id = static_cast<int>(base::PlatformThread::CurrentId()); in AddTraceEventWithBindId() local 1095 thread_id, in AddTraceEventWithBindId() 1141 int thread_id, in AddTraceEventWithThreadIdAndTimestamp() argument 1155 thread_id, in AddTraceEventWithThreadIdAndTimestamp() 1171 int thread_id, in AddTraceEventWithThreadIdAndTimestamp() argument 1211 if (thread_id == static_cast<int>(PlatformThread::CurrentId())) { in AddTraceEventWithThreadIdAndTimestamp() [all …]
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_stoptheworld.h | 37 bool Contains(SuspendedThreadID thread_id) const { in Contains() argument 39 if (thread_ids_[i] == thread_id) in Contains() 44 void Append(SuspendedThreadID thread_id) { in Append() argument 45 thread_ids_.push_back(thread_id); in Append()
|
/external/google-breakpad/src/client/windows/crash_generation/ |
D | client_info.cc | 41 DWORD* thread_id, in ClientInfo() argument 51 thread_id_(thread_id), in ClientInfo() 149 bool ClientInfo::GetClientThreadId(DWORD* thread_id) const { in GetClientThreadId() 153 thread_id, in GetClientThreadId() 154 sizeof(*thread_id), in GetClientThreadId() 159 return bytes_count == sizeof(*thread_id); in GetClientThreadId()
|
/external/libchrome/base/test/ |
D | trace_event_analyzer.h | 101 ProcessThreadID() : process_id(0), thread_id(0) {} in ProcessThreadID() 102 ProcessThreadID(int process_id, int thread_id) in ProcessThreadID() 103 : process_id(process_id), thread_id(thread_id) {} in ProcessThreadID() 107 return thread_id < rhs.thread_id; 110 int thread_id; member 234 static Query EventTidIs(int thread_id) { in EventTidIs() argument 235 return Query(EVENT_TID) == Query::Int(thread_id); in EventTidIs() 239 return EventPidIs(thread.process_id) && EventTidIs(thread.thread_id); in EventThreadIs() 305 static Query OtherTidIs(int thread_id) { in OtherTidIs() argument 306 return Query(OTHER_TID) == Query::Int(thread_id); in OtherTidIs() [all …]
|
/external/valgrind/helgrind/tests/ |
D | tc03_re_excl.c | 25 pthread_t thread_id; in main() local 30 pthread_create(&thread_id, 0, worker_thread, (void*)x); in main() 36 pthread_join(thread_id, 0); in main()
|
/external/v8/base/trace_event/common/ |
D | trace_event_common.h | 349 thread_id, timestamp) \ argument 351 TRACE_EVENT_PHASE_ASYNC_BEGIN, category_group, name, id, thread_id, \ 354 category_group, name, id, thread_id, timestamp) \ argument 356 TRACE_EVENT_PHASE_ASYNC_BEGIN, category_group, name, id, thread_id, \ 359 category_group, name, id, thread_id, timestamp, arg1_name, arg1_val) \ argument 361 TRACE_EVENT_PHASE_ASYNC_BEGIN, category_group, name, id, thread_id, \ 364 category_group, name, id, thread_id, timestamp, arg1_name, arg1_val, \ argument 367 TRACE_EVENT_PHASE_ASYNC_BEGIN, category_group, name, id, thread_id, \ 420 thread_id, timestamp) \ argument 422 TRACE_EVENT_PHASE_ASYNC_END, category_group, name, id, thread_id, \ [all …]
|
/external/libchrome/base/trace_event/common/ |
D | trace_event_common.h | 349 thread_id, timestamp) \ argument 351 TRACE_EVENT_PHASE_ASYNC_BEGIN, category_group, name, id, thread_id, \ 354 category_group, name, id, thread_id, timestamp) \ argument 356 TRACE_EVENT_PHASE_ASYNC_BEGIN, category_group, name, id, thread_id, \ 359 category_group, name, id, thread_id, timestamp, arg1_name, arg1_val) \ argument 361 TRACE_EVENT_PHASE_ASYNC_BEGIN, category_group, name, id, thread_id, \ 364 category_group, name, id, thread_id, timestamp, arg1_name, arg1_val, \ argument 367 TRACE_EVENT_PHASE_ASYNC_BEGIN, category_group, name, id, thread_id, \ 420 thread_id, timestamp) \ argument 422 TRACE_EVENT_PHASE_ASYNC_END, category_group, name, id, thread_id, \ [all …]
|
/external/skia/src/core/ |
D | SkTraceEventCommon.h | 357 thread_id, timestamp) \ argument 359 TRACE_EVENT_PHASE_ASYNC_BEGIN, category_group, name, id, thread_id, \ 362 category_group, name, id, thread_id, timestamp) \ argument 364 TRACE_EVENT_PHASE_ASYNC_BEGIN, category_group, name, id, thread_id, \ 367 category_group, name, id, thread_id, timestamp, arg1_name, arg1_val) \ argument 369 TRACE_EVENT_PHASE_ASYNC_BEGIN, category_group, name, id, thread_id, \ 372 category_group, name, id, thread_id, timestamp, arg1_name, arg1_val, \ argument 375 TRACE_EVENT_PHASE_ASYNC_BEGIN, category_group, name, id, thread_id, \ 431 thread_id, timestamp) \ argument 433 TRACE_EVENT_PHASE_ASYNC_END, category_group, name, id, thread_id, \ [all …]
|
/external/v8/test/cctest/ |
D | test-threads.cc | 47 i::ThreadId thread_id = i::ThreadId::Current(); in Run() local 49 CHECK(!(*refs_)[i].Equals(thread_id)); in Run() 51 CHECK(thread_id.IsValid()); in Run() 52 (*refs_)[thread_no_] = thread_id; in Run()
|
/external/libnfc-nci/src/gki/ulinux/ |
D | gki_ulinux.c | 103 pthread_t thread_id = pthread_self(); in gki_task_entry() local 106 gki_cb.os.thread_id[p_pthread_info->task_id], pthread_self(), in gki_task_entry() 109 gki_cb.os.thread_id[p_pthread_info->task_id] = thread_id; in gki_task_entry() 114 gki_cb.os.thread_id[p_pthread_info->task_id] = 0; in gki_task_entry() 264 ret = pthread_create( &gki_cb.os.thread_id[task_id], in GKI_create_task() 275 if(pthread_getschedparam(gki_cb.os.thread_id[task_id], &policy, ¶m)==0) in GKI_create_task() 289 pthread_setschedparam(gki_cb.os.thread_id[task_id], policy, ¶m); in GKI_create_task() 295 gki_cb.os.thread_id[task_id], in GKI_create_task() 351 result = pthread_join( gki_cb.os.thread_id[task_id-1], NULL ); in GKI_shutdown() 715 gki_cb.os.thread_id[rtask] = 0; in GKI_wait() [all …]
|
/external/libnfc-nci/halimpl/bcm2079x/gki/ulinux/ |
D | gki_ulinux.c | 106 pthread_t thread_id = pthread_self(); in gki_task_entry() local 109 gki_cb.os.thread_id[p_pthread_info->task_id], pthread_self(), in gki_task_entry() 112 gki_cb.os.thread_id[p_pthread_info->task_id] = thread_id; in gki_task_entry() 117 gki_cb.os.thread_id[p_pthread_info->task_id] = 0; in gki_task_entry() 267 ret = pthread_create( &gki_cb.os.thread_id[task_id], in GKI_create_task() 278 if(pthread_getschedparam(gki_cb.os.thread_id[task_id], &policy, ¶m)==0) in GKI_create_task() 292 pthread_setschedparam(gki_cb.os.thread_id[task_id], policy, ¶m); in GKI_create_task() 298 gki_cb.os.thread_id[task_id], in GKI_create_task() 351 result = pthread_join( gki_cb.os.thread_id[task_id-1], NULL ); in GKI_shutdown() 738 gki_cb.os.thread_id[rtask] = 0; in GKI_wait() [all …]
|
/external/compiler-rt/test/lsan/TestCases/ |
D | cleanup_in_tsd_destructor.c | 37 pthread_t thread_id; in main() local 38 res = pthread_create(&thread_id, 0, thread_func, 0); in main() 40 res = pthread_join(thread_id, 0); in main()
|
D | disabler_in_tsd_destructor.c | 33 pthread_t thread_id; in main() local 34 res = pthread_create(&thread_id, 0, thread_func, 0); in main() 36 res = pthread_join(thread_id, 0); in main()
|
/external/libchrome/base/ |
D | observer_list_threadsafe.h | 121 PlatformThreadId thread_id = PlatformThread::CurrentId(); in AddObserver() local 124 if (observer_lists_.find(thread_id) == observer_lists_.end()) in AddObserver() 125 observer_lists_[thread_id] = new ObserverListContext(type_); in AddObserver() 126 list = &(observer_lists_[thread_id]->list); in AddObserver() 139 PlatformThreadId thread_id = PlatformThread::CurrentId(); in RemoveObserver() local 142 typename ObserversListMap::iterator it = observer_lists_.find(thread_id); in RemoveObserver()
|
/external/v8/src/libsampler/ |
D | v8-sampler.cc | 191 void* ThreadKey(pthread_t thread_id) { in ThreadKey() argument 192 return reinterpret_cast<void*>(thread_id); in ThreadKey() 196 uint32_t ThreadHash(pthread_t thread_id) { in ThreadHash() argument 198 return static_cast<uint32_t>(reinterpret_cast<intptr_t>(thread_id)); in ThreadHash() 200 return static_cast<uint32_t>(thread_id); in ThreadHash() 227 pthread_t thread_id = sampler->platform_data()->vm_tid(); in AddSampler() local 229 sampler_map_.LookupOrInsert(ThreadKey(thread_id), in AddSampler() 230 ThreadHash(thread_id)); in AddSampler() 256 pthread_t thread_id = sampler->platform_data()->vm_tid(); in RemoveSampler() local 257 void* thread_key = ThreadKey(thread_id); in RemoveSampler() [all …]
|
/external/lldb/include/lldb/Target/ |
D | ThreadSpec.h | 85 TIDMatches (lldb::tid_t thread_id) const in TIDMatches() argument 87 if (m_tid == LLDB_INVALID_THREAD_ID || thread_id == LLDB_INVALID_THREAD_ID) in TIDMatches() 90 return thread_id == m_tid; in TIDMatches()
|