/external/ltp/lib/newlib_tests/ |
test08.c | 25 #define THREADS 10 31 pthread_barrier_init(&barrier, NULL, THREADS); 40 /* Avoid subsequent threads to enter the cleanup */ 61 pthread_t threads[THREADS]; local 63 for (i = 0; i < THREADS; i++) 64 pthread_create(threads+i, NULL, worker, (void*)i); 66 for (i = 0; i < THREADS; i++) { 68 pthread_join(threads[i], NULL);
|
test09.c | 23 #define THREADS 64 42 pthread_t threads[THREADS]; local 44 for (i = 0; i < THREADS; i++) 45 pthread_create(threads+i, NULL, worker, (void *)i); 47 for (i = 0; i < THREADS; i++) { 49 pthread_join(threads[i], NULL); 52 if (atomic == THREADS * ITERATIONS)
|
test15.c | 39 #define THREADS 64 94 if (i < THREADS - 1) { 108 pthread_t threads[THREADS + 1]; local 111 m = SAFE_MMAP(NULL, sizeof(*m) * THREADS, 115 seq_n = &((m + THREADS / 2)->seq_n); 117 pthread_create(&threads[THREADS], NULL, mem_spam, NULL); 118 for (i = THREADS - 1; i >= 0; i--) 119 pthread_create(&threads[i], NULL, worker_load_store, (void *)i) [all...] |
/external/curl/tests/libtest/ |
lib586.c | 25 #define THREADS 2 188 for(i = 1; i <= THREADS; i++) {
|
lib506.c | 27 #define THREADS 2 264 for(i = 1; i <= THREADS; i++) {
|
/external/valgrind/drd/tests/ |
annotate_sem.c | 16 #define THREADS 10 79 pthread_t tid[THREADS]; 83 for (i = 0; i < THREADS; i++) 86 for (i = 0; i < THREADS; i++) 89 assert(s_counter == THREADS * ITERATIONS);
|
circular_buffer.c | 180 #define THREADS (10) 184 pthread_t producers[THREADS]; 185 pthread_t consumers[THREADS]; 186 int thread_arg[THREADS]; 207 for (i = 0; i < THREADS; ++i) 214 for (i = 0; i < THREADS; ++i) 218 for (i = 0; i < THREADS; ++i)
|
/external/linux-kselftest/tools/testing/selftests/powerpc/dscr/ |
dscr.h | 31 #define THREADS 100 /* Max threads */
|
/external/libvpx/libvpx/test/ |
decode_perf_test.cc | 29 #define THREADS 1 35 DecodePerfTest takes a tuple of filename + number of threads to decode with 76 const unsigned threads = GET_PARAM(THREADS); local 82 cfg.threads = threads; 101 printf("\t\"threadCount\" : %u,\n", threads); 225 const uint32_t threads = 4; local 231 cfg.threads = threads; [all...] |
/external/ltp/utils/sctp/func_tests/ |
test_1_to_1_threads.c | 5 * This file does send and receive for 500 threads on a unique association for 6 * THREAD_SND_RCV_LOOPS = 10 many times. To change the number of threads 7 * change the THREADS valuen and loop change the THREAD_SND_RCV_LOOPS. 53 #define THREADS 10 /* FIXME should be 500 instead of 10 */ 139 int pth[THREADS]; 140 pthread_t thread[THREADS]; 173 for (cnt = 0; cnt < THREADS; cnt++) { 183 for (cnt = 0; cnt < THREADS ; cnt++) { 192 tst_resm(TPASS, "send and receive data across multiple threads - "
|
/frameworks/native/cmds/lshal/ |
TableEntry.h | 60 THREADS,
|
/external/libxml2/os400/dlfcn/ |
dlfcn.c | 64 #define THREADS 000002 /* Multithreaded job. */ 120 if (dlflags & THREADS) 151 dlflags &= ~THREADS; 154 dlflags |= THREADS; 160 if (dlflags & THREADS) 206 if (!(dlflags & THREADS)) 234 if (!(dlflags & THREADS))
|
/external/toybox/toys/other/ |
bzcat.c | 44 #define THREADS 1 105 struct bwdata bwdata[THREADS]; 634 bd->dbufSize = 100000*(i-'0')*THREADS; 635 for (i=0; i<THREADS; i++) 658 for (j=0; j<THREADS; j++) free(bd->bwdata[j].dbuf);
|
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/ |
PerfTest.java | 96 protected int threads; field in class:PerfTest 343 static final int THREADS = 14; 366 UOption.DEF("threads", 'r', UOption.REQUIRES_ARG), 461 threads = 1; 505 if (options[THREADS].doesOccur) { 507 threads = Integer.parseInt(options[THREADS].value); 509 throw new UsageException("'-r <threads>' requires an integer number of threads"); 511 if (threads <= 0 [all...] |
/libcore/jsr166-tests/src/test/java/jsr166/ |
ScheduledExecutorSubclassTest.java | 455 * multiple threads active 458 final int THREADS = 3; 460 final ThreadPoolExecutor p = new CustomExecutor(THREADS); 462 final CountDownLatch threadsStarted = new CountDownLatch(THREADS); 464 for (int i = 0; i < THREADS; i++) 469 assertEquals(THREADS, p.getLargestPoolSize()); 472 assertEquals(THREADS, p.getLargestPoolSize()); 474 assertEquals(THREADS, p.getLargestPoolSize()); 478 * getPoolSize increases, but doesn't overestimate, when threads [all...] |
ScheduledExecutorTest.java | 399 * multiple threads active 402 final int THREADS = 3; 403 final ThreadPoolExecutor p = new ScheduledThreadPoolExecutor(THREADS); 404 final CountDownLatch threadsStarted = new CountDownLatch(THREADS); 408 for (int i = 0; i < THREADS; i++) 413 assertEquals(THREADS, p.getLargestPoolSize()); 416 assertEquals(THREADS, p.getLargestPoolSize()); 418 assertEquals(THREADS, p.getLargestPoolSize()); 422 * getPoolSize increases, but doesn't overestimate, when threads 763 // Strategy: Wedge the pool with poolSize "blocker" threads [all...] |
ThreadPoolExecutorSubclassTest.java | 302 * prestartAllCoreThreads starts all corePoolSize threads 479 * multiple threads active 482 final int THREADS = 3; 485 new CustomTPE(THREADS, THREADS, 490 final CountDownLatch threadsStarted = new CountDownLatch(THREADS); 491 for (int i = 0; i < THREADS; i++) 496 assertEquals(THREADS, p.getLargestPoolSize()); 499 assertEquals(THREADS, p.getLargestPoolSize()); 501 assertEquals(THREADS, p.getLargestPoolSize()) [all...] |
ThreadPoolExecutorTest.java | 155 * prestartAllCoreThreads starts all corePoolSize threads 332 * multiple threads active 335 final int THREADS = 3; 338 new ThreadPoolExecutor(THREADS, THREADS, 343 final CountDownLatch threadsStarted = new CountDownLatch(THREADS); 344 for (int i = 0; i < THREADS; i++) 349 assertEquals(THREADS, p.getLargestPoolSize()); 352 assertEquals(THREADS, p.getLargestPoolSize()); 354 assertEquals(THREADS, p.getLargestPoolSize()) [all...] |
/prebuilts/jdk/jdk8/darwin-x86/lib/ |
jconsole.jar | |
/prebuilts/jdk/jdk8/linux-x86/lib/ |
jconsole.jar | |
/prebuilts/tools/common/m2/repository/com/amazonaws/aws-java-sdk-devicefarm/1.11.18/ |
aws-java-sdk-devicefarm-1.11.18.jar | |
/prebuilts/tools/common/m2/repository/itext/itext/2.0.8/ |
itext-2.0.8.jar | |