/third_party/pixman/test/ |
D | thread-test.c | 22 #define THREADS 16 macro 151 uint32_t dest[THREADS * DEST_WIDTH]; in main() 152 info_t info[THREADS] = { { 0 } }; in main() 155 pthread_t threads[THREADS]; in main() 156 void *retvals[THREADS]; in main() 158 HANDLE hThreadArray[THREADS]; in main() 159 DWORD dwThreadIdArray[THREADS]; in main() 162 uint32_t crc32s[THREADS], crc32; in main() 165 for (i = 0; i < THREADS; ++i) in main() 172 for (i = 0; i < THREADS; ++i) in main() [all …]
|
/third_party/ltp/lib/newlib_tests/ |
D | test15.c | 27 #define THREADS 64 macro 82 if (i < THREADS - 1) { in mem_spam() 96 pthread_t threads[THREADS + 1]; in do_test() 99 m = SAFE_MMAP(NULL, sizeof(*m) * THREADS, in do_test() 103 seq_n = &((m + THREADS / 2)->seq_n); in do_test() 105 pthread_create(&threads[THREADS], NULL, mem_spam, NULL); in do_test() 106 for (i = THREADS - 1; i >= 0; i--) in do_test() 109 for (i = 0; i < THREADS; i++) { in do_test() 114 pthread_join(threads[THREADS], NULL); in do_test() 117 for (i = 0; i < THREADS; i++) { in do_test() [all …]
|
D | test09.c | 13 #define THREADS 64 macro 32 pthread_t threads[THREADS]; in do_test() 34 for (i = 0; i < THREADS; i++) in do_test() 37 for (i = 0; i < THREADS; i++) { in do_test() 42 if (atomic == THREADS * ITERATIONS) in do_test()
|
D | test08.c | 12 #define THREADS 10 macro 18 pthread_barrier_init(&barrier, NULL, THREADS); in setup() 48 pthread_t threads[THREADS]; in do_test() 50 for (i = 0; i < THREADS; i++) in do_test() 53 for (i = 0; i < THREADS; i++) { in do_test()
|
/third_party/glib/gobject/tests/ |
D | qdata.c | 16 #define THREADS 10 macro 20 gint bucket[THREADS]; /* accessed from multiple threads, but should never be contested due to the … 59 GThread *threads[THREADS]; in test_qdata_threaded() 65 for (i = 0; i < THREADS; i++) in test_qdata_threaded() 68 for (i = 0; i < THREADS; i++) in test_qdata_threaded() 71 for (i = 0; i < THREADS; i++) in test_qdata_threaded() 75 for (i = 0; i < THREADS; i++) in test_qdata_threaded()
|
/third_party/grpc/test/core/iomgr/ |
D | pollset_windows_starvation_test.cc | 35 const size_t THREADS = 3; variable 42 gpr_mu* pollset_mu[THREADS]; 68 for (int i = 0; i < THREADS; i++) { in main() 113 params.queuing != THREADS && in main() 124 for (int i = 0; i < THREADS; i++) { in main() 134 params.complete != THREADS && in main()
|
/third_party/glib/tests/ |
D | thread-test.c | 107 #define THREADS 10 macro 192 GThread *threads[THREADS]; in test_g_static_private() 197 for (i = 0; i < THREADS; i++) in test_g_static_private() 204 while (test_g_static_private_ready != THREADS) in test_g_static_private() 213 for (i = 0; i < THREADS; i++) in test_g_static_private() 282 GThread *threads[THREADS]; in test_g_static_rw_lock() 284 for (i = 0; i < THREADS; i++) in test_g_static_rw_lock() 291 for (i = 0; i < THREADS; i++) in test_g_static_rw_lock()
|
/third_party/ffmpeg/libavdevice/ |
D | iec61883.c | 36 #define THREADS HAVE_PTHREADS macro 38 #if THREADS 91 #if THREADS 105 #if THREADS in iec61883_callback() 144 #if THREADS in iec61883_callback() 156 #if THREADS in iec61883_receive_task() 173 #if THREADS in iec61883_receive_task() 402 #if THREADS in iec61883_read_header() 428 #if THREADS in iec61883_read_packet() 452 #if THREADS in iec61883_close()
|
/third_party/ltp/utils/sctp/func_tests/ |
D | test_1_to_1_threads.c | 54 #define THREADS 10 /* FIXME should be 500 instead of 10 */ macro 140 int pth[THREADS]; in main() 141 pthread_t thread[THREADS]; in main() 177 for (cnt = 0; cnt < THREADS; cnt++) { in main() 187 for (cnt = 0; cnt < THREADS ; cnt++) { in main()
|
/third_party/glib/glib/tests/ |
D | mutex.c | 87 #define THREADS 100 macro 142 GThread *threads[THREADS]; in test_mutex5() 147 for (i = 0; i < THREADS; i++) in test_mutex5() 150 for (i = 0; i < THREADS; i++) in test_mutex5() 190 GThread *threads[THREADS]; in test_mutex_perf()
|
D | 1bit-mutex.c | 21 #define THREADS 100 macro 125 GThread *threads[THREADS]; in testcase() 142 for (i = 0; i < THREADS; i++) in testcase() 146 for (i = 0; i < THREADS; i++) in testcase()
|
D | rec-mutex.c | 74 #define THREADS 100 macro 142 GThread *threads[THREADS]; in test_rec_mutex4() 147 for (i = 0; i < THREADS; i++) in test_rec_mutex4() 150 for (i = 0; i < THREADS; i++) in test_rec_mutex4() 197 GThread *threads[THREADS]; in test_mutex_perf()
|
D | once.c | 27 #define THREADS 1000 macro 29 #define THREADS 100 macro 110 GThread *threads[THREADS]; in test_once_multi_threaded() 177 GThread *threads[THREADS]; in test_once_init_multi_threaded()
|
D | atomic.c | 254 #define THREADS 10 macro 257 gint bucket[THREADS]; /* never contested by threads, not accessed atomically */ 283 GThread *threads[THREADS]; in test_threaded() 286 for (i = 0; i < THREADS; i++) in test_threaded() 289 for (i = 0; i < THREADS; i++) in test_threaded() 292 for (i = 0; i < THREADS; i++) in test_threaded() 296 for (i = 0; i < THREADS; i++) in test_threaded()
|
D | rwlock.c | 114 #define THREADS 100 macro 169 GThread *threads[THREADS]; in test_rwlock7() 174 for (i = 0; i < THREADS; i++) in test_rwlock7() 177 for (i = 0; i < THREADS; i++) in test_rwlock7()
|
/third_party/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";
|
/third_party/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()
|
/third_party/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()
|
/third_party/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 265 for(i = 1; i <= THREADS; i++) { in test()
|
/third_party/openssl/test/ |
D | drbgtest.c | 927 # define THREADS 3 macro 931 thread_t t[THREADS]; in test_multi_thread() 934 for (i = 0; i < THREADS; i++) in test_multi_thread() 937 for (i = 0; i < THREADS; i++) in test_multi_thread()
|
/third_party/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()
|
/third_party/ffmpeg/doc/ |
D | fate.texi | 207 @item THREADS 241 make V=1 SAMPLES=/var/fate/samples THREADS=2 CPUFLAGS=mmx fate
|