/external/ltp/lib/newlib_tests/ |
D | test15.c | 39 #define THREADS 64 macro 94 if (i < THREADS - 1) { in mem_spam() 108 pthread_t threads[THREADS + 1]; in do_test() 111 m = SAFE_MMAP(NULL, sizeof(*m) * THREADS, in do_test() 115 seq_n = &((m + THREADS / 2)->seq_n); in do_test() 117 pthread_create(&threads[THREADS], NULL, mem_spam, NULL); in do_test() 118 for (i = THREADS - 1; i >= 0; i--) in do_test() 121 for (i = 0; i < THREADS; i++) { in do_test() 126 pthread_join(threads[THREADS], NULL); in do_test() 129 for (i = 0; i < THREADS; i++) { in do_test() [all …]
|
D | test09.c | 23 #define THREADS 64 macro 42 pthread_t threads[THREADS]; in do_test() 44 for (i = 0; i < THREADS; i++) in do_test() 47 for (i = 0; i < THREADS; i++) { in do_test() 52 if (atomic == THREADS * ITERATIONS) in do_test()
|
D | test08.c | 25 #define THREADS 10 macro 31 pthread_barrier_init(&barrier, NULL, THREADS); in setup() 61 pthread_t threads[THREADS]; in do_test() 63 for (i = 0; i < THREADS; i++) in do_test() 66 for (i = 0; i < THREADS; i++) { in do_test()
|
/external/eigen/bench/tensors/ |
D | tensor_benchmarks_cpu.cc | 12 #define BM_FuncCPU(FUNC, THREADS) \ argument 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) \ argument 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) \ argument [all …]
|
/external/linux-kselftest/tools/testing/selftests/powerpc/dscr/ |
D | dscr_default_test.c | 19 static unsigned long result[THREADS]; 65 pthread_t threads[THREADS]; in dscr_default() 66 unsigned long i, *status[THREADS]; in dscr_default() 76 for (i = 0; i < THREADS; i++) { in dscr_default() 105 for (i = 0; i < THREADS; i++) { in dscr_default()
|
D | dscr.h | 31 #define THREADS 100 /* Max threads */ macro
|
/external/ltp/utils/sctp/func_tests/ |
D | test_1_to_1_threads.c | 53 #define THREADS 10 /* FIXME should be 500 instead of 10 */ macro 139 int pth[THREADS]; in main() 140 pthread_t thread[THREADS]; in main() 173 for (cnt = 0; cnt < THREADS; cnt++) { in main() 183 for (cnt = 0; cnt < THREADS ; cnt++) { in main()
|
/external/icu/icu4j/perf-tests/ |
D | dateformatperf.pl | 37 my $THREADS; # number of threads (input from command-line args) 56 $THREADS = $arg; 65 my $threads = ($THREADS > 1) ? "($THREADS threads)" : ""; 284 …sspath classes $TESTCLASS $method $n -p $passes -L @$pat[0] \"@$pat[1]\" \"@$pat[2]\" -r $THREADS";
|
D | decimalformatperf.pl | 33 my $THREADS; # number of threads (input from command-line args) 52 $THREADS = $arg; 61 my $threads = ($THREADS > 1) ? "($THREADS threads)" : ""; 279 …sspath classes $TESTCLASS $method $n -p $passes -L @$pat[0] \"@$pat[1]\" \"@$pat[2]\" -r $THREADS";
|
D | perftests.pl | 42 my $THREADS; # number of threads (input from command-line args) 60 $THREADS = $arg; 385 …ath $CLASSPATH $testclass $method $n -p $passes -L @$pat[0] \"@$pat[1]\" \"@$pat[2]\" -r $THREADS";
|
/external/libxml2/os400/dlfcn/ |
D | dlfcn.c | 64 #define THREADS 000002 /* Multithreaded job. */ macro 120 if (dlflags & THREADS) in dlterm() 151 dlflags &= ~THREADS; in dlinit() 154 dlflags |= THREADS; in dlinit() 160 if (dlflags & THREADS) in dlinit() 206 if (!(dlflags & THREADS)) in dllock() 234 if (!(dlflags & THREADS)) in dlunlock()
|
/external/toybox/toys/other/ |
D | bzcat.c | 44 #define THREADS 1 macro 105 struct bwdata bwdata[THREADS]; 634 bd->dbufSize = 100000*(i-'0')*THREADS; in start_bunzip() 635 for (i=0; i<THREADS; i++) in start_bunzip() 658 for (j=0; j<THREADS; j++) free(bd->bwdata[j].dbuf); in bunzipStream()
|
/external/curl/tests/libtest/ |
D | lib586.c | 25 #define THREADS 2 macro 188 for(i = 1; i <= THREADS; i++) { in test()
|
D | lib506.c | 27 #define THREADS 2 macro 264 for(i = 1; i <= THREADS; i++) { in test()
|
/external/libaom/libaom/test/ |
D | decode_perf_test.cc | 32 #define THREADS 1 macro 60 const unsigned threads = GET_PARAM(THREADS); in TEST_P()
|
/external/libvpx/libvpx/test/ |
D | decode_perf_test.cc | 31 #define THREADS 1 macro 78 const unsigned threads = GET_PARAM(THREADS); in TEST_P()
|
/external/swiftshader/third_party/LLVM/ |
D | build-for-llvm-top.sh | 49 if test "$THREADS" -eq 1 ; then
|
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/ |
D | PerfTest.java | 343 static final int THREADS = 14; field in PerfTest 505 if (options[THREADS].doesOccur) { in parseOptions() 507 threads = Integer.parseInt(options[THREADS].value); in parseOptions()
|
/external/libevent/ |
D | Makefile.am | 156 if THREADS
|
D | configure.ac | 766 AM_CONDITIONAL(THREADS, [test "$enable_thread_support" != "no"]) condition
|
/external/libevent/test/ |
D | include.am | 131 if THREADS
|
/external/toybox/toys/posix/ |
D | getconf.c | 78 CONF(THREAD_SAFE_FUNCTIONS), CONF(THREAD_SPORADIC_SERVER), CONF(THREADS),
|
/external/tensorflow/tensorflow/core/kernels/ |
D | nn_ops_test.cc | 787 #define BM_LRNFloatFwdCPU(DEPTH, COLS, ROWS, BATCH, RANGE, THREADS, LABEL) \ argument 789 BM_LRNFloat_##DEPTH##_##COLS##_##ROWS##_##BATCH##_##RANGE##_##THREADS( \ 791 BM_LRNFloat(iters, DEPTH, COLS, ROWS, BATCH, RANGE, THREADS, LABEL); \ 794 BM_LRNFloat_##DEPTH##_##COLS##_##ROWS##_##BATCH##_##RANGE##_##THREADS)
|
/external/eigen/cmake/ |
D | FindScotch.cmake | 252 # THREADS
|
D | FindPTSCOTCH.cmake | 298 # THREADS
|