/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/ |
SuspendTest.java | 50 * and checks with help of ThreadReference.Status command that all threads in debuggee 52 * debuggee threads are suspended. 71 int threads = reply.getNextValueAsInt(); local 72 logWriter.println("Number of threads = " + threads); 73 assertTrue("Invalid number of threads: " + threads, threads > 0); 75 for (int i = 0; i < threads; i++) {
|
/external/libchrome/base/threading/ |
thread_local_storage_unittest.cc | 100 // threads that set the TLS, while the destructor cleans it up. 101 // After the threads finish, verify that the value is cleaned up. 105 DelegateSimpleThread* threads[kNumThreads]; local 109 // Spawn the threads. 113 threads[index] = new DelegateSimpleThread(thread_delegates[index], 115 threads[index]->Start(); 118 // Wait for the threads to finish. 120 threads[index]->Join(); 121 delete threads[index]; 127 tls_slot.Free(); // Stop doing callbacks to cleanup threads [all...] |
/external/skia/src/core/ |
SkExecutor.cpp | 49 // An SkThreadPool is an executor that runs work on a fixed pool of OS threads. 52 explicit SkThreadPool(int threads) { 53 for (int i = 0; i < threads; i++) { 76 // Tell the Loop() threads to pick it up. 122 std::unique_ptr<SkExecutor> SkExecutor::MakeThreadPool(int threads) { 123 return skstd::make_unique<SkThreadPool>(threads > 0 ? threads : num_cores());
|
SkTaskGroup.h | 35 explicit Enabler(int threads = -1); // -1 -> num_cores, 0 -> noop
|
/external/google-breakpad/src/processor/ |
microdump_processor_unittest.cc | 102 ASSERT_EQ(1U, state->threads()->size()); 133 ASSERT_EQ(1U, state.threads()->size()); 134 ASSERT_EQ(12U, state.threads()->at(0)->frames()->size()); 137 state.threads()->at(0)->frames()->at(0)->function_name); 139 state.threads()->at(0)->frames()->at(3)->function_name); 163 ASSERT_EQ(8U, state.threads()->at(0)->frames()->size()); 165 state.threads()->at(0)->frames()->at(0)->function_name); 167 state.threads()->at(0)->frames()->at(1)->function_name); 169 state.threads()->at(0)->frames()->at(6)->function_name); 171 state.threads()->at(0)->frames()->at(6)->module->code_file()) [all...] |
/art/test/051-thread/src/ |
Main.java | 43 TestCapacityThread[] threads = new TestCapacityThread[128]; local 44 for (int i = 0; i < threads.length; i++) { 45 threads[i] = new TestCapacityThread(); 48 for (TestCapacityThread thread : threads) { 51 for (TestCapacityThread thread : threads) { 168 Thread threads[] = new Thread[10]; local 170 current.getThreadGroup().enumerate(threads); 172 for (Thread t : threads) { 178 throw new RuntimeException("Did not find main thread: " + Arrays.toString(threads));
|
/art/test/626-const-class-linking/src/ |
Main.java | 123 final Thread[] threads = new Thread[4]; local 124 final Object[] results = new Object[threads.length]; 126 final RacyLoader racy_loader = new RacyLoader(system_loader, threads.length); 130 for (int i = 0; i != threads.length; ++i) { 145 threads[i] = t; 147 for (Thread t : threads) { 157 final Thread[] threads = new Thread[4]; local 158 final Object[] results = new Object[threads.length]; 160 final RacyLoader racy_loader = new RacyLoader(system_loader, threads.length); 166 for (int i = 0; i != threads.length; ++i) 194 final Thread[] threads = new Thread[4]; local 229 final Thread[] threads = new Thread[4]; local [all...] |
/external/compiler-rt/lib/sanitizer_common/tests/ |
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/deqp/external/glslang/ |
osinclude.cpp | 94 void OS_WaitForAllThreads (void* threads, int numThreads) 98 const deThread thread = (deThread)(deUintptr)((void**)threads)[ndx];
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/debugging/value/ |
LazyThreadGroupReference.java | 68 @Override public List<ThreadReference> threads() { method in class:LazyThreadGroupReference 69 return getValue().threads();
|
/cts/suite/audio_quality/lib/include/ |
FileUtil.h | 24 #include <utils/threads.h>
|
/development/ndk/platforms/android-9/arch-mips/include/asm/ |
smp.h | 24 #include <linux/threads.h>
|
/external/autotest/client/tests/monotonic_time/src/ |
threads.c | 14 #include "threads.h" 26 static thread_t threads[MAX_THREADS]; variable 48 * Create a set of threads each of which is bound to one of 50 * Returns the number of threads created. 64 thread = &threads[num_threads++]; 83 * Create nthreads threads. 84 * Returns the number of threads created. 95 thread = &threads[num_threads++]; 113 * Join with the set of previsouly created threads. 118 pthread_join(threads[--num_threads].thread, NULL) [all...] |
/external/valgrind/none/tests/ |
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);
|
/frameworks/av/include/common_time/ |
local_clock.h | 25 #include <utils/threads.h>
|
/frameworks/av/services/mediaanalytics/ |
MetricsSummarizerRecorder.cpp | 23 #include <utils/threads.h>
|
/frameworks/minikin/tests/stresstest/ |
MultithreadTest.cpp | 63 // Wait until all threads are created. 92 std::vector<std::thread> threads; local 96 threads.reserve(NUM_THREADS); 98 threads.emplace_back(&thread_main, i); 104 for (auto& thread : threads) {
|
/frameworks/native/opengl/libagl/ |
TokenManager.h | 24 #include <utils/threads.h>
|
/hardware/intel/img/hwcomposer/merrifield/common/base/ |
VsyncManager.h | 20 #include <utils/threads.h>
|
/hardware/qcom/display/msm8084/libqdutils/ |
idle_invalidator.h | 34 #include <utils/threads.h>
|
qd_utils.h | 33 #include <utils/threads.h>
|
/hardware/qcom/display/msm8226/libqdutils/ |
idle_invalidator.h | 34 #include <utils/threads.h>
|
/hardware/qcom/display/msm8909/libqdutils/ |
idle_invalidator.h | 34 #include <utils/threads.h>
|
/hardware/qcom/display/msm8960/libqdutils/ |
idle_invalidator.h | 34 #include <utils/threads.h>
|
/hardware/qcom/display/msm8994/libqdutils/ |
idle_invalidator.h | 34 #include <utils/threads.h>
|