/external/regex-re2/re2/testing/ |
H A D | dfa_test.cc | 17 DEFINE_int32(threads, 4, "number of threads"); 58 // Build the DFA simultaneously in a bunch of threads. 65 vector<BuildThread*> threads; local 69 threads.push_back(t); 72 threads[j]->Start(); 74 threads[j]->Join(); 75 delete threads[j]; 285 // Run the search simultaneously in a bunch of threads. 292 vector<SearchThread*> threads; local [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/ |
H A D | NameTest.java | 59 int threads = reply.getNextValueAsInt(); 60 for (int i = 0 ;i < threads; i++) {
|
/external/chromium-trace/trace-viewer/src/tracing/importer/linux_perf/ |
H A D | kfunc_parser_test.js | 31 var thread = process.threads[127];
|
/external/chromium_org/third_party/skia/tools/flags/ |
H A D | SkCommonFlags.cpp | 46 DEFINE_int32(threads, 0, "Run threadsafe tests on a threadpool with this many threads, "
|
/external/eigen/demos/mandelbrot/ |
H A D | mandelbrot.cpp | 135 threads[th]->start(QThread::LowPriority); 138 threads[th]->wait(); 139 total_iter += threads[th]->total_iter; 147 std::cout << threadcount << " threads, " 150 int packetSize = threads[0]->single_precision 154 +QString(", %1 iterations per pixel, ").arg(threads[0]->max_iter) 155 +(threads[0]->single_precision ? QString("single ") : QString("double ")) 183 threads[th]->terminate(); 200 threads[th]->terminate();
|
/external/valgrind/main/coregrind/ |
H A D | pub_core_gdbserver.h | 182 // address of VG_(threads) and various sizes 184 Addr32 threads; member in struct:__anon32711 202 Addr64 threads; member in struct:__anon32712
|
H A D | m_machine.c | 50 return INSTR_PTR( VG_(threads)[tid].arch ); 53 return STACK_PTR( VG_(threads)[tid].arch ); 56 return FRAME_PTR( VG_(threads)[tid].arch ); 60 INSTR_PTR( VG_(threads)[tid].arch ) = ip; 63 STACK_PTR( VG_(threads)[tid].arch ) = sp; 70 regs->r_pc = (ULong)VG_(threads)[tid].arch.vex.guest_EIP; 71 regs->r_sp = (ULong)VG_(threads)[tid].arch.vex.guest_ESP; 73 = VG_(threads)[tid].arch.vex.guest_EBP; 75 regs->r_pc = VG_(threads)[tid].arch.vex.guest_RIP; 76 regs->r_sp = VG_(threads)[ti [all...] |
/external/valgrind/main/coregrind/m_scheduler/ |
H A D | scheduler.c | 38 There are no extra threads. 166 * Mutual exclusion object used to serialize threads. 240 if (VG_(threads)[i].status == VgTs_Empty) { 241 VG_(threads)[i].status = VgTs_Init; 242 VG_(threads)[i].exitreason = VgSrc_None; 243 if (VG_(threads)[i].thread_name) 244 VG_(arena_free)(VG_AR_CORE, VG_(threads)[i].thread_name); 245 VG_(threads)[i].thread_name = NULL; 369 == VG_(threads)[tid].os_state.lwpid); 386 vg_assert(VG_(threads)[ti [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
H A D | evlist.h | 45 struct thread_map *threads; member in struct:perf_evlist 57 struct thread_map *threads); 125 struct thread_map *threads) 128 evlist->threads = threads; 123 perf_evlist__set_maps(struct perf_evlist *evlist, struct cpu_map *cpus, struct thread_map *threads) argument
|
H A D | evlist.c | 31 struct thread_map *threads) 38 perf_evlist__set_maps(evlist, cpus, threads); 255 int nr_threads = thread_map__nr(evlist->threads); 273 int nr_threads = thread_map__nr(evlist->threads); 295 for (thread = 0; thread < evlist->threads->nr; thread++) { 314 for (thread = 0; thread < evlist->threads->nr; thread++) { 327 int nr_threads = thread_map__nr(evlist->threads); 584 evlist->nr_mmaps = thread_map__nr(evlist->threads); 610 int nr_threads = thread_map__nr(evlist->threads); 649 int nr_threads = thread_map__nr(evlist->threads); 30 perf_evlist__init(struct perf_evlist *evlist, struct cpu_map *cpus, struct thread_map *threads) argument 702 const struct thread_map *threads = evlist->threads; local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/thread/ |
H A D | SDL_thread.c | 32 /* The array of threads currently active in the application 55 clean up threads here. If any threads are still running after this call, 73 If the very first threads are created simultaneously, then 85 /* Expand the list of threads, if necessary */ 91 SDL_Thread **threads; local 92 threads = (SDL_Thread **)SDL_realloc(SDL_Threads, 93 (SDL_maxthreads+ARRAY_CHUNKSIZE)*(sizeof *threads)); 94 if ( threads == NULL ) { 99 SDL_Threads = threads; [all...] |
/external/chromium_org/third_party/sqlite/src/test/ |
H A D | tt3_checkpoint.c | 23 ** Both test cases involve 1 writer/checkpointer thread and N reader threads. 95 Threadset threads = {0}; local 109 launch_thread(&err, &threads, checkpoint_starvation_reader, 0); 125 join_all_threads(&err, &threads);
|
H A D | threadtest3.c | 428 Thread *pNext; /* Next in this list of threads */ 433 Thread *pThread; /* Linked list of threads */ 958 Threadset threads = {0}; /* Test threads */ local 972 launch_thread(&err, &threads, walthread1_thread, 0); 974 launch_thread(&err, &threads, walthread1_ckpt_thread, 0); 975 join_all_threads(&err, &threads); 1020 Threadset threads = {0}; local 1027 launch_thread(&err, &threads, walthread2_thread, 0); 1028 launch_thread(&err, &threads, walthread2_threa 1075 Threadset threads = {0}; local 1134 Threadset threads = {0}; local 1167 Threadset threads = {0}; local 1363 Threadset threads = {0}; local [all...] |
/external/lldb/test/expression_command/timeout/ |
H A D | TestCallWithTimeout.py | 53 threads = lldbutil.get_threads_stopped_at_breakpoint (process, breakpoint) 55 self.assertTrue(len(threads) == 1) 56 thread = threads[0]
|
/external/lldb/test/functionalities/watchpoint/watchpoint_events/ |
H A D | TestWatchpointEvents.py | 68 threads = lldbutil.get_threads_stopped_at_breakpoint (process, break_in_main) 70 if len(threads) != 1: 73 thread = threads[0]
|
/external/chromium_org/third_party/mesa/src/docs/ |
H A D | MESA_multithread_makecurrent.spec | 40 using the same context across multiple threads and protecting its 72 current to multiple threads, with synchronization of access to 107 threads, then binds a different context/thread in one of them? 114 threads, then binds None/None in one of them? 117 threads retain their GLX context binding. 119 (3) What happens if the app binds a context/drawable in 7 threads, 123 but the context remains usable by threads that have the context 134 from multiple threads? 140 context between multiple threads is left to the application to do
|
/external/mesa3d/docs/ |
H A D | MESA_multithread_makecurrent.spec | 40 using the same context across multiple threads and protecting its 72 current to multiple threads, with synchronization of access to 107 threads, then binds a different context/thread in one of them? 114 threads, then binds None/None in one of them? 117 threads retain their GLX context binding. 119 (3) What happens if the app binds a context/drawable in 7 threads, 123 but the context remains usable by threads that have the context 134 from multiple threads? 140 context between multiple threads is left to the application to do
|
/external/valgrind/main/helgrind/tests/ |
H A D | bar_bad.stderr.exp | 29 initialise a barrier which has threads waiting on it 38 Thread #x: pthread_barrier_init: threads are waiting at barrier 43 destroy a barrier that has waiting threads 46 Thread #x: pthread_barrier_destroy: threads are waiting at barrier
|
/external/lzma/C/ |
H A D | MtCoder.c | 185 #define GET_NEXT_THREAD(p) &p->mtCoder->threads[p->index == p->mtCoder->numThreads - 1 ? 0 : p->index + 1]
255 CMtThread *t = &p->threads[i];
267 CMtThread_Destruct(&p->threads[i]);
282 RINOK(CMtThread_Prepare(&p->threads[i]));
287 CMtThread *t = &p->threads[i];
308 CMtThread *t = &p->threads[i];
312 p->threads[0].stopReading = True;
317 Event_Set(&p->threads[0].canWrite);
318 Event_Set(&p->threads[0].canRead);
321 LoopThread_WaitSubThread(&p->threads[ [all...] |
/external/chromium_org/build/android/pylib/base/ |
H A D | test_dispatcher.py | 120 # All tests have been handled, signal all waiting threads. 257 threads = [ 264 workers = reraiser_thread.ReraiserThreadGroup(threads) 309 threads = reraiser_thread.ReraiserThreadGroup( 314 threads.StartAll() 315 threads.JoinAll(watchdog_timer.WatchdogTimer(timeout)) 326 threads = reraiser_thread.ReraiserThreadGroup( 329 threads.StartAll() 330 threads.JoinAll(watchdog_timer.WatchdogTimer(timeout))
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/ |
H A D | sw-clock.c | 53 evlist->threads = thread_map__new_by_tid(getpid()); 54 if (!evlist->cpus || !evlist->threads) {
|
H A D | task-exit.c | 56 * Create maps of threads and cpus to monitor. In this case 57 * we start with all threads and cpus (-1, -1) but then in 62 evlist->threads = thread_map__new_by_tid(-1); 63 if (!evlist->cpus || !evlist->threads) {
|
/external/deqp/framework/delibs/dethread/ |
H A D | deThreadTest.c | 274 /* Mutex and threads. */ 302 deThread threads[2]; local 314 for (ndx = 0; ndx < (int)DE_LENGTH_OF_ARRAY(threads); ndx++) 316 threads[ndx] = deThread_create(mutexTestThr2, &data, DE_NULL); 317 DE_TEST_ASSERT(threads[ndx]); 322 for (ndx = 0; ndx < (int)DE_LENGTH_OF_ARRAY(threads); ndx++) 324 deBool ret = deThread_join(threads[ndx]); 326 deThread_destroy(threads[ndx]); 555 deThreadArray* threads = tmpPool ? deThreadArray_create(tmpPool) : DE_NULL; local 564 DE_TEST_ASSERT(deThreadArray_pushBack(threads, threa [all...] |
/external/chromium_org/media/cast/test/ |
H A D | cast_benchmarks.cc | 629 std::vector<linked_ptr<base::Thread> >* threads) { 638 (*threads)[thread_num % threads->size()]->message_loop()->PostTask( 646 SpanningSearch(max, x, y, skip, a, b, c, accuracy, threads); 647 SpanningSearch(max, x + skip, y + skip, skip, a, b, c, accuracy, threads); 648 SpanningSearch(max, x + skip, y, skip, a, b, c, accuracy, threads); 649 SpanningSearch(max, x, y + skip, skip, a, b, c, accuracy, threads); 656 std::vector<linked_ptr<base::Thread> > threads; local 658 threads.push_back(make_linked_ptr(new base::Thread( 660 threads[ 621 SpanningSearch(int max, int x, int y, int skip, SearchVector a, SearchVector b, SearchVector c, double accuracy, std::vector<linked_ptr<base::Thread> >* threads) argument [all...] |
/external/chromium_org/third_party/WebKit/Source/core/workers/ |
H A D | WorkerThread.cpp | 78 DEFINE_STATIC_LOCAL(HashSet<WorkerThread*>, threads, ()); 79 return threads; 405 HashSet<WorkerThread*> threads = workerThreads(); local 406 for (HashSet<WorkerThread*>::iterator itr = threads.begin(); itr != threads.end(); ++itr) 409 for (HashSet<WorkerThread*>::iterator itr = threads.begin(); itr != threads.end(); ++itr)
|