/ndk/tests/device/test-openmp/jni/ |
openmp.c | 7 int iam = 0, np = 1; local 12 #pragma omp parallel default(shared) private(iam, np) 16 iam = omp_get_thread_num(); 18 printf("Hello from thread %d out of %d\n", iam, np);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/parallel/ |
omp_loop.h | 96 thread_index_t iam = omp_get_thread_num(); local 100 thread_results[iam] = 101 r(thread_results[iam], f(o, begin+pos));
|
omp_loop_static.h | 96 thread_index_t iam = omp_get_thread_num(); local 100 thread_results[iam] = r(thread_results[iam], f(o, begin+pos));
|
par_loop.h | 95 thread_index_t iam = omp_get_thread_num(); local 101 start = equally_split_point(length, num_threads, iam), 102 stop = equally_split_point(length, num_threads, iam + 1); 108 constructed[iam] = true; 111 constructed[iam] = false; 116 thread_results[iam] = *reduct;
|
partial_sum.h | 147 thread_index_t iam = omp_get_thread_num(); local 148 if (iam == 0) 153 ::new(&(sums[iam])) value_type(*(result + borders[1] - 1)); 157 ::new(&(sums[iam])) 158 value_type(std::accumulate(begin + borders[iam] + 1, 159 begin + borders[iam + 1], 160 *(begin + borders[iam]), 174 parallel_partial_sum_basecase(begin + borders[iam + 1], 175 begin + borders[iam + 2], 176 result + borders[iam + 1], bin_op [all...] |
search.h | 127 thread_index_t iam = omp_get_thread_num(); local 129 difference_type start = splitters[iam], stop = splitters[iam + 1];
|
unique_copy.h | 81 thread_index_t iam = omp_get_thread_num(); local 90 if (iam == 0) 93 end = borders[iam + 1]; 109 begin = borders[iam]; //one part 110 end = borders[iam + 1]; 118 counter[iam] = i; 128 if (iam == 0) 153 for (int t = 0; t < iam; t++)
|
find.h | 127 thread_index_t iam = omp_get_thread_num(); local 128 difference_type start = borders[iam], stop = borders[iam + 1]; 230 thread_index_t iam = omp_get_thread_num(); local 350 thread_index_t iam = omp_get_thread_num(); local 357 difference_type start = iteration_start + iam * block_size; 386 start = iteration_start + iam * block_size;
|
multiway_mergesort.h | 105 thread_index_t iam = omp_get_thread_num(); local 109 equally_split(sd->starts[iam + 1] - sd->starts[iam], 113 ::new(&(sd->samples[iam * num_samples + i])) 114 value_type(sd->source[sd->starts[iam] + es[i + 1]]); 133 const thread_index_t iam, 153 if (iam < sd->num_threads - 1) 155 sd->starts[iam + 1], offsets.begin(), comp); 160 if (iam < (sd->num_threads - 1)) 161 sd->pieces[iam][seq].end = offsets[seq] - seqs[seq].first 322 thread_index_t iam = omp_get_thread_num(); local [all...] |
set_operations.h | 397 thread_index_t iam = omp_get_thread_num(); local 401 const difference_type rank = borders[iam + 1]; 417 iterator_pair block_end = block_begins[ iam + 1 ] = 423 iterator_pair block_begin = block_begins[ iam ]; 427 if (iam == 0) 430 lengths[ iam ] = op.invoke(block_begin.first, block_end.first, 437 lengths[ iam ] = op.count(block_begin.first, block_end.first, 446 if (iam == 0) 461 for (int i = 0; i < iam; ++i)
|
workstealing.h | 155 thread_index_t iam = omp_get_thread_num(); local 158 Job<difference_type>& my_job = job[iam * stride]; 171 random_number rand_gen(iam, num_threads); 181 static_cast<difference_type>(iam * (length / num_threads)); 183 my_job.last = (iam == (num_threads - 1)) ? 184 (length - 1) : ((iam + 1) * (length / num_threads) - 1);
|
multiway_merge.h | 1357 thread_index_t iam = omp_get_thread_num(); local [all...] |
random_shuffle.h | 129 thread_index_t iam = omp_get_thread_num(); local 130 DRSSorterPU<RandomAccessIterator, RandomNumberGenerator>* d = &pus[iam]; 134 difference_type length = sd->starts[iam + 1] - sd->starts[iam]; 158 sd->dist[b][iam + 1] = dist[b]; 187 sd->temporaries[iam] = static_cast<value_type*>( 194 dist[b] = sd->dist[b][iam]; 201 difference_type start = sd->starts[iam]; 225 sd->temporaries[iam] + 228 sd->temporaries[iam] + sd->dist[b + 1][d->num_threads] [all...] |
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeyActivityEvent.java | 56 public int injectEvent(IWindowManager iwm, IActivityManager iam, int verbose) { 69 iam.startActivity(null, null, intent, null, null, null, 0,
|
MonkeyInstrumentationEvent.java | 40 public int injectEvent(IWindowManager iwm, IActivityManager iam, int verbose) { 48 iam.startInstrumentation(cn, null, 0, args, null, null, 0);
|