Searched refs:kNumThreads (Results 1 - 22 of 22) sorted by relevance

/external/libchrome/base/threading/
H A Dthread_local_storage_unittest.cc102 const int kNumThreads = 5; local
103 int values[kNumThreads];
104 ThreadLocalStorageRunner* thread_delegates[kNumThreads];
105 DelegateSimpleThread* threads[kNumThreads];
110 for (int index = 0; index < kNumThreads; index++) {
119 for (int index = 0; index < kNumThreads; index++) {
/external/compiler-rt/test/asan/TestCases/Posix/
H A Dgc-test.cc14 static const int kNumThreads = 2; variable
48 pthread_t t[kNumThreads];
49 for (int i = 0; i < kNumThreads; i++)
51 for (int i = 0; i < kNumThreads; i++)
H A Dcoverage-caller-callee.cc69 const int kNumThreads = 16; local
70 pthread_t t[kNumThreads];
71 for (int i = 0; i < kNumThreads; i++)
73 for (int i = 0; i < kNumThreads; i++)
/external/libchrome/base/win/
H A Dscoped_handle_test_dll.cc43 const size_t kNumThreads = 200; local
56 for (size_t i = 0; i < kNumThreads; i++) {
68 if (threads_.size() != kNumThreads) {
/external/webrtc/webrtc/base/
H A Dcriticalsection_unittest.cc26 const int kNumThreads = 16; member in namespace:rtc::__anon25976
201 for (int i = 0; i < kNumThreads; ++i) {
250 runner.SetExpectedThreadCount(kNumThreads);
254 EXPECT_EQ(kOperationsToRun * kNumThreads, runner.shared_value());
260 kOperationsToRun * kNumThreads);
263 runner.SetExpectedThreadCount(kNumThreads);
275 runner.SetExpectedThreadCount(kNumThreads);
287 runner.SetExpectedThreadCount(kNumThreads);
299 runner.SetExpectedThreadCount(kNumThreads);
/external/compiler-rt/lib/asan/tests/
H A Dasan_noinst_test.cc99 const int kNumThreads = 4; local
101 pthread_t t[kNumThreads];
102 for (int i = 0; i < kNumThreads; i++) {
106 for (int i = 0; i < kNumThreads; i++) {
201 const int kNumThreads = 4; local
202 pthread_t t[kNumThreads];
203 for (int i = 0; i < kNumThreads; i++) {
206 for (int i = 0; i < kNumThreads; i++) {
H A Dasan_test.cc343 const size_t kNumThreads = local
345 pthread_t t[kNumThreads];
346 for (size_t i = 0; i < kNumThreads; i++) {
349 for (size_t i = 0; i < kNumThreads; i++) {
1083 const int kNumThreads = 20; local
1084 pthread_t t[kNumThreads];
1085 for (int i = 0; i < kNumThreads; i++) {
1088 for (int i = 0; i < kNumThreads; i++) {
/external/lzma/CPP/7zip/Common/
H A DMethodProps.h61 int i = FindProp(NCoderPropID::kNumThreads);
170 AddProp32(NCoderPropID::kNumThreads, numThreads);
/external/compiler-rt/test/tsan/
H A Ddeadlock_detector_stress_test.cc584 const int kNumThreads = 4; local
585 pthread_t t[kNumThreads];
586 CB cb[kNumThreads] = {{f1, this}, {f2, this}, {f3, this}, {f4, this}};
587 for (int i = 0; i < kNumThreads && cb[i].f; i++)
589 for (int i = 0; i < kNumThreads && cb[i].f; i++)
/external/lzma/CPP/7zip/Compress/
H A DDeltaFilter.cpp72 case NCoderPropID::kNumThreads: break;
H A DLzma2Encoder.cpp55 case NCoderPropID::kNumThreads:
H A DLzmaEncoder.cpp99 SET_PROP_32(kNumThreads, numThreads)
H A DPpmdEncoder.cpp87 case NCoderPropID::kNumThreads: break;
H A DBcj2Coder.cpp101 case NCoderPropID::kNumThreads:
/external/lzma/CPP/7zip/Archive/Common/
H A DHandlerOut.cpp34 SetMethodProp32(oneMethodInfo, NCoderPropID::kNumThreads, numThreads);
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_allocator_test.cc851 static const int kNumThreads = 4;
852 pthread_t t[kNumThreads];
853 TestByteMapParam p[kNumThreads];
854 for (int i = 0; i < kNumThreads; i++) {
857 p[i].num_shards = kNumThreads;
860 for (int i = 0; i < kNumThreads; i++) {
/external/v8/tools/profviz/
H A Dcomposer.js55 var kNumThreads = 2; // Number of threads.
63 assert(thread_id >= 0 && thread_id < kNumThreads, "invalid thread id");
141 for (var i = 0; i < kNumThreads; i++) {
/external/lzma/CPP/7zip/
H A DICoder.h119 kNumThreads, enumerator in enum:NCoderPropID::EEnum
/external/libchrome/base/memory/
H A Dshared_memory_unittest.cc238 const int kNumThreads = 5; local
246 // kNumThreads.
248 int threadcounts[] = { 1, kNumThreads };
/external/libchrome/base/trace_event/
H A Dtrace_event_unittest.cc1689 const int kNumThreads = 4; local
1691 Thread* threads[kNumThreads];
1692 PlatformThreadId thread_ids[kNumThreads];
1693 for (int i = 0; i < kNumThreads; i++)
1700 WaitableEvent* task_complete_events[kNumThreads];
1701 for (int i = 0; i < kNumThreads; i++) {
1711 for (int i = 0; i < kNumThreads; i++) {
1716 for (int i = 0; i < kNumThreads; i++) {
1739 for (int j = 0; j < kNumThreads; j++) {
/external/lzma/CPP/7zip/Bundles/LzmaCon/
H A DLzmaAlone.cpp643 NCoderPropID::kNumThreads,
/external/lzma/CPP/7zip/Archive/7z/
H A D7zUpdate.cpp970 m.AddProp32(NCoderPropID::kNumThreads, 1);

Completed in 2711 milliseconds