/external/honggfuzz/ |
honggfuzz.c | 186 pthread_t threads[hfuzz.threads.threadsMax]; local 189 fuzz_threadsStart(&hfuzz, threads); 202 if (ATOMIC_GET(hfuzz.threads.threadsFinished) >= hfuzz.threads.threadsMax) { 215 fuzz_threadsStop(&hfuzz, threads);
|
/external/libxcam/xcore/ |
thread_pool.cpp | 126 "ThreadPool(%s) set threads failed, need stop the pool first", XCAM_STR(get_name ())); 175 UserThreadList threads; local 182 threads = _thread_list; 186 for (UserThreadList::iterator i = threads.begin (); i != threads.end (); ++i) 196 for (UserThreadList::iterator i = threads.begin (); i != threads.end (); ++i)
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_exit/ |
stress.c | 20 * -> when the threads are joinable, pthread_join always retrieve the 22 * -> pthread_exit() frees all the resources used by the threads. 152 pthread_t threads[NSCENAR * SCALABILITY_FACTOR * FACTOR]; local 176 /* Create all the threads */ 179 /* Skip the alternative stack threads */ 184 pthread_create(&threads[i * NSCENAR + sc], 186 &threads[i * NSCENAR + sc]); 234 /* Join all the joinable threads and check the value */ 241 pthread_join(threads 250 (void *)&threads[i * NSCENAR [all...] |
/prebuilts/jdk/jdk8/darwin-x86/sample/dtrace/hotspot/ |
monitors.d | 87 threads[arg2] = self->thread_name; 128 threads[arg0], arg1, monitors[arg1]); 138 threads[arg0], arg1, monitors[arg1]);
|
/external/ImageMagick/MagickCore/ |
thread-private.h | 131 static inline void SetOpenMPMaximumThreads(const int threads) 134 omp_set_num_threads(threads); 136 (void) threads;
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/ |
ThreadGroupTest.java | 51 * debuggee threads by VirtualMachine.AllThreads command and looks for tested thread. 62 logWriter.println("get all threads"); 64 int threads = reply.getNextValueAsInt(); local 65 logWriter.println("exercise threads = " + threads); 71 for (int i = 0; i < threads; i++) {
|
/external/linux-kselftest/tools/testing/selftests/powerpc/dscr/ |
dscr_default_test.c | 5 * it's sysfs interface and then verifies that all threads 19 static unsigned long result[THREADS]; 65 pthread_t threads[THREADS]; local 66 unsigned long i, *status[THREADS]; 75 /* Spawn all testing threads */ 76 for (i = 0; i < THREADS; i++) { 77 if (pthread_create(&threads[i], NULL, do_test, (void *)i)) { 105 for (i = 0; i < THREADS; i++) { 106 if (pthread_join(threads[i], (void **)&(status[i]))) [all...] |
/external/ltp/testcases/kernel/fs/fs_fill/ |
fs_fill.c | 19 * Runs several threads that fills up the filesystem repeatedly. 78 pthread_t threads[nthreads]; local 83 SAFE_PTHREAD_CREATE(&threads[i], NULL, worker, &workers[i]); 97 SAFE_PTHREAD_JOIN(threads[i], NULL); 115 tst_res(TINFO, "Running %i writer threads", nthreads);
|
/external/stressapptest/src/ |
findmask.c | 129 pthread_t threads[NUM_THREADS]; local 134 pthread_create(&threads[i], 0, thread_func, (void*)i); 137 pthread_join(threads[i], 0);
|
/frameworks/native/services/surfaceflinger/tests/ |
Stress_test.cpp | 41 std::vector<std::thread> threads; local 43 threads.push_back(std::thread(do_stress)); 45 for (auto& thread : threads) {
|
/prebuilts/misc/windows/sdl2/test/ |
testlock.c | 27 static SDL_Thread *threads[6]; variable 61 SDL_WaitThread(threads[i], NULL); 84 /* If this sleep isn't done, then threads may starve */ 121 if ((threads[i] = SDL_CreateThread(Run, name, NULL)) == NULL)
|
testsem.c | 82 SDL_Thread *threads[NUM_THREADS]; local 105 SDL_Log("Running %d threads, semaphore value = %d\n", NUM_THREADS, 107 /* Create all the threads */ 111 threads[i] = SDL_CreateThread(ThreadFunc, name, (void *) i); 117 /* Wait for all threads to finish */ 118 SDL_Log("Waiting for threads to finish\n"); 121 SDL_WaitThread(threads[i], NULL); 123 SDL_Log("Finished waiting for threads\n");
|
/art/test/925-threadgroups/ |
threadgroups.cc | 35 // // Returns an array where element 0 is an array of threads and element 1 is an array of groups. 92 jthread* threads; local 98 &threads, 107 // Threads. 109 return threads[index]; 122 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(threads));
|
/cts/suite/audio_quality/test/ |
AudioPlaybackLocalTest.cpp | 19 #include <utils/threads.h>
|
AudioRecordingLocalTest.cpp | 19 #include <utils/threads.h>
|
/cts/tests/tests/content/src/android/content/cts/ |
ContextMoreTest.java | 36 * Call it repeatedly from multiple threads, and: 49 // Run the threads until this becomes true. 86 // Create and start the threads... 87 final Thread[] threads = new Thread[NUM_THREADS]; local 89 threads[i] = new Thread(tester); 92 threads[i].start(); 101 threads[i].join();
|
/external/google-breakpad/src/processor/ |
exploitability_linux.cc | 67 process_state_->threads()->at(process_state_->requesting_thread());
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_init/ |
stress.c | 21 * -> Create some threads 91 /******** Threads function *********/ 182 pthread_t threads[N * SCALABILITY_FACTOR]; local 196 ret = pthread_create(&threads[i], NULL, threaded, (void *)i); 199 /* Stop the started threads */ 205 pthread_join(threads[i - 1], NULL); 207 UNRESOLVED(ret, "Unable to create enough threads"); 210 /* Every threads were created; we now just wait */ 212 if ((ret = pthread_join(threads[i], NULL))) {
|
/frameworks/av/media/libmedia/include/media/ |
IMediaDeathNotifier.h | 20 #include <utils/threads.h>
|
/frameworks/av/media/libmediaextractor/include/media/stagefright/ |
MediaBufferGroup.h | 25 #include <utils/threads.h>
|
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
AAtomizer.h | 27 #include <utils/threads.h>
|
/frameworks/av/services/mediaresourcemanager/ |
ServiceLog.h | 23 #include <utils/threads.h>
|
/frameworks/base/libs/hwui/thread/ |
Signal.h | 22 #include <utils/threads.h>
|
/frameworks/native/libs/binder/include/binder/ |
BufferedTextOutput.h | 21 #include <utils/threads.h>
|
/frameworks/native/services/surfaceflinger/ |
Barrier.h | 22 #include <utils/threads.h> 32 // Release any threads waiting at the Barrier. 34 // to other threads before they wake up.
|