| /openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/tests/ |
| H A D | wrappers_cpp_test.cpp | 121 std::thread Threads[32]; in TEST() local 122 for (size_t I = 0U; I < sizeof(Threads) / sizeof(Threads[0]); I++) in TEST() 123 Threads[I] = std::thread(stressNew); in TEST() 129 for (auto &T : Threads) in TEST() 154 std::vector<std::thread *> Threads; in TEST() local 167 Threads.push_back(T); in TEST() 195 for (auto Thread : Threads) in TEST() 197 Threads.clear(); in TEST()
|
| H A D | tsd_test.cpp | 164 std::thread Threads[32]; in testRegistryThreaded() local 165 for (scudo::uptr I = 0; I < ARRAY_SIZE(Threads); I++) in testRegistryThreaded() 166 Threads[I] = std::thread(stressCache<AllocatorT>, Allocator.get()); in testRegistryThreaded() 172 for (auto &T : Threads) in testRegistryThreaded() 223 std::thread Threads[32]; in TEST() local 224 for (scudo::uptr I = 0; I < ARRAY_SIZE(Threads); I++) in TEST() 225 Threads[I] = std::thread(stressSharedRegistry, Allocator.get()); in TEST() 231 for (auto &T : Threads) in TEST() 241 for (scudo::uptr I = 0; I < ARRAY_SIZE(Threads); I++) in TEST() 242 Threads[I] = std::thread(stressSharedRegistry, Allocator.get()); in TEST() [all …]
|
| H A D | mutex_test.cpp | 86 pthread_t Threads[NumberOfThreads]; in TEST() local 88 pthread_create(&Threads[I], 0, lockThread, &Data); in TEST() 90 pthread_join(Threads[I], 0); in TEST() 96 pthread_t Threads[NumberOfThreads]; in TEST() local 98 pthread_create(&Threads[I], 0, tryThread, &Data); in TEST() 100 pthread_join(Threads[I], 0); in TEST()
|
| H A D | secondary_test.cpp | 229 std::thread Threads[16]; in TEST_F() local 230 for (scudo::uptr I = 0; I < ARRAY_SIZE(Threads); I++) in TEST_F() 231 Threads[I] = in TEST_F() 238 for (auto &T : Threads) in TEST_F()
|
| H A D | primary_test.cpp | 269 std::thread Threads[32]; in SCUDO_TYPED_TEST() local 270 for (scudo::uptr I = 0; I < ARRAY_SIZE(Threads); I++) in SCUDO_TYPED_TEST() 271 Threads[I] = std::thread([&]() { in SCUDO_TYPED_TEST() 301 for (auto &T : Threads) in SCUDO_TYPED_TEST()
|
| H A D | combined_test.cpp | 462 std::thread Threads[32]; in SCUDO_TYPED_TEST() local 463 for (scudo::uptr I = 0; I < ARRAY_SIZE(Threads); I++) in SCUDO_TYPED_TEST() 464 Threads[I] = std::thread([&]() { in SCUDO_TYPED_TEST() 489 for (auto &T : Threads) in SCUDO_TYPED_TEST()
|
| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | Parallel.cpp | 55 Threads.reserve(ThreadCount); in ThreadPoolExecutor() 56 Threads.resize(1); in ThreadPoolExecutor() 58 Threads[0] = std::thread([this, ThreadCount, S] { in ThreadPoolExecutor() 60 Threads.emplace_back([=] { work(S, I); }); in ThreadPoolExecutor() 83 for (std::thread &T : Threads) in ~ThreadPoolExecutor() 126 std::vector<std::thread> Threads; member in llvm::parallel::detail::__anon2cb6b1800111::ThreadPoolExecutor
|
| H A D | ThreadPool.cpp | 40 if (Threads.size() >= MaxThreadCount) in grow() 43 while (static_cast<int>(Threads.size()) < newThreadCount) { in grow() 44 int ThreadID = Threads.size(); in grow() 45 Threads.emplace_back([this, ThreadID] { in grow() 171 for (const llvm::thread &Thread : Threads) in isWorkerThread() 185 for (auto &Worker : Threads) in ~ThreadPool()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/ |
| H A D | malloc_stress_transfer_test.cpp | 26 std::thread *Threads[kNumThreads]; in main() local 27 for (auto &T : Threads) T = new std::thread(&Thread); in main() 28 for (auto T : Threads) { in main()
|
| H A D | sanitizer_stackdepot_test.cpp | 128 int Threads; member 157 << "_" << info.param.Threads << (info.param.UseCount ? "_UseCount" : "") in PrintStackDepotBenchmarkParams() 192 for (int i = 0; i < Param.Threads; ++i) in TEST_P()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/gwp_asan/tests/ |
| H A D | thread_contention.cpp | 49 std::vector<std::thread> Threads; in runThreadContentionTest() local 55 Threads.emplace_back(asyncTask, GPA, &StartingGun, NumIterations); in runThreadContentionTest() 60 for (auto &T : Threads) in runThreadContentionTest()
|
| H A D | mutex_test.cpp | 67 std::vector<std::thread> Threads; in runSynchronisedTest() local 76 Threads.emplace_back(synchronousIncrementTask, &StartingGun, &Mu, &Counter, in runSynchronisedTest() 80 for (auto &T : Threads) in runSynchronisedTest()
|
| H A D | recoverable.cpp | 183 std::vector<std::thread> Threads; in runInterThreadThrashingSingleAlloc() local 192 Threads.emplace_back(singleAllocThrashTask, GPA, &StartingGun, in runInterThreadThrashingSingleAlloc() 198 for (auto &T : Threads) in runInterThreadThrashingSingleAlloc()
|
| /openbsd-src/gnu/llvm/llvm/tools/dsymutil/ |
| H A D | dsymutil.cpp | 357 Options.LinkOpts.Threads = atoi(NumThreads->getValue()); in getOptions() 359 Options.LinkOpts.Threads = 0; // Use all available hardware threads in getOptions() 362 Options.LinkOpts.Threads = 1; in getOptions() 673 Options.LinkOpts.Statistics ? 1 : Options.LinkOpts.Threads); in main() 674 if (Options.LinkOpts.Threads == 0) { in main() 680 ThreadPool Threads(S); in main() local 768 Threads.async(LinkLambda, OS, Options.LinkOpts); in main() 771 Threads.wait(); in main()
|
| H A D | LinkUtils.h | 61 unsigned Threads = 1; member
|
| /openbsd-src/gnu/llvm/lldb/include/lldb/Target/ |
| H A D | ThreadCollection.h | 46 virtual ThreadIterable Threads() { in Threads() function
|
| /openbsd-src/gnu/llvm/lldb/source/Commands/ |
| H A D | CommandObjectThreadUtil.cpp | 60 for (ThreadSP thread_sp : process->Threads()) in DoExecute() 181 for (ThreadSP thread_sp : process.Threads()) in DoExecute()
|
| /openbsd-src/gnu/llvm/clang/lib/DirectoryWatcher/ |
| H A D | CMakeLists.txt | 18 find_package(Threads REQUIRED)
|
| /openbsd-src/gnu/llvm/llvm/cmake/modules/ |
| H A D | FindZ3.cmake | 9 # Threads are required elsewhere in LLVM, but not marked as required here because 11 find_package(Threads)
|
| /openbsd-src/gnu/usr.bin/perl/dist/threads/t/ |
| H A D | basic.t | 135 ok(22, $thr1 == $thr3, 'Threads equal'); 136 ok(23, !($thr1 != $thr3), 'Threads equal');
|
| /openbsd-src/gnu/llvm/lldb/source/Target/ |
| H A D | Queue.cpp | 44 for (ThreadSP thread_sp : process_sp->Threads()) { in GetThreads()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerFork.cpp | 378 std::vector<std::thread> Threads; in FuzzWithFork() local 380 Threads.push_back(std::thread(WorkerThread, &FuzzQ, &MergeQ)); in FuzzWithFork() 481 for (auto &T : Threads) in FuzzWithFork()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/Process/Linux/ |
| H A D | IntelPTMultiCoreTrace.cpp | 112 for (NativeThreadProtocol &thread : m_process.Threads()) in GetState()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Support/ |
| H A D | ThreadPool.h | 190 std::vector<llvm::thread> Threads; variable
|
| /openbsd-src/gnu/llvm/llvm/lib/ObjectYAML/ |
| H A D | MinidumpYAML.cpp | 537 std::vector<ThreadListStream::entry_type> Threads; in create() local 545 Threads.push_back({T, *ExpectedStack, *ExpectedContext}); in create() 547 return std::make_unique<ThreadListStream>(std::move(Threads)); in create()
|