/external/linux-kselftest/tools/testing/selftests/timers/ |
D | threadtest.c | 122 int thread_count, i; in main() local 131 thread_count = DEFAULT_THREAD_COUNT; in main() 141 thread_count = atoi(optarg); in main() 156 if (thread_count > MAX_THREADS) in main() 157 thread_count = MAX_THREADS; in main() 165 printf("Testing consistency with %i threads for %ld seconds: ", thread_count, runtime); in main() 168 for (i = 0; i < thread_count; i++) in main() 185 for (i = 0; i < thread_count; i++) in main()
|
/external/grpc-grpc/test/core/gpr/ |
D | spinlock_test.cc | 37 int thread_count; /* number of threads */ member 50 m->thread_count = threads; in test_new() 55 m->thread_count = 0; in test_new() 70 for (i = 0; i != m->thread_count; i++) { in test_create_threads() 79 for (i = 0; i != m->thread_count; i++) { in test_wait() 108 if (m->counter != m->thread_count * m->iterations * m->incr_step) { in test() 110 static_cast<long>(m->counter), m->thread_count, in test()
|
/external/gemmlowp/internal/ |
D | multi_thread_gemm.h | 573 int thread_count = std::min(max_count, CeilQuotient(rows, MinRowsPerThread)); in HowManyThreads() local 579 if (thread_count > 1) { in HowManyThreads() 587 thread_count = in HowManyThreads() 588 std::min(thread_count, int(cubic_size / min_cubic_size_per_thread)); in HowManyThreads() 590 if (thread_count < 1) { in HowManyThreads() 591 thread_count = 1; in HowManyThreads() 595 assert(thread_count > 0 && thread_count <= max_count); in HowManyThreads() 596 return thread_count; in HowManyThreads() 630 const int thread_count = HowManyThreads<KernelFormat::kRows>( in MultiThreadGemm() local 632 if (thread_count == 1) { in MultiThreadGemm() [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_dummy_thread.py | 151 thread_count = 5 152 testing_queue = Queue.Queue(thread_count) 156 "(will take approx. %s to %s sec.) ***" % (DELAY, thread_count) 157 for count in xrange(thread_count): 167 self.assertEqual(testing_queue.qsize(), thread_count, 169 (thread_count, DELAY))
|
/external/compiler-rt/test/tsan/ |
D | debugging.cc | 16 int *mutex_count, int *thread_count, 57 int stack_count, mop_count, loc_count, mutex_count, thread_count, in __tsan_on_report() local 61 &loc_count, &mutex_count, &thread_count, in __tsan_on_report() 90 fprintf(stderr, "thread_count = %d\n", thread_count); in __tsan_on_report()
|
/external/python/cpython3/Lib/test/ |
D | test_dummy_thread.py | 192 thread_count = 5 193 testing_queue = queue.Queue(thread_count) 199 DELAY, thread_count)) 201 for count in range(thread_count): 211 self.assertEqual(testing_queue.qsize(), thread_count, 213 "after %s sec." % (thread_count, DELAY))
|
/external/libchrome/base/synchronization/ |
D | condition_variable_unittest.cc | 71 explicit WorkQueue(int thread_count); 125 bool ThreadSafeCheckShutdown(int thread_count); 502 WorkQueue::WorkQueue(int thread_count) in WorkQueue() argument 507 thread_count_(thread_count), in WorkQueue() 509 thread_handles_(new PlatformThreadHandle[thread_count]), in WorkQueue() 510 assignment_history_(thread_count), in WorkQueue() 511 completion_history_(thread_count), in WorkQueue() 587 bool WorkQueue::ThreadSafeCheckShutdown(int thread_count) { in ThreadSafeCheckShutdown() argument 593 all_shutdown = (shutdown_task_count_ == thread_count); in ThreadSafeCheckShutdown()
|
/external/libvpx/libvpx/test/ |
D | encode_perf_test.cc | 164 char thread_count[32]; in TEST_P() local 165 snprintf(thread_count, sizeof(thread_count), "_t-%d", in TEST_P() 167 display_name += thread_count; in TEST_P()
|
/external/libaom/libaom/test/ |
D | encode_perf_test.cc | 164 char thread_count[32]; in TEST_P() local 165 snprintf(thread_count, sizeof(thread_count), "_t-%d", in TEST_P() 167 display_name += thread_count; in TEST_P()
|
/external/tensorflow/tensorflow/core/profiler/internal/ |
D | traceme_recorder_test.cc | 99 std::atomic<int> thread_count = {0}; in TEST() local 101 pool.Schedule([&start, &stop, &thread_count, i] { in TEST() 111 thread_count.fetch_add(1, std::memory_order_relaxed); in TEST() 154 while (thread_count.load(std::memory_order_relaxed) < kNumThreads) { in TEST()
|
/external/webrtc/webrtc/examples/objc/AppRTCDemo/common/ |
D | ARDUtilities.m | 103 mach_msg_type_number_t thread_count; 104 if (task_threads(task, &thread_array, &thread_count) != KERN_SUCCESS) { 112 for (size_t i = 0; i < thread_count; ++i) { 126 sizeof(thread_act_t) * thread_count);
|
/external/grpc-grpc/src/core/lib/iomgr/ |
D | resource_quota.cc | 833 int thread_count) { in grpc_resource_user_allocate_threads() argument 834 GPR_ASSERT(thread_count >= 0); in grpc_resource_user_allocate_threads() 838 if (rq->num_threads_allocated + thread_count <= rq->max_threads) { in grpc_resource_user_allocate_threads() 839 rq->num_threads_allocated += thread_count; in grpc_resource_user_allocate_threads() 841 thread_count); in grpc_resource_user_allocate_threads() 849 int thread_count) { in grpc_resource_user_free_threads() argument 850 GPR_ASSERT(thread_count >= 0); in grpc_resource_user_free_threads() 853 rq->num_threads_allocated -= thread_count; in grpc_resource_user_free_threads() 855 &resource_user->num_threads_allocated, -thread_count)); in grpc_resource_user_free_threads() 856 if (old_count < thread_count || rq->num_threads_allocated < 0) { in grpc_resource_user_free_threads() [all …]
|
D | resource_quota.h | 100 int thread_count); 110 int thread_count);
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_program.c | 369 unsigned thread_count; in brw_alloc_stage_scratch() local 372 thread_count = devinfo->max_vs_threads; in brw_alloc_stage_scratch() 375 thread_count = devinfo->max_tcs_threads; in brw_alloc_stage_scratch() 378 thread_count = devinfo->max_tes_threads; in brw_alloc_stage_scratch() 381 thread_count = devinfo->max_gs_threads; in brw_alloc_stage_scratch() 384 thread_count = devinfo->max_wm_threads; in brw_alloc_stage_scratch() 433 thread_count = scratch_ids_per_subslice * subslices; in brw_alloc_stage_scratch() 442 per_thread_size * thread_count, 4096); in brw_alloc_stage_scratch()
|
/external/python/cpython2/Python/ |
D | thread_beos.h | 113 static int32 thread_count = 0; variable 125 this_thread = atomic_add( &thread_count, 1 ); in PyThread_start_new_thread() 154 threads = atomic_add( &thread_count, 0 ); in PyThread_exit_thread()
|
D | thread_atheos.h | 97 static atomic_t thread_count = 0; variable 108 this_thread = atomic_add(&thread_count, 1); in PyThread_start_new_thread() 136 if (atomic_add(&thread_count, 0) == 0) { in PyThread_exit_thread()
|
/external/adeb/bcc/misc/ |
D | lockstat.py | 23 self.thread_count = 0 29 self.thread_count += 1 274 stats.contention_count, stats.thread_count,
|
/external/google-breakpad/src/client/mac/handler/ |
D | exception_handler.cc | 821 mach_msg_type_number_t thread_count; in SuspendThreads() local 823 if (task_threads(mach_task_self(), &threads_for_task, &thread_count)) in SuspendThreads() 827 for (unsigned int i = 0; i < thread_count; ++i) { in SuspendThreads() 839 mach_msg_type_number_t thread_count; in ResumeThreads() local 841 if (task_threads(mach_task_self(), &threads_for_task, &thread_count)) in ResumeThreads() 845 for (unsigned int i = 0; i < thread_count; ++i) { in ResumeThreads()
|
/external/google-breakpad/src/client/mac/tests/ |
D | minidump_generator_test.cc | 122 ASSERT_EQ((unsigned int)1, thread_list->thread_count()); in TEST_F() 213 ASSERT_EQ((unsigned int)1, thread_list->thread_count()); in TEST_F() 303 ASSERT_EQ((unsigned int)1, thread_list->thread_count()); in TEST_F()
|
/external/webrtc/webrtc/libjingle/xmllite/ |
D | xmlelement_unittest.cc | 243 int thread_count = 2; // Was 100, but that's too slow. in TEST() local 248 for (int i = 0; i < thread_count; i++) { in TEST() 254 for (int i = 0; i < thread_count; i++) { in TEST()
|
/external/google-breakpad/src/processor/ |
D | minidump.cc | 1561 uint32_t thread_count; in Read() local 1562 if (expected_size < sizeof(thread_count)) { in Read() 1564 expected_size << " < " << sizeof(thread_count); in Read() 1567 if (!minidump_->ReadBytes(&thread_count, sizeof(thread_count))) { in Read() 1573 Swap(&thread_count); in Read() 1575 if (thread_count > numeric_limits<uint32_t>::max() / sizeof(MDRawThread)) { in Read() 1576 BPLOG(ERROR) << "MinidumpThreadList thread count " << thread_count << in Read() 1581 if (expected_size != sizeof(thread_count) + in Read() 1582 thread_count * sizeof(MDRawThread)) { in Read() 1584 if (expected_size == sizeof(thread_count) + 4 + in Read() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/src/ |
D | gtest-death-test.cc | 228 static std::string DeathTestThreadWarning(size_t thread_count) { in DeathTestThreadWarning() argument 232 if (thread_count == 0) in DeathTestThreadWarning() 235 msg << "detected " << thread_count << " threads."; in DeathTestThreadWarning() 834 const size_t thread_count = GetThreadCount(); in AssumeRole() local 835 if (thread_count != 1) { in AssumeRole() 836 GTEST_LOG_(WARNING) << DeathTestThreadWarning(thread_count); in AssumeRole()
|
/external/libaom/libaom/third_party/googletest/src/googletest/src/ |
D | gtest-death-test.cc | 228 static std::string DeathTestThreadWarning(size_t thread_count) { in DeathTestThreadWarning() argument 232 if (thread_count == 0) in DeathTestThreadWarning() 235 msg << "detected " << thread_count << " threads."; in DeathTestThreadWarning() 834 const size_t thread_count = GetThreadCount(); in AssumeRole() local 835 if (thread_count != 1) { in AssumeRole() 836 GTEST_LOG_(WARNING) << DeathTestThreadWarning(thread_count); in AssumeRole()
|
/external/mesa3d/src/gtest/src/ |
D | gtest-death-test.cc | 228 static std::string DeathTestThreadWarning(size_t thread_count) { in DeathTestThreadWarning() argument 232 if (thread_count == 0) in DeathTestThreadWarning() 235 msg << "detected " << thread_count << " threads."; in DeathTestThreadWarning() 834 const size_t thread_count = GetThreadCount(); in AssumeRole() local 835 if (thread_count != 1) { in AssumeRole() 836 GTEST_LOG_(WARNING) << DeathTestThreadWarning(thread_count); in AssumeRole()
|
/external/llvm/utils/unittest/googletest/src/ |
D | gtest-death-test.cc | 179 static String DeathTestThreadWarning(size_t thread_count) { in DeathTestThreadWarning() argument 183 if (thread_count == 0) in DeathTestThreadWarning() 186 msg << "detected " << thread_count << " threads."; in DeathTestThreadWarning() 789 const size_t thread_count = GetThreadCount(); in AssumeRole() local 790 if (thread_count != 1) { in AssumeRole() 791 GTEST_LOG_(WARNING) << DeathTestThreadWarning(thread_count); in AssumeRole()
|