HomeSort by relevance Sort by last modified time
    Searched defs:threads (Results 1 - 25 of 233) sorted by null

1 2 3 4 5 6 7 8 910

  /external/chromium_org/third_party/webrtc/test/channel_transport/
udp_socket_manager_unittest.cc 28 uint8_t threads = 1; local
29 UdpSocketManager* mgr = UdpSocketManager::Create(id, threads);
31 EXPECT_FALSE(mgr->Init(id, threads))
40 uint8_t threads = 1; local
41 UdpSocketManager* mgr = UdpSocketManager::Create(id, threads);
65 uint8_t threads = 1;
66 UdpSocketManager* mgr = UdpSocketManager::Create(id, threads);
udp_socket_wrapper_unittest.cc 54 uint8_t threads = 1; local
55 UdpSocketManager* mgr = UdpSocketManager::Create(id, threads);
  /external/linux-tools-perf/perf-3.12.0/tools/perf/tests/
open-syscall.c 11 struct thread_map *threads = thread_map__new(-1, getpid(), UINT_MAX); local
13 if (threads == NULL) {
24 if (perf_evsel__open_per_thread(evsel, threads) < 0) {
49 perf_evsel__close_fd(evsel, 1, threads->nr);
53 thread_map__delete(threads);
keep-tracking.c 63 struct thread_map *threads = NULL; local
70 threads = thread_map__new(-1, getpid(), UINT_MAX);
71 CHECK_NOT_NULL__(threads);
79 perf_evlist__set_maps(evlist, cpus, threads);
151 if (threads)
152 thread_map__delete(threads);
open-syscall-all-cpus.c 14 struct thread_map *threads = thread_map__new(-1, getpid(), UINT_MAX); local
16 if (threads == NULL) {
35 if (perf_evsel__open(evsel, cpus, threads) < 0) {
103 perf_evsel__close_fd(evsel, 1, threads->nr);
107 thread_map__delete(threads);
  /art/test/304-method-tracing/src/
Main.java 31 ArrayList<Thread> threads = new ArrayList<Thread>(); local
33 threads.add(new Thread(new ThreadRunnable(), "TestThread-" + i));
36 for (Thread t : threads) {
40 for (Thread t : threads) {
  /external/chromium_org/third_party/mesa/src/src/gallium/tests/unit/
pipe_barrier_test.c 32 * The test succeeds if no thread exits before all the other threads reach
45 static pipe_thread threads[NUM_THREADS]; variable
74 threads[i] = pipe_thread_create(thread_function, (void *) &thread_ids[i]);
78 pipe_thread_wait(threads[i]);
  /external/compiler-rt/lib/tsan/tests/rtl/
tsan_thread.cc 50 pthread_t threads[kAlive] = {}; local
52 if (threads[i % kAlive])
53 pthread_join(threads[i % kAlive], 0);
54 pthread_create(&threads[i % kAlive], 0, thread_alot_func, 0);
57 pthread_join(threads[i], 0);
  /external/mesa3d/src/gallium/tests/unit/
pipe_barrier_test.c 32 * The test succeeds if no thread exits before all the other threads reach
45 static pipe_thread threads[NUM_THREADS]; variable
74 threads[i] = pipe_thread_create(thread_function, (void *) &thread_ids[i]);
78 pipe_thread_wait(threads[i]);
  /external/valgrind/main/drd/tests/
concurrent_close.cpp 12 /* Happens with two threads also */
32 pthread_t threads[THREAD_COUNT]; local
37 r = pthread_create(&threads[i], &attr, thread, 0);
45 r = pthread_join(threads[i], 0);
  /external/valgrind/main/none/tests/
pth_once.c 4 * "Using POSIX Threads: Programming with Pthreads"
14 * A program spawns multiple threads and each one tries to
20 * exit of the threads using the pthread_join() operation.
57 pthread_t threads[NUM_THREADS]; local
65 if (( rtn = pthread_create(&threads[thread_num],
76 pthread_join(threads[thread_num], NULL);
  /system/extras/tests/bionic/libc/common/
test_pthread_once.c 65 pthread_t threads[N_THREADS]; local
69 if (pthread_create( &threads[nn], NULL, thread_function, (void*)(long int)nn) < 0) {
76 if (pthread_join(threads[nn], NULL)) {
  /external/chromium_org/third_party/libjingle/source/talk/xmllite/
xmlelement_unittest.cc 264 std::vector<rtc::Thread*> threads; local
266 threads.push_back(
268 threads[i]->Start();
272 threads[i]->Stop();
273 delete threads[i];
  /external/chromium_org/third_party/libvpx/source/libvpx/test/
decode_perf_test.cc 25 #define THREADS 1
30 DecodePerfTest takes a tuple of filename + number of threads to decode with
72 const unsigned threads = GET_PARAM(THREADS); local
78 cfg.threads = threads;
98 printf("\t\"threadCount\" : %u,\n", threads);
  /external/chromium_org/third_party/skia/tests/
AtomicTest.cpp 36 SkThread* threads[SK_ARRAY_COUNT(gAdds)]; local
40 // Start the threads
42 threads[i] = new SkThread(addABunchOfTimes, &gAdds[i]);
43 threads[i]->setProcessorAffinity(gAdds[i].processorAffinity);
44 threads[i]->start();
47 // Now end the threads
49 threads[i]->join();
50 delete threads[i];
TLSTest.cpp 34 SkThread* threads[8]; local
35 int N = SK_ARRAY_COUNT(threads);
39 threads[i] = new SkThread(proc);
43 threads[i]->start();
47 threads[i]->join();
51 delete threads[i];
  /external/chromium_org/third_party/webrtc/libjingle/xmllite/
xmlelement_unittest.cc 247 std::vector<rtc::Thread*> threads; local
249 threads.push_back(
251 threads[i]->Start();
255 threads[i]->Stop();
256 delete threads[i];
  /external/conscrypt/src/test/java/org/conscrypt/
FileClientSessionCacheTest.java 35 Thread[] threads = new Thread[10]; local
37 for (int i = 0; i < threads.length; i++) {
39 threads[i] = new Thread() {
48 for (Thread thread : threads) {
51 for (Thread thread : threads) {
  /external/libcxxabi/test/
test_exception_storage.cpp 44 pthread_t threads [ NUMTHREADS ]; variable
61 // Make the threads, let them run, and wait for them to finish
63 pthread_create( threads + i, NULL, thread_code, (void *) (thread_globals + i));
65 pthread_join ( threads [ i ], NULL );
  /external/libvpx/libvpx/test/
decode_perf_test.cc 25 #define THREADS 1
30 DecodePerfTest takes a tuple of filename + number of threads to decode with
70 const unsigned threads = GET_PARAM(THREADS); local
76 cfg.threads = threads;
95 printf("\t\"threadCount\" : %u,\n", threads);
  /external/linux-tools-perf/perf-3.12.0/tools/perf/util/
values.h 7 int threads; member in struct:perf_read_values
  /external/qemu/distrib/sdl-1.2.15/test/
testlock.c 15 static SDL_Thread *threads[6]; variable
43 SDL_KillThread(threads[i]);
64 /* If this sleep isn't done, then threads may starve */
95 if ( (threads[i]=SDL_CreateThread(Run, NULL)) == NULL )
testsem.c 60 SDL_Thread *threads[NUM_THREADS]; local
80 printf("Running %d threads, semaphore value = %d\n", NUM_THREADS, init_sem);
81 /* Create all the threads */
83 threads[i] = SDL_CreateThread(ThreadFunc, (void*)i);
89 /* Wait for all threads to finish */
90 printf("Waiting for threads to finish\n");
93 SDL_WaitThread(threads[i], NULL);
95 printf("Finished waiting for threads\n");
torturethread.c 61 SDL_Thread *threads[NUMTHREADS]; local
73 threads[i] = SDL_CreateThread(ThreadFunc, (void *)(uintptr_t)i);
75 if ( threads[i] == NULL ) {
87 SDL_WaitThread(threads[i], NULL);
  /external/skia/tests/
AtomicTest.cpp 36 SkThread* threads[SK_ARRAY_COUNT(gAdds)]; local
40 // Start the threads
42 threads[i] = new SkThread(addABunchOfTimes, &gAdds[i]);
43 threads[i]->setProcessorAffinity(gAdds[i].processorAffinity);
44 threads[i]->start();
47 // Now end the threads
49 threads[i]->join();
50 delete threads[i];

Completed in 691 milliseconds

1 2 3 4 5 6 7 8 910