/external/ltp/lib/newlib_tests/ |
H A D | test09.c | 23 #define THREADS 64 macro 42 pthread_t threads[THREADS]; 44 for (i = 0; i < THREADS; i++) 47 for (i = 0; i < THREADS; i++) { 52 if (atomic == THREADS * ITERATIONS)
|
H A D | test08.c | 25 #define THREADS 10 macro 31 pthread_barrier_init(&barrier, NULL, THREADS); 61 pthread_t threads[THREADS]; 63 for (i = 0; i < THREADS; i++) 66 for (i = 0; i < THREADS; i++) {
|
/external/valgrind/drd/tests/ |
H A D | annotate_sem.c | 16 #define THREADS 10 macro 79 pthread_t tid[THREADS]; 83 for (i = 0; i < THREADS; i++) 86 for (i = 0; i < THREADS; i++) 89 assert(s_counter == THREADS * ITERATIONS);
|
H A D | circular_buffer.c | 180 #define THREADS (10) macro 184 pthread_t producers[THREADS]; 185 pthread_t consumers[THREADS]; 186 int thread_arg[THREADS]; 207 for (i = 0; i < THREADS; ++i) 214 for (i = 0; i < THREADS; ++i) 218 for (i = 0; i < THREADS; ++i)
|
/external/linux-kselftest/tools/testing/selftests/powerpc/dscr/ |
H A D | dscr_default_test.c | 19 static unsigned long result[THREADS]; 65 pthread_t threads[THREADS]; 66 unsigned long i, *status[THREADS]; 76 for (i = 0; i < THREADS; i++) { 105 for (i = 0; i < THREADS; i++) {
|
H A D | dscr.h | 31 #define THREADS 100 /* Max threads */ macro
|
/external/eigen/bench/tensors/ |
H A D | tensor_benchmarks_cpu.cc | 12 #define BM_FuncCPU(FUNC, THREADS) \ 13 static void BM_##FUNC##_##THREADS##T(int iters, int N) { \ 15 CREATE_THREAD_POOL(THREADS); \ 19 BENCHMARK_RANGE(BM_##FUNC##_##THREADS##T, 10, 5000); 83 #define BM_FuncWithInputDimsCPU(FUNC, D1, D2, D3, THREADS) \ 84 static void BM_##FUNC##_##D1##x##D2##x##D3##_##THREADS##T(int iters, int N) { \ 86 if (THREADS == 1) { \ 91 CREATE_THREAD_POOL(THREADS); \ 96 BENCHMARK_RANGE(BM_##FUNC##_##D1##x##D2##x##D3##_##THREADS##T, 10, 5000); 137 #define BM_FuncWithKernelDimsCPU(FUNC, DIM1, DIM2, THREADS) \ [all...] |
/external/ltp/utils/sctp/func_tests/ |
H A D | test_1_to_1_threads.c | 7 * change the THREADS valuen and loop change the THREAD_SND_RCV_LOOPS. 53 #define THREADS 10 /* FIXME should be 500 instead of 10 */ macro 139 int pth[THREADS]; 140 pthread_t thread[THREADS]; 173 for (cnt = 0; cnt < THREADS; cnt++) { 183 for (cnt = 0; cnt < THREADS ; cnt++) {
|
/external/swiftshader/third_party/LLVM/ |
H A D | build-for-llvm-top.sh | 49 if test "$THREADS" -eq 1 ; then
|
/external/curl/tests/libtest/ |
H A D | lib586.c | 25 #define THREADS 2 macro 186 for(i=1; i<=THREADS; i++) {
|
H A D | lib506.c | 27 #define THREADS 2 macro 262 for(i=1; i<=THREADS; i++) {
|
/external/r8/src/test/examples/sync/ |
H A D | Sync.java | 14 public static final int THREADS = 10; field in class:Sync 116 ExecutorService service = Executors.newFixedThreadPool(THREADS);
|
/external/icu/icu4j/perf-tests/ |
H A D | dateformatperf.pl | 37 my $THREADS; # number of threads (input from command-line args) 54 # (if there is no arguments, use $THREADS = 1) 56 $THREADS = $arg; 65 my $threads = ($THREADS > 1) ? "($THREADS threads)" : ""; 284 my $cmd = "java -classpath classes $TESTCLASS $method $n -p $passes -L @$pat[0] \"@$pat[1]\" \"@$pat[2]\" -r $THREADS";
|
H A D | decimalformatperf.pl | 33 my $THREADS; # number of threads (input from command-line args) 50 # (if there is no arguments, use $THREADS = 1) 52 $THREADS = $arg; 61 my $threads = ($THREADS > 1) ? "($THREADS threads)" : ""; 279 my $cmd = "java -classpath classes $TESTCLASS $method $n -p $passes -L @$pat[0] \"@$pat[1]\" \"@$pat[2]\" -r $THREADS";
|
H A D | perftests.pl | 42 my $THREADS; # number of threads (input from command-line args) 58 # (if there is no arguments, use $THREADS = 1) 60 $THREADS = $arg; 70 #my $threads = ($THREADS > 1) ? "($THREADS threads)" : ""; 385 my $cmd = "java -classpath $CLASSPATH $testclass $method $n -p $passes -L @$pat[0] \"@$pat[1]\" \"@$pat[2]\" -r $THREADS";
|
/external/libxml2/os400/dlfcn/ |
H A D | dlfcn.c | 64 #define THREADS 000002 /* Multithreaded job. */ macro 120 if (dlflags & THREADS) 151 dlflags &= ~THREADS; 154 dlflags |= THREADS; 160 if (dlflags & THREADS) 206 if (!(dlflags & THREADS)) 234 if (!(dlflags & THREADS))
|
/external/libvpx/libvpx/test/ |
H A D | decode_perf_test.cc | 29 #define THREADS 1 macro 76 const unsigned threads = GET_PARAM(THREADS);
|
/external/toybox/toys/other/ |
H A D | bzcat.c | 44 #define THREADS 1 macro 105 struct bwdata bwdata[THREADS]; 634 bd->dbufSize = 100000*(i-'0')*THREADS; 635 for (i=0; i<THREADS; i++) 658 for (j=0; j<THREADS; j++) free(bd->bwdata[j].dbuf);
|
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/ |
H A D | PerfTest.java | 343 static final int THREADS = 14; field in class:PerfTest 505 if (options[THREADS].doesOccur) { 507 threads = Integer.parseInt(options[THREADS].value);
|