Home
last modified time | relevance | path

Searched refs:thread (Results 1 – 25 of 894) sorted by relevance

12345678910>>...36

/external/chromium/base/threading/
Dplatform_thread_unittest.cc30 TrivialThread thread; in TEST() local
33 ASSERT_FALSE(thread.did_run()); in TEST()
34 ASSERT_TRUE(PlatformThread::Create(0, &thread, &handle)); in TEST()
36 ASSERT_TRUE(thread.did_run()); in TEST()
40 TrivialThread thread[10]; in TEST() local
41 PlatformThreadHandle handle[arraysize(thread)]; in TEST()
43 for (size_t n = 0; n < arraysize(thread); n++) in TEST()
44 ASSERT_FALSE(thread[n].did_run()); in TEST()
45 for (size_t n = 0; n < arraysize(thread); n++) in TEST()
46 ASSERT_TRUE(PlatformThread::Create(0, &thread[n], &handle[n])); in TEST()
[all …]
Dsimple_thread_unittest.cc85 DelegateSimpleThread thread(&runner, "int_setter"); in TEST() local
86 EXPECT_FALSE(thread.HasBeenStarted()); in TEST()
87 EXPECT_FALSE(thread.HasBeenJoined()); in TEST()
90 thread.Start(); in TEST()
91 EXPECT_TRUE(thread.HasBeenStarted()); in TEST()
92 EXPECT_FALSE(thread.HasBeenJoined()); in TEST()
94 thread.Join(); in TEST()
95 EXPECT_TRUE(thread.HasBeenStarted()); in TEST()
96 EXPECT_TRUE(thread.HasBeenJoined()); in TEST()
105 DelegateSimpleThread thread(&runner, "event_waiter"); in TEST() local
[all …]
/external/qemu/distrib/sdl-1.2.15/src/thread/
DSDL_thread.c70 static void SDL_AddThread(SDL_Thread *thread) in SDL_AddThread() argument
101 SDL_Threads[SDL_numthreads++] = thread; in SDL_AddThread()
106 static void SDL_DelThread(SDL_Thread *thread) in SDL_DelThread() argument
115 if ( thread == SDL_Threads[i] ) { in SDL_DelThread()
214 SDL_Thread *thread; in SDL_CreateThread() local
219 thread = (SDL_Thread *)SDL_malloc(sizeof(*thread)); in SDL_CreateThread()
220 if ( thread == NULL ) { in SDL_CreateThread()
224 SDL_memset(thread, 0, (sizeof *thread)); in SDL_CreateThread()
225 thread->status = -1; in SDL_CreateThread()
231 SDL_free(thread); in SDL_CreateThread()
[all …]
/external/valgrind/main/drd/tests/
Dtc22_exit_w_lock.stderr.exp-32bit2 Conflicting load by thread 1 at 0x........ size 4
9 Other segment start (thread 2)
10 (thread finished, call stack no longer available)
11 Other segment end (thread 2)
12 (thread finished, call stack no longer available)
14 Conflicting store by thread 1 at 0x........ size 4
21 Other segment start (thread 2)
22 (thread finished, call stack no longer available)
23 Other segment end (thread 2)
24 (thread finished, call stack no longer available)
[all …]
Dannotate_trace_memory.stderr.exp-32bit3 store 0x........ size 4 val 1065353216/0x........ (thread x / vc ...)
5 load 0x........ size 4 (thread x / vc ...)
7 store 0x........ size 4 val 1077936128/0x........ (thread x / vc ...)
10 store 0x........ size 8 val 4613937818241073152/0x........ (thread x / vc ...)
12 load 0x........ size 8 (thread x / vc ...)
14 store 0x........ size 8 val 4619567317775286272/0x........ (thread x / vc ...)
17 store 0x........ size 1 val 5/0x........ (thread x / vc ...)
19 load 0x........ size 1 (thread x / vc ...)
21 store 0x........ size 1 val 11/0x........ (thread x / vc ...)
24 store 0x........ size 2 val 7/0x........ (thread x / vc ...)
[all …]
Dannotate_trace_memory.stderr.exp-64bit3 store 0x........ size 4 val 1065353216/0x........ (thread x / vc ...)
5 load 0x........ size 4 (thread x / vc ...)
7 store 0x........ size 4 val 1077936128/0x........ (thread x / vc ...)
10 store 0x........ size 8 val 4613937818241073152/0x........ (thread x / vc ...)
12 load 0x........ size 8 (thread x / vc ...)
14 store 0x........ size 8 val 4619567317775286272/0x........ (thread x / vc ...)
17 store 0x........ size 1 val 5/0x........ (thread x / vc ...)
19 load 0x........ size 1 (thread x / vc ...)
21 store 0x........ size 1 val 11/0x........ (thread x / vc ...)
24 store 0x........ size 2 val 7/0x........ (thread x / vc ...)
[all …]
Dsem_as_mutex.stderr.exp2 Conflicting load by thread 1 at 0x........ size 8
6 Other segment start (thread 2)
7 (thread finished, call stack no longer available)
8 Other segment end (thread 2)
9 (thread finished, call stack no longer available)
11 Conflicting store by thread 1 at 0x........ size 8
15 Other segment start (thread 2)
16 (thread finished, call stack no longer available)
17 Other segment end (thread 2)
18 (thread finished, call stack no longer available)
Dsem_open.stderr.exp2 Conflicting load by thread 1 at 0x........ size 8
6 Other segment start (thread 2)
7 (thread finished, call stack no longer available)
8 Other segment end (thread 2)
9 (thread finished, call stack no longer available)
11 Conflicting store by thread 1 at 0x........ size 8
15 Other segment start (thread 2)
16 (thread finished, call stack no longer available)
17 Other segment end (thread 2)
18 (thread finished, call stack no longer available)
Dhg05_race2.stderr.exp-powerpc3 Conflicting load by thread 3 at 0x........ size 4
7 Other segment start (thread 2)
8 (thread finished, call stack no longer available)
9 Other segment end (thread 2)
10 (thread finished, call stack no longer available)
12 Conflicting store by thread 3 at 0x........ size 4
16 Other segment start (thread 2)
17 (thread finished, call stack no longer available)
18 Other segment end (thread 2)
19 (thread finished, call stack no longer available)
Dfp_race.stderr.exp2 Conflicting load by thread 1 at 0x........ size 8
6 Other segment start (thread 2)
7 (thread finished, call stack no longer available)
8 Other segment end (thread 2)
9 (thread finished, call stack no longer available)
11 Conflicting store by thread 1 at 0x........ size 8
15 Other segment start (thread 2)
16 (thread finished, call stack no longer available)
17 Other segment end (thread 2)
18 (thread finished, call stack no longer available)
Dtc21_pthonce.stderr.exp3 Conflicting load by thread 3 at 0x........ size 4
8 Other segment start (thread 2)
9 (thread finished, call stack no longer available)
10 Other segment end (thread 2)
11 (thread finished, call stack no longer available)
13 Conflicting store by thread 3 at 0x........ size 4
18 Other segment start (thread 2)
19 (thread finished, call stack no longer available)
20 Other segment end (thread 2)
21 (thread finished, call stack no longer available)
Dhg05_race2.stderr.exp3 Conflicting load by thread 3 at 0x........ size 4
8 Other segment start (thread 2)
9 (thread finished, call stack no longer available)
10 Other segment end (thread 2)
11 (thread finished, call stack no longer available)
13 Conflicting store by thread 3 at 0x........ size 4
18 Other segment start (thread 2)
19 (thread finished, call stack no longer available)
20 Other segment end (thread 2)
21 (thread finished, call stack no longer available)
Dhg04_race.stderr.exp3 Conflicting load by thread 3 at 0x........ size 4
8 Other segment start (thread 2)
9 (thread finished, call stack no longer available)
10 Other segment end (thread 2)
11 (thread finished, call stack no longer available)
13 Conflicting store by thread 3 at 0x........ size 4
18 Other segment start (thread 2)
19 (thread finished, call stack no longer available)
20 Other segment end (thread 2)
21 (thread finished, call stack no longer available)
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DThreadFactoryBuilderTest.java58 Thread thread = threadFactory.newThread(monitoredRunnable); in testThreadFactoryBuilder_defaults() local
59 checkThreadPoolName(thread, 1); in testThreadFactoryBuilder_defaults()
63 assertEquals(defaultThread.isDaemon(), thread.isDaemon()); in testThreadFactoryBuilder_defaults()
64 assertEquals(defaultThread.getPriority(), thread.getPriority()); in testThreadFactoryBuilder_defaults()
65 assertSame(defaultThread.getThreadGroup(), thread.getThreadGroup()); in testThreadFactoryBuilder_defaults()
67 thread.getUncaughtExceptionHandler()); in testThreadFactoryBuilder_defaults()
70 thread.start(); in testThreadFactoryBuilder_defaults()
71 thread.join(); in testThreadFactoryBuilder_defaults()
79 thread.getName().substring(0, thread.getName().lastIndexOf('-')), in testThreadFactoryBuilder_defaults()
80 thread2.getName().substring(0, thread.getName().lastIndexOf('-'))); in testThreadFactoryBuilder_defaults()
[all …]
/external/qemu/memcheck/
Dmemcheck_proc_management.c177 ThreadDesc* thread; in get_thread_from_tid() local
186 QLIST_FOREACH(thread, &thread_list, global_entry) { in get_thread_from_tid()
187 if (tid == thread->tid) { in get_thread_from_tid()
189 current_thread = thread; in get_thread_from_tid()
191 return thread; in get_thread_from_tid()
210 ThreadDesc* thread; in get_current_thread() local
211 QLIST_FOREACH(thread, &thread_list, global_entry) { in get_current_thread()
212 if (current_tid == thread->tid) { in get_current_thread()
213 current_thread = thread; in get_current_thread()
231 const ThreadDesc* thread = get_thread_from_tid(tid); in get_process_from_tid() local
[all …]
/external/valgrind/main/memcheck/tests/
Derr_disable4.stderr.exp4 WARNING: exiting thread has error reporting disabled.
7 WARNING: exiting thread has error reporting disabled.
10 WARNING: exiting thread has error reporting disabled.
13 WARNING: exiting thread has error reporting disabled.
16 WARNING: exiting thread has error reporting disabled.
19 WARNING: exiting thread has error reporting disabled.
22 WARNING: exiting thread has error reporting disabled.
25 WARNING: exiting thread has error reporting disabled.
28 WARNING: exiting thread has error reporting disabled.
31 WARNING: exiting thread has error reporting disabled.
[all …]
/external/kernel-headers/original/asm-mips/
Ddsp.h45 tsk->thread.dsp.dspr[0] = mfhi1(); \
46 tsk->thread.dsp.dspr[1] = mflo1(); \
47 tsk->thread.dsp.dspr[2] = mfhi2(); \
48 tsk->thread.dsp.dspr[3] = mflo2(); \
49 tsk->thread.dsp.dspr[4] = mfhi3(); \
50 tsk->thread.dsp.dspr[5] = mflo3(); \
51 tsk->thread.dsp.dspcontrol = rddsp(DSP_MASK); \
62 mthi1(tsk->thread.dsp.dspr[0]); \
63 mtlo1(tsk->thread.dsp.dspr[1]); \
64 mthi2(tsk->thread.dsp.dspr[2]); \
[all …]
/external/junit/src/org/junit/internal/runners/statements/
DFailOnTimeout.java20 StatementThread thread= evaluateStatement(); in evaluate() local
21 if (!thread.fFinished) in evaluate()
22 throwExceptionForUnfinishedThread(thread); in evaluate()
26 StatementThread thread= new StatementThread(fOriginalStatement); in evaluateStatement() local
27 thread.start(); in evaluateStatement()
28 thread.join(fTimeout); in evaluateStatement()
29 thread.interrupt(); in evaluateStatement()
30 return thread; in evaluateStatement()
33 private void throwExceptionForUnfinishedThread(StatementThread thread) in throwExceptionForUnfinishedThread() argument
35 if (thread.fExceptionThrownByOriginalStatement != null) in throwExceptionForUnfinishedThread()
[all …]
/external/valgrind/main/none/tests/
Dpth_once.stdout.exp2 identify_yourself: Hi, I'm a thread
3 identify_yourself: Hi, I'm a thread
4 identify_yourself: Hi, I'm a thread
5 identify_yourself: Hi, I'm a thread
6 identify_yourself: Hi, I'm a thread
7 identify_yourself: Hi, I'm a thread
8 identify_yourself: Hi, I'm a thread
9 identify_yourself: Hi, I'm a thread
10 identify_yourself: Hi, I'm a thread
11 identify_yourself: Hi, I'm a thread
/external/linux-tools-perf/util/
Dthread.h14 struct thread { struct
29 void thread__delete(struct thread *self); argument
31 int thread__set_comm(struct thread *self, const char *comm);
32 int thread__comm_len(struct thread *self);
33 struct thread *perf_session__findnew(struct perf_session *self, pid_t pid);
34 void thread__insert_map(struct thread *self, struct map *map);
35 int thread__fork(struct thread *self, struct thread *parent);
38 static inline struct map *thread__find_map(struct thread *self, in thread__find_map()
44 void thread__find_addr_map(struct thread *self,
49 void thread__find_addr_location(struct thread *self,
Devsel.c54 int cpu, thread; in perf_evsel__alloc_fd() local
59 for (thread = 0; thread < nthreads; thread++) { in perf_evsel__alloc_fd()
60 FD(evsel, cpu, thread) = -1; in perf_evsel__alloc_fd()
107 int cpu, thread; in perf_evsel__close_fd() local
110 for (thread = 0; thread < nthreads; ++thread) { in perf_evsel__close_fd()
111 close(FD(evsel, cpu, thread)); in perf_evsel__close_fd()
112 FD(evsel, cpu, thread) = -1; in perf_evsel__close_fd()
133 int cpu, int thread, bool scale) in __perf_evsel__read_on_cpu() argument
138 if (FD(evsel, cpu, thread) < 0) in __perf_evsel__read_on_cpu()
144 if (readn(FD(evsel, cpu, thread), &count, nv * sizeof(u64)) < 0) in __perf_evsel__read_on_cpu()
[all …]
/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
171 thread.start(); in testConstructor_NoProperties()
181 thread.getReadString(); in testConstructor_NoProperties()
204 ServerThread thread = new ServerThread(); in testConstructor_NoBasicProperties() local
205 thread.start(); in testConstructor_NoBasicProperties()
215 thread.getReadString(); in testConstructor_NoBasicProperties()
241 ServerThread thread = new ServerThread(); in testConstructor_ValidProperties() local
242 thread.start(); in testConstructor_ValidProperties()
252 thread.getReadString(); in testConstructor_ValidProperties()
255 thread = new ServerThread(); in testConstructor_ValidProperties()
[all …]
/external/webkit/Source/WebKit/android/WebCoreSupport/
DWebUrlLoaderClient.cpp136 base::Thread* thread = ioThread(); in WebUrlLoaderClient() local
137 if (thread) { in WebUrlLoaderClient()
139thread->message_loop()->PostTask(FROM_HERE, NewRunnableMethod(m_request.get(), &WebRequest::append… in WebUrlLoaderClient()
152 base::Thread* thread = ioThread(); in WebUrlLoaderClient() local
153 if (thread) in WebUrlLoaderClient()
154thread->message_loop()->PostTask(FROM_HERE, NewRunnableMethod(m_request.get(), &WebRequest::append… in WebUrlLoaderClient()
173 base::Thread* thread = ioThread(); in start() local
174 if (!thread) { in start()
185thread->message_loop()->PostTask(FROM_HERE, NewRunnableMethod(m_request.get(), &WebRequest::start)… in start()
222thread->message_loop()->PostTask(FROM_HERE, NewRunnableMethod(m_request.get(), &WebRequest::start)… in start()
[all …]
/external/valgrind/main/coregrind/m_gdbserver/
Dinferiors.c122 struct thread_info *thread = get_thread (inf); in thread_id_to_gdb_id() local
124 return thread->gdb_id; in thread_id_to_gdb_id()
131 unsigned int thread_to_gdb_id (struct thread_info *thread) in thread_to_gdb_id() argument
133 return thread->gdb_id; in thread_to_gdb_id()
141 struct thread_info *thread = get_thread (inf); in gdb_id_to_thread() local
142 if (thread->gdb_id == gdb_id) in gdb_id_to_thread()
143 return thread; in gdb_id_to_thread()
152 struct thread_info *thread = gdb_id_to_thread (gdb_id); in gdb_id_to_thread_id() local
154 return thread ? thread->entry.id : 0; in gdb_id_to_thread_id()
160 struct thread_info *thread = get_thread (inf); in free_one_thread() local
[all …]
/external/qemu/distrib/sdl-1.2.15/src/thread/riscos/
DSDL_systhread.c31 int SDL_SYS_CreateThread(SDL_Thread *thread, void *args) in SDL_SYS_CreateThread() argument
47 void SDL_SYS_WaitThread(SDL_Thread *thread) in SDL_SYS_WaitThread() argument
52 void SDL_SYS_KillThread(SDL_Thread *thread) in SDL_SYS_KillThread() argument
79 int SDL_SYS_CreateThread(SDL_Thread *thread, void *args) in SDL_SYS_CreateThread() argument
91 if ( pthread_create(&thread->handle, &type, RunThread, args) != 0 ) { in SDL_SYS_CreateThread()
130 void SDL_SYS_WaitThread(SDL_Thread *thread) in SDL_SYS_WaitThread() argument
132 pthread_join(thread->handle, 0); in SDL_SYS_WaitThread()
135 void SDL_SYS_KillThread(SDL_Thread *thread) in SDL_SYS_KillThread() argument
138 pthread_cancel(thread->handle); in SDL_SYS_KillThread()
140 pthread_kill(thread->handle, SIGKILL); in SDL_SYS_KillThread()

12345678910>>...36