Home
last modified time | relevance | path

Searched defs:thread (Results 1 – 25 of 456) sorted by relevance

12345678910>>...19

/external/llvm/include/llvm/Support/
Dthread.h41 typedef std::thread thread; typedef
50 struct thread { struct
51 thread() {} in thread() function
52 thread(thread &&other) {} in thread() function
54 explicit thread(Function &&f, Args &&... args) { in thread() argument
59 void join() {} in join()
60 static unsigned hardware_concurrency() { return 1; }; in hardware_concurrency()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
Dthread.h41 typedef std::thread thread; typedef
50 struct thread { struct
51 thread() {} in thread() function
52 thread(thread &&other) {} in thread() argument
54 explicit thread(Function &&f, Args &&... args) { in thread() function
59 void join() {} in join()
60 static unsigned hardware_concurrency() { return 1; }; in hardware_concurrency()
/external/libmojo/mojo/edk/system/
Dwaiter_unittest.cc100 WaitingThread thread(10 * test::EpsilonDeadline()); in TEST() local
111 WaitingThread thread(10 * test::EpsilonDeadline()); in TEST() local
122 WaitingThread thread(10 * test::EpsilonDeadline()); in TEST() local
135 WaitingThread thread(10 * test::EpsilonDeadline()); in TEST() local
148 WaitingThread thread(2 * test::EpsilonDeadline()); in TEST() local
161 WaitingThread thread(MOJO_DEADLINE_INDEFINITE); in TEST() local
172 WaitingThread thread(MOJO_DEADLINE_INDEFINITE); in TEST() local
183 WaitingThread thread(MOJO_DEADLINE_INDEFINITE); in TEST() local
196 WaitingThread thread(MOJO_DEADLINE_INDEFINITE); in TEST() local
248 WaitingThread thread(MOJO_DEADLINE_INDEFINITE); in TEST() local
[all …]
Dawakable_list_unittest.cc29 test::SimpleWaiterThread thread(&result, &context); in TEST() local
42 test::SimpleWaiterThread thread(&result, &context); in TEST() local
53 test::SimpleWaiterThread thread(&result, &context); in TEST() local
70 test::SimpleWaiterThread thread(&result, &context); in TEST() local
84 test::SimpleWaiterThread thread(&result, &context); in TEST() local
100 test::SimpleWaiterThread thread(&result, &context); in TEST() local
120 test::SimpleWaiterThread thread(&result, &context); in TEST() local
133 test::SimpleWaiterThread thread(&result, &context); in TEST() local
146 test::SimpleWaiterThread thread(&result, &context); in TEST() local
/external/autotest/client/tests/monotonic_time/src/
Dthreads.c19 typedef struct thread { struct
20 pthread_t thread; member
22 thread_func_t func; argument
31 * Helper function to run a thread on a specific set of CPUs. argument
35 thread_t *thread = arg; in run_thread() local
58 thread_t *thread; in create_per_cpu_threads() local
93 thread_t *thread; in create_threads() local
/external/ltp/testcases/realtime/include/
Dlibrttest.h80 struct thread { struct
81 struct list_head _threads; argument
82 pthread_t pthread; argument
83 pthread_attr_t attr; argument
84 pthread_mutex_t mutex; argument
85 pthread_cond_t cond; argument
95 // flags for threads argument
/external/syslinux/core/include/
Dthread.h35 struct thread *thread; member
44 struct thread { struct
45 struct thread_stack *esp; /* Must be first; stack pointer */ argument
46 unsigned int thread_magic; argument
48 struct thread_list list; argument
49 struct thread_block *blocked; argument
59 void __switch_to(struct thread *); argument
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
DSocketHandlerTest.java170 ServerThread thread = new ServerThread(); in testConstructor_NoProperties() local
204 ServerThread thread = new ServerThread(); in testConstructor_NoBasicProperties() local
241 ServerThread thread = new ServerThread(); in testConstructor_ValidProperties() local
285 ServerThread thread = new ServerThread(); in testConstructor_InvalidBasicProperties() local
420 ServerThread thread = new ServerThread(); in testClose_SufficientPrivilege_NormalClose() local
448 ServerThread thread = new ServerThread(); in testClose_SufficientPrivilege_DirectClose() local
473 ServerThread thread = new ServerThread(); in testPublish_NoFilter() local
512 ServerThread thread = new ServerThread(); in testPublish_WithFilter() local
542 ServerThread thread = new ServerThread(); in testPublish_Null() local
569 ServerThread thread = new ServerThread(); in testPublish_EmptyMsg() local
[all …]
/external/deqp/framework/delibs/destream/
DdeStreamCpyThread.c30 deStreamCpyThread* thread = (deStreamCpyThread*)arg; in cpyStream() local
62 deStreamCpyThread* thread = malloc(sizeof(deStreamCpyThread)); in deStreamCpyThread_create() local
76 void deStreamCpyThread_destroy (deStreamCpyThread* thread) in deStreamCpyThread_destroy()
83 void deStreamCpyThread_join (deStreamCpyThread* thread) in deStreamCpyThread_join()
/external/mockito/src/main/java/org/mockito/internal/util/concurrent/
DDetachedThreadLocal.java65 public T pushTo(Thread thread) { in pushTo()
77 public T fetchFrom(Thread thread) { in fetchFrom()
89 public T get(Thread thread) { in get()
97 public void define(Thread thread, T value) { in define()
105 protected T initialValue(Thread thread) { in initialValue()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DThreadFactoryBuilderTest.java58 Thread thread = threadFactory.newThread(monitoredRunnable); in testThreadFactoryBuilder_defaults() local
92 private static void checkThreadPoolName(Thread thread, int threadId) { in checkThreadPoolName()
116 Thread thread = factory.newThread(monitoredRunnable); in testDaemon_false() local
122 Thread thread = factory.newThread(monitoredRunnable); in testDaemon_true() local
129 Thread thread = factory.newThread(monitoredRunnable); in testPriority_custom() local
193 Thread thread = builder.setThreadFactory(backingThreadFactory).build() in testThreadFactory() local
/external/webrtc/webrtc/modules/utility/source/
Dprocess_thread_impl_unittest.cc57 ProcessThreadImpl thread("ProcessThread"); in TEST() local
63 ProcessThreadImpl thread("ProcessThread"); in TEST() local
72 ProcessThreadImpl thread("ProcessThread"); in TEST() local
94 ProcessThreadImpl thread("ProcessThread"); in TEST() local
116 ProcessThreadImpl thread("ProcessThread"); in TEST() local
151 ProcessThreadImpl thread("ProcessThread"); in ProcessCallAfterAFewMs() local
216 ProcessThreadImpl thread("ProcessThread"); in TEST() local
249 ProcessThreadImpl thread("ProcessThread"); in TEST() local
296 ProcessThreadImpl thread("ProcessThread"); in TEST() local
/external/libcups/cups/
Dthread.c159 _cupsThreadCancel(_cups_thread_t thread)/* I - Thread ID */ in _cupsThreadCancel()
174 pthread_t thread; in _cupsThreadCreate() local
188 _cupsThreadDetach(_cups_thread_t thread)/* I - Thread ID */ in _cupsThreadDetach()
199 _cupsThreadWait(_cups_thread_t thread) /* I - Thread ID */ in _cupsThreadWait()
346 _cupsThreadCancel(_cups_thread_t thread)/* I - Thread ID */ in _cupsThreadCancel()
370 _cupsThreadDetach(_cups_thread_t thread)/* I - Thread ID */ in _cupsThreadDetach()
382 _cupsThreadWait(_cups_thread_t thread) /* I - Thread ID */ in _cupsThreadWait()
509 _cupsThreadCancel(_cups_thread_t thread)/* I - Thread ID */ in _cupsThreadCancel()
538 _cupsThreadDetach(_cups_thread_t thread)/* I - Thread ID */ in _cupsThreadDetach()
549 _cupsThreadWait(_cups_thread_t thread) /* I - Thread ID */ in _cupsThreadWait()
/external/elfutils/libdwfl/
Ddwfl_frame.c73 Dwfl_Thread *thread = state->thread; in state_free() local
80 thread_free_all_states (Dwfl_Thread *thread) in thread_free_all_states()
87 state_alloc (Dwfl_Thread *thread) in state_alloc()
269 Dwfl_Thread thread; in INTDEF() local
313 get_one_thread_cb (Dwfl_Thread *thread, void *arg) in get_one_thread_cb()
329 getthread (Dwfl *dwfl, pid_t tid, in getthread()
348 Dwfl_Thread thread; in getthread() local
390 get_one_thread_frames_cb (Dwfl_Thread *thread, void *arg) in get_one_thread_frames_cb()
/external/deqp/framework/delibs/dethread/unix/
DdeThreadUnix.c51 pthread_t thread; member
60 Thread* thread = (Thread*)entryPtr; in startThread() local
73 Thread* thread = (Thread*)deCalloc(sizeof(Thread)); in deThread_create() local
112 Thread* thread = (Thread*)threadptr; in deThread_join() local
130 Thread* thread = (Thread*)threadptr; in deThread_destroy() local
/external/valgrind/coregrind/m_gdbserver/
Dinferiors.c122 struct thread_info *thread = get_thread (inf); in thread_id_to_gdb_id() local
131 unsigned int thread_to_gdb_id (struct thread_info *thread) in thread_to_gdb_id()
141 struct thread_info *thread = get_thread (inf); in gdb_id_to_thread() local
152 struct thread_info *thread = gdb_id_to_thread (gdb_id); in gdb_id_to_thread_id() local
160 struct thread_info *thread = get_thread (inf); in free_one_thread() local
165 void remove_thread (struct thread_info *thread) in remove_thread()
/external/libchrome/base/threading/
Dplatform_thread_unittest.cc46 TrivialThread thread; in TEST() local
56 TrivialThread thread[10]; in TEST() local
73 TrivialThread thread; in TEST() local
83 TrivialThread thread[10]; in TEST() local
169 FunctionTestThread thread; in TEST() local
189 FunctionTestThread thread[10]; in TEST() local
291 ThreadPriorityTestThread thread(kThreadPriorityTestValues[i]); in TEST() local
/external/webrtc/webrtc/base/
Dthread_unittest.cc235 Thread *thread; in TEST() local
269 Thread thread; in TEST() local
289 AutoThread thread; in TEST() local
314 AutoThread thread; in TEST() local
386 void AsyncInvokeIntCallback(AsyncInvoker* invoker, Thread* thread) { in AsyncInvokeIntCallback()
393 void SetExpectedThreadForIntCallback(Thread* thread) { in SetExpectedThreadForIntCallback()
412 Thread thread; in TEST_F() local
423 Thread thread; in TEST_F() local
435 Thread thread; in TEST_F() local
452 Thread thread; in TEST_F() local
[all …]
Dplatform_thread_unittest.cc26 rtc::PlatformThread thread(&NullRunFunction, nullptr, "PlatformThreadTest"); in TEST() local
41 rtc::PlatformThread thread(&SetFlagRunFunction, &flag, "RunFunctionIsCalled"); in TEST() local
Dasyncinvoker.cc39 void AsyncInvoker::Flush(Thread* thread, uint32_t id /*= MQID_ANY*/) { in Flush()
58 void AsyncInvoker::DoInvoke(Thread* thread, in DoInvoke()
68 void AsyncInvoker::DoInvokeDelayed(Thread* thread, in DoInvokeDelayed()
/external/compiler-rt/test/tsan/
Dsignal_recursive.cc63 static void StopWorld(pthread_t thread) { in StopWorld()
73 static void StartWorld(pthread_t thread) { in StartWorld()
83 static void CollectGarbage(pthread_t thread) { in CollectGarbage()
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/
DExecutorFactoryTest.java59 assertEquals(Thread.currentThread(), thread); in testExecutorOnCurrentThread() local
101 assertEquals(Thread.currentThread(), thread); in testExecutorOnOtherThread() local
/external/deqp/framework/delibs/dethread/
DdeThreadTest.c96 deThread thread = deThread_create(threadTestThr1, &val, DE_NULL); in deThread_selfTest() local
107 deThread thread = deThread_create(threadTestThr2, DE_NULL, DE_NULL); in deThread_selfTest() local
120 deThread thread; in deThread_selfTest() local
141 deThread thread; in deThread_selfTest() local
158 deThread thread; in deThread_selfTest() local
277 deThread thread; in deMutex_selfTest() local
337 deThread thread; in deMutex_selfTest() local
637 deThread thread = deThread_create(singletonTestThread, &initTimeMs, DE_NULL); in runSingletonThreadedTest() local
649 deThread thread = deThreadArray_get(threads, threadNdx); in runSingletonThreadedTest() local
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DThreadUtils.java42 private Thread thread = Thread.currentThread(); field in ThreadUtils.ThreadChecker
91 public static boolean joinUninterruptibly(final Thread thread, long timeoutMs) { in joinUninterruptibly()
114 public static void joinUninterruptibly(final Thread thread) { in joinUninterruptibly()
/external/valgrind/drd/tests/
Dpth_detached_sem.c64 pthread_t thread; in main() local
73 pthread_t thread; in main() local

12345678910>>...19