Home
last modified time | relevance | path

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

/external/chromium_org/ppapi/proxy/
Dppb_var_unittest.cc22 const size_t kNumThreads = 20; variable
168 std::vector<base::PlatformThreadHandle> create_var_threads(kNumThreads); in TEST_F()
173 size_t strings_per_thread = kNumStrings/kNumThreads; in TEST_F()
188 for (size_t i = 0; i < kNumThreads; ++i) in TEST_F()
191 for (size_t i = 0; i < kNumThreads; ++i) in TEST_F()
197 std::vector<base::PlatformThreadHandle> change_ref_var_threads(kNumThreads); in TEST_F()
199 for (size_t i = 0; i < kNumThreads; ++i) in TEST_F()
201 for (size_t i = 0; i < kNumThreads; ++i) { in TEST_F()
205 for (size_t i = 0; i < kNumThreads; ++i) in TEST_F()
220 std::vector<base::PlatformThreadHandle> remove_ref_var_threads(kNumThreads); in TEST_F()
[all …]
/external/chromium/base/threading/
Dthread_local_storage_unittest.cc73 const int kNumThreads = 5; in TEST() local
74 int values[kNumThreads]; in TEST()
75 ThreadLocalStorageRunner* thread_delegates[kNumThreads]; in TEST()
76 DelegateSimpleThread* threads[kNumThreads]; in TEST()
81 for (int index = 0; index < kNumThreads; index++) { in TEST()
90 for (int index = 0; index < kNumThreads; index++) { in TEST()
/external/chromium_org/base/threading/
Dthread_local_storage_unittest.cc96 const int kNumThreads = 5; in TEST() local
97 int values[kNumThreads]; in TEST()
98 ThreadLocalStorageRunner* thread_delegates[kNumThreads]; in TEST()
99 DelegateSimpleThread* threads[kNumThreads]; in TEST()
104 for (int index = 0; index < kNumThreads; index++) { in TEST()
113 for (int index = 0; index < kNumThreads; index++) { in TEST()
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
Dthread_dealloc_unittest.cc49 static const int kNumThreads = 1000; variable
67 for (int i = 0; i < kNumThreads; i++) { in main()
71 fprintf(stderr, "Iteration: %d of %d\n", (i+1), kNumThreads); in main()
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
Dthread_dealloc_unittest.cc49 static const int kNumThreads = 1000; variable
67 for (int i = 0; i < kNumThreads; i++) { in main()
71 fprintf(stderr, "Iteration: %d of %d\n", (i+1), kNumThreads); in main()
/external/chromium/net/proxy/
Dmulti_threaded_proxy_resolver_unittest.cc236 const size_t kNumThreads = 1u; in TEST() local
239 new ForwardingProxyResolverFactory(mock.get()), kNumThreads); in TEST()
332 const size_t kNumThreads = 1u; in TEST() local
335 new ForwardingProxyResolverFactory(mock.get()), kNumThreads); in TEST()
425 const size_t kNumThreads = 1u; in TEST() local
429 kNumThreads); in TEST()
502 const size_t kNumThreads = 1u; in TEST() local
506 new ForwardingProxyResolverFactory(mock.get()), kNumThreads)); in TEST()
565 const size_t kNumThreads = 1u; in TEST() local
568 new ForwardingProxyResolverFactory(mock.get()), kNumThreads); in TEST()
[all …]
/external/chromium_org/net/proxy/
Dmulti_threaded_proxy_resolver_unittest.cc245 const size_t kNumThreads = 1u; in TEST() local
248 new ForwardingProxyResolverFactory(mock.get()), kNumThreads); in TEST()
341 const size_t kNumThreads = 1u; in TEST() local
344 new ForwardingProxyResolverFactory(mock.get()), kNumThreads); in TEST()
434 const size_t kNumThreads = 1u; in TEST() local
438 kNumThreads); in TEST()
511 const size_t kNumThreads = 1u; in TEST() local
515 new ForwardingProxyResolverFactory(mock.get()), kNumThreads)); in TEST()
574 const size_t kNumThreads = 1u; in TEST() local
577 new ForwardingProxyResolverFactory(mock.get()), kNumThreads); in TEST()
[all …]
/external/chromium/base/
Dshared_memory_unittest.cc15 static const int kNumThreads = 5; variable
230 int threadcounts[] = { 1, kNumThreads }; in TEST()
265 PlatformThreadHandle thread_handles[kNumThreads]; in TEST()
266 MultipleLockThread* thread_delegates[kNumThreads]; in TEST()
269 for (int index = 0; index < kNumThreads; ++index) { in TEST()
277 for (int index = 0; index < kNumThreads; ++index) { in TEST()
/external/chromium_org/mojo/system/
Ddispatcher_unittest.cc200 static const size_t kNumThreads = 100; in TEST() local
209 for (size_t j = 0; j < kNumThreads; j++) { in TEST()
226 static const size_t kNumThreads = 100; in TEST() local
235 for (size_t j = 0; j < kNumThreads; j++) { in TEST()
/external/compiler-rt/lib/asan/tests/
Dasan_noinst_test.cc86 const int kNumThreads = 4; in TEST() local
88 pthread_t t[kNumThreads]; in TEST()
89 for (int i = 0; i < kNumThreads; i++) { in TEST()
93 for (int i = 0; i < kNumThreads; i++) { in TEST()
326 const int kNumThreads = 4; in TEST() local
327 pthread_t t[kNumThreads]; in TEST()
328 for (int i = 0; i < kNumThreads; i++) { in TEST()
331 for (int i = 0; i < kNumThreads; i++) { in TEST()
Dasan_test.cc337 const size_t kNumThreads = in TEST() local
339 pthread_t t[kNumThreads]; in TEST()
340 for (size_t i = 0; i < kNumThreads; i++) { in TEST()
343 for (size_t i = 0; i < kNumThreads; i++) { in TEST()
1045 const int kNumThreads = 20; in TEST() local
1046 pthread_t t[kNumThreads]; in TEST()
1047 for (int i = 0; i < kNumThreads; i++) { in TEST()
1050 for (int i = 0; i < kNumThreads; i++) { in TEST()
/external/chromium_org/base/memory/
Dshared_memory_unittest.cc35 static const int kNumThreads = 5; variable
274 int threadcounts[] = { 1, kNumThreads }; in TEST()
309 PlatformThreadHandle thread_handles[kNumThreads]; in TEST()
310 MultipleLockThread* thread_delegates[kNumThreads]; in TEST()
313 for (int index = 0; index < kNumThreads; ++index) { in TEST()
321 for (int index = 0; index < kNumThreads; ++index) { in TEST()
/external/lzma/CPP/7zip/Compress/
DLzma2Encoder.cpp50 case NCoderPropID::kNumThreads: in SetLzma2Prop()
DLzmaEncoder.cpp115 case NCoderPropID::kNumThreads: in SetCoderProperties()
/external/chromium_org/v8/tools/profviz/
Dcomposer.js54 var kNumThreads = 2; // Number of threads.
62 assert(thread_id >= 0 && thread_id < kNumThreads, "invalid thread id");
139 for (var i = 0; i < kNumThreads; i++) {
/external/lzma/CPP/7zip/Archive/Common/
DHandlerOut.cpp129 { NCoderPropID::kNumThreads, VT_UI4, L"mt" },
228 SetMethodProp(oneMethodInfo, NCoderPropID::kNumThreads, numThreads); in SetCompressionMethod2()
266 SetMethodProp(oneMethodInfo, NCoderPropID::kNumThreads, numThreads); in SetCompressionMethod2()
/external/lzma/CPP/7zip/
DICoder.h46 kNumThreads, enumerator
/external/chromium_org/third_party/leveldatabase/src/db/
Ddb_test.cc1732 static const int kNumThreads = 4; variable
1739 port::AtomicPointer counter[kNumThreads];
1740 port::AtomicPointer thread_done[kNumThreads];
1782 ASSERT_LT(w, kNumThreads); in MTThreadBody()
1801 for (int id = 0; id < kNumThreads; id++) { in TEST()
1807 MTThread thread[kNumThreads]; in TEST()
1808 for (int id = 0; id < kNumThreads; id++) { in TEST()
1819 for (int id = 0; id < kNumThreads; id++) { in TEST()
/external/lzma/CPP/7zip/Bundles/LzmaCon/
DLzmaAlone.cpp411 NCoderPropID::kNumThreads, in main2()
/external/lzma/CPP/7zip/UI/Common/
DBench.cpp582 NCoderPropID::kNumThreads in Init()
/external/lzma/CPP/7zip/Archive/7z/
D7zUpdate.cpp387 prop.Id = NCoderPropID::kNumThreads; in MakeExeMethod()
/external/valgrind/unittest/
Dracecheck_unittest.cc6205 int kNumThreads = 100; variable
6210 printf("Creating %d threads\n", kNumThreads); in Run()
6211 for (int i = 0; i < kNumThreads; i++) { in Run()