/external/tensorflow/tensorflow/core/lib/core/ |
D | threadpool_test.cc | 29 static const int kNumThreads = 30; variable 32 for (int num_threads = 1; num_threads < kNumThreads; num_threads++) { in TEST() 40 for (int num_threads = 1; num_threads < kNumThreads; num_threads++) { in TEST() 129 for (int num_threads = 1; num_threads < kNumThreads; num_threads++) { in TEST() 155 for (int num_threads = 1; num_threads < kNumThreads; num_threads++) { in TEST() 163 volatile std::atomic<bool> threads_running[kNumThreads + 1]; in TEST() 174 ASSERT_LE(id, kNumThreads); in TEST() 192 ThreadPool pool(Env::Default(), "test", kNumThreads); in BM_Sequential() 217 ThreadPool pool(Env::Default(), "test", kNumThreads); in BM_Parallel() 240 ThreadPool pool(Env::Default(), "test", kNumThreads); in BM_ParallelFor()
|
/external/compiler-rt/test/tsan/Darwin/ |
D | gcd-once.mm | 8 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/webrtc/webrtc/base/ |
D | criticalsection_unittest.cc | 26 const int kNumThreads = 16; variable 201 for (int i = 0; i < kNumThreads; ++i) { in StartThreads() 250 runner.SetExpectedThreadCount(kNumThreads); in TEST() 254 EXPECT_EQ(kOperationsToRun * kNumThreads, runner.shared_value()); in TEST() 260 kOperationsToRun * kNumThreads); in TEST() 263 runner.SetExpectedThreadCount(kNumThreads); in TEST() 275 runner.SetExpectedThreadCount(kNumThreads); in TEST() 287 runner.SetExpectedThreadCount(kNumThreads); in TEST() 299 runner.SetExpectedThreadCount(kNumThreads); in TEST()
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
D | gc-test.cc | 14 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()
|
D | coverage-caller-callee.cc | 69 const int kNumThreads = 16; in main() local 70 pthread_t t[kNumThreads]; in main() 71 for (int i = 0; i < kNumThreads; i++) in main() 73 for (int i = 0; i < kNumThreads; i++) in main()
|
/external/libchrome/base/threading/ |
D | thread_local_storage_unittest.cc | 225 const int kNumThreads = 5; in TEST() local 226 int values[kNumThreads]; in TEST() 227 ThreadLocalStorageRunner* thread_delegates[kNumThreads]; in TEST() 228 DelegateSimpleThread* threads[kNumThreads]; in TEST() 231 for (int index = 0; index < kNumThreads; index++) { in TEST() 240 for (int index = 0; index < kNumThreads; index++) { in TEST()
|
/external/compiler-rt/lib/asan/tests/ |
D | asan_noinst_test.cc | 99 const int kNumThreads = 4; in TEST() local 101 pthread_t t[kNumThreads]; in TEST() 102 for (int i = 0; i < kNumThreads; i++) { in TEST() 106 for (int i = 0; i < kNumThreads; i++) { in TEST() 201 const int kNumThreads = 4; in TEST() local 202 pthread_t t[kNumThreads]; in TEST() 203 for (int i = 0; i < kNumThreads; i++) { in TEST() 206 for (int i = 0; i < kNumThreads; i++) { in TEST()
|
D | asan_test.cc | 343 const size_t kNumThreads = in TEST() local 345 pthread_t t[kNumThreads]; in TEST() 346 for (size_t i = 0; i < kNumThreads; i++) { in TEST() 349 for (size_t i = 0; i < kNumThreads; i++) { in TEST() 1083 const int kNumThreads = 20; in TEST() local 1084 pthread_t t[kNumThreads]; in TEST() 1085 for (int i = 0; i < kNumThreads; i++) { in TEST() 1088 for (int i = 0; i < kNumThreads; i++) { in TEST()
|
/external/tensorflow/tensorflow/core/profiler/internal/ |
D | traceme_recorder_test.cc | 93 constexpr static int kNumThreads = 4; in TEST() local 98 thread::ThreadPool pool(Env::Default(), "testpool", kNumThreads); in TEST() 100 for (int i = 0; i < kNumThreads; i++) { in TEST() 143 } thread_state[kNumThreads]; in TEST() 154 while (thread_count.load(std::memory_order_relaxed) < kNumThreads) { in TEST()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | single_threaded_cpu_device.cc | 31 static constexpr int kNumThreads = 1; variable 35 new thread::ThreadPool(Env::Default(), "graph_runner", kNumThreads); in GraphRunnerThreadPool() 48 eigen_worker_threads_.num_threads = kNumThreads; in SingleThreadedCpuDevice()
|
/external/tensorflow/tensorflow/contrib/ffmpeg/default/ |
D | ffmpeg_lib_utility_test.cc | 37 const int32 kNumThreads = 10; in TEST() local 41 thread::ThreadPool pool(environment, "test", kNumThreads); in TEST()
|
/external/gemmlowp/test/ |
D | benchmark_all_sizes.cc | 38 const int kNumThreads = BENCHMARK_NUM_THREADS; variable 40 const int kNumThreads = 1; variable 137 gemm_context.set_max_num_threads(kNumThreads); in benchmark_8bit() 179 gemm_context.set_max_num_threads(kNumThreads); in benchmark_8bit_to_32bit() 349 printf("Using %d thread(s)\n", kNumThreads); in main()
|
/external/libchrome/base/task_scheduler/ |
D | tracked_ref_unittest.cc | 80 constexpr int kNumThreads = 16; in TEST() local 82 for (int i = 0; i < kNumThreads; ++i) { in TEST()
|
/external/compiler-rt/test/tsan/ |
D | deadlock_detector_stress_test.cc | 584 const int kNumThreads = 4; in RunThreads() local 585 pthread_t t[kNumThreads]; in RunThreads() 586 CB cb[kNumThreads] = {{f1, this}, {f2, this}, {f3, this}, {f4, this}}; in RunThreads() 587 for (int i = 0; i < kNumThreads && cb[i].f; i++) in RunThreads() 589 for (int i = 0; i < kNumThreads && cb[i].f; i++) in RunThreads()
|
/external/tensorflow/tensorflow/core/platform/ |
D | file_system_helper.cc | 35 constexpr int kNumThreads = 8; variable 45 int num_threads = std::min(kNumThreads, last - first); in ForEach()
|
/external/grpc-grpc/test/cpp/end2end/ |
D | thread_stress_test.cc | 45 const int kNumThreads = 100; // Number of threads variable 311 threads.reserve(kNumThreads); in TYPED_TEST() 312 for (int i = 0; i < kNumThreads; ++i) { in TYPED_TEST() 316 for (int i = 0; i < kNumThreads; ++i) { in TYPED_TEST()
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_allocator_test.cc | 851 static const int kNumThreads = 4; in TEST() local 852 pthread_t t[kNumThreads]; in TEST() 853 TestByteMapParam p[kNumThreads]; in TEST() 854 for (int i = 0; i < kNumThreads; i++) { in TEST() 857 p[i].num_shards = kNumThreads; in TEST() 860 for (int i = 0; i < kNumThreads; i++) { in TEST()
|
/external/tensorflow/tensorflow/core/common_runtime/gpu/ |
D | gpu_event_mgr.cc | 29 static const int kNumThreads = 2; variable 103 threadpool_(Env::Default(), "GPU_Event_Manager", kNumThreads) { in EventMgr()
|
/external/lzma/CPP/7zip/Common/ |
D | MethodProps.h | 66 int i = FindProp(NCoderPropID::kNumThreads); in Get_NumThreads() 234 AddProp32(NCoderPropID::kNumThreads, numThreads); in AddProp_NumThreads()
|
/external/v8/tools/profviz/ |
D | composer.js | 55 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/Compress/ |
D | DeltaFilter.cpp | 72 case NCoderPropID::kNumThreads: break; in SetCoderProperties()
|
D | Lzma2Encoder.cpp | 51 case NCoderPropID::kNumThreads: in SetLzma2Prop()
|
D | PpmdEncoder.cpp | 87 case NCoderPropID::kNumThreads: break; in SetCoderProperties()
|
/external/protobuf/objectivec/Tests/ |
D | GPBConcurrencyTests.m | 36 static const int kNumThreads = 100; 51 for (NSUInteger i = 0; i < kNumThreads; i++) {
|
/external/lzma/CPP/7zip/Archive/Common/ |
D | HandlerOut.cpp | 107 SetMethodProp32(oneMethodInfo, NCoderPropID::kNumThreads, numThreads); in SetMethodThreadsTo()
|