/external/tensorflow/tensorflow/core/lib/core/ |
D | threadpool_test.cc | 28 static const int kNumThreads = 30; variable 31 for (int num_threads = 1; num_threads < kNumThreads; num_threads++) { in TEST() 38 for (int num_threads = 1; num_threads < kNumThreads; num_threads++) { in TEST() 63 for (int num_threads = 1; num_threads < kNumThreads; num_threads++) { in TEST() 86 for (int num_threads = 1; num_threads < kNumThreads; num_threads++) { in TEST() 94 volatile std::atomic<bool> threads_running[kNumThreads + 1]; in TEST() 105 ASSERT_LE(id, kNumThreads); in TEST() 123 ThreadPool pool(Env::Default(), "test", kNumThreads); in BM_Sequential() 148 ThreadPool pool(Env::Default(), "test", kNumThreads); in BM_Parallel()
|
/external/libchrome/base/threading/ |
D | thread_local_storage_unittest.cc | 102 const int kNumThreads = 5; in TEST() local 103 int values[kNumThreads]; in TEST() 104 ThreadLocalStorageRunner* thread_delegates[kNumThreads]; in TEST() 105 DelegateSimpleThread* threads[kNumThreads]; in TEST() 110 for (int index = 0; index < kNumThreads; index++) { in TEST() 119 for (int index = 0; index < kNumThreads; index++) { in TEST()
|
/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/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/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/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/lzma/CPP/7zip/Common/ |
D | MethodProps.h | 61 int i = FindProp(NCoderPropID::kNumThreads); in Get_NumThreads() 170 AddProp32(NCoderPropID::kNumThreads, numThreads); in AddProp_NumThreads()
|
/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/platform/ |
D | file_system.cc | 36 constexpr int kNumThreads = 8; variable 46 int num_threads = std::min(kNumThreads, last - first); in ForEach()
|
/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 | 55 case NCoderPropID::kNumThreads: in SetLzma2Prop()
|
D | PpmdEncoder.cpp | 87 case NCoderPropID::kNumThreads: break; in SetCoderProperties()
|
D | LzmaEncoder.cpp | 99 SET_PROP_32(kNumThreads, numThreads) in SetLzmaProp()
|
/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 | 34 SetMethodProp32(oneMethodInfo, NCoderPropID::kNumThreads, numThreads); in SetGlobalLevelAndThreads()
|
/external/libchrome/base/trace_event/ |
D | trace_event_unittest.cc | 1794 const int kNumThreads = 4; in TEST_F() local 1796 Thread* threads[kNumThreads]; in TEST_F() 1797 PlatformThreadId thread_ids[kNumThreads]; in TEST_F() 1798 for (int i = 0; i < kNumThreads; i++) in TEST_F() 1805 WaitableEvent* task_complete_events[kNumThreads]; in TEST_F() 1806 for (int i = 0; i < kNumThreads; i++) { in TEST_F() 1816 for (int i = 0; i < kNumThreads; i++) { in TEST_F() 1821 for (int i = 0; i < kNumThreads; i++) { in TEST_F() 1844 for (int j = 0; j < kNumThreads; j++) { in TEST_F()
|
/external/lzma/CPP/7zip/ |
D | ICoder.h | 119 kNumThreads, enumerator
|
/external/libchrome/base/memory/ |
D | shared_memory_unittest.cc | 238 const int kNumThreads = 5; in TEST() local 248 int threadcounts[] = { 1, kNumThreads }; in TEST()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | conv_ops_gpu_3.cu.cc | 913 constexpr int kNumThreads = 256; in RunSwapDimension1And2InTensor3() local 923 SwapDimension1And2InTensor3UsingTiles<T, kNumThreads, kTileSize, kTileSize, in RunSwapDimension1And2InTensor3() 925 <<<total_tiles_count, kNumThreads, 0, d.stream()>>>(input, input_dims, in RunSwapDimension1And2InTensor3()
|