/third_party/ltp/lib/newlib_tests/ |
H A 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; in do_test() [all...] |
H A 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()
|
H A 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/ltp/testcases/kernel/mem/hugetlb/hugemmap/ |
H A D | hugemmap21.c | 18 #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 D | test_1_to_1_threads.c | 7 * 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 D | iec61883.c | 38 #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 D | run-clang-tidy.py | 23 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 D | dateformatperf.pl | 39 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 D | decimalformatperf.pl | 35 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 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";
|
/third_party/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; 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 D | lib586.c | 27 #define THREADS 2 macro 188 for(i = 1; i <= THREADS; i++) { in test()
|
H A D | lib506.c | 29 #define THREADS 2 macro 267 for(i = 1; i <= THREADS; i++) { in test()
|
/third_party/openssl/test/ |
H A D | drbgtest.c | 763 * 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 D | PerfTest.java | 345 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 D | getconf.c | 73 CONF(THREAD_SAFE_FUNCTIONS), CONF(THREAD_SPORADIC_SERVER), CONF(THREADS),
|
/third_party/ffmpeg/tests/fate/ |
H A D | libavutil.mak | 52 fate-cpu: CMD = runecho libavutil/tests/cpu$(EXESUF) $(CPUFLAGS:%=-c%) $(THREADS:%=-t%)
|
/third_party/ffmpeg/tests/ |
H A D | Makefile | 14 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)'
|