Home
last modified time | relevance | path

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

12345678910>>...22

/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
Dthread.h41 typedef std::thread thread; typedef
50 struct thread { struct
51 thread() {} in thread() argument
52 thread(thread &&other) {} in thread() function
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/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() argument
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/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/oj-libjdwp/src/share/back/
DstepControl.c36 getFrameCount(jthread thread) in getFrameCount()
62 enableStepping(jthread thread) in enableStepping()
76 disableStepping(jthread thread) in disableStepping()
90 getFrameLocation(jthread thread, in getFrameLocation()
130 findLineNumber(jthread thread, jlocation location, in findLineNumber()
166 initState(JNIEnv *env, jthread thread, StepRequest *step) in initState()
266 jthread thread = evinfo->thread; in handleFramePopEvent() local
369 jthread thread = evinfo->thread; in handleExceptionCatchEvent() local
436 jthread thread; in handleMethodEnterEvent() local
486 completeStep(JNIEnv *env, jthread thread, StepRequest *step) in completeStep()
[all …]
DThreadReferenceImpl.c38 jthread thread; in name() local
80 jthread thread; in suspend() local
102 jthread thread; in resume() local
128 jthread thread; in status() local
155 jthread thread; in threadGroup() local
194 validateSuspendedThread(PacketOutputStream *out, jthread thread) in validateSuspendedThread()
220 jthread thread; in frames() local
319 jthread thread; in getFrameCount() local
350 jthread thread; in ownedMonitors() local
399 jthread thread; in currentContendedMonitor() local
[all …]
DthreadControl.c65 jthread thread; member
129 jthread thread; member
141 getStackDepth(jthread thread) in getStackDepth()
156 threadState(jthread thread, jint *pstate) in threadState()
165 setThreadLocalStorage(jthread thread, ThreadNode *node) in setThreadLocalStorage()
182 getThreadLocalStorage(jthread thread) in getThreadLocalStorage()
208 nonTlsSearch(JNIEnv *env, ThreadList *list, jthread thread) in nonTlsSearch()
226 findThread(ThreadList *list, jthread thread) in findThread()
302 insertThread(JNIEnv *env, ThreadList *list, jthread thread) in insertThread()
380 removeThread(JNIEnv *env, ThreadList *list, jthread thread) in removeThread()
[all …]
DStackFrameImpl.c34 validateThreadFrame(jthread thread, FrameID frame) in validateThreadFrame()
53 writeVariableValue(JNIEnv *env, PacketOutputStream *out, jthread thread, in writeVariableValue()
146 readVariableValue(JNIEnv *env, PacketInputStream *in, jthread thread, in readVariableValue()
223 jthread thread; in getValues() local
281 jthread thread; in setValues() local
342 jthread thread; in thisObject() local
424 jthread thread; in popFrames() local
DeventHandler.c323 deferEventReport(JNIEnv *env, jthread thread, in deferEventReport()
368 skipEventReport(JNIEnv *env, jthread thread, EventIndex ei, in skipEventReport()
388 reportEvents(JNIEnv *env, jbyte sessionID, jthread thread, EventIndex ei, in reportEvents()
549 jthread thread; in event_callback() local
749 jthread thread, jmethodID method, jlocation location) in cbSingleStep()
771 jthread thread, jmethodID method, jlocation location) in cbBreakpoint()
793 jthread thread, jmethodID method, in cbFramePop()
820 jthread thread, jmethodID method, in cbException()
847 cbThreadStart(jvmtiEnv *jvmti_env, JNIEnv *env, jthread thread) in cbThreadStart()
865 cbThreadEnd(jvmtiEnv *jvmti_env, JNIEnv *env, jthread thread) in cbThreadEnd()
[all …]
/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/adhd/cras/src/server/
Daudio_thread.c172 static int audio_thread_send_response(struct audio_thread *thread, int rc) in audio_thread_send_response()
187 static int audio_thread_read_command(struct audio_thread *thread, in audio_thread_read_command()
228 static int append_stream(struct audio_thread *thread, in append_stream()
323 static int thread_add_open_dev(struct audio_thread *thread, in thread_add_open_dev()
364 static void thread_rm_open_adev(struct audio_thread *thread, in thread_rm_open_adev()
391 static int thread_rm_open_dev(struct audio_thread *thread, in thread_rm_open_dev()
404 static int thread_dev_start_ramp(struct audio_thread *thread, in thread_dev_start_ramp()
418 static int thread_find_stream(struct audio_thread *thread, in thread_find_stream()
436 static int thread_remove_stream(struct audio_thread *thread, in thread_remove_stream()
473 static int thread_disconnect_stream(struct audio_thread* thread, in thread_disconnect_stream()
[all …]
/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.c53 pthread_t thread; member
62 Thread* thread = (Thread*)entryPtr; in startThread() local
75 Thread* thread = (Thread*)deCalloc(sizeof(Thread)); in deThread_create() local
114 Thread* thread = (Thread*)threadptr; in deThread_join() local
132 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.cc44 TrivialThread thread; in TEST() local
54 TrivialThread thread[10]; in TEST() local
71 TrivialThread thread; in TEST() local
81 TrivialThread thread[10]; in TEST() local
167 FunctionTestThread thread; in TEST() local
187 FunctionTestThread thread[10]; in TEST() local
279 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 …]
/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()

12345678910>>...22