/external/google-breakpad/src/client/linux/minidump_writer/ |
linux_ptrace_dumper_unittest.cc | 138 ASSERT_GE(dumper.threads().size(), (size_t)1); 140 for (size_t i = 0; i < dumper.threads().size(); ++i) { 141 if (dumper.threads()[i] == getppid()) { 387 // Pass the pipe fd and the number of threads as arguments. 402 // Wait for all child threads to indicate that they have started 403 for (int threads = 0; threads < kNumberOfThreadsInHelperProgram; threads++) { 426 EXPECT_EQ((size_t)kNumberOfThreadsInHelperProgram, dumper.threads().size()); 430 for (size_t i = 0; i < dumper.threads().size(); ++i) [all...] |
/external/ltp/testcases/kernel/sched/pthreads/ |
pth_str01.c | 24 * DESCRIPTION : create a tree of threads 52 pthread_attr_t attr; /* attributes for created threads */ 387 &(info_p->threads[child])); 391 pthread_create(&(info_p->threads[child]), &attr, 400 &(info_p->threads[child])); 418 &(info_p->threads[child])); 422 pthread_join((info_p->threads[child]), &status))) { 592 if ((child_info[ind].threads = malloc(breadth * sizeof(pthread_t))) 594 perror("malloc threads"); 597 memset(child_info[ind].threads, 0x00 [all...] |
/development/tools/bugreport/src/com/android/bugreport/html/ |
Renderer.java | 200 * Makes a copy of the process and threads, removing ones that have accumulated in the 215 final int N = cloneProcess.threads.size(); 217 final ThreadSnapshot cloneThread = cloneProcess.threads.get(i); 219 cloneProcess.threads.remove(i); 223 if (cloneProcess.threads.size() > 0) { 260 N = process.threads.size(); 262 makeThreadSnapshotHdf(hdf.createChild("threads." + i), process, process.threads.get(i)); 430 // And do the threads too. 435 * Sort threads so the more interesting ones are at the top [all...] |
/external/guava/guava-tests/test/com/google/common/base/ |
SuppliersTest.java | 269 final Thread[] threads = new Thread[numThreads]; local 286 for (Thread thread : threads) { 302 "timed out waiting for other threads to block" + 316 threads[i] = new Thread() { 322 for (Thread t : threads) { 325 for (Thread t : threads) { 352 Thread[] threads = new Thread[numThreads]; local 354 threads[i] = new Thread() { 362 for (Thread t : threads) { 365 for (Thread t : threads) { [all...] |
/external/webrtc/webrtc/libjingle/xmllite/ |
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];
|
/art/test/931-agent-thread/ |
agent_thread.cc | 75 jthread* threads; local 76 jvmtiError threads_result = jenv->GetAllThreads(&thread_count, &threads); 80 if (env->IsSameObject(threads[i], this_thread)) {
|
/cts/hostsidetests/theme/ |
run_theme_capture_device.py | 72 threads = [] 76 threads.append(t) 77 for t in threads:
|
/development/tools/bugreport/src/com/android/bugreport/inspector/ |
Inspector.java | 124 for (ThreadSnapshot thread: process.threads) { 152 ThreadInfo ti = pi.threads.get(tid); 155 pi.threads.put(tid, ti); 197 * Pulls the locks out of the individual stack frames and tags the threads 202 for (ThreadSnapshot thread: process.threads) { 221 * Mark the threads that are doing binder transactions. 225 for (ThreadSnapshot thread: process.threads) { 382 * Sniff the threads that are blocked on other things. 386 for (ThreadSnapshot thread: process.threads) { 387 // These threads are technically blocked, but it's expected so don't report it [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_capi.py | 56 threads = []
69 threads.append(t)
73 for t in threads:
84 print "finished threads: ", nFinished
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
thread_beos.h | 149 int32 threads;
local 154 threads = atomic_add( &thread_count, 0 );
156 if( threads == 0 ) {
157 /* No threads around, so exit main(). */
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/ccbench/ |
ccbench.py | 189 # OS scheduling of Python threads is sometimes so bad that we
229 threads = []
231 threads.append(threading.Thread(target=run))
232 for t in threads:
236 # so we arrange for timing to start after all threads are ready.
244 for t in threads:
261 print("threads=%d: %d" % (nthreads, speed), end="")
312 threads = []
335 threads.append(threading.Thread(target=run))
336 for t in threads: [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/ |
SuspendTest.java | 52 * <BR>At first the test starts SuspendDebuggee which starts and runs some tested threads. 53 * <BR>After the tested threads starts, the test for every tested thread does: 67 ("## FAILURE: Exception while getting number of started threads from debuggee = " + exception); 68 printErrorAndFail("Can NOT get number of started threads from debuggee! "); 71 logWriter.println("==> There are no started threads in debuggee to test!"); 74 logWriter.println("==> Number of started threads in debuggee to test = " + testedThreadsNumber); 91 int threads = allThreadIDReply.getNextValueAsInt(); local 92 logWriter.println("==> Number of all threads in debuggee = " + threads); 98 for (int i = 0; i < threads; i++) [all...] |
/external/chromium-trace/catapult/devil/devil/utils/ |
timeout_retry.py | 20 def __init__(self, timeout, threads=None): 21 super(TimeoutRetryThreadGroup, self).__init__(threads) 155 thread_group = TimeoutRetryThreadGroup(timeout, threads=[child_thread])
|
/external/google-benchmark/test/ |
skip_with_error_test.cc | 76 if (state.range(0) == 1 && state.thread_index <= (state.threads / 2)) { 87 ADD_CASES("BM_error_during_running", {{"/1/threads:1", true, "error message"}, 88 {"/1/threads:2", true, "error message"}, 89 {"/1/threads:4", true, "error message"}, 90 {"/1/threads:8", true, "error message"}, 91 {"/2/threads:1", false, ""}, 92 {"/2/threads:2", false, ""}, 93 {"/2/threads:4", false, ""}, 94 {"/2/threads:8", false, ""}}); 100 if (state.thread_index <= (state.threads / 2) [all...] |
/external/google-breakpad/src/testing/gtest/test/ |
gtest_stress_test.cc | 33 // used in a large number of threads concurrently. 62 // How many threads to create? 105 // RecordProperty() should interact safely with other threads as well. 126 // Tests using SCOPED_TRACE() and Google Test assertions in many threads 130 scoped_ptr<ThreadWithParam<int> > threads[kThreadCount]; local 133 threads[i].reset(new ThreadWithParam<int>(&ManyAsserts, 139 // Blocks until all the threads are done. 141 threads[i]->Join(); 206 // This statement should succeed, because failures in all threads are 225 // This statement should succeed, because failures in all threads ar [all...] |
/external/googletest/googletest/test/ |
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/libcxx/utils/google-benchmark/test/ |
skip_with_error_test.cc | 76 if (state.range(0) == 1 && state.thread_index <= (state.threads / 2)) { 87 ADD_CASES("BM_error_during_running", {{"/1/threads:1", true, "error message"}, 88 {"/1/threads:2", true, "error message"}, 89 {"/1/threads:4", true, "error message"}, 90 {"/1/threads:8", true, "error message"}, 91 {"/2/threads:1", false, ""}, 92 {"/2/threads:2", false, ""}, 93 {"/2/threads:4", false, ""}, 94 {"/2/threads:8", false, ""}}); 100 if (state.thread_index <= (state.threads / 2) [all...] |
/external/libmojo/third_party/catapult/devil/devil/utils/ |
timeout_retry.py | 18 def __init__(self, timeout, threads=None): 19 super(TimeoutRetryThreadGroup, self).__init__(threads) 153 thread_group = TimeoutRetryThreadGroup(timeout, threads=[child_thread])
|
/external/ltp/testcases/kernel/fs/openfile/ |
openfile.c | 71 void *threads(void *thread_id); 102 printf("Usage: openfile [-d] -f FILES -t THREADS\n"); 107 printf("Usage: openfile [-d] -f FILES -t THREADS\n"); 122 sprintf(msg, "%s\nCannot use %d threads", msg, numthreads); 123 sprintf(msg, "%s, used %d threads instead\n", msg, MAXTHREADS); 147 printf("Creating Reading Threads\n"); 149 /* Create threads */ 151 if (pthread_create(&th_id, NULL, threads, 160 /* Sleep until all threads are created */ 164 "error while waiting for reading threads"); 206 void *threads(void *thread_id_) function [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
1-6.c | 31 * lower priority does not finish until the high priority threads finished 102 pthread_t threads[n_threads]; local 126 ret = pthread_create(&threads[i], &attr, do_work, NULL); 142 pthread_join(threads[i], NULL); 248 printf("INFO: Affinity not supported, running %i threads.\n",
|
/external/protobuf/gtest/test/ |
gtest_stress_test.cc | 33 // used in a large number of threads concurrently. 62 // How many threads to create? 105 // RecordProperty() should interact safely with other threads as well. 126 // Tests using SCOPED_TRACE() and Google Test assertions in many threads 130 scoped_ptr<ThreadWithParam<int> > threads[kThreadCount]; local 133 threads[i].reset(new ThreadWithParam<int>(&ManyAsserts, 139 // Blocks until all the threads are done. 141 threads[i]->Join(); 206 // This statement should succeed, because failures in all threads are 225 // This statement should succeed, because failures in all threads ar [all...] |
/external/v8/testing/gtest/test/ |
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/valgrind/callgrind/ |
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/vulkan-validation-layers/tests/gtest-1.7.0/test/ |
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...] |
/frameworks/base/tests/WindowManagerStressTest/src/test/windowmanagerstresstest/ |
MainActivity.java | 98 ArrayList<Thread> threads = new ArrayList<>(); local 111 threads.add(t); 115 for (Thread t : threads) {
|