Home
last modified time | relevance | path

Searched refs:THREADS (Results 1 - 18 of 18) sorted by relevance

/third_party/ltp/lib/newlib_tests/
H A 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; in do_test()
[all...]
H A 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()
H A 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/ltp/testcases/kernel/mem/hugetlb/hugemmap/
H A Dhugemmap21.c18 #define THREADS 5 macro
67 wait_list = SAFE_MALLOC(THREADS * sizeof(pid_t)); in run_test()
68 size = (NR_HUGEPAGES / (THREADS+1)) * hpage_size; in run_test()
81 for (i = 0; i < THREADS; i++) { in run_test()
/third_party/ltp/utils/sctp/func_tests/
H A Dtest_1_to_1_threads.c7 * change the THREADS valuen and loop change the THREAD_SND_RCV_LOOPS.
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/ffmpeg/libavdevice/
H A Diec61883.c38 #define THREADS HAVE_PTHREADS macro
40 #if THREADS
93 #if THREADS
107 #if THREADS in iec61883_callback()
146 #if THREADS in iec61883_callback()
158 #if THREADS in iec61883_receive_task()
175 #if THREADS in iec61883_receive_task()
405 #if THREADS in iec61883_read_header()
431 #if THREADS in iec61883_read_packet()
455 #if THREADS in iec61883_close()
[all...]
/third_party/node/deps/v8/tools/
H A Drun-clang-tidy.py23 THREADS = multiprocessing.cpu_count() variable
105 ['run-clang-tidy', '-j' + str(THREADS), '-p', '.']
145 ['run-clang-tidy', '-j' + str(THREADS), '-p', '.'] +
375 global THREADS
376 THREADS = options.threads
/third_party/icu/icu4j/perf-tests/
H A Ddateformatperf.pl39 my $THREADS; # number of threads (input from command-line args)
56 # (if there is no arguments, use $THREADS = 1)
58 $THREADS = $arg;
67 my $threads = ($THREADS > 1) ? "($THREADS threads)" : "";
286 my $cmd = "java -classpath $CLASSES $TESTCLASS $method $n -p $passes -L @$pat[0] \"@$pat[1]\" \"@$pat[2]\" -r $THREADS";
H A Ddecimalformatperf.pl35 my $THREADS; # number of threads (input from command-line args)
52 # (if there is no arguments, use $THREADS = 1)
54 $THREADS = $arg;
63 my $threads = ($THREADS > 1) ? "($THREADS threads)" : "";
281 my $cmd = "java -classpath $CLASSES $TESTCLASS $method $n -p $passes -L @$pat[0] \"@$pat[1]\" \"@$pat[2]\" -r $THREADS";
H A Dperftests.pl42 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";
/third_party/toybox/toys/other/
H A 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/
H A Dlib586.c27 #define THREADS 2 macro
188 for(i = 1; i <= THREADS; i++) { in test()
H A Dlib506.c29 #define THREADS 2 macro
267 for(i = 1; i <= THREADS; i++) { in test()
/third_party/openssl/test/
H A Ddrbgtest.c763 * The main thread will also run the test, so we'll have THREADS+1 parallel
766 # define THREADS 3 macro
770 thread_t t[THREADS]; in test_multi_thread()
773 for (i = 0; i < THREADS; i++) in test_multi_thread()
776 for (i = 0; i < THREADS; i++) in test_multi_thread()
/third_party/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
H A DPerfTest.java345 static final int THREADS = 14; field in PerfTest
524 if (options[THREADS].doesOccur) { in parseOptions()
526 threads = Integer.parseInt(options[THREADS].value); in parseOptions()
/third_party/toybox/toys/posix/
H A Dgetconf.c73 CONF(THREAD_SAFE_FUNCTIONS), CONF(THREAD_SPORADIC_SERVER), CONF(THREADS),
/third_party/ffmpeg/tests/fate/
H A Dlibavutil.mak52 fate-cpu: CMD = runecho libavutil/tests/cpu$(EXESUF) $(CPUFLAGS:%=-c%) $(THREADS:%=-t%)
/third_party/ffmpeg/tests/
H A DMakefile14 THREADS = 1 macro
305 $(Q)$(SRC_PATH)/tests/fate-run.sh $@ "$(TARGET_SAMPLES)" "$(TARGET_EXEC)" "$(TARGET_PATH)" '$(CMD)' '$(CMP)' '$(REF)' '$(FUZZ)' '$(THREADS)' '$(THREAD_TYPE)' '$(CPUFLAGS)' '$(CMP_SHIFT)' '$(CMP_TARGET)' '$(SIZE_TOLERANCE)' '$(CMP_UNIT)' '$(GEN)' '$(HWACCEL)' '$(REPORT)' '$(KEEP_FILES)'

Completed in 10 milliseconds