/external/valgrind/drd/tests/ |
H A D | linuxthreads_det.stdout.exp | 1 NPTL or non-Linux POSIX threads implementation detected.
|
/external/libcxx/test/libcxx/atomics/ |
H A D | libcpp-has-no-threads.pass.cpp | 9 // XFAIL: libcpp-has-no-threads 13 'libcpp-has-no-threads' is available iff _LIBCPP_HAS_NO_THREADS is defined
|
/external/webrtc/webrtc/test/channel_transport/ |
H A D | udp_socket_manager_unittest.cc | 28 uint8_t threads = 1; local 29 UdpSocketManager* mgr = UdpSocketManager::Create(id, threads); 31 EXPECT_FALSE(mgr->Init(id, threads)) 40 uint8_t threads = 1; local 41 UdpSocketManager* mgr = UdpSocketManager::Create(id, threads); 65 uint8_t threads = 1; 66 UdpSocketManager* mgr = UdpSocketManager::Create(id, threads);
|
/external/valgrind/coregrind/ |
H A D | m_threadstate.c | 47 ThreadState *VG_(threads); 58 VG_(threads) = VG_(arena_memalign) (VG_AR_CORE, "init_Threads", 60 VG_N_THREADS * sizeof VG_(threads)[0]); 64 ANNOTATE_BENIGN_RACE_SIZED(&VG_(threads)[tid].status, 65 sizeof(VG_(threads)[tid].status), "")); 67 ANNOTATE_BENIGN_RACE_SIZED(&VG_(threads)[tid].os_state.exitcode, 68 sizeof(VG_(threads)[tid].os_state.exitcode), 100 vg_assert(VG_(threads)[tid].tid == tid); 101 return &VG_(threads)[tid]; 109 if (VG_(threads)[ti [all...] |
/external/autotest/client/tests/stress/ |
H A D | stress.py | 33 threads = 2 * utils.count_cpus() 39 memory_per_thread = (mb * 1024) / threads 46 if (0.9 * free_disk) < file_size_per_thread * threads: 47 file_size_per_thread = (0.9 * free_disk) / threads 50 args = '--cpu %d ' % threads 52 args += '--io %d ' % threads 54 args += '--vm %d ' % threads 58 args += '--hdd %d ' % threads
|
/external/compiler-rt/lib/tsan/tests/rtl/ |
H A D | tsan_thread.cc | 50 pthread_t threads[kAlive] = {}; local 52 if (threads[i % kAlive]) 53 pthread_join(threads[i % kAlive], 0); 54 pthread_create(&threads[i % kAlive], 0, thread_alot_func, 0); 57 pthread_join(threads[i], 0);
|
/external/mockito/src/test/java/org/mockitousage/bugs/ |
H A D | ShouldNotDeadlockAnswerExecutionTest.java | 24 ExecutorService threads = Executors.newCachedThreadPool(); 31 // execute verySlowMethod twice in separate threads 33 threads.execute(new ServiceRunner(service)); 34 threads.execute(new ServiceRunner(service)); 36 // waiting for threads to finish 38 threads.shutdown(); 40 if (!threads.awaitTermination(1000, TimeUnit.MILLISECONDS)) { 41 // threads were timed-out 50 ExecutorService threads = Executors.newCachedThreadPool(); 58 // execute verySlowMethod twice in separate threads [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/ |
H A D | ThreadTest.java | 23 private ArrayList<Worker> threads = new ArrayList<Worker>(); field in class:ThreadTest 39 threads.add(thread); 43 for (Worker thread: threads) { 81 ArrayList<Thread> threads = new ArrayList<Thread>(); 83 threads.add(new Thread() { 89 for (Thread th:threads) { 92 for (Thread th:threads) {
|
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
H A D | ThreadTest.java | 22 private ArrayList<Worker> threads = new ArrayList<Worker>(); field in class:ThreadTest 38 threads.add(thread); 42 for (Worker thread: threads) { 80 ArrayList<Thread> threads = new ArrayList<Thread>(); 82 threads.add(new Thread() { 88 for (Thread th:threads) { 91 for (Thread th:threads) {
|
/external/ltp/lib/newlib_tests/ |
H A D | test09.c | 42 pthread_t threads[THREADS]; local 45 pthread_create(threads+i, NULL, worker, (void *)i); 49 pthread_join(threads[i], NULL);
|
/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/mockito/src/test/java/org/mockitoutil/ |
H A D | ConcurrentTesting.java | 25 List<Thread> threads = new LinkedList<Thread>(); 29 threads.add(t); 32 for (Thread t : threads) {
|
/external/ltp/testcases/kernel/sched/pthreads/ |
H A D | pth_str01.h | 26 pthread_t *threads; /* dynamic array of thread */ member in struct:child_info
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/EventModifiers/ |
H A D | ThreadOnlyModifierDebuggee.java | 83 logWriter.println("Create threads"); 84 Thread[] threads = new Thread[10]; 85 for (int i = 0; i < threads.length; ++i) { 86 threads[i] = new Thread(new TestThread(obj)); 87 threads[i].setName("TestThread#" + i); 91 THREAD_ONLY = threads[threads.length - 1]; 100 // Run all threads. 101 for (int i = 0; i < threads.length; ++i) { 102 runThread(threads[ [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_atfork/ |
H A D | 1-2.c | 91 pthread_t threads[3]; variable 98 threads[0] = pthread_self(); 103 threads[1] = pthread_self(); 108 threads[2] = pthread_self(); 139 if (!pthread_equal(ch, threads[0])) { 144 if (!pthread_equal(pthread_self(), threads[2])) { 153 if (!pthread_equal(ch, threads[0])) { 158 if (!pthread_equal(pthread_self(), threads[1])) {
|
/external/linux-kselftest/tools/testing/selftests/powerpc/math/ |
H A D | fpu_preempt.c | 12 * no way to be sure preemption happened so this test just uses many threads 32 * worker threads 61 int i, rc, threads; local 64 threads = sysconf(_SC_NPROCESSORS_ONLN) * THREAD_FACTOR; 65 tids = malloc((threads) * sizeof(pthread_t)); 69 threads_starting = threads; 70 for (i = 0; i < threads; i++) { 92 for (i = 0; i < threads; i++) {
|
H A D | vmx_preempt.c | 12 * no way to be sure preemption happened so this test just uses many threads 32 * worker threads 61 int i, rc, threads; local 64 threads = sysconf(_SC_NPROCESSORS_ONLN) * THREAD_FACTOR; 65 tids = malloc(threads * sizeof(pthread_t)); 69 threads_starting = threads; 70 for (i = 0; i < threads; i++) { 92 for (i = 0; i < threads; i++) {
|
/external/skia/tests/ |
H A D | TLSTest.cpp | 35 SkThread* threads[8]; local 36 int N = SK_ARRAY_COUNT(threads); 40 threads[i] = new SkThread(proc); 44 threads[i]->start(); 48 threads[i]->join(); 52 delete threads[i];
|
/external/valgrind/helgrind/tests/ |
H A D | tls_threads.c | 18 /* ptr_to_badly_shared_local allows to have multiple threads seeing 59 pthread_t threads[NLEVEL2]; local 69 pthread_create(&threads[curthread++], NULL, level2, NULL); 73 pthread_join(threads[i], NULL); 81 pthread_t threads[NLEVEL1]; local 88 pthread_create(&threads[curthread++], NULL, level1, NULL); 94 pthread_join(threads[i], NULL);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
H A D | CollationThreadTest.java | 222 private void runThreads(Thread[] threads, Control control) { argument 223 for (int i = 0; i < threads.length; ++i) { 224 threads[i].start(); 237 for (int i = 0; i < threads.length; ++i) { 238 threads[i].join(); 255 Thread[] threads = new Thread[10]; 256 for (int i = 0; i < threads.length; ++i) { 267 threads[i] = new Thread(test); 270 runThreads(threads, control); 280 Thread[] threads [all...] |
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
H A D | CollationThreadTest.java | 221 private void runThreads(Thread[] threads, Control control) { argument 222 for (int i = 0; i < threads.length; ++i) { 223 threads[i].start(); 236 for (int i = 0; i < threads.length; ++i) { 237 threads[i].join(); 254 Thread[] threads = new Thread[10]; 255 for (int i = 0; i < threads.length; ++i) { 266 threads[i] = new Thread(test); 269 runThreads(threads, control); 279 Thread[] threads [all...] |
/external/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_mutex_test.cc | 107 pthread_t threads[kThreads]; local 109 PTHREAD_CREATE(&threads[i], 0, lock_thread<SpinMutex>, &data); 111 PTHREAD_JOIN(threads[i], 0); 118 pthread_t threads[kThreads]; local 120 PTHREAD_CREATE(&threads[i], 0, try_thread<SpinMutex>, &data); 122 PTHREAD_JOIN(threads[i], 0); 129 pthread_t threads[kThreads]; local 131 PTHREAD_CREATE(&threads[i], 0, lock_thread<BlockingMutex>, &data); 133 PTHREAD_JOIN(threads[i], 0);
|
/external/compiler-rt/lib/tsan/tests/unit/ |
H A D | tsan_mutex_test.cc | 99 pthread_t threads[kThreads]; local 101 pthread_create(&threads[i], 0, write_mutex_thread<Mutex>, &data); 103 pthread_join(threads[i], 0); 109 pthread_t threads[kThreads]; local 111 pthread_create(&threads[i], 0, read_mutex_thread<Mutex>, &data); 113 pthread_join(threads[i], 0); 119 pthread_t threads[kThreads]; local 121 pthread_create(&threads[i], 0, write_mutex_thread<SpinMutex>, &data); 123 pthread_join(threads[i], 0);
|
/external/libvpx/libvpx/test/ |
H A D | stress.sh | 80 local readonly threads="$4" 94 "${YUV}" "-t ${threads} --limit=150 --test-decode=fatal --passes=1" \ 104 "${YUV}" "-t ${threads} --limit=150 --test-decode=fatal --passes=2" \ 114 "${YUV}" "-t ${threads} --limit=150 --test-decode=fatal " \ 127 eval "${decoder}" "-t ${threads}" "${webm}" "--noblit" ${devnull} & 157 for threads in 4 8 100; do 158 vp9_stress "$threads" "--row-mt=0" 163 for threads in 4 8 100; do 164 vp9_stress "$threads" "--row-mt=1"
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/ |
H A D | Resume002Debuggee.java | 30 // The method used to suspend threads on breakpoint. 59 // Create tested threads. 60 Thread[] threads = new Thread[THREAD_COUNT]; 61 for (int i = 0; i < threads.length; ++i) { 62 threads[i] = new ResumeThread(i); 65 // Start threads. 66 logWriter.println("Starting threads"); 67 for (Thread t : threads) { 71 // Wait for all tested threads to finish. 72 logWriter.println("Waiting end of threads"); [all...] |