Searched refs:thread (Results 176 - 200 of 1503) sorted by relevance

1234567891011>>

/external/valgrind/main/none/tests/s390x/
H A Dex_clone.c13 pthread_t thread; variable
42 pthread_create(&thread, NULL, threadfunc, NULL);
57 pthread_join(thread, NULL);
/external/chromium-trace/trace-viewer/src/tracing/importer/linux_perf/
H A Dandroid_parser.js50 openAsyncSlice: function(thread, category, name, cookie, ts) {
55 slice.startThread = thread;
64 closeAsyncSlice: function(thread, name, cookie, ts) {
77 slice.endThread = thread;
93 var thread = this.model_.getOrCreateProcess(ppid)
95 thread.name = eventBase.threadName;
96 if (!thread.sliceGroup.isTimestampValidForBeginOrEnd(ts)) {
103 thread.sliceGroup.beginSlice(
114 var thread = this.model_.getOrCreateProcess(ppid)
116 if (!thread
[all...]
H A Dgesture_parser.js39 var thread = this.importer.getOrCreatePseudoThread('gesture').thread;
40 thread.sliceGroup.beginSlice(
45 var thread = this.importer.getOrCreatePseudoThread('gesture').thread;
46 if (thread.sliceGroup.openSliceCount) {
47 var slice = thread.sliceGroup.mostRecentlyOpenedPartialSlice;
53 thread.sliceGroup.endSlice(ts);
/external/chromium-trace/trace-viewer/src/tracing/tracks/
H A Dthread_track_test.js41 track.thread = t1;
63 var thread = new Thread(new Process(model, 7), 1);
64 thread.sliceGroup.pushSlice(newSliceNamed('a', 0, 0));
65 thread.asyncSliceGroup.push(newAsyncSliceNamed('a', 0, 5, t, t));
68 t.thread = thread;
84 var thread = new Thread(new Process(model, 7), 1);
85 thread.addSample('a', 'b', 0);
86 thread.addSample('a', 'c', 5);
87 thread
[all...]
/external/chromium_org/jingle/notifier/listener/
H A Dpush_client_unittest.cc12 #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't
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
H A Dpthread_detach.c5 * This translation unit implements functions related to thread
51 pthread_detach (pthread_t thread) argument
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...]
H A Dptw32_tkAssocDestroy.c48 * 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)
88 * Hand thread the assoc after this one.
90 assoc->thread->nextAssoc = next;
/external/libcxx/test/thread/futures/futures.future_error/
H A DAndroid.mk17 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/test/functionalities/return-value/
H A DTestReturnValue.py44 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
[all...]
/external/lldb/test/lang/objc/objc-stepping/
H A DTestObjCStepping.py86 # 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
[all...]
/external/valgrind/main/coregrind/m_gdbserver/
H A Dinferiors.c68 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) argument
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
160 struct thread_info *thread = get_thread (inf); local
165 remove_thread(struct thread_info *thread) argument
[all...]
/external/libcxx/test/thread/thread.mutex/thread.once/thread.once.callonce/
H A Dcall_once.pass.cpp18 #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 t
[all...]
/external/chromium_org/content/public/renderer/
H A Drenderer_gamepad_provider.h21 explicit RendererGamepadProvider(RenderThread* thread) argument
22 : PlatformEventObserver<blink::WebGamepadListener>(thread) { }
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
H A Dteststunserver.h33 #include "webrtc/base/thread.h"
40 TestStunServer(rtc::Thread* thread, argument
42 : socket_(thread->socketserver()->CreateAsyncSocket(addr.family(),
/external/chromium_org/third_party/webrtc/base/
H A Dasyncinvoker.cc36 void AsyncInvoker::Flush(Thread* thread, uint32 id /*= MQID_ANY*/) { argument
39 // Run this on |thread| to reduce the number of context switches.
40 if (Thread::Current() != thread) {
41 thread->Invoke<void>(Bind(&AsyncInvoker::Flush, this, thread, id));
46 thread->Clear(this, id, &removed);
48 // This message was pending on this thread, so run it now.
49 thread->Send(it->phandler,
55 void AsyncInvoker::DoInvoke(Thread* thread, AsyncClosure* closure, argument
63 thread
[all...]
H A Dasyncinvoker.h18 #include "webrtc/base/thread.h"
28 // AsyncInvoker does not own the thread it calls functors on.
45 // void FireAsyncTaskWithResult(Thread* thread, int x) {
48 // thread, Bind(&MyClass::AsyncTaskWithResult, this, x),
51 // void FireAnotherAsyncTask(Thread* thread) {
54 // thread, Bind(&MyClass::AnotherAsyncTask, this));
74 // Call |functor| asynchronously on |thread|, with no callback upon
77 void AsyncInvoke(Thread* thread, argument
82 DoInvoke(thread, closure, id);
85 // Call |functor| asynchronously on |thread|, callin
87 AsyncInvoke(Thread* thread, const FunctorT& functor, void (HostT::*callback)(ReturnT), HostT* callback_host, uint32 id = 0) argument
101 AsyncInvoke(Thread* thread, const FunctorT& functor, void (HostT::*callback)(), HostT* callback_host, uint32 id = 0) argument
[all...]
/external/compiler-rt/test/tsan/
H A Dbench_release_only.cc9 void thread(int tid) { function
19 start_thread_group(bench_nthread, thread);
H A Dbench_ten_mutexes.cc9 void thread(int tid) { function
22 start_thread_group(2, thread);
/external/deqp/framework/delibs/dethread/
H A DdeThread.h60 deBool deThread_join (deThread thread);
61 void deThread_destroy (deThread thread);
/external/libcxx/test/thread/futures/futures.async/
H A DAndroid.mk17 test_makefile := external/libcxx/test/thread/futures/futures.async/Android.mk
19 test_name := thread/futures/futures.async/async
/external/libcxx/test/thread/futures/futures.state/
H A DAndroid.mk17 test_makefile := external/libcxx/test/thread/futures/futures.state/Android.mk
19 test_name := thread/futures/futures.state/nothing_to_do
/external/libcxx/test/thread/futures/futures.tas/
H A DAndroid.mk17 test_makefile := external/libcxx/test/thread/futures/futures.tas/Android.mk
19 test_name := thread/futures/futures.tas/types
/external/libcxx/test/thread/thread.threads/thread.thread.class/thread.thread.constr/
H A DF.pass.cpp10 // <thread>
12 // class thread
14 // template <class F, class ...Args> thread(F&& f, Args&&... args);
16 #include <thread>
93 std::thread t(f);
102 std::thread t(f);
114 std::thread t((G()));
126 std::thread t((G()));
140 std::thread t(G(), 5, 5.5);
146 std::thread
[all...]
/external/valgrind/main/drd/tests/
H A Dpth_barrier_race.c22 static void* thread(void* arg) function
35 pthread_create(&tid, NULL, thread, NULL);
40 * happens after the created thread has returned from pthread_barrier_wait().
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_pthread_wrappers.h11 // It provides handy wrappers for thread manipulation, that:
44 inline void PTHREAD_CREATE(pthread_t *thread, void *attr, argument
50 *thread = CreateThread(0, 0, PthreadHelperThreadProc, data, 0, 0);
51 ASSERT_NE(nullptr, *thread) << "Failed to create a thread.";
54 inline void PTHREAD_JOIN(pthread_t thread, void **value_ptr) { argument
56 ASSERT_EQ(WAIT_OBJECT_0, WaitForSingleObject(thread, INFINITE));
57 ASSERT_NE(0, CloseHandle(thread));

Completed in 8264 milliseconds

1234567891011>>