/external/valgrind/main/none/tests/ |
H A D | pth_cvsimple.c | 65 pthread_t threads[3]; local 67 pthread_create(&threads[0], NULL, watch_count, NULL); 69 pthread_create(&threads[1], NULL, inc_count, NULL); 70 pthread_create(&threads[2], NULL, inc_count, NULL); 73 pthread_join(threads[i], NULL); 77 // inc_count threads could fully run before watch_count begins, and so
|
H A D | pth_once.c | 14 * A program spawns multiple threads and each one tries to 20 * exit of the threads using the pthread_join() operation. 57 pthread_t threads[NUM_THREADS]; local 65 if (( rtn = pthread_create(&threads[thread_num], 76 pthread_join(threads[thread_num], NULL);
|
H A D | tls.c | 90 pthread_t threads[NTESTS*2]; local 96 pthread_create(&threads[curthread++], NULL, tls_ptr, (void *)&tests[i]); 97 pthread_create(&threads[curthread++], NULL, tls_ptr, (void *)&tests[i]); 101 pthread_join(threads[i], NULL);
|
/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
|
/external/valgrind/main/drd/tests/ |
H A D | concurrent_close.cpp | 12 /* Happens with two threads also */ 32 pthread_t threads[THREAD_COUNT]; local 37 r = pthread_create(&threads[i], &attr, thread, 0); 45 r = pthread_join(threads[i], 0);
|
/external/valgrind/main/helgrind/tests/ |
H A D | tc21_pthonce.c | 25 * A program spawns multiple threads and each one tries to 31 * exit of the threads using the pthread_join() operation. 43 /* With more than 2 threads, the precise error reports vary between 45 simple and just have 2 threads and so just 1 race. */ 53 /* This is a hack: delay threads except the first enough so as to 54 ensure threads[0] gets to the pthread_once call first. This is so 80 pthread_t threads[NUM_THREADS]; local 87 r= pthread_create(&threads[i], NULL, child, &id_arg[i]); 92 pthread_join(threads[i], NULL);
|
/external/skia/tests/ |
H A D | AtomicTest.cpp | 36 SkThread* threads[SK_ARRAY_COUNT(gAdds)]; local 40 // Start the threads 42 threads[i] = new SkThread(addABunchOfTimes, &gAdds[i]); 43 threads[i]->setProcessorAffinity(gAdds[i].processorAffinity); 44 threads[i]->start(); 47 // Now end the threads 49 threads[i]->join(); 50 delete threads[i];
|
H A D | TLSTest.cpp | 34 SkThread* threads[8]; local 35 int N = SK_ARRAY_COUNT(threads); 39 threads[i] = new SkThread(proc); 43 threads[i]->start(); 47 threads[i]->join(); 51 delete threads[i];
|
/external/skia/experimental/Intersection/ |
H A D | EdgeWalker_TestUtility.cpp | 558 int threads = -1; local 559 size_t size = sizeof(threads); 560 sysctlbyname("hw.logicalcpu_max", &threads, &size, NULL, 0); 561 if (threads > 0) { 562 maxThreads = threads;
|
/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/robolectric/lib/main/ |
H A D | android.jar | META-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ... |
/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/qemu/distrib/sdl-1.2.15/test/ |
H A D | testlock.c | 15 static SDL_Thread *threads[6]; variable 43 SDL_KillThread(threads[i]); 64 /* If this sleep isn't done, then threads may starve */ 95 if ( (threads[i]=SDL_CreateThread(Run, NULL)) == NULL )
|
H A D | testsem.c | 60 SDL_Thread *threads[NUM_THREADS]; local 80 printf("Running %d threads, semaphore value = %d\n", NUM_THREADS, init_sem); 81 /* Create all the threads */ 83 threads[i] = SDL_CreateThread(ThreadFunc, (void*)i); 89 /* Wait for all threads to finish */ 90 printf("Waiting for threads to finish\n"); 93 SDL_WaitThread(threads[i], NULL); 95 printf("Finished waiting for threads\n");
|
H A D | torturethread.c | 61 SDL_Thread *threads[NUMTHREADS]; local 73 threads[i] = SDL_CreateThread(ThreadFunc, (void *)(uintptr_t)i); 75 if ( threads[i] == NULL ) { 87 SDL_WaitThread(threads[i], NULL);
|
/external/protobuf/src/google/protobuf/stubs/ |
H A D | once_unittest.cc | 209 scoped_ptr<TestThread> threads[4]; local 212 threads[i].reset(RunInitOnceInNewThread()); 215 threads[i]->Join(); 226 scoped_ptr<TestThread> threads[8]; local 231 threads[i].reset(RunInitOnceInNewThread()); 234 threads[i].reset(RunInitRecursiveOnceInNewThread()); 246 threads[i]->Join();
|
/external/owasp/sanitizer/tools/emma/lib/ |
H A D | emma.jar | META-INF/ META-INF/MANIFEST.MF com/ com/vladium/ com/vladium/app/ com/vladium/app/IAppVersion ... |
/external/mockwebserver/src/main/java/com/google/mockwebserver/ |
H A D | MockWebServer.java | 142 public void setWorkerThreads(int threads) { argument 143 this.workerThreads = threads; 216 // The requestExecutor has a fixed number of worker threads. In order to get strict
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_rast_priv.h | 119 /** The scene currently being rasterized by the threads */ 126 pipe_thread threads[LP_MAX_THREADS]; member in struct:lp_rasterizer 128 /** For synchronizing the rasterization threads */
|
/external/mesa3d/src/gallium/tests/unit/ |
H A D | pipe_barrier_test.c | 32 * The test succeeds if no thread exits before all the other threads reach 45 static pipe_thread threads[NUM_THREADS]; variable 74 threads[i] = pipe_thread_create(thread_function, (void *) &thread_ids[i]); 78 pipe_thread_wait(threads[i]);
|
/external/lzma/C/ |
H A D | MtCoder.h | 89 CMtThread threads[NUM_MT_CODER_THREADS_MAX];
member in struct:_CMtCoder
|
/external/lzma/CPP/7zip/UI/Common/ |
H A D | Bench.cpp | 987 CCrcThreads threads;
local 990 threads.Items = new CCrcInfo[numThreads];
994 CCrcInfo &info = threads.Items[i];
1004 CCrcInfo &info = threads.Items[i];
1006 threads.NumThreads++;
1008 threads.WaitAll();
1010 if (!threads.Items[i].Res)
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/scripts/python/ |
H A D | sched-migration.py | 29 threads = { 0 : "idle"} variable 32 return "%s:%d" % (threads[pid], pid) 342 threads[prev_pid] = prev_comm 343 threads[next_pid] = next_comm
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/ |
H A D | code-reading.c | 395 struct thread_map *threads = NULL; local 437 threads = thread_map__new_by_tid(pid); 438 if (!threads) { 443 ret = perf_event__synthesize_thread_map(NULL, threads, 471 perf_evlist__set_maps(evlist, cpus, threads); 538 if (threads) 539 thread_map__delete(threads);
|
H A D | keep-tracking.c | 63 struct thread_map *threads = NULL; local 70 threads = thread_map__new(-1, getpid(), UINT_MAX); 71 CHECK_NOT_NULL__(threads); 79 perf_evlist__set_maps(evlist, cpus, threads); 151 if (threads) 152 thread_map__delete(threads);
|