| /external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
| event.c | 8 #include "thread.h" 323 int err = -1, thread, j; local 334 for (thread = 0; thread < threads->nr; ++thread) { 336 threads->map[thread], 0, 343 * comm.pid is set to thread group id by 346 if ((int) comm_event->comm.pid != threads->map[thread]) { 349 /* is thread group leader in thread_map? */ 403 * We may race with exiting thread, so don't stop just becaus 717 struct thread *thread = machine__findnew_thread(machine, sample->pid, local [all...] |
| sort.h | 24 #include "thread.h" 86 struct thread *thread; member in struct:hist_entry
|
| unwind.c | 27 #include "thread.h" 78 struct thread *thread; member in struct:unwind_info 274 thread__find_addr_map(ui->thread, ui->machine, PERF_RECORD_MISC_USER, 351 thread__find_addr_map(ui->thread, ui->machine, PERF_RECORD_MISC_USER, 468 static int entry(u64 ip, struct thread *thread, struct machine *machine, 474 thread__find_addr_location(thread, machine, 539 ret = entry(ip, ui->thread, ui->machine, cb, arg); 547 struct machine *machine, struct thread *thread [all...] |
| /external/lldb/source/API/ |
| SBBreakpoint.cpp | 27 #include "lldb/Target/Thread.h" 551 Thread *thread = exe_ctx.GetThreadPtr(); local 552 if (thread) 553 sb_thread.SetThread(thread->shared_from_this());
|
| /external/lldb/source/Plugins/Process/POSIX/ |
| ProcessPOSIX.cpp | 278 POSIXThread *thread = static_cast<POSIXThread*>( local 280 did_resume = thread->Resume() || did_resume; 338 POSIXThread *thread = static_cast<POSIXThread*>( local 340 error = m_monitor->Detach(thread->GetID()); 390 POSIXThread *thread = static_cast<POSIXThread*>( local 399 assert(thread); 400 thread->SetState(eStateStopped); 423 assert(thread); 424 thread->SetState(eStateExited); 435 assert(thread); 508 POSIXThread *thread = static_cast<POSIXThread*>( local 688 POSIXThread *thread = static_cast<POSIXThread*>( local 761 POSIXThread *thread = static_cast<POSIXThread*>( local 788 POSIXThread *thread = static_cast<POSIXThread*>( local 907 POSIXThread *thread = static_cast<POSIXThread*>( local [all...] |
| /external/lldb/tools/debugserver/source/MacOSX/ |
| MachThreadList.cpp | 288 // Iterator through the current thread list and see which threads 299 // Keep the existing thread class 304 // We don't have this thread, lets add it. 307 // Add the new thread regardless of its is user ready state... 308 // Make sure the thread is ready to be displayed and shown to users 309 // before we add this thread to our list... 341 // Figure out which thread is going to be our current thread. 342 // This is currently done by finding the first thread in the list 374 // Update our thread list, because sometimes libdispatch or the kerne 410 MachThread *thread = m_threads[idx].get(); local [all...] |
| /external/mesa3d/src/gallium/drivers/rbug/ |
| rbug_core.c | 57 pipe_thread thread; member in struct:rbug_rbug 858 tr_rbug->thread = pipe_thread_create(rbug_thread, tr_rbug); 870 pipe_thread_wait(tr_rbug->thread);
|
| /external/skia/gm/rebaseline_server/ |
| server.py | 23 import thread namespace 260 thread attempts to update either self._results or the underlying files at 386 thread.start_new_thread(self._result_loader, arg_tuple) 451 # ExpectationComparisons object within another thread. 555 # no other thread updates expectations (from the Skia repo) while we are 570 # We can do this in a separate thread; we should return our success message 572 thread.start_new_thread(_SERVER.update_results, (True,))
|
| /external/valgrind/main/coregrind/m_gdbserver/ |
| target.c | 54 struct thread_info *thread = get_thread (inf); local 55 if (!VG_(lwpid_to_vgtid)(thread_to_gdb_id(thread))) { 57 image_ptid(thread_to_gdb_id(thread))); 58 remove_thread (thread); 95 dlog(2, "(known thread)" LOCAL_THREAD_TRACE); 306 an existing thread. Otherwise, we are still in the init phase. 307 (hack similar to main thread hack in valgrind_update_threads) */ 598 /* If we are continuing any (all) thread(s), use step_thread 599 to decide which thread to step and/or send the specified
|
| /frameworks/opt/telephony/src/java/com/google/android/mms/util/ |
| PduCache.java | 104 HashSet<Uri> thread = mThreads.get(threadId); local 105 if (thread == null) { 106 thread = new HashSet<Uri>(); 107 mThreads.put(threadId, thread); 114 thread.add(finalKey); 232 HashSet<Uri> thread = mThreads.get(entry.getThreadId()); local 233 if (thread != null) { 234 thread.remove(key); 240 Log.v(TAG, "Purge cache in thread: " + threadId); 243 HashSet<Uri> thread = mThreads.remove(threadId) local [all...] |
| /frameworks/wilhelm/tests/sandbox/ |
| playbq.c | 131 // This thread reads from a (slow) filesystem with unpredictable latency and writes to pipe 569 // create thread to read from file 570 pthread_t thread; local 571 int ok = pthread_create(&thread, (const pthread_attr_t *) NULL, file_reader_loop, NULL); 574 // give thread a head start so that the pipe is initially filled
|
| playbq.cpp | 131 // This thread reads from a (slow) filesystem with unpredictable latency and writes to pipe 569 // create thread to read from file 570 pthread_t thread; local 571 int ok = pthread_create(&thread, (const pthread_attr_t *) NULL, file_reader_loop, NULL); 574 // give thread a head start so that the pipe is initially filled
|
| /packages/apps/Gallery2/src/com/android/gallery3d/util/ |
| Profile.java | 26 // The Profile class is used to collect profiling information for a thread. It 27 // samples stack traces for a thread periodically. enable() and disable() is 28 // used to enable and disable profiling for the calling thread. The profiling 39 // This is a watchdog entry for one thread. 40 // For every cycleTime period, we dump the stack of the thread. 42 Thread thread; field in class:Profile.WatchEntry 52 // This is a watchdog thread which dumps stacks of other threads periodically. 77 public synchronized void addWatchEntry(Thread thread, int cycleTime) 112 Thread thread = entry.thread; local 126 Thread thread = entry.thread; local [all...] |
| /packages/apps/Nfc/nci/jni/ |
| NfcJniUtil.h | 97 /* Thread handle */ 98 pthread_t thread; member in struct:nfc_jni_native_data
|
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/logging/ |
| config.py | 31 import thread namespace 34 thread = None variable 812 Returns a Thread object on which you can call start() to start the server, 816 if not thread: [all...] |
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
| test_threading.py | 10 thread = test.test_support.import_module('thread') variable 31 class TestThread(threading.Thread): 33 threading.Thread.__init__(self, name=name) 89 t = TestThread("<thread %d>"%i, self, sema, mutex, numrunning) 108 # The ident still must work for the main thread and dummy threads. 115 thread.start_new_thread(f, ()) 121 # run with a small(ish) thread stack size (256kB) 124 print 'with 256kB thread stack size...' 127 except thread.error [all...] |
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/logging/ |
| config.py | 31 import thread namespace 34 thread = None variable 812 Returns a Thread object on which you can call start() to start the server, 816 if not thread: [all...] |
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
| test_threading.py | 10 thread = test.test_support.import_module('thread') variable 31 class TestThread(threading.Thread): 33 threading.Thread.__init__(self, name=name) 89 t = TestThread("<thread %d>"%i, self, sema, mutex, numrunning) 108 # The ident still must work for the main thread and dummy threads. 115 thread.start_new_thread(f, ()) 121 # run with a small(ish) thread stack size (256kB) 124 print 'with 256kB thread stack size...' 127 except thread.error [all...] |
| /system/core/libbacktrace/ |
| backtrace_test.cpp | 66 thread_t thread; member in struct:dump_thread_t 174 thread_t* thread = reinterpret_cast<thread_t*>(data); local 175 android_atomic_acquire_store(1, &thread->state); 177 while (thread->state) { 388 pthread_t thread; local 389 ASSERT_TRUE(pthread_create(&thread, &attr, PtraceThreadLevelRun, NULL) == 0); 447 thread_t* thread = reinterpret_cast<thread_t*>(data); local 449 thread->tid = gettid(); 460 pthread_t thread; local 461 ASSERT_TRUE(pthread_create(&thread, &attr, ThreadLevelRun, &thread_data) == 0) 498 pthread_t thread; local 523 thread_t* thread = reinterpret_cast<thread_t*>(data); local 536 pthread_t thread; local 846 pthread_t thread; local [all...] |
| /frameworks/base/services/core/java/com/android/server/am/ |
| ActiveServices.java | 126 * while waiting for their corresponding application thread to get [all...] |
| /art/runtime/jdwp/ |
| jdwp_event.cc | 33 #include "thread-inl.h" 38 The event add/remove stuff usually happens from the debugger thread, 40 result of an event in an arbitrary thread (e.g. an event with a "count" 44 Event posting can happen from any thread. The JDWP thread will not usually 46 to be loaded, the ClassPrepare event will come from the JDWP thread. 50 For example, a thread could send an "I hit a breakpoint and am suspending 52 debugger's response ("not interested, resume thread") arrives and is 53 processed. We try to resume a thread that hasn't yet suspended. 56 for the event thread to suspend itself (and, potentially, all other threads 118 Thread* thread; \/* ThreadOnly *\/ member in struct:art::JDWP::ModBasket [all...] |
| /art/runtime/ |
| monitor.cc | 32 #include "thread.h" 63 * Only one thread can own the monitor at any time. There may be several threads waiting on it 83 Monitor::Monitor(Thread* self, Thread* owner, mirror::Object* obj, int32_t hash_code) 105 Monitor::Monitor(Thread* self, Thread* owner, mirror::Object* obj, int32_t hash_code, 137 bool Monitor::Install(Thread* self) { 153 // The owner_ is suspended but another thread beat us to install a monitor. 182 * Links a thread into a monitor's wait set. The monitor lock must be 185 void Monitor::AppendToWaitSet(Thread* thread) 319 oss << *thread; local 581 Thread* thread = wait_set_; local 604 Thread* thread = wait_set_; local [all...] |
| /external/chromium_org/chrome/browser/history/ |
| history_service.cc | 5 // The history system runs on a background thread so that potentially slow 8 // that thread. 10 // Main thread History thread 31 #include "base/threading/thread.h" 123 // Sends messages from the backend to us on the main thread. This must be a 139 // Send to the history service on the main thread. 148 // Send the backend to the history service on the main thread. 158 // Send the notification on the history thread. 164 // Send the notification to the history service on the main thread 282 base::Thread* thread = thread_; local [all...] |
| /external/chromium_org/content/child/ |
| blink_platform_impl.cc | 443 WebThreadImplForMessageLoop* thread = local 445 if (thread) 446 return (thread); 453 thread = new WebThreadImplForMessageLoop(message_loop.get()); 454 current_thread_slot_.Set(thread); 455 return thread; 524 NOTREACHED() << "Unknown thread bucket type."; [all...] |
| /external/chromium_org/third_party/libjingle/source/talk/base/ |
| virtualsocket_unittest.cc | 38 #include "talk/base/thread.h" 46 Sender(Thread* th, AsyncSocket* s, uint32 rt) 47 : thread(th), socket(new AsyncUDPSocket(s)), 50 thread->PostDelayed(NextDelay(), this, 1); 75 thread->PostDelayed(NextDelay(), this, 1); 78 Thread* thread; member in struct:Sender 89 Receiver(Thread* th, AsyncSocket* s, uint32 bw) 90 : thread(th), socket(new AsyncUDPSocket(s)), bandwidth(bw), done(false), 93 thread->PostDelayed(1000, this, 1) 131 Thread* thread; member in struct:Receiver [all...] |