/external/chromium/base/threading/ |
D | platform_thread_unittest.cc | 30 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 …]
|
D | simple_thread_unittest.cc | 85 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.12/src/thread/amigaos/ |
D | SDL_thread.c | 60 static void SDL_AddThread(SDL_Thread *thread) in SDL_AddThread() argument 96 SDL_Threads[SDL_numthreads++] = thread; in SDL_AddThread() 101 static void SDL_DelThread(SDL_Thread *thread) in SDL_DelThread() argument 108 if ( thread == SDL_Threads[i] ) { in SDL_DelThread() 192 SDL_Thread *thread; in SDL_CreateThread() local 197 thread = (SDL_Thread *)SDL_malloc(sizeof(*thread)); in SDL_CreateThread() 198 if ( thread == NULL ) { in SDL_CreateThread() 202 SDL_memset(thread, 0, (sizeof *thread)); in SDL_CreateThread() 203 thread->status = -1; in SDL_CreateThread() 209 SDL_free(thread); in SDL_CreateThread() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/thread/ |
D | SDL_thread.c | 70 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() 212 SDL_Thread *thread; in SDL_CreateThread() local 217 thread = (SDL_Thread *)SDL_malloc(sizeof(*thread)); in SDL_CreateThread() 218 if ( thread == NULL ) { in SDL_CreateThread() 222 SDL_memset(thread, 0, (sizeof *thread)); in SDL_CreateThread() 223 thread->status = -1; in SDL_CreateThread() 229 SDL_free(thread); in SDL_CreateThread() [all …]
|
/external/valgrind/main/drd/tests/ |
D | tc22_exit_w_lock.stderr.exp-32bit | 2 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 …]
|
D | hg05_race2.stderr.exp-powerpc | 3 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)
|
D | sem_open.stderr.exp | 2 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)
|
D | fp_race.stderr.exp | 2 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)
|
D | sem_as_mutex.stderr.exp | 2 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)
|
D | tc21_pthonce.stderr.exp | 3 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)
|
D | hg04_race.stderr.exp | 3 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/ |
D | ThreadFactoryBuilderTest.java | 58 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/ |
D | memcheck_proc_management.c | 177 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/ |
D | err_disable4.stderr.exp | 4 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/bluetooth/glib/glib/ |
D | gthread.c | 69 GThread thread; member 501 GRealThread *thread; in g_static_private_free() local 510 thread = g_thread_all_threads; in g_static_private_free() 511 while (thread) in g_static_private_free() 513 GArray *array = thread->private_data; in g_static_private_free() 514 thread = thread->next; in g_static_private_free() 545 GRealThread* thread = data; in g_thread_cleanup() local 546 if (thread->private_data) in g_thread_cleanup() 548 GArray* array = thread->private_data; in g_thread_cleanup() 563 if (!thread->thread.joinable) in g_thread_cleanup() [all …]
|
/external/kernel-headers/original/asm-mips/ |
D | dsp.h | 45 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/ |
D | FailOnTimeout.java | 20 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/ |
D | pth_once.stdout.exp | 2 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/ |
D | thread.h | 14 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,
|
D | evsel.c | 54 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 …]
|
D | thread.c | 10 static struct thread *thread__new(pid_t pid) in thread__new() 12 struct thread *self = zalloc(sizeof(*self)); in thread__new() 25 void thread__delete(struct thread *self) in thread__delete() 32 int thread__set_comm(struct thread *self, const char *comm) in thread__set_comm() 47 int thread__comm_len(struct thread *self) in thread__comm_len() 58 static size_t thread__fprintf(struct thread *self, FILE *fp) in thread__fprintf() 64 struct thread *perf_session__findnew(struct perf_session *self, pid_t pid) in perf_session__findnew() 68 struct thread *th; in perf_session__findnew() 80 th = rb_entry(parent, struct thread, rb_node); in perf_session__findnew() 103 void thread__insert_map(struct thread *self, struct map *map) in thread__insert_map() [all …]
|
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
D | SocketHandlerTest.java | 170 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/ |
D | WebUrlLoaderClient.cpp | 136 base::Thread* thread = ioThread(); in WebUrlLoaderClient() local 137 if (thread) { in WebUrlLoaderClient() 139 …thread->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() 154 …thread->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() 185 …thread->message_loop()->PostTask(FROM_HERE, NewRunnableMethod(m_request.get(), &WebRequest::start)… in start() 222 …thread->message_loop()->PostTask(FROM_HERE, NewRunnableMethod(m_request.get(), &WebRequest::start)… in start() [all …]
|
/external/valgrind/main/coregrind/m_gdbserver/ |
D | inferiors.c | 122 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.12/src/thread/riscos/ |
D | SDL_systhread.c | 31 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()
|