Home
last modified time | relevance | path

Searched refs:kThreads (Results 1 – 4 of 4) sorted by relevance

/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_mutex_test.cpp81 const int kThreads = 8; variable
131 pthread_t threads[kThreads]; in TEST()
132 for (int i = 0; i < kThreads; i++) in TEST()
134 for (int i = 0; i < kThreads; i++) in TEST()
142 pthread_t threads[kThreads]; in TEST()
143 for (int i = 0; i < kThreads; i++) in TEST()
145 for (int i = 0; i < kThreads; i++) in TEST()
152 pthread_t threads[kThreads]; in TEST()
153 for (int i = 0; i < kThreads; i++) in TEST()
155 for (int i = 0; i < kThreads; i++) PTHREAD_JOIN(threads[i], 0); in TEST()
[all …]
/openbsd-src/gnu/llvm/compiler-rt/lib/tsan/tests/rtl/
H A Dtsan_posix.cpp81 const int kThreads = 4; in local_thread() local
82 pthread_t th[kThreads]; in local_thread()
83 for (int i = 0; i < kThreads; i++) in local_thread()
87 for (int i = 0; i < kThreads; i++) in local_thread()
H A Dtsan_thread.cpp47 const int kThreads = 70000; in TEST() local
50 for (int i = 0; i < kThreads; i++) { in TEST()
/openbsd-src/gnu/llvm/compiler-rt/lib/tsan/tests/unit/
H A Dtsan_trace_test.cpp297 constexpr uptr kThreads = 4 * Hi; in TRACE_TEST() local
298 ThreadArray<kThreads> threads; in TRACE_TEST()
299 for (uptr i = 0; i < kThreads; i++) { in TRACE_TEST()
323 constexpr uptr kThreads = 10; in TRACE_TEST() local
325 ThreadArray<kThreads> threads; in TRACE_TEST()
326 for (uptr i = 0; i < kThreads; i++) { in TRACE_TEST()