| /external/lldb/test/functionalities/thread/state/ |
| TestThreadStates.py | 2 Test thread states. 13 mydir = os.path.join("functionalities", "thread", "state") 18 """Test thread state after breakpoint.""" 24 """Test thread state after breakpoint.""" 31 """Test thread state after continue.""" 37 """Test thread state after continue.""" 44 """Test thread state after expression.""" 50 """Test thread state after expression.""" 56 @unittest2.expectedFailure("llvm.org/pr16172") # thread states not properly maintained 63 @unittest2.expectedFailure("llvm.org/pr16712") # thread states not properly maintaine [all...] |
| /external/lldb/test/python_api/lldbutil/frame/ |
| TestFrameUtils.py | 45 thread = lldbutil.get_stopped_thread(process, lldb.eStopReasonBreakpoint) 46 self.assertTrue (thread) 47 frame0 = thread.GetFrameAtIndex(0) 49 frame1 = thread.GetFrameAtIndex(1) 57 lldbutil.print_stacktrace(thread)
|
| /libcore/luni/src/test/java/libcore/java/nio/channels/ |
| OldServerSocketChannelTest.java | 83 class MyThread extends Thread { 97 MyThread thread = new MyThread(); local 98 thread.start(); 100 Thread.currentThread().sleep(TIME_UNIT); 101 thread.interrupt(); 105 if (thread.errMsg != null) { 106 fail(thread.errMsg);
|
| /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/ |
| mutex_duration.pass.cpp | 18 #include <thread> 60 std::vector<std::thread> v; 62 v.push_back(std::thread(f1)); 70 std::vector<std::thread> v; 72 v.push_back(std::thread(f2));
|
| mutex_time_point.pass.cpp | 18 #include <thread> 60 std::vector<std::thread> v; 62 v.push_back(std::thread(f1)); 70 std::vector<std::thread> v; 72 v.push_back(std::thread(f2));
|
| /external/lldb/test/functionalities/inferior-assert/ |
| TestInferiorAssert.py | 75 # The stop reason of the thread should be an abort signal or exception. 76 self.expect("thread list", STOPPED_DUE_TO_ASSERT, 97 self.expect("thread backtrace all", 101 self.expect("thread backtrace all", 121 thread = lldbutil.get_stopped_thread(process, lldb.eStopReasonSignal) 122 if not thread: 123 self.fail("Fail to stop the thread upon assert") 126 lldbutil.print_stacktrace(thread) 155 thread = process.GetThreadAtIndex(0) 156 self.assertTrue(thread.IsValid(), "current thread is valid" [all...] |
| /frameworks/base/libs/hwui/renderthread/ |
| RenderProxy.cpp | 55 CREATE_BRIDGE4(createContext, RenderThread* thread, bool translucent, 57 return new CanvasContext(*args->thread, args->translucent, 67 args->thread = &mRenderThread; 94 CREATE_BRIDGE2(setFrameInterval, RenderThread* thread, nsecs_t frameIntervalNanos) { 95 args->thread->timeLord().setFrameInterval(args->frameIntervalNanos); 101 args->thread = &mRenderThread; 207 // the render thread. 211 CREATE_BRIDGE2(invokeFunctor, RenderThread* thread, Functor* functor) { 212 CanvasContext::invokeFunctor(*args->thread, args->functor); 218 RenderThread& thread = RenderThread::getInstance() local 339 RenderThread& thread = RenderThread::getInstance(); local [all...] |
| /external/chromium_org/third_party/npapi/npspy/extern/nspr/md/ |
| _nec.h | 72 ** Initialize the thread context preparing it to execute "e(o,a)" 74 #define _MD_INIT_CONTEXT(thread, _sp, _main, status) \ 77 getcontext(CONTEXT(thread)); \ 78 CONTEXT(thread)->uc_stack.ss_sp = (char*) (thread)->stack->stackBottom; \ 79 CONTEXT(thread)->uc_stack.ss_size = (thread)->stack->stackSize; \ 80 _MD_GET_SP(thread) = (greg_t) _sp - 64; \ 81 makecontext(CONTEXT(thread), _main, 0); \ 91 ** Restore a thread context, saved by _MD_SWITCH_CONTEX [all...] |
| _reliantunix.h | 182 ** Initialize the thread context preparing it to execute "_main()" 187 #define _MD_INIT_CONTEXT(thread, _sp, _main, status) \ 190 _GETCONTEXT(CONTEXT(thread)); \ 192 CONTEXT(thread)->uc_stack.ss_sp = thread->stack->stackBottom; \ 193 CONTEXT(thread)->uc_stack.ss_size = thread->stack->stackSize; \ 194 CONTEXT(thread)->uc_mcontext.gpregs[CXT_SP] = ((unsigned long)_sp - 128) & 0xfffffff8; \ 195 CONTEXT(thread)->uc_mcontext.gpregs[CXT_T9] = _main; \ 196 CONTEXT(thread)->uc_mcontext.gpregs[CXT_EPC] = _main; [all...] |
| /external/qemu/util/ |
| qemu-thread-win32.c | 2 * Win32 implementation for mutex/cond/thread functions 14 #include "qemu/thread.h" 119 * only if another thread is executing pthread_cond_broadcast and 151 * the external mutex is held, no thread can leave cond_wait, 152 * yet. For this reason, we can be sure that no thread gets 175 /* Now waiters must rendez-vous with the signaling thread and 183 * until the signaling thread relinquishes it. To ensure 185 * the signaling thread stops until it is told by the last 299 void *qemu_thread_join(QemuThread *thread) 305 data = thread->data [all...] |
| /art/compiler/llvm/ |
| runtime_support_builder_arm.cc | 20 #include "thread.h" 60 /* Thread */ 65 CallInst* thread = irb_.CreateCall(func); local 66 thread->setDoesNotAccessMemory(); 67 irb_.SetTBAA(thread, kTBAAConstJObject); 68 return thread; 98 Value* RuntimeSupportBuilderARM::EmitSetCurrentThread(Value* thread) { 100 // sets the current thread. 115 irb_.CreateCall(func, thread);
|
| /art/runtime/ |
| instrumentation.h | 40 class Thread; 54 // the events they are listening for. The call backs supply the thread, method and dex_pc the event 55 // occurred upon. The thread may or may not be Thread::Current(). 61 virtual void MethodEntered(Thread* thread, mirror::Object* this_object, 68 virtual void MethodExited(Thread* thread, mirror::Object* this_object, 75 virtual void MethodUnwind(Thread* thread, mirror::Object* this_object [all...] |
| /device/generic/goldfish/opengl/system/egl/ |
| ClientAPIExts.cpp | 94 EGLThreadInfo* thread = getEGLThreadInfo(); \ 95 if (!thread->currentContext) { \ 98 int idx = (int)thread->currentContext->version - 1; \ 108 EGLThreadInfo* thread = getEGLThreadInfo(); \ 109 if (!thread->currentContext) { \ 112 int idx = (int)thread->currentContext->version - 1; \
|
| /external/chromium_org/sandbox/win/src/ |
| policy_target.cc | 74 NtSetInformationThreadFunction orig_SetInformationThread, HANDLE thread, 96 return orig_SetInformationThread(thread, thread_info_class, 105 // access to open the thread token. 107 NtOpenThreadTokenFunction orig_OpenThreadToken, HANDLE thread, 112 return orig_OpenThreadToken(thread, desired_access, open_as_self, token); 117 NtOpenThreadTokenExFunction orig_OpenThreadTokenEx, HANDLE thread, 123 return orig_OpenThreadTokenEx(thread, desired_access, open_as_self,
|
| /external/chromium_org/win8/test/ |
| open_with_dialog_async.cc | 6 // SHOpenWithDialog function. The call is made on a dedicated UI thread in a 20 #include "base/threading/thread.h" 37 base::Thread thread; member in struct:win8::__anon21258::OpenWithContext 53 : thread("OpenWithDialog"), 60 thread.init_com_with_mta(false); 61 thread.Start(); 67 // SHOpenWithDialog on the caller's initial thread. 72 // Join with the thread. 80 // thread [all...] |
| /external/compiler-rt/lib/asan/ |
| asan_thread.h | 32 // These objects are created for every thread and are never deleted, 33 // so we can find them by tid even if the thread is long dead. 41 thread(0) { 46 AsanThread *thread; member in class:__asan::AsanThreadContext 55 // AsanThread are stored in TSD and destroyed when the thread dies. 62 void Init(); // Should be called from the thread itself. 100 // True is this thread is currently unwinding stack (i.e. collecting a stack 136 explicit ScopedUnwinding(AsanThread *t) : thread(t) { 139 ~ScopedUnwinding() { thread->setUnwinding(false); } 142 AsanThread *thread; member in class:__asan::ScopedUnwinding 146 AsanThread *thread; member in struct:__asan::CreateThreadContextArgs [all...] |
| /external/guava/guava/src/com/google/common/util/concurrent/ |
| ThreadFactoryBuilder.java | 22 import java.lang.Thread.UncaughtExceptionHandler; 30 * <li> whether threads should be marked as {@linkplain Thread#setDaemon daemon} 33 * <li> a {@linkplain Thread#setPriority thread priority} 34 * <li> an {@linkplain Thread#setUncaughtExceptionHandler uncaught exception 36 * <li> a {@linkplain ThreadFactory#newThread backing thread factory} 38 * If no backing thread factory is provided, a default backing thread factory is 58 * Sets the naming format to use when naming threads ({@link Thread#setName}) 93 // Thread#setPriority() already checks for validity. These error message [all...] |
| /external/lldb/test/functionalities/exec/ |
| TestExec.py | 67 # The stop reason of the thread should be breakpoint. 71 thread = process.GetThreadAtIndex (0) 73 self.assertTrue (thread.IsValid(), 74 "Process stopped at 'main' should have a valid thread"); 76 stop_reason = thread.GetStopReason() 79 "Thread in process stopped in 'main' should have a stop reason of eStopReasonBreakpoint"); 87 thread = process.GetThreadAtIndex (0) 89 self.assertTrue (thread.IsValid(), 90 "Process stopped at exec should have a valid thread"); 92 stop_reason = thread.GetStopReason( [all...] |
| /external/lldb/test/python_api/function_symbol/ |
| TestSymbolAPI.py | 63 thread = lldbutil.get_stopped_thread(process, lldb.eStopReasonBreakpoint) 64 self.assertTrue(thread.IsValid(), "There should be a thread stopped due to breakpoint condition") 65 frame0 = thread.GetFrameAtIndex(0) 76 thread = lldbutil.get_stopped_thread(process, lldb.eStopReasonBreakpoint) 77 self.assertTrue(thread.IsValid(), "There should be a thread stopped due to breakpoint condition") 78 frame0 = thread.GetFrameAtIndex(0)
|
| /external/lldb/test/python_api/watchpoint/ |
| TestSetWatchpoint.py | 60 thread = lldbutil.get_stopped_thread(process, lldb.eStopReasonBreakpoint) 61 frame0 = thread.GetFrameAtIndex(0) 83 thread = lldbutil.get_stopped_thread(process, lldb.eStopReasonWatchpoint) 84 self.assertTrue(thread, "The thread stopped due to watchpoint") 93 thread = lldbutil.get_stopped_thread(process, lldb.eStopReasonWatchpoint) 94 self.assertTrue(thread, "The thread stopped due to watchpoint")
|
| /external/valgrind/main/drd/tests/ |
| annotate_ignore_rw2.stderr.exp | 2 Conflicting load by thread 1 at 0x........ size 1 7 Conflicting store by thread 1 at 0x........ size 1 12 Conflicting load by thread 1 at 0x........ size 1
|
| annotate_ignore_write.stderr.exp | 2 Conflicting load by thread 1 at 0x........ size 1 7 Conflicting load by thread 1 at 0x........ size 1 12 Conflicting store by thread 1 at 0x........ size 1
|
| /sdk/emulator/opengl/host/libs/Translator/EGL/ |
| ClientAPIExts.cpp | 96 ThreadInfo* thread = getThreadInfo(); \ 97 if (!thread->eglContext.Ptr()) { \ 100 int idx = (int)thread->eglContext->version() - 1; \ 110 ThreadInfo* thread = getThreadInfo(); \ 111 if (!thread->eglContext.Ptr()) { \ 114 int idx = (int)thread->eglContext->version() - 1; \
|
| /frameworks/av/services/audioflinger/ |
| AudioFlinger.cpp | 561 // further sample rate checks are performed by createTrack_l() depending on the thread type 568 // further channel mask checks are performed by createTrack_l() depending on the thread type 575 // further format checks are performed by createTrack_l() depending on the thread type 590 PlaybackThread *thread = checkPlaybackThread_l(output); local 591 if (thread == NULL) { 592 ALOGE("no playback thread found for output handle %d", output); 604 // output thread and move it here. 624 track = thread->createTrack_l(client, streamType, sampleRate, format, 629 // move effect chain to this output thread if an effect on same session was waiting 633 Mutex::Autolock _dl(thread->mLock) 679 PlaybackThread *thread = checkPlaybackThread_l(output); local 690 PlaybackThread *thread = checkPlaybackThread_l(output); local 701 PlaybackThread *thread = checkPlaybackThread_l(output); local 714 PlaybackThread *thread = checkPlaybackThread_l(output); local 907 PlaybackThread *thread = NULL; local 958 PlaybackThread *thread = checkPlaybackThread_l(output); local 1011 sp<RecordThread> thread = mRecordThreads.valueAt(i); local 1042 sp<ThreadBase> thread; local 1262 sp<PlaybackThread> thread; local 1405 RecordThread *thread = checkRecordThread_l(input); local 1576 PlaybackThread *thread = primaryPlaybackThread_l(); local 1583 PlaybackThread *thread = primaryPlaybackThread_l(); local 1608 sp<PlaybackThread> thread = mPlaybackThreads.valueAt(i); local 1688 PlaybackThread *thread; local 1730 sp<PlaybackThread> thread = openOutput_l(module, output, config, *devices, address, flags); local 1769 DuplicatingThread *thread = new DuplicatingThread(this, thread1, id); local 1786 sp<PlaybackThread> thread; local 1855 PlaybackThread *thread = checkPlaybackThread_l(output); local 1870 PlaybackThread *thread = checkPlaybackThread_l(output); local 1897 sp<RecordThread> thread = openInput_l(module, input, config, *device, address, source, flags); local 2011 sp<RecordThread> thread = new RecordThread(this, local 2038 sp<RecordThread> thread; local 2115 PlaybackThread *thread = mPlaybackThreads.valueAt(i).get(); local 2256 PlaybackThread *thread = checkPlaybackThread_l(output); local 2274 PlaybackThread *thread = mPlaybackThreads.valueAt(i).get(); local 2285 PlaybackThread *thread = primaryPlaybackThread_l(); local 2505 ThreadBase *thread = checkRecordThread_l(io); local [all...] |
| /external/chromium_org/third_party/libvpx/source/libvpx/vp8/common/ |
| threading.h | 21 /* Thread management macros */ 32 #define pthread_join(thread, result) ((WaitForSingleObject((thread),INFINITE)!=WAIT_OBJECT_0) || !CloseHandle(thread)) 33 #define pthread_detach(thread) if(thread!=NULL)CloseHandle(thread) 35 #define pthread_cancel(thread) terminate_thread(thread,0) 54 #define pthread_join(thread, result) ((int)DosWaitThread(&(thread),0) [all...] |