Home
last modified time | relevance | path

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

/third_party/musl/ndk-test/sanitize/scudo/src/
Dtsd_destruction.c23 const int kNumThreads = 16; variable
24 pthread_t tid[kNumThreads];
37 for (uintptr_t i = 0; i < kNumThreads; i++) in main()
39 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()
/third_party/skia/third_party/externals/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()
Dsysinfo_test.cc74 constexpr int kNumThreads = 10; in TEST() local
75 Barrier all_threads_done(kNumThreads); in TEST()
81 for (int j = 0; j < kNumThreads; ++j) { in TEST()
Dstrerror_test.cc76 const int kNumThreads = 100; in TEST() local
78 for (int i = 0; i < kNumThreads; ++i) { in TEST()
85 EXPECT_THAT(counter, Eq(kNumThreads * kNumCodes)); in TEST()
/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()
Dsysinfo_test.cc63 constexpr int kNumThreads = 10; in TEST() local
64 Barrier all_threads_done(kNumThreads); in TEST()
70 for (int j = 0; j < kNumThreads; ++j) { in TEST()
Dstrerror_test.cc74 const int kNumThreads = 100; in TEST() local
76 for (int i = 0; i < kNumThreads; ++i) { in TEST()
83 EXPECT_THAT(counter, Eq(kNumThreads * kNumCodes)); in TEST()
/third_party/skia/third_party/externals/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()
/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()
/third_party/grpc/test/cpp/client/
Ddestroy_grpclb_channel_with_active_connect_stress_test.cc109 const int kNumThreads = 100; in TEST() local
110 threads.reserve(kNumThreads); in TEST()
111 for (int i = 0; i < kNumThreads; i++) { in TEST()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Dcordz_sample_token_test.cc145 static constexpr int kNumThreads = 4; in TEST() local
148 absl::synchronization_internal::ThreadPool pool(kNumThreads); in TEST()
150 for (int i = 0; i < kNumThreads; ++i) { in TEST()
Dcordz_handle_test.cc181 static constexpr int kNumThreads = 4; in TEST() local
202 absl::synchronization_internal::ThreadPool pool(kNumThreads); in TEST()
203 for (int i = 0; i < kNumThreads; ++i) { in TEST()
Dcordz_info_statistics_test.cc540 static constexpr int kNumThreads = 8; in TEST() local
544 absl::synchronization_internal::ThreadPool pool(kNumThreads); in TEST()
560 for (int i = 0; i < kNumThreads; ++i) { in TEST()
/third_party/grpc/test/cpp/end2end/
Dthread_stress_test.cc47 const int kNumThreads = 100; // Number of threads variable
318 threads.reserve(kNumThreads); in TYPED_TEST()
319 for (int i = 0; i < kNumThreads; ++i) { in TYPED_TEST()
323 for (int i = 0; i < kNumThreads; ++i) { in TYPED_TEST()
/third_party/skia/third_party/externals/abseil-cpp/absl/base/
Dspinlock_test_common.cc37 constexpr int32_t kNumThreads = 10; variable
95 threads.reserve(kNumThreads); in ThreadedTest()
96 for (int i = 0; i < kNumThreads; ++i) { in ThreadedTest()
/third_party/abseil-cpp/absl/base/
Dspinlock_test_common.cc37 constexpr int32_t kNumThreads = 10; variable
95 for (int i = 0; i < kNumThreads; ++i) { in ThreadedTest()
/third_party/protobuf/objectivec/Tests/
DGPBConcurrencyTests.m36 static const int kNumThreads = 100;
51 for (NSUInteger i = 0; i < kNumThreads; i++) {
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/
Dflag_test.cc590 static constexpr int kNumThreads = 8; in TEST_F() local
602 for (int i = 0; i < kNumThreads; i++) { in TEST_F()