Home
last modified time | relevance | path

Searched refs:kNumThreads (Results 1 – 25 of 92) sorted by relevance

1234

/external/llvm-project/compiler-rt/test/tsan/libdispatch/
Donce.c8 static const long kNumThreads = 4; variable
40 barrier_init(&barrier, kNumThreads); in main()
42 pthread_t t[kNumThreads]; in main()
43 for (int i = 0; i < kNumThreads; i++) { in main()
46 for (int i = 0; i < kNumThreads; i++) { in main()
/external/llvm-project/compiler-rt/test/scudo/
Dtsd_destruction.c23 const int kNumThreads = 16; variable
24 pthread_t tid[kNumThreads];
36 for (uintptr_t i = 0; i < kNumThreads; i++) in main()
38 for (uintptr_t i = 0; i < kNumThreads; i++) in main()
Ddealloc-race.c20 const int kNumThreads = 2; variable
21 pthread_t tid[kNumThreads];
40 for (int i = 0; i < kNumThreads; i++) in child()
46 for (int i = 0; i < kNumThreads; i++) in child()
/external/tensorflow/tensorflow/core/lib/core/
Dthreadpool_test.cc32 static const int kNumThreads = 30; variable
35 for (int num_threads = 1; num_threads < kNumThreads; num_threads++) { in TEST()
43 for (int num_threads = 1; num_threads < kNumThreads; num_threads++) { in TEST()
265 for (int num_threads = 1; num_threads < kNumThreads; num_threads++) { in TEST()
291 for (int num_threads = 1; num_threads < kNumThreads; num_threads++) { in TEST()
320 for (int num_threads = 1; num_threads < kNumThreads; num_threads++) { in TEST()
328 std::atomic<bool> threads_running[kNumThreads + 1]; in TEST()
338 ASSERT_LE(id, kNumThreads); in TEST()
359 ThreadPool pool(Env::Default(), "test", kNumThreads); in TEST()
361 absl::Barrier barrier(kNumThreads); in TEST()
[all …]
/external/compiler-rt/test/tsan/Darwin/
Dgcd-once.mm8 static const long kNumThreads = 4;
40 barrier_init(&barrier, kNumThreads);
42 pthread_t t[kNumThreads];
43 for (int i = 0; i < kNumThreads; i++) {
46 for (int i = 0; i < kNumThreads; i++) {
/external/boringssl/src/crypto/
Dthread_test.cc135 constexpr size_t kNumThreads = 10; in TEST() local
139 threads.reserve(kNumThreads); in TEST()
140 for (size_t i = 0; i < kNumThreads; i++) { in TEST()
149 constexpr size_t kNumThreads = 10; in TEST() local
153 threads.reserve(kNumThreads); in TEST()
154 for (size_t i = 0; i < kNumThreads; i++) { in TEST()
/external/rust/crates/quiche/deps/boringssl/src/crypto/
Dthread_test.cc135 constexpr size_t kNumThreads = 10; in TEST() local
139 threads.reserve(kNumThreads); in TEST()
140 for (size_t i = 0; i < kNumThreads; i++) { in TEST()
149 constexpr size_t kNumThreads = 10; in TEST() local
153 threads.reserve(kNumThreads); in TEST()
154 for (size_t i = 0; i < kNumThreads; i++) { in TEST()
/external/abseil-cpp/absl/base/internal/
Dthread_identity_test.cc78 static const int kNumThreads = 400; in TEST() local
81 for (int i = 0; i < kNumThreads; ++i) { in TEST()
93 EXPECT_LT(kNumThreads, num_identities_reused); in TEST()
103 static const int kNumThreads = 12; in TEST() local
110 for (int thread = 0; thread < kNumThreads; ++thread) { in TEST()
/external/webrtc/third_party/abseil-cpp/absl/base/internal/
Dthread_identity_test.cc78 static const int kNumThreads = 400; in TEST() local
81 for (int i = 0; i < kNumThreads; ++i) { in TEST()
93 EXPECT_LT(kNumThreads, num_identities_reused); in TEST()
103 static const int kNumThreads = 12; in TEST() local
110 for (int thread = 0; thread < kNumThreads; ++thread) { in TEST()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/base/internal/
Dthread_identity_test.cc78 static const int kNumThreads = 32; in TEST() local
81 for (int i = 0; i < kNumThreads; ++i) { in TEST()
94 EXPECT_LT(kNumThreads, num_identities_reused); in TEST()
104 static const int kNumThreads = 12; in TEST() local
111 for (int thread = 0; thread < kNumThreads; ++thread) { in TEST()
/external/openscreen/third_party/abseil/src/absl/base/internal/
Dthread_identity_test.cc78 static const int kNumThreads = 32; in TEST() local
81 for (int i = 0; i < kNumThreads; ++i) { in TEST()
94 EXPECT_LT(kNumThreads, num_identities_reused); in TEST()
104 static const int kNumThreads = 12; in TEST() local
111 for (int thread = 0; thread < kNumThreads; ++thread) { in TEST()
/external/angle/third_party/abseil-cpp/absl/base/internal/
Dthread_identity_test.cc78 static const int kNumThreads = 32; in TEST() local
81 for (int i = 0; i < kNumThreads; ++i) { in TEST()
94 EXPECT_LT(kNumThreads, num_identities_reused); in TEST()
104 static const int kNumThreads = 12; in TEST() local
111 for (int thread = 0; thread < kNumThreads; ++thread) { in TEST()
/external/libtextclassifier/abseil-cpp/absl/base/internal/
Dthread_identity_test.cc78 static const int kNumThreads = 32; in TEST() local
81 for (int i = 0; i < kNumThreads; ++i) { in TEST()
94 EXPECT_LT(kNumThreads, num_identities_reused); in TEST()
104 static const int kNumThreads = 12; in TEST() local
111 for (int thread = 0; thread < kNumThreads; ++thread) { in TEST()
/external/libtextclassifier/abseil-cpp/absl/synchronization/
Dbarrier_test.cc26 constexpr int kNumThreads = 10; in TEST() local
27 absl::Barrier* barrier = new absl::Barrier(kNumThreads); in TEST()
46 for (int i = 0; i < kNumThreads - 1; ++i) { in TEST()
74 EXPECT_EQ(counter, kNumThreads); in TEST()
/external/webrtc/third_party/abseil-cpp/absl/synchronization/
Dbarrier_test.cc26 constexpr int kNumThreads = 10; in TEST() local
27 absl::Barrier* barrier = new absl::Barrier(kNumThreads); in TEST()
46 for (int i = 0; i < kNumThreads - 1; ++i) { in TEST()
74 EXPECT_EQ(counter, kNumThreads); in TEST()
/external/angle/third_party/abseil-cpp/absl/synchronization/
Dbarrier_test.cc26 constexpr int kNumThreads = 10; in TEST() local
27 absl::Barrier* barrier = new absl::Barrier(kNumThreads); in TEST()
46 for (int i = 0; i < kNumThreads - 1; ++i) { in TEST()
74 EXPECT_EQ(counter, kNumThreads); in TEST()
Dnotification_test.cc96 const int kNumThreads = 10; in BasicTests() local
98 for (int i = 0; i < kNumThreads; ++i) { in BasicTests()
104 ready_counter.WaitUntilGreaterOrEqual(kNumThreads); in BasicTests()
122 EXPECT_EQ(kNumThreads, ready_counter.Get()); in BasicTests()
123 EXPECT_EQ(kNumThreads, done_counter.Get()); in BasicTests()
/external/abseil-cpp/absl/synchronization/
Dbarrier_test.cc26 constexpr int kNumThreads = 10; in TEST() local
27 absl::Barrier* barrier = new absl::Barrier(kNumThreads); in TEST()
46 for (int i = 0; i < kNumThreads - 1; ++i) { in TEST()
74 EXPECT_EQ(counter, kNumThreads); in TEST()
Dnotification_test.cc96 const int kNumThreads = 10; in BasicTests() local
98 for (int i = 0; i < kNumThreads; ++i) { in BasicTests()
104 ready_counter.WaitUntilGreaterOrEqual(kNumThreads); in BasicTests()
122 EXPECT_EQ(kNumThreads, ready_counter.Get()); in BasicTests()
123 EXPECT_EQ(kNumThreads, done_counter.Get()); in BasicTests()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/synchronization/
Dbarrier_test.cc26 constexpr int kNumThreads = 10; in TEST() local
27 absl::Barrier* barrier = new absl::Barrier(kNumThreads); in TEST()
46 for (int i = 0; i < kNumThreads - 1; ++i) { in TEST()
74 EXPECT_EQ(counter, kNumThreads); in TEST()
Dnotification_test.cc96 const int kNumThreads = 10; in BasicTests() local
98 for (int i = 0; i < kNumThreads; ++i) { in BasicTests()
104 ready_counter.WaitUntilGreaterOrEqual(kNumThreads); in BasicTests()
122 EXPECT_EQ(kNumThreads, ready_counter.Get()); in BasicTests()
123 EXPECT_EQ(kNumThreads, done_counter.Get()); in BasicTests()
/external/openscreen/third_party/abseil/src/absl/synchronization/
Dbarrier_test.cc26 constexpr int kNumThreads = 10; in TEST() local
27 absl::Barrier* barrier = new absl::Barrier(kNumThreads); in TEST()
46 for (int i = 0; i < kNumThreads - 1; ++i) { in TEST()
74 EXPECT_EQ(counter, kNumThreads); in TEST()
/external/llvm-project/compiler-rt/test/asan/TestCases/Posix/
Dgc-test.cpp14 static const int kNumThreads = 2; variable
48 pthread_t t[kNumThreads]; in main()
49 for (int i = 0; i < kNumThreads; i++) in main()
51 for (int i = 0; i < kNumThreads; i++) in main()
/external/compiler-rt/test/asan/TestCases/Posix/
Dgc-test.cc14 static const int kNumThreads = 2; variable
48 pthread_t t[kNumThreads]; in main()
49 for (int i = 0; i < kNumThreads; i++) in main()
51 for (int i = 0; i < kNumThreads; i++) in main()
/external/webrtc/rtc_base/synchronization/
Dmutex_unittest.cc40 constexpr int kNumThreads = 16; variable
145 for (int i = 0; i < kNumThreads; ++i) { in StartThreads()
157 runner.SetExpectedThreadCount(kNumThreads); in TEST()
166 runner.SetExpectedThreadCount(kNumThreads); in TEST()
175 runner.SetExpectedThreadCount(kNumThreads); in TEST()
184 runner.SetExpectedThreadCount(kNumThreads); in TEST()
194 runner.SetExpectedThreadCount(kNumThreads); in TEST()

1234