/external/chromium_org/third_party/webrtc/base/ |
H A D | cpumonitor_unittest.cc | 98 // 0 .. N means run on specific cpu. The tool will create N threads and call 127 std::vector<BusyThread*> threads; local 129 threads.push_back(new BusyThread(cpuload, duration, interval)); 131 if (!SetThreadPriority(threads[i], priority) || 132 !threads[i]->Start() || 133 !SetThreadAffinity(threads[i], i, affinity)) { 141 threads[i]->Stop(); 146 delete threads[i];
|
/external/guava/guava-tests/test/com/google/common/base/ |
H A D | SuppliersTest.java | 268 final Thread[] threads = new Thread[numThreads]; 285 for (Thread thread : threads) { 301 "timed out waiting for other threads to block" + 315 threads[i] = new Thread() { 321 for (Thread t : threads) { 324 for (Thread t : threads) { 351 Thread[] threads = new Thread[numThreads]; 353 threads[i] = new Thread() { 361 for (Thread t : threads) { 364 for (Thread t : threads) { [all...] |
/external/chromium_org/base/time/ |
H A D | time_win_unittest.cc | 69 // 2) Create N threads 70 // 3) Start the threads 84 HANDLE threads[kThreads]; local 89 threads[index] = reinterpret_cast<HANDLE>( 92 EXPECT_NE((HANDLE)NULL, threads[index]); 98 // Wait for threads to finish 100 DWORD rv = WaitForSingleObject(threads[index], INFINITE); 104 CloseHandle(threads[index]);
|
/external/chromium_org/third_party/libjingle/source/talk/xmllite/ |
H A D | xmlelement_unittest.cc | 264 std::vector<rtc::Thread*> threads; local 266 threads.push_back( 268 threads[i]->Start(); 272 threads[i]->Stop(); 273 delete threads[i];
|
/external/chromium_org/third_party/webrtc/libjingle/xmllite/ |
H A D | xmlelement_unittest.cc | 247 std::vector<rtc::Thread*> threads; local 249 threads.push_back( 251 threads[i]->Start(); 255 threads[i]->Stop(); 256 delete threads[i];
|
/external/icu/icu4c/source/test/intltest/ |
H A D | tsmthred.cpp | 214 // TestThreads -- see if threads really work at all. 216 // Set up N threads pointing at N chars. When they are started, they will 237 // TestArabicShapeThreads -- see if calls to u_shapeArabic in many threads works successfully 239 // Set up N threads pointing at N chars. When they are started, they will make calls to doTailTest which tests 241 // At the end we make sure all threads managed to run u_shapeArabic successfully. 308 SimpleThread *threads[THREADTEST_NRTHREADS]; local 315 threads[i] = new TestThreadsThread(&threadTestChars[i]); 319 logln("->" + UnicodeString(threadTestChars) + "<- Firing off threads.. "); 322 if (threads[i]->start() != 0) { 332 logln("Waiting for threads t 378 SimpleThread *threads[ARABICSHAPE_THREADTEST]; local 501 TestMutexThread *threads[TESTMUTEX_THREAD_COUNT]; local 1564 TxThread * threads[4]; local [all...] |
/external/chromium-trace/trace-viewer/src/tracing/importer/ |
H A D | trace_event_importer_test.js | 32 var t = p.threads[53]; 70 var t = m.processes[1].threads[1]; 89 var t = p.threads[53]; 106 var t = m.processes[1].threads[1]; 133 var t = p.threads[1]; 149 var t = p.threads[1]; 166 var t = m.processes[1].threads[1]; 179 // Slice that begins before min and ends after max of the other threads. 189 var t = p.threads[1]; 198 var t2 = p.threads[ [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/heap/ |
H A D | ThreadState.cpp | 116 // Wait time for parking all threads is at most 100 MS. 129 // Request other attached threads that are not at safe points to park themselves on safepoints. 134 // Lock threadAttachMutex() to prevent threads from attaching. 137 ThreadState::AttachedThreadStateSet& threads = ThreadState::attachedThreads(); local 140 atomicAdd(&m_unparkedThreadCount, threads.size()); 144 for (ThreadState::AttachedThreadStateSet::iterator it = threads.begin(), end = threads.end(); it != end; ++it) { 156 // One of the other threads did not return to a safepoint within the maximum 157 // time we allow for threads to be parked. Abandon the GC and resume the 158 // currently parked threads 168 ThreadState::AttachedThreadStateSet& threads = ThreadState::attachedThreads(); local 492 AttachedThreadStateSet& threads = attachedThreads(); local 500 AttachedThreadStateSet& threads = attachedThreads(); local 1257 ThreadState::AttachedThreadStateSet& threads = attachedThreads(); local [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/ |
H A D | SuspendTest.java | 51 * <BR>At first the test starts SuspendDebuggee which starts and runs some tested threads. 52 * <BR>After the tested threads starts, the test for every tested thread does: 66 ("## FAILURE: Exception while getting number of started threads from debuggee = " + exception); 67 printErrorAndFail("Can NOT get number of started threads from debuggee! "); 70 logWriter.println("==> There are no started threads in debuggee to test!"); 73 logWriter.println("==> Number of started threads in debuggee to test = " + testedThreadsNumber); 90 int threads = allThreadIDReply.getNextValueAsInt(); 91 logWriter.println("==> Number of all threads in debuggee = " + threads); 97 for (int i = 0; i < threads; [all...] |
H A D | SuspendCountTest.java | 53 * <BR>At first the test starts SuspendCountDebuggee which starts and runs some tested threads. 54 * <BR>After the tested threads starts, the test suspends every 60 * for all tested threads and main thread. 63 * for all tested threads and main thread. 73 ("## FAILURE: Exception while getting number of started threads from debuggee = " + exception); 75 printErrorAndFail("Can NOT get number of started threads from debuggee! "); 78 logWriter.println("==> There are no started threads in debuggee to test" 83 logWriter.println("==> Number of started threads in debuggee to test = " + testedThreadsNumber); 101 int threads = allThreadIDReply.getNextValueAsInt(); 102 logWriter.println("==> Number of all threads i [all...] |
/external/chromium_org/testing/gtest/test/ |
H A D | gtest_stress_test.cc | 33 // used in a large number of threads concurrently. 61 // How many threads to create? 104 // RecordProperty() should interact safely with other threads as well. 125 // Tests using SCOPED_TRACE() and Google Test assertions in many threads 129 scoped_ptr<ThreadWithParam<int> > threads[kThreadCount]; local 132 threads[i].reset(new ThreadWithParam<int>(&ManyAsserts, 138 // Blocks until all the threads are done. 140 threads[i]->Join(); 205 // This statement should succeed, because failures in all threads are 224 // This statement should succeed, because failures in all threads ar [all...] |
/external/chromium_org/third_party/skia/tools/ |
H A D | git-sync-deps | 197 threads = [] 201 threads.append(thread) 202 for thread in threads:
|
/external/chromium_org/tools/memory_inspector/memory_inspector/core/ |
H A D | backends.py | 138 """Stops the process and all its threads.""" 173 def __init__(self, threads, run_time, cpu_usage, vm_rss, page_faults): 175 threads: Number of threads. 181 self.threads = threads
|
/external/chromium_org/v8/test/cctest/ |
H A D | test-threads.cc | 159 i::List<ThreadIdValidationThread*> threads(kNThreads); 166 threads.Add(newThread); 175 delete threads[i];
|
/external/gtest/test/ |
H A D | gtest_stress_test.cc | 33 // used in a large number of threads concurrently. 61 // How many threads to create? 104 // RecordProperty() should interact safely with other threads as well. 125 // Tests using SCOPED_TRACE() and Google Test assertions in many threads 129 scoped_ptr<ThreadWithParam<int> > threads[kThreadCount]; local 132 threads[i].reset(new ThreadWithParam<int>(&ManyAsserts, 138 // Blocks until all the threads are done. 140 threads[i]->Join(); 205 // This statement should succeed, because failures in all threads are 224 // This statement should succeed, because failures in all threads ar [all...] |
/external/lldb/test/expression_command/call-throws/ |
H A D | TestCallThatThrows.py | 59 threads = lldbutil.get_threads_stopped_at_breakpoint (process, breakpoint) 61 self.assertTrue(len(threads) == 1) 62 self.thread = threads[0]
|
/external/lldb/test/lang/objc/objc-property/ |
H A D | TestObjCProperty.py | 65 threads = lldbutil.get_threads_stopped_at_breakpoint (process, main_bkpt) 66 self.assertTrue (len(threads) == 1) 67 thread = threads[0]
|
/external/skia/tools/ |
H A D | git-sync-deps | 184 threads = [] 188 threads.append(thread) 189 for thread in threads:
|
/external/valgrind/main/callgrind/ |
H A D | callgrind_control.in | 375 @threads = (); 384 $threads = ""; 416 elsif (/threads: (.+)$/) { $threads = $1; @threads = split " ", $threads; } 430 print " Number of running threads: " .($#threads+1). ", thread IDs: $threads\n";
|
/external/chromium_org/mojo/system/ |
H A D | dispatcher_unittest.cc | 280 ScopedVector<ThreadSafetyStressThread> threads; local 285 threads.push_back(new ThreadSafetyStressThread(&event, d, op)); 286 threads.back()->Start(); 288 // Kicks off real work on the threads: 290 } // Joins all the threads. 292 // One of the threads should already have closed the dispatcher. 307 ScopedVector<ThreadSafetyStressThread> threads; local 313 threads.push_back(new ThreadSafetyStressThread(&event, d, op)); 314 threads.back()->Start(); 316 // Kicks off real work on the threads [all...] |
H A D | simple_dispatcher_unittest.cc | 497 ScopedVector<test::WaiterThread> threads; local 499 threads.push_back(new test::WaiterThread(d, 507 threads.back()->Start(); 512 } // Joins the threads. 525 ScopedVector<test::WaiterThread> threads; local 527 threads.push_back(new test::WaiterThread(d, 535 threads.back()->Start(); 538 threads.push_back(new test::WaiterThread(d, 546 threads.back()->Start(); 552 } // Joins the threads 572 ScopedVector<test::WaiterThread> threads; local 620 ScopedVector<test::WaiterThread> threads; local [all...] |
/external/chromium-trace/trace-viewer/src/tracing/tracks/ |
H A D | process_track_base.js | 219 // Get a sorted list of threads. 220 var threads = base.dictionaryValues(this.processBase.threads). 224 threads.sort(tracing.trace_model.Thread.compare); 226 // Create the threads. 227 threads.forEach(function(thread) {
|
/external/chromium_org/sync/js/ |
H A D | README.js | 8 offer better safety guarantees, and to dispatch requests to different threads.
|
/external/chromium_org/third_party/webrtc/test/channel_transport/ |
H A D | udp_transport_unittest.cc | 113 uint8_t threads = 1; local 114 UdpTransport* transport = UdpTransport::Create(id, threads);
|
/external/chromium_org/tools/telemetry/telemetry/timeline/ |
H A D | process.py | 30 def threads(self): member in class:Process 52 thread = self.threads.get(tid, None)
|