Home
last modified time | relevance | path

Searched refs:THREADS (Results 1 – 25 of 29) sorted by relevance

12

/third_party/pixman/test/
Dthread-test.c22 #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/
Dtest15.c27 #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 …]
Dtest09.c13 #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()
Dtest08.c12 #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/
Dqdata.c16 #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/
Dpollset_windows_starvation_test.cc35 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/
Dthread-test.c107 #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/
Diec61883.c36 #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/
Dtest_1_to_1_threads.c54 #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/
Dmutex.c87 #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()
D1bit-mutex.c21 #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()
Drec-mutex.c74 #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()
Donce.c27 #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()
Datomic.c254 #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()
Drwlock.c114 #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/
Ddateformatperf.pl37 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";
Ddecimalformatperf.pl33 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";
Dperftests.pl42 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/
Ddlfcn.c64 #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/
Dbzcat.c44 #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/
Dlib586.c25 #define THREADS 2 macro
188 for(i = 1; i <= THREADS; i++) { in test()
Dlib506.c27 #define THREADS 2 macro
265 for(i = 1; i <= THREADS; i++) { in test()
/third_party/openssl/test/
Ddrbgtest.c927 # 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/
DPerfTest.java343 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/
Dfate.texi207 @item THREADS
241 make V=1 SAMPLES=/var/fate/samples THREADS=2 CPUFLAGS=mmx fate

12