| /llvm-project-15.0.7/lldb/test/API/macosx/queues/ |
| H A D | main.c | 8 atomic_int thread_count = 0; variable 15 atomic_fetch_add(&thread_count, 1); in doing_the_work_1() 34 atomic_fetch_add(&thread_count, 1); in submit_work_1b() 42 atomic_fetch_add(&thread_count, 1); in doing_the_work_2() 65 atomic_fetch_add(&thread_count, 1); in doing_the_work_3() 111 atomic_fetch_add(&thread_count, 1); in main() 117 atomic_fetch_add(&thread_count, 1); in main() 123 atomic_fetch_add(&thread_count, 1); in main() 129 atomic_fetch_add(&thread_count, 1); in main() 135 atomic_fetch_add(&thread_count, 1); in main() [all …]
|
| /llvm-project-15.0.7/libc/test/integration/src/threads/ |
| H A D | thrd_test.cpp | 16 static constexpr int thread_count = 1000; variable 24 for (counter = 0; counter <= thread_count;) { in create_and_join() 29 int retval = thread_count + 1; // Start with a retval we dont expect. in create_and_join() 39 thrd_t thread_list[thread_count]; in spawn_and_join() 40 int args[thread_count]; in spawn_and_join() 42 for (int i = 0; i < thread_count; ++i) { in spawn_and_join() 48 for (int i = 0; i < thread_count; ++i) { in spawn_and_join() 49 int retval = thread_count + 1; // Start with a retval we dont expect. in spawn_and_join()
|
| H A D | call_once_test.cpp | 23 static __llvm_libc::cpp::Atomic<unsigned int> thread_count; variable 32 thread_count.fetch_add(1); in func() 40 thread_count = 0; in call_from_5_threads() 55 EXPECT_EQ(thread_count.val, 5U); in call_from_5_threads()
|
| /llvm-project-15.0.7/libc/test/integration/src/pthread/ |
| H A D | pthread_test.cpp | 15 static constexpr int thread_count = 1000; variable 23 for (counter = 0; counter <= thread_count;) { in create_and_join() 30 void *retval = reinterpret_cast<void *>(thread_count + 1); in create_and_join() 40 pthread_t thread_list[thread_count]; in spawn_and_join() 41 int args[thread_count]; in spawn_and_join() 43 for (int i = 0; i < thread_count; ++i) { in spawn_and_join() 50 for (int i = 0; i < thread_count; ++i) { in spawn_and_join() 52 void *retval = reinterpret_cast<void *>(thread_count + 1); in spawn_and_join()
|
| /llvm-project-15.0.7/lldb/test/API/tools/lldb-server/ |
| H A D | TestGdbRemoteThreadsInStopReply.py | 17 def gather_stop_reply_fields(self, thread_count, field_names): argument 18 context, threads = self.launch_with_threads(thread_count) 41 def gather_stop_reply_threads(self, thread_count): argument 44 thread_count, ["threads"])["threads"] 51 def gather_stop_reply_pcs(self, thread_count): argument 153 thread_count = 5 156 stop_reply_threads = self.gather_stop_reply_threads(thread_count) 167 self.assertGreaterEqual(len(threads), thread_count) 177 thread_count = 5 180 results = self.gather_stop_reply_pcs(thread_count) [all …]
|
| /llvm-project-15.0.7/lldb/unittests/tools/lldb-server/inferior/ |
| H A D | thread_inferior.cpp | 16 int thread_count = 2; in main() local 18 thread_count = std::stoi(argv[1], nullptr, 10); in main() 23 for (int i = 0; i < thread_count; i++) { in main()
|
| /llvm-project-15.0.7/compiler-rt/test/tsan/ |
| H A D | debugging.cpp | 17 int *mutex_count, int *thread_count, 59 int stack_count, mop_count, loc_count, mutex_count, thread_count, in __tsan_on_report() local 63 &loc_count, &mutex_count, &thread_count, in __tsan_on_report() 92 fprintf(stderr, "thread_count = %d\n", thread_count); in __tsan_on_report()
|
| /llvm-project-15.0.7/compiler-rt/test/tsan/Darwin/ |
| H A D | external-swift-debugging.cpp | 12 int *mutex_count, int *thread_count, 52 int stack_count, mop_count, loc_count, mutex_count, thread_count, in __tsan_on_report() local 56 &loc_count, &mutex_count, &thread_count, in __tsan_on_report()
|
| /llvm-project-15.0.7/lldb/tools/darwin-threads/ |
| H A D | examine-threads.c | 386 mach_msg_type_number_t thread_count; in main() local 388 kr = task_threads(task, &thread_list, &thread_count); in main() 393 printf("pid %d has %d threads\n", pid, thread_count); in main() 397 for (i = 0; i < thread_count; i++) { in main() 492 thread_count * sizeof(thread_act_t)); in main()
|
| /llvm-project-15.0.7/third-party/benchmark/src/ |
| H A D | benchmark_api_internal.cc | 13 int thread_count) in BenchmarkInstance() argument 29 threads_(thread_count) { in BenchmarkInstance()
|
| /llvm-project-15.0.7/llvm/utils/unittest/googletest/src/ |
| H A D | gtest-death-test.cc | 240 static std::string DeathTestThreadWarning(size_t thread_count) { in DeathTestThreadWarning() argument 244 if (thread_count == 0) { in DeathTestThreadWarning() 247 msg << "detected " << thread_count << " threads."; in DeathTestThreadWarning() 1120 const size_t thread_count = GetThreadCount(); in AssumeRole() local 1121 if (thread_count != 1) { in AssumeRole() 1122 GTEST_LOG_(WARNING) << DeathTestThreadWarning(thread_count); in AssumeRole()
|
| H A D | gtest-port.cc | 127 mach_msg_type_number_t thread_count; in GetThreadCount() local 129 const kern_return_t status = task_threads(task, &thread_list, &thread_count); in GetThreadCount() 135 sizeof(thread_t) * thread_count); in GetThreadCount() 136 return static_cast<size_t>(thread_count); in GetThreadCount()
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/ |
| H A D | tsan_debugging.cpp | 74 int *mutex_count, int *thread_count, in __tsan_get_report_data() argument 84 *thread_count = rep->threads.Size(); in __tsan_get_report_data()
|
| H A D | tsan_interface.h | 120 int *mutex_count, int *thread_count,
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_debugging.cpp | 74 int *mutex_count, int *thread_count, in __tsan_get_report_data() argument 84 *thread_count = rep->threads.Size(); in __tsan_get_report_data()
|
| H A D | tsan_interface.h | 120 int *mutex_count, int *thread_count,
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/scripted/ |
| H A D | ScriptedProcess.cpp | 337 size_t thread_count = thread_info_sp->GetSize(); in DoUpdateThreadList() local 339 if (!keys->ForEach(sort_keys) || sorted_threads.size() != thread_count) in DoUpdateThreadList()
|
| /llvm-project-15.0.7/lldb/packages/Python/lldbsuite/test/tools/lldb-server/ |
| H A D | gdbremote_testcase.py | 775 def launch_with_threads(self, thread_count): argument 777 inferior_args=["thread:new"]*(thread_count-1) + ["trap"]) 787 self.assertGreaterEqual(len(threads), thread_count)
|
| /llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/Minidump/ |
| H A D | MinidumpFileBuilder.cpp | 419 llvm::support::ulittle32_t thread_count = in AddThreadList() local 421 m_data.AppendData(&thread_count, sizeof(llvm::support::ulittle32_t)); in AddThreadList()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | IntrinsicsAMDGPU.td | 187 // thread_count = (input >> bitoffset) & 0x7f;
|