| /external/lldb/include/lldb/Target/ |
| OperatingSystem.h | 73 ThreadWasSelected (Thread *thread) = 0; 76 CreateRegisterContextForThread (Thread *thread, lldb::addr_t reg_data_addr) = 0; 79 CreateThreadStopReason (Thread *thread) = 0;
|
| /external/lldb/source/Plugins/Process/Utility/ |
| StopInfoMachException.h | 29 StopInfoMachException (Thread &thread, 34 StopInfo (thread, exc_type), 59 CreateStopReasonWithMachException (Thread &thread,
|
| /external/valgrind/main/helgrind/tests/ |
| pth_destroy_cond.c | 10 pthread_t thread; variable 29 pthread_create(&thread, NULL, ThreadFunction, (void*) NULL); 35 pthread_join(thread, NULL);
|
| /external/valgrind/main/none/tests/s390x/ |
| ex_clone.c | 13 pthread_t thread; variable 42 pthread_create(&thread, NULL, threadfunc, NULL); 57 pthread_join(thread, NULL);
|
| /frameworks/opt/bitmap/src/com/android/bitmap/ |
| NamedThreadFactory.java | 34 public Thread newThread(final Runnable runnable) { 35 final Thread thread = mDefaultThreadFactory.newThread(runnable); local 36 thread.setName(mBaseName + "-" + mCount.getAndIncrement()); 37 return thread;
|
| /libcore/luni/src/test/java/libcore/java/io/ |
| InterruptedStreamTest.java | 40 * Test that interrupting a thread blocked on I/O causes that thread to throw 52 Thread.interrupted(); 61 Thread.interrupted(); // clear interrupted bit 121 Thread thread = interruptMeLater(); local 127 confirmInterrupted(thread); 132 Thread thread = interruptMeLater(); local 138 confirmInterrupted(thread); 143 Thread thread = interruptMeLater(); local 154 Thread thread = interruptMeLater(); local 167 Thread thread = interruptMeLater(); local 180 Thread thread = interruptMeLater(); local 195 Thread thread = new Thread(new Runnable () { local [all...] |
| /art/runtime/ |
| thread_list.cc | 36 #include "thread.h" 46 thread_exit_cond_("thread exit condition variable", *Locks::thread_list_lock_) { 51 // Detach the current thread if necessary. If we failed to start, there might not be any threads. 52 // We need to detach the current thread here in case there's another thread waiting to join with 56 Thread* self = Thread::Current(); 65 // TODO: there's an unaddressed race here where a thread may attach during shutdown, see 66 // Thread::Init. 70 bool ThreadList::Contains(Thread* thread) 467 Thread* thread; local 548 Thread* thread = nullptr; local [all...] |
| /external/chromium_org/apps/shell/renderer/ |
| shell_renderer_main_delegate.h | 19 // Called when |thread| is started, after the extensions subsystem has been 20 // initialized for |thread|. 21 virtual void OnThreadStarted(content::RenderThread* thread) = 0;
|
| /external/chromium_org/jingle/notifier/listener/ |
| push_client_unittest.cc | 12 #include "base/threading/thread.h" 36 // Make sure calling CreateDefault on the IO thread doesn't blow up. 42 // Make sure calling CreateDefault on a non-IO thread doesn't blow up. 44 base::Thread thread("Non-IO thread"); 45 EXPECT_TRUE(thread.Start()); 46 thread.message_loop()->PostTask( 50 thread.Stop(); 53 // Make sure calling CreateDefaultOnIOThread on the IO thread doesn' [all...] |
| /external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/ |
| pthread_detach.c | 5 * This translation unit implements functions related to thread 51 pthread_detach (pthread_t thread) 55 * This function detaches the given thread. 58 * thread 63 * This function detaches the given thread. You may use it to 64 * detach the main thread or to detach a joinable thread. 69 * 0 successfully detached the thread, 70 * EINVAL thread is not a joinable thread, [all...] |
| ptw32_tkAssocDestroy.c | 48 * ie) either the key or thread has stopped referencing it. 60 * Both key->keyLock and thread->threadLock are locked before 67 /* Remove assoc from thread's keys chain */ 79 if (assoc->thread->keys == assoc) 81 /* We're at the head of the thread's keys chain */ 82 assoc->thread->keys = next; 84 if (assoc->thread->nextAssoc == assoc) 87 * Thread is exiting and we're deleting the assoc to be processed next. 88 * Hand thread the assoc after this one. 90 assoc->thread->nextAssoc = next [all...] |
| /external/chromium_org/sandbox/linux/services/ |
| thread_helpers.h | 11 namespace base { class Thread; } 24 // Stop |thread| and ensure that it does not have an entry in 25 // /proc/self/task/ from the point of view of the current thread. This is 28 base::Thread* thread);
|
| /external/libcxx/test/thread/futures/futures.future_error/ |
| Android.mk | 17 test_makefile := external/libcxx/test/thread/futures/futures.future_error/Android.mk 19 test_name := thread/futures/futures.future_error/what 23 test_name := thread/futures/futures.future_error/code 27 test_name := thread/futures/futures.future_error/types
|
| /external/lldb/source/Plugins/Process/POSIX/ |
| RegisterContextFreeBSD_x86_64.h | 19 RegisterContextFreeBSD_x86_64(lldb_private::Thread &thread, uint32_t concrete_frame_idx);
|
| RegisterContextLinux_x86_64.h | 19 RegisterContextLinux_x86_64(lldb_private::Thread &thread, uint32_t concrete_frame_idx);
|
| /external/lldb/test/functionalities/return-value/ |
| TestReturnValue.py | 44 thread = thread_list[0] 48 in_value = thread.GetFrameAtIndex(0).FindVariable ("value") 60 thread.StepOut() 63 self.assertTrue (thread.GetStopReason() == lldb.eStopReasonPlanComplete) 67 frame = thread.GetFrameAtIndex(0) 71 frame = thread.GetFrameAtIndex(0) 72 ret_value = thread.GetStopReturnValue() 102 # The stop reason of the thread should be breakpoint. 107 thread = lldbutil.get_stopped_thread (self.process, lldb.eStopReasonBreakpoint) 110 in_int = thread.GetFrameAtIndex(0).FindVariable ("value").GetValueAsSigned(error [all...] |
| /external/lldb/test/lang/objc/objc-stepping/ |
| TestObjCStepping.py | 86 # The stop reason of the thread should be breakpoint. 91 thread = threads[0] 93 mySource = thread.GetFrameAtIndex(0).FindVariable("mySource") 107 thread.StepInto() 108 line_number = thread.GetFrameAtIndex(0).GetLineEntry().GetLine() 112 thread.StepInto() 113 line_number = thread.GetFrameAtIndex(0).GetLineEntry().GetLine() 120 thread = threads[0] 121 thread.StepInto() 122 line_number = thread.GetFrameAtIndex(0).GetLineEntry().GetLine( [all...] |
| /external/valgrind/main/coregrind/m_gdbserver/ |
| inferiors.c | 68 error ("tried to change thread ID after multiple threads are created\n"); 122 struct thread_info *thread = get_thread (inf); local 124 return thread->gdb_id; 131 unsigned int thread_to_gdb_id (struct thread_info *thread) 133 return thread->gdb_id; 141 struct thread_info *thread = get_thread (inf); local 142 if (thread->gdb_id == gdb_id) 143 return thread; 152 struct thread_info *thread = gdb_id_to_thread (gdb_id); local 154 return thread ? thread->entry.id : 0 160 struct thread_info *thread = get_thread (inf); local [all...] |
| /hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
| loc_eng_ni.h | 39 pthread_t thread; /* NI thread */ member in struct:__anon41000
|
| /libcore/dalvik/src/main/java/dalvik/system/profiler/ |
| SamplingProfiler.java | 30 * Thread.getStackTrace} to collect samples. As such, the overhead is 38 * SamplingProfiler}. It samples the current thread's stack to a depth 44 * ThreadSet threadSet = SamplingProfiler.newArrayThreadSet(Thread.currentThread()); 94 * Real hprof output examples don't start the thread and trace 105 * thread start and end events. 107 private Thread[] currentThreads = new Thread[0]; 114 private final Map<Thread, Integer> threadIds = new HashMap<Thread, Integer>(); 120 * be thread safe, have a single mutable instance would need to b [all...] |
| /external/libcxx/test/thread/thread.mutex/thread.once/thread.once.callonce/ |
| call_once.pass.cpp | 18 #include <thread> 152 std::thread t0(f0); 153 std::thread t1(f0); 160 std::thread t0(f3); 161 std::thread t1(f3); 169 std::thread t0(f41); 170 std::thread t1(f42); 179 std::thread t0(f1); 180 std::thread t1(f1); 187 std::thread t0(f2) [all...] |
| /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.once/thread.once.callonce/ |
| call_once.pass.cpp | 18 #include <thread> 160 std::thread t0(f0); 161 std::thread t1(f0); 168 std::thread t0(f3); 169 std::thread t1(f3); 177 std::thread t0(f41); 178 std::thread t1(f42); 187 std::thread t0(f1); 188 std::thread t1(f1); 195 std::thread t0(f2) [all...] |
| /art/runtime/entrypoints/portable/ |
| portable_alloc_entrypoints.cc | 28 Thread* thread) 30 return AllocObjectFromCode<false, true>(type_idx, referrer, thread, kPortableAllocatorType); 35 Thread* thread) 37 return AllocObjectFromCode<true, true>(type_idx, referrer, thread, kPortableAllocatorType); 43 Thread* self) 52 Thread* self) 61 Thread* thread) [all...] |
| /external/chromium_org/third_party/WebKit/Source/core/inspector/ |
| WorkerDebuggerAgent.cpp | 60 explicit RunInspectorCommandsTask(WorkerThread* thread) 61 : m_thread(thread) { } 87 workerDebuggerAgents().set(inspectedWorkerGlobalScope->thread(), this); 93 ASSERT(workerDebuggerAgents().contains(m_inspectedWorkerGlobalScope->thread())); 94 workerDebuggerAgents().remove(m_inspectedWorkerGlobalScope->thread()); 97 void WorkerDebuggerAgent::interruptAndDispatchInspectorCommands(WorkerThread* thread) 100 WorkerDebuggerAgent* agent = workerDebuggerAgents().get(thread); 102 agent->m_scriptDebugServer->interruptAndRunTask(adoptPtr(new RunInspectorCommandsTask(thread)));
|
| /external/chromium_org/third_party/libjingle/source/talk/base/ |
| asyncinvoker.cc | 53 void AsyncInvoker::Flush(Thread* thread, uint32 id /*= MQID_ANY*/) { 56 // Run this on |thread| to reduce the number of context switches. 57 if (Thread::Current() != thread) { 58 thread->Invoke<void>(Bind(&AsyncInvoker::Flush, this, thread, id)); 63 thread->Clear(this, id, &removed); 65 // This message was pending on this thread, so run it now. 66 thread->Send(it->phandler [all...] |