/frameworks/wilhelm/tests/sandbox/ |
multithread.c | 17 // Multiple threads create and destroy objects 37 pthread_t threads[MAX_THREAD]; variable 128 // create threads 155 ok = pthread_create(&threads[i], (const pthread_attr_t *) NULL, thread_start, 171 // signal threads that they should exit 183 // now wait for the threads to actually exit 185 ok = pthread_join(threads[i], NULL);
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_capi.py | 58 threads = [] 71 threads.append(t) 75 for t in threads: 86 print "finished threads: ", nFinished
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_capi.py | 58 threads = [] 71 threads.append(t) 75 for t in threads: 86 print "finished threads: ", nFinished
|
/prebuilts/ndk/r11/sources/third_party/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...] |
/prebuilts/ndk/r13/sources/third_party/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...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_capi.py | 58 threads = [] 71 threads.append(t) 75 for t in threads: 86 print "finished threads: ", nFinished
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_capi.py | 58 threads = [] 71 threads.append(t) 75 for t in threads: 86 print "finished threads: ", nFinished
|
/system/core/debuggerd/libdebuggerd/ |
backtrace.cpp | 77 const std::map<pid_t, std::string>& threads, std::string* amfd_data) { 83 dump_thread(&log, map, pid, tid, threads.find(tid)->second.c_str()); 85 for (const auto& it : threads) {
|
/system/core/libsync/ |
sync_test.c | 79 pthread_t threads[4]; local 119 pthread_create(&threads[i], NULL, sync_thread, &sync_data[i]); 143 pthread_join(threads[i], &val);
|
/system/extras/memory_replay/ |
Threads.cpp | 31 #include "Threads.h" 48 Threads::Threads(Pointers* pointers, size_t max_threads) 56 err(1, "Failed to map in memory for Threads: map size %zu, max threads %zu\n", 68 Threads::~Threads() { 76 Thread* Threads::CreateThread(pid_t tid) { 78 err(1, "Too many threads created, current max %zu.\n", num_threads_); 82 err(1, "No empty entries found, current max %zu, num threads %zu\n" [all...] |
/system/extras/simpleperf/ |
event_selection_set.h | 96 void AddMonitoredThreads(const std::set<pid_t>& threads) { 97 threads_.insert(threads.begin(), threads.end()); 123 // Stop profiling if all monitored processes/threads don't exist.
|
/tools/test/connectivity/acts/framework/acts/test_utils/bt/ |
BluetoothBaseTest.py | 90 threads = [] 94 threads.append(thread) 96 for t in threads:
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/ |
SuspendCountTest.java | 54 * <BR>At first the test starts SuspendCountDebuggee which starts and runs some tested threads. 55 * <BR>After the tested threads starts, the test suspends every 61 * for all tested threads and main thread. 64 * for all tested threads and main thread. 74 ("## FAILURE: Exception while getting number of started threads from debuggee = " + exception); 76 printErrorAndFail("Can NOT get number of started threads from debuggee! "); 79 logWriter.println("==> There are no started threads in debuggee to test" 84 logWriter.println("==> Number of started threads in debuggee to test = " + testedThreadsNumber); 102 int threads = allThreadIDReply.getNextValueAsInt(); local 103 logWriter.println("==> Number of all threads in debuggee = " + threads) [all...] |
/system/core/libmemunreachable/ |
ThreadCapture.cpp | 80 bool CapturedThreadInfo(ThreadInfoList& threads); 327 bool ThreadCaptureImpl::CapturedThreadInfo(ThreadInfoList& threads) { 328 threads.clear(); 335 threads.push_back(t); 363 bool ThreadCapture::CapturedThreadInfo(ThreadInfoList& threads) { 364 return impl_->CapturedThreadInfo(threads);
|
/tools/test/connectivity/acts/tests/google/ble/beacon_tests/ |
BeaconSwarmTest.py | 117 threads = [] 125 threads.append(thread) 127 for t in threads: 144 threads = [] 155 threads.append(thread) 157 for t in threads:
|
/external/libxml2/include/libxml/ |
Makefile.am | 32 threads.h \
|
/external/valgrind/none/tests/amd64-solaris/ |
coredump_single_thread.post.exp | 4 threading model: native threads
|
/external/valgrind/none/tests/x86-solaris/ |
coredump_single_thread.post.exp | 4 threading model: native threads
|
/external/webrtc/webrtc/test/channel_transport/ |
udp_transport_unittest.cc | 111 uint8_t threads = 1; local 112 UdpTransport* transport = UdpTransport::Create(id, threads);
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
_threading_local.py | 53 these values across threads, as they apply only to the thread they 113 local. They are shared across threads: 231 threads = threading._enumerate() 233 # If enumerating the current threads fails, as it seems to do 238 for thread in threads:
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
_threading_local.py | 53 these values across threads, as they apply only to the thread they 113 local. They are shared across threads: 231 threads = threading._enumerate() 233 # If enumerating the current threads fails, as it seems to do 238 for thread in threads:
|
/prebuilts/go/darwin-x86/misc/cgo/test/ |
issue18146.go | 34 threads := 4 57 max := int(rlim.Cur) / (threads + 5) 67 for n := threads; n > 0; n-- { 74 runtime.GOMAXPROCS(threads)
|
/prebuilts/go/darwin-x86/src/runtime/race/ |
race.go | 10 // this is turn ensures that runtime uses pthread_create to create threads.
|
/prebuilts/go/linux-x86/misc/cgo/test/ |
issue18146.go | 34 threads := 4 57 max := int(rlim.Cur) / (threads + 5) 67 for n := threads; n > 0; n-- { 74 runtime.GOMAXPROCS(threads)
|
/prebuilts/go/linux-x86/src/runtime/race/ |
race.go | 10 // this is turn ensures that runtime uses pthread_create to create threads.
|