Searched defs:threads (Results 51 - 75 of 128) sorted by last modified time

123456

/external/guava/guava-tests/test/com/google/common/util/concurrent/
H A DJSR166TestCase.java43 * helping to make sure that assertions failing in generated threads
50 * <li> All assertions in code running in generated threads must use
74 * <li> All threads generated must be joined inside each test case
101 * the smallest sensible numbers of threads, collection sizes, etc
538 * Checks that the threads do not terminate within the default
541 void assertThreadsStayAlive(Thread... threads) { argument
542 assertThreadsStayAlive(timeoutMillis(), threads);
546 * Checks that the threads do not terminate within the given millisecond delay.
548 void assertThreadsStayAlive(long millis, Thread... threads) { argument
552 for (Thread thread : threads)
[all...]
/external/gtest/test/
H A Dgtest_stress_test.cc33 // used in a large number of threads concurrently.
61 // How many threads to create?
104 // RecordProperty() should interact safely with other threads as well.
125 // Tests using SCOPED_TRACE() and Google Test assertions in many threads
129 scoped_ptr<ThreadWithParam<int> > threads[kThreadCount]; local
132 threads[i].reset(new ThreadWithParam<int>(&ManyAsserts,
138 // Blocks until all the threads are done.
140 threads[i]->Join();
205 // This statement should succeed, because failures in all threads are
224 // This statement should succeed, because failures in all threads ar
[all...]
/external/fio/
H A Dgettime.c534 struct clock_thread *threads; local
548 threads = malloc(nr_cpus * sizeof(struct clock_thread));
555 struct clock_thread *t = &threads[i];
571 struct clock_thread *t = &threads[i];
577 struct clock_thread *t = &threads[i];
583 struct clock_thread *t = &threads[i];
590 free(threads);
593 log_err("Clocksource test: %lu threads failed\n", failed);
H A Dinit.c45 struct thread_data *threads = NULL; variable in typeref:struct:thread_data
243 if (threads) {
244 void *tp = threads;
246 threads = NULL;
255 if (threads) {
269 * threads/processes. So setup a shared memory segment that will hold
277 if (threads)
304 threads = shmat(shm_id, NULL, 0);
305 if (threads == (void *) -1) {
310 memset(threads,
[all...]
/external/eigen/Eigen/src/Core/products/
H A DGeneralMatrixMatrix.h81 Index threads = omp_get_num_threads(); local
105 // Then, we set info[tid].users to the number of threads to mark that all other threads are going to use it.
107 info[tid].users += threads;
111 // Notify the other threads that the part B'_j is ready to go.
115 for(Index shift=0; shift<threads; ++shift)
117 Index j = (tid+shift)%threads;
142 for(Index j=0; j<threads; ++j)
/external/eigen/demos/mandelbrot/
H A Dmandelbrot.h45 MandelbrotThread **threads; member in class:MandelbrotWidget
60 threads = new MandelbrotThread*[threadcount];
61 for(int th = 0; th < threadcount; th++) threads[th] = new MandelbrotThread(this, th);
66 for(int th = 0; th < threadcount; th++) delete threads[th];
67 delete[] threads;
/external/emma/lib/
H A Demma.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/vladium/ com/vladium/app/ com/vladium/app/IAppVersion ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.mortbay.jetty.server_6.1.23.v201004211559.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.mortbay.jetty.util_6.1.23.v201004211559.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.core.jobs_3.5.1.R36x_v20100824.jar ... .Deadlock extends java.lang.Object { private Thread[] threads private Thread candidate private org.eclipse.core. ...
H A Dorg.eclipse.debug.core_3.6.0.v20100519.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.osgi_3.6.1.R36x_v20100806.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.osgi_3.6.2.R36x_v20101103.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.jdt.debug_3.6.1.v20100715_r361/
H A Djdi.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Djdimodel.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.build_3.6.1.R36x_v20100823/lib/
H A Dpdebuild-ant.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/eclipse/ org/eclipse/pde/ org/eclipse/pde/internal/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.build_3.6.1.R36x_v20100823/
H A Dpdebuild.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/eclipse/ org/eclipse/pde/ org/eclipse/pde/build/ ...
/external/deqp/framework/delibs/decpp/
H A DdeBlockBuffer.cpp309 vector<Thread*> threads; local
314 threads.push_back(new Consumer(&buffer, rnd.getUint32()));
316 threads.push_back(new Producer(&buffer, rnd.getUint32()));
319 // Start threads.
320 for (vector<Thread*>::iterator i = threads.begin(); i != threads.end(); i++)
329 // Wait for threads to finish.
330 for (vector<Thread*>::iterator i = threads.begin(); i != threads.end(); i++)
336 // Delete threads
[all...]
/external/deqp/framework/delibs/dethread/
H A DdeThreadTest.c274 /* Mutex and threads. */
302 deThread threads[2]; local
314 for (ndx = 0; ndx < (int)DE_LENGTH_OF_ARRAY(threads); ndx++)
316 threads[ndx] = deThread_create(mutexTestThr2, &data, DE_NULL);
317 DE_TEST_ASSERT(threads[ndx]);
322 for (ndx = 0; ndx < (int)DE_LENGTH_OF_ARRAY(threads); ndx++)
324 deBool ret = deThread_join(threads[ndx]);
326 deThread_destroy(threads[ndx]);
555 deThreadArray* threads = tmpPool ? deThreadArray_create(tmpPool) : DE_NULL; local
564 DE_TEST_ASSERT(deThreadArray_pushBack(threads, threa
[all...]
/external/deqp/modules/egl/
H A DteglGLES2SharedRenderingPerfTests.cpp898 void createThreads (vector<TestThread*>& threads, int threadCount, int perThreadContextCount, vector<TestContext*>& contexts) argument
901 DE_ASSERT(threads.empty());
910 threads.push_back(new TestThread(threadContexts));
916 void destroyThreads (vector<TestThread*>& threads) argument
918 for (int threadNdx = 0; threadNdx < (int)threads.size(); threadNdx++)
920 delete threads[threadNdx];
921 threads[threadNdx] = NULL;
924 threads.clear();
927 void startThreads (vector<TestThread*>& threads) argument
929 for (int threadNdx = 0; threadNdx < (int)threads
933 joinThreads(vector<TestThread*>& threads) argument
939 threadResultsOk(const vector<TestThread*>& threads) argument
1050 vector<TestThread*> threads; local
1083 createTestName(int threads, int perThreadContextCount) argument
[all...]
/external/compiler-rt/lib/asan/tests/
H A Dasan_interface_test.cc122 pthread_t threads[kManyThreadsNumThreads]; local
125 PTHREAD_CREATE(&threads[i], 0,
129 PTHREAD_JOIN(threads[i], 0);
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_mutex_test.cc107 pthread_t threads[kThreads]; local
109 PTHREAD_CREATE(&threads[i], 0, lock_thread<SpinMutex>, &data);
111 PTHREAD_JOIN(threads[i], 0);
118 pthread_t threads[kThreads]; local
120 PTHREAD_CREATE(&threads[i], 0, try_thread<SpinMutex>, &data);
122 PTHREAD_JOIN(threads[i], 0);
129 pthread_t threads[kThreads]; local
131 PTHREAD_CREATE(&threads[i], 0, lock_thread<BlockingMutex>, &data);
133 PTHREAD_JOIN(threads[i], 0);
H A Dsanitizer_thread_registry_test.cc71 // Create a bunch of threads.
81 // Finish, create and start more threads.
108 // Detach and finish and join remaining threads.
204 pthread_t threads[kNumShards]; local
209 PTHREAD_CREATE(&threads[i], 0, RunThread, &args[i]);
212 PTHREAD_JOIN(threads[i], 0);
215 // of "threads" in thread_registry.
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_report.h111 Vector<ReportThread*> threads; member in class:__tsan::ReportDesc
/external/compiler-rt/lib/tsan/tests/rtl/
H A Dtsan_mutex.cc192 // Create reader threads.
193 pthread_t threads[kThreadCount]; local
195 pthread_create(&threads[t], 0, singleton_thread, &singleton);
197 pthread_join(threads[t], 0);

Completed in 1259 milliseconds

123456