/external/v8/test/cctest/ |
test-lockers.cc | 196 static void StartJoinAndDeleteThreads(const i::List<JoinableThread*>& threads) { 197 for (int i = 0; i < threads.length(); i++) { 198 threads[i]->Start(); 200 for (int i = 0; i < threads.length(); i++) { 201 threads[i]->Join(); 203 for (int i = 0; i < threads.length(); i++) { 204 delete threads[i]; 209 // Run many threads all locking on the same isolate 217 i::List<JoinableThread*> threads(kNThreads); 222 threads.Add(new IsolateLockingThreadWithLocalContext(isolate)) [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
LockSettingsStorageTests.java | 125 List<Thread> threads = new ArrayList<>(); local 128 threads.add(new Thread() { 150 threads.get(i).start(); 156 for (int i = 0; i < threads.size(); i++) { 158 threads.get(i).join(); 169 List<Thread> threads = new ArrayList<>(); local 172 threads.add(new Thread() { 187 threads.get(i).start(); 190 for (int i = 0; i < threads.size(); i++) { 192 threads.get(i).join() [all...] |
/external/opencv3/modules/core/src/ |
parallel.cpp | 375 void cv::setNumThreads( int threads ) 377 (void)threads; 379 numThreads = threads; 385 if(threads > 0) tbbScheduler.initialize(threads); 394 return; // can't change number of openmp threads inside a parallel region 396 omp_set_num_threads(threads > 0 ? threads : numThreadsMax); 409 if (threads <= 0) 413 else if (threads == 1 [all...] |
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/ |
DateFormatPerformanceTest.java | 42 icuDateFormat = new com.ibm.icu.text.SimpleDateFormat[threads]; 43 jdkDateFormat = new java.text.SimpleDateFormat[threads]; 44 for (int i = 0; i < threads; i++) {
|
DecimalFormatPerformanceTest.java | 41 icuDecimalFormat = new com.ibm.icu.text.DecimalFormat[threads]; 42 javaDecimalFormat = new java.text.DecimalFormat[threads]; 43 for (int i = 0; i < threads; i++) {
|
/system/extras/verity/fec/ |
image.cpp | 540 int threads = ctx->threads; local 542 if (threads < IMAGE_MIN_THREADS) { 543 threads = sysconf(_SC_NPROCESSORS_ONLN); 545 if (threads < IMAGE_MIN_THREADS) { 546 threads = IMAGE_MIN_THREADS; 552 if ((uint64_t)threads > ctx->rounds) { 553 threads = (int)ctx->rounds; 555 if (threads > IMAGE_MAX_THREADS) { 556 threads = IMAGE_MAX_THREADS [all...] |
/external/icu/icu4c/source/test/intltest/ |
tsmthred.cpp | 144 // TestThreads -- see if threads really work at all. 146 // Set up N threads pointing at N chars. When they are started, they will 167 SimpleThread *threads[THREADTEST_NRTHREADS]; local 174 threads[i] = new TestThreadsThread(&threadTestChars[i]); 178 logln("->" + UnicodeString(threadTestChars) + "<- Firing off threads.. "); 181 if (threads[i]->start() != 0) { 191 errln("Not all threads could be started for testing!"); 195 logln("Waiting for threads to be set.."); 197 threads[i]->join(); 201 delete threads[i] 274 TestArabicShapeThreads threads[30]; local 354 TestMutexThread threads[TESTMUTEX_THREAD_COUNT]; local 1216 TxThread threads[4]; local 1289 CondThread *threads[NUMTHREADS]; local 1472 UnifiedCacheThread *threads[CACHE_LOAD][UPRV_LENGTHOF(gCacheLocales)]; local 1559 BreakTranslitThread threads[4]; local [all...] |
/cts/suite/audio_quality/lib/include/audio/ |
AudioLocal.h | 22 #include <utils/threads.h>
|
/development/ndk/platforms/android-9/arch-x86/include/asm/ |
pgalloc_32.h | 21 #include <linux/threads.h>
|
/device/google/dragon/power/ |
timed_qos_manager.h | 11 #include <utils/threads.h>
|
/external/dbus/dbus/ |
dbus.h | 43 #include <dbus/dbus-threads.h>
|
/external/deqp/framework/delibs/decpp/ |
deAppendList.cpp | 100 vector<TestThreadSp> threads (numThreads); 104 threads[threadNdx] = TestThreadSp(new TestThread(&sharedState, threadNdx)); 105 threads[threadNdx]->start(); 109 threads[threadNdx]->join();
|
/external/mesa3d/docs/ |
MESA_multithread_makecurrent.spec | 40 using the same context across multiple threads and protecting its 72 current to multiple threads, with synchronization of access to 107 threads, then binds a different context/thread in one of them? 114 threads, then binds None/None in one of them? 117 threads retain their GLX context binding. 119 (3) What happens if the app binds a context/drawable in 7 threads, 123 but the context remains usable by threads that have the context 134 from multiple threads? 140 context between multiple threads is left to the application to do
|
/external/opencv3/modules/cudaimgproc/src/cuda/ |
mean_shift.cu | 134 dim3 threads(32, 8, 1); 135 grid.x = divUp(src.cols, threads.x); 136 grid.y = divUp(src.rows, threads.y); 141 meanshift_kernel<<< grid, threads, 0, stream >>>( dst.data, dst.step, dst.cols, dst.rows, sp, sr, maxIter, eps ); 166 dim3 threads(32, 8, 1); 167 grid.x = divUp(src.cols, threads.x); 168 grid.y = divUp(src.rows, threads.y); 173 meanshiftproc_kernel<<< grid, threads, 0, stream >>>( dstr.data, dstr.step, dstsp.data, dstsp.step, dstr.cols, dstr.rows, sp, sr, maxIter, eps );
|
/external/opencv3/modules/cudastereo/src/cuda/ |
util.cu | 207 dim3 threads(16, 16, 1); 209 grid.x = divUp(src.cols, threads.x << 2); 210 grid.y = divUp(src.rows, threads.y); 212 drawColorDisp<<<grid, threads, 0, stream>>>(src.data, src.step, dst.data, dst.step, src.cols, src.rows, ndisp); 221 dim3 threads(32, 8, 1); 223 grid.x = divUp(src.cols, threads.x << 1); 224 grid.y = divUp(src.rows, threads.y); 226 drawColorDisp<<<grid, threads, 0, stream>>>(src.data, src.step / sizeof(short), dst.data, dst.step, src.cols, src.rows, ndisp);
|
/external/valgrind/helgrind/tests/ |
bar_bad.stderr.exp | 29 initialise a barrier which has threads waiting on it 38 Thread #x: pthread_barrier_init: threads are waiting at barrier 43 destroy a barrier that has waiting threads 46 Thread #x: pthread_barrier_destroy: threads are waiting at barrier
|
/frameworks/av/include/common_time/ |
cc_helper.h | 22 #include <utils/threads.h>
|
/frameworks/av/include/media/stagefright/ |
AACWriter.h | 22 #include <utils/threads.h>
|
AMRWriter.h | 25 #include <utils/threads.h>
|
MediaAdapter.h | 24 #include <utils/threads.h>
|
MediaBufferGroup.h | 23 #include <utils/threads.h>
|
/frameworks/av/media/libstagefright/httplive/ |
LiveDataSource.h | 23 #include <utils/threads.h>
|
/frameworks/av/media/libstagefright/omx/ |
OMXMaster.h | 23 #include <utils/threads.h>
|
/frameworks/base/libs/common_time/ |
common_clock.h | 24 #include <utils/threads.h>
|
diag_thread.h | 21 #include <utils/threads.h>
|