/prebuilts/ndk/r11/platforms/android-14/arch-mips/usr/include/asm/ |
processor.h | 22 #include <linux/threads.h>
|
/prebuilts/ndk/r11/platforms/android-15/arch-mips/usr/include/asm/ |
processor.h | 22 #include <linux/threads.h>
|
/prebuilts/ndk/r11/platforms/android-16/arch-mips/usr/include/asm/ |
processor.h | 22 #include <linux/threads.h>
|
/prebuilts/ndk/r11/platforms/android-17/arch-mips/usr/include/asm/ |
processor.h | 22 #include <linux/threads.h>
|
/prebuilts/ndk/r11/platforms/android-18/arch-mips/usr/include/asm/ |
processor.h | 22 #include <linux/threads.h>
|
/prebuilts/ndk/r11/platforms/android-19/arch-mips/usr/include/asm/ |
processor.h | 22 #include <linux/threads.h>
|
/prebuilts/ndk/r11/platforms/android-9/arch-mips/usr/include/asm/ |
processor.h | 22 #include <linux/threads.h>
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_socketserver.py | 295 threads = [] 303 threads.append((t, s)) 304 for t, s in threads: 307 for t, s in threads: 313 # If the import lock is held, the threads will hang
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_socketserver.py | 295 threads = [] 303 threads.append((t, s)) 304 for t, s in threads: 307 for t, s in threads: 313 # If the import lock is held, the threads will hang
|
/system/core/adb/ |
sysdeps_test.cpp | 46 std::vector<adb_thread_t> threads(500); 47 for (size_t i = 0; i < threads.size(); ++i) { 48 ASSERT_TRUE(adb_thread_create(increment_atomic_int, &counter, &threads[i])); 53 // Make sure that adb_thread_create actually creates threads, and doesn't do something silly 58 for (const auto& thread : threads) {
|
/system/libhwbinder/include/hwbinder/ |
BpHwBinder.h | 22 #include <utils/threads.h>
|
ProcessState.h | 25 #include <utils/threads.h> 91 // Number of binder threads current executing a command. 93 // Maximum number for binder threads allowed for this process.
|
/art/runtime/ |
thread_pool.cc | 139 // Wait for all of the threads to attach. 143 void ThreadPool::SetMaxActiveWorkers(size_t threads) { 145 CHECK_LE(threads, GetThreadCount()); 146 max_active_workers_ = threads; 159 // Wait for the threads to finish. 180 // Ensure that we don't use more threads than the maximum active workers.
|
/art/test/911-get-stack-trace/ |
stack_trace.cc | 173 std::unique_ptr<jthread[]> threads(new jthread[thread_count]); 175 threads[i] = env->GetObjectArrayElement(jthreads, i); 181 threads.get(),
|
/art/test/923-monitors/src/art/ |
Test923.java | 103 List<Thread> threads = new ArrayList<Thread>(); local 106 threads.add(t); 110 // Wait till all threads have been started. 113 // Hopefully enough time for all the threads to progress into wait. 138 for (Thread t : threads) { 179 // 5) N-1 threads wake up, run, and die.
|
/development/tools/bugreport/src/com/android/bugreport/inspector/ |
DeadlockDetector.java | 33 * Class to inspect an Anr object and determine which, if any threads are 39 * Entry in our growing list of involved threads. 73 * Entry in our growing list of involved threads. 176 // Find all the threads holding this lock. 177 for (ThreadSnapshot thread: lr.process.threads) { 195 if (dump) System.out.println("Involved threads:"); 214 cloneProcess.threads.clear(); 217 cloneProcess.threads.add(tr.thread);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_threading_local.py | 51 # Issue 3088: if there is a threads switch inside the __init__
66 threads= []
70 threads.append(t)
72 for t in threads:
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/ |
ThreadGroup002Test.java | 54 * groups and starts some tested threads which belong to different created thread groups. 55 * <BR>After the tested threads start, at first the test wait for the some first 56 * tested threads to finish. 62 * <BR> - all threads with status ZOMBIE are only finished tested threads; 63 * <BR> - all threads without status ZOMBIE are only NOT finished tested threads; 76 ("## FAILURE: Exception while getting number of started threads from debuggee = " + exception); 78 printErrorAndFail("\n## Can NOT get number of started threads from debuggee! "); 81 logWriter.println("==> Number of threads in debuggee to test = " + testedThreadsNumber) 108 int threads = allThreadIDReply.getNextValueAsInt(); local [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/ |
ResumeTest.java | 54 // We need to finish the tested threads before detaching. 55 logWriter.println("Finish debuggee tested threads"); 63 * <BR>At first the test starts ResumeDebuggee which starts and runs some tested threads. 65 * ThreadReference.Status command that all debuggee tested threads are suspended. 67 * ThreadReference.Status command that all debuggee tested threads are resumed. 75 // All the threads we're interested in. 78 // Suspend all threads with VirtualMachine.Suspend command. 81 // Check all threads are suspended now. 82 logWriter.println("\n==> Check that all tested threads are suspended " + 86 // Resume all threads with VirtualMachine.Resume command 303 int threads = allThreadIDReply.getNextValueAsInt(); local [all...] |
/external/autotest/client/tests/sysbench/ |
sysbench.py | 86 ' --num-threads=' + str(num_threads) + \ 131 ' --num-threads=' + str(num_threads) + \ 152 threads = 0 157 threads_re = re.search('Number of threads: (\d+)', line) 159 threads = threads_re.group(1) 166 out.write('threads=%s\ntps=%s' % (threads, tps))
|
/external/chromium-trace/catapult/devil/devil/utils/ |
reraiser_thread.py | 89 def __init__(self, threads=None): 93 threads: a list of ReraiserThread objects; defaults to empty. 100 if threads: 101 for thread in threads: 115 """Start all threads. 123 # Multiple threads blocking on the same outer thread should not happen in 131 """Join all threads without stack dumps. 133 Reraises exceptions raised by the child threads and supports breaking 140 operation. This will not time out the threads. 150 raise TimeoutError('Timed out waiting for %d of %d threads.' [all...] |
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_thread_registry_test.cc | 71 // Create a bunch of threads. 81 // Finish, create and start more threads. 108 // Detach and finish and join remaining threads. 204 pthread_t threads[kNumShards]; local 209 PTHREAD_CREATE(&threads[i], 0, RunThread, &args[i]); 212 PTHREAD_JOIN(threads[i], 0); 215 // of "threads" in thread_registry.
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_debugging.cc | 76 *thread_count = rep->threads.Size(); 145 CHECK_LT(idx, rep->threads.Size()); 146 ReportThread *thread = rep->threads[idx];
|
/external/compiler-rt/lib/tsan/tests/rtl/ |
tsan_mutex.cc | 192 // Create reader threads. 193 pthread_t threads[kThreadCount]; local 195 pthread_create(&threads[t], 0, singleton_thread, &singleton); 197 pthread_join(threads[t], 0);
|
/external/eigen/bench/tensors/ |
tensor_benchmarks_cpu.cc | 7 #define CREATE_THREAD_POOL(threads) \ 8 Eigen::ThreadPool pool(threads); \ 9 Eigen::ThreadPoolDevice device(&pool, threads); 12 #define BM_FuncCPU(FUNC, THREADS) \ 13 static void BM_##FUNC##_##THREADS##T(int iters, int N) { \ 15 CREATE_THREAD_POOL(THREADS); \ 19 BENCHMARK_RANGE(BM_##FUNC##_##THREADS##T, 10, 5000); 83 #define BM_FuncWithInputDimsCPU(FUNC, D1, D2, D3, THREADS) \ 84 static void BM_##FUNC##_##D1##x##D2##x##D3##_##THREADS##T(int iters, int N) { \ 86 if (THREADS == 1) { [all...] |