/external/valgrind/drd/tests/ |
pth_create_chain.c | 17 int thread_count = *(int*)(p); local 20 if (thread_count > 0) 22 thread_count--; 23 // std::cout << "create " << thread_count << std::endl; 24 s_arg[thread_count] = thread_count; 27 pthread_create(&s_thread[thread_count], &attr, thread_func, 28 &s_arg[thread_count]); 31 std::cout << "created " << thread_count << "(" << s_thread[thread_count] 41 unsigned thread_count; local [all...] |
pth_barrier_thr_cr.c | 30 int thread_count = barriers * barrier_participants; local 37 tid = malloc(thread_count * sizeof(*tid)); 39 for (i = 0; i < thread_count; i++) { 43 for (i = 0; i < thread_count; i++) {
|
annotate_rwlock.c | 143 const int thread_count = 10; local 144 pthread_t tid[thread_count]; 148 for (i = 0; i < thread_count; i++) 153 for (i = 0; i < thread_count; i++)
|
annotate_barrier.c | 30 unsigned thread_count; member in struct:__anon42613 59 b->thread_count = count; 79 if (__sync_add_and_fetch(&b->wait_count, 1) == b->thread_count) 81 __sync_sub_and_fetch(&b->wait_count, b->thread_count);
|
pth_broadcast.c | 114 int thread_count; local 134 thread_count = argc > optind + 1 ? atoi(argv[optind + 1]) : 10; 148 thread_vec = malloc(sizeof(struct cthread) * thread_count); 149 for (p = thread_vec; p != thread_vec + thread_count; p++) 161 csema_p(&sema, thread_count); 170 for (i = 0; i < thread_count; i++)
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_stoptheworld.h | 36 uptr thread_count() const { return thread_ids_.size(); } function in class:__sanitizer::SuspendedThreadsList
|
/art/test/925-threadgroups/ |
threadgroups.cc | 91 jint thread_count; local 97 &thread_count, 111 return CreateObjectArray(env, thread_count, "java/lang/Thread", inner_callback);
|
/bionic/tests/ |
stack_protector_test.cpp | 74 size_t thread_count = 9; local 75 for (size_t i = 1; i < thread_count; ++i) { 86 ASSERT_EQ(thread_count, checker.tids.size());
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
gen7_ds_state.c | 75 const unsigned thread_count = (devinfo->max_tes_threads - 1) << local 100 thread_count |
|
/external/webrtc/webrtc/libjingle/xmllite/ |
xmlelement_unittest.cc | 243 int thread_count = 2; // Was 100, but that's too slow. local 248 for (int i = 0; i < thread_count; i++) { 254 for (int i = 0; i < thread_count; i++) {
|
/art/compiler/jit/ |
jit_compiler.cc | 147 /* thread_count */ 1, 154 size_t thread_count = compiler_driver_->GetThreadCount(); local 156 DCHECK_EQ(thread_count, 1u)
|
/art/test/911-get-stack-trace/ |
stack_trace.cc | 145 jint thread_count; local 148 jvmtiError result = jvmti_env->GetAllStackTraces(max, &stack_infos, &thread_count); 166 jobjectArray ret = CreateObjectArray(env, thread_count, "[Ljava/lang/Object;", callback); 173 jint thread_count = env->GetArrayLength(jthreads); local 174 std::unique_ptr<jthread[]> threads(new jthread[thread_count]); 175 for (jint i = 0; i != thread_count; ++i) { 181 jvmtiError result = jvmti_env->GetThreadListStackTraces(thread_count, 202 jobjectArray ret = CreateObjectArray(env, thread_count, "[Ljava/lang/Object;", callback);
|
/external/mesa3d/src/gallium/drivers/ilo/core/ |
ilo_builder_media.h | 128 unsigned thread_count; local 135 thread_count = (thread_group_size + simd_size - 1) / simd_size; 136 assert(thread_count <= 64); 151 dw[2] = (thread_count - 1) << GEN7_GPGPU_DW2_THREAD_MAX_X__SHIFT;
|
ilo_dev.h | 59 int thread_count; member in struct:ilo_dev
|
/external/valgrind/helgrind/tests/ |
annotate_rwlock.c | 157 const int thread_count = 10; local 158 pthread_t tid[thread_count]; 162 for (i = 0; i < thread_count; i++) 167 for (i = 0; i < thread_count; i++)
|
/art/test/931-agent-thread/ |
agent_thread.cc | 74 jint thread_count; local 76 jvmtiError threads_result = jenv->GetAllThreads(&thread_count, &threads); 79 for (jint i = 0; i != thread_count; ++i) {
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
thread_atheos.h | 97 static atomic_t thread_count = 0;
variable 108 this_thread = atomic_add(&thread_count, 1);
136 if (atomic_add(&thread_count, 0) == 0) {
|
thread_beos.h | 113 static int32 thread_count = 0;
variable 125 this_thread = atomic_add( &thread_count, 1 );
154 threads = atomic_add( &thread_count, 0 );
|
/external/compiler-rt/test/tsan/ |
debugging.cc | 16 int *mutex_count, int *thread_count, 57 int stack_count, mop_count, loc_count, mutex_count, thread_count, local 61 &loc_count, &mutex_count, &thread_count, 90 fprintf(stderr, "thread_count = %d\n", thread_count); 91 // CHECK: thread_count = 2
|
/external/linux-kselftest/tools/testing/selftests/timers/ |
threadtest.c | 122 int thread_count, i; local 131 thread_count = DEFAULT_THREAD_COUNT; 141 thread_count = atoi(optarg); 156 if (thread_count > MAX_THREADS) 157 thread_count = MAX_THREADS; 165 printf("Testing consistency with %i threads for %ld seconds: ", thread_count, runtime); 168 for (i = 0; i < thread_count; i++) 185 for (i = 0; i < thread_count; i++)
|
/external/python/cpython2/Python/ |
thread_atheos.h | 97 static atomic_t thread_count = 0; variable 108 this_thread = atomic_add(&thread_count, 1); 136 if (atomic_add(&thread_count, 0) == 0) {
|
/art/runtime/native/ |
org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc | 148 uint16_t thread_count = 0; local 149 thread_list->ForEach(ThreadCountCallback, &thread_count); 153 JDWP::Append2BE(bytes, thread_count);
|
/art/runtime/ |
thread_pool.cc | 184 const size_t thread_count = GetThreadCount(); local 186 const size_t active_threads = thread_count - waiting_count_;
|
/art/test/924-threads/ |
threads.cc | 151 jint thread_count; local 154 jvmtiError result = jvmti_env->GetAllThreads(&thread_count, &threads); 162 jobjectArray ret = CreateObjectArray(env, thread_count, "java/lang/Thread", callback);
|
/external/libvpx/libvpx/test/ |
encode_perf_test.cc | 164 char thread_count[32]; local 165 snprintf(thread_count, sizeof(thread_count), "_t-%d", 167 display_name += thread_count;
|