HomeSort by relevance Sort by last modified time
    Searched refs:threads (Results 301 - 325 of 1579) sorted by null

<<11121314151617181920>>

  /external/autotest/client/common_lib/
decorators_unittest.py 37 threads = [threading.Thread(target=thread_body,
40 for thread in threads:
42 for thread in threads:
  /external/chromium-trace/catapult/telemetry/telemetry/timeline/
tab_id_importer_unittest.py 70 self.assertEqual(2, len(p.threads))
71 self.assertIs(p.threads[1], m.GetRendererThreadFromTabId('tab-id-1'))
72 self.assertIs(p.threads[2], m.GetRendererThreadFromTabId('tab-id-2'))
inspector_importer_unittest.py 141 threads = process.threads
142 self.assertEquals(2, len(threads))
143 renderer_thread = threads[0]
147 second_thread = threads['2']
  /external/deqp/framework/delibs/decpp/
deSpinBarrier.cpp 51 // If last threads were removed, m_numEntered > 0 && m_numRemoved > 0
83 // m_numEntered must not be touched until all threads have had
98 // threads. Since m_numThreads only changes if all threads are inside the spinbarrier,
100 // all threads.
103 // Release all waiting threads. Since this thread has not been removed, m_numLeaving will
132 // Wait for other threads exiting previous barrier
150 // Release all waiting threads.
238 std::vector<TestThread*> threads (numThreads, static_cast<TestThread*>(DE_NULL));
242 threads[ndx] = new TestThread(barrier, &sharedVar, numThreads, ndx)
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
UCharacterThreadTest.java 43 List threads = new LinkedList(); local
49 threads.add(thread);
51 ListIterator i = threads.listIterator();
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
UCharacterThreadTest.java 42 List threads = new LinkedList(); local
48 threads.add(thread);
50 ListIterator i = threads.listIterator();
  /external/libcxxabi/test/
test_exception_storage.pass.cpp 42 std::__libcpp_thread_t threads [ NUMTHREADS ]; variable
49 // Make the threads, let them run, and wait for them to finish
51 std::__libcpp_thread_create ( threads + i, thread_code, (void *) (thread_globals + i));
53 std::__libcpp_thread_join ( &threads [ i ] );
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_lock/
1-1.c 16 * -- Create N threads. Each is looped M times to acquire the mutex,
42 pthread_t threads[THREAD_NUM]; local
48 /* Create threads */
49 fprintf(stderr, "Creating %d threads\n", THREAD_NUM);
51 rc = pthread_create(&threads[i], &pta, f1, NULL);
53 /* Wait to join all threads */
55 pthread_join(threads[i], NULL);
61 fprintf(stderr, "Using %d threads and each loops %d times\n",
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_unlock/
2-1.c 9 * If there are threads blocked on the mutex object referenced by 'mutex' when
19 * -- Create N threads. Each is looped M times to acquire the mutex,
44 pthread_t threads[THREAD_NUM]; local
46 /* Create threads */
47 fprintf(stderr, "Creating %d threads\n", THREAD_NUM);
49 rc = pthread_create(&threads[i], NULL, func, NULL);
51 /* Wait to join all threads */
53 pthread_join(threads[i], NULL);
58 fprintf(stderr, "Using %d threads and each loops %d times\n",
  /external/testng/src/main/java/org/testng/internal/thread/
ExecutorAdapter.java 54 List<Thread> threads = m_threadFactory.getThreads(); local
55 int threadCount = threads.size();
58 result[i] = threads.get(i).getStackTrace();
  /external/valgrind/helgrind/tests/
tc21_pthonce.c 15 * "Using POSIX Threads: Programming with Pthreads"
25 * A program spawns multiple threads and each one tries to
31 * exit of the threads using the pthread_join() operation.
43 /* With more than 2 threads, the precise error reports vary between
45 simple and just have 2 threads and so just 1 race. */
53 /* This is a hack: delay threads except the first enough so as to
54 ensure threads[0] gets to the pthread_once call first. This is so
80 pthread_t threads[NUM_THREADS]; local
87 r= pthread_create(&threads[i], NULL, child, &id_arg[i]);
92 pthread_join(threads[i], NULL)
    [all...]
  /external/webrtc/webrtc/base/
criticalsection_unittest.cc 79 // Signal all threads to start.
82 // Wait for all threads to finish.
99 // Returns true if all threads have finished.
199 void StartThreads(ScopedPtrCollection<Thread>* threads,
205 threads->PushBack(thread);
246 // Create and start lots of threads.
248 ScopedPtrCollection<Thread> threads; local
249 StartThreads(&threads, &runner);
258 // Create and start lots of threads.
261 ScopedPtrCollection<Thread> threads; local
273 ScopedPtrCollection<Thread> threads; local
285 ScopedPtrCollection<Thread> threads; local
297 ScopedPtrCollection<Thread> threads; local
    [all...]
  /libcore/luni/src/test/java/tests/support/
ThreadPool.java 79 Thread[] threads = new Thread[activeCount()]; local
80 int count = enumerate(threads);
83 threads[i].join();
  /prebuilts/gdb/darwin-x86/lib/python2.7/bsddb/test/
test_lock.py 56 threads = []
57 threads.append(Thread(target = self.theThread,
59 threads.append(Thread(target = self.theThread,
61 threads.append(Thread(target = self.theThread,
63 threads.append(Thread(target = self.theThread,
65 threads.append(Thread(target = self.theThread,
67 threads.append(Thread(target = self.theThread,
69 threads.append(Thread(target = self.theThread,
71 threads.append(Thread(target = self.theThread,
73 threads.append(Thread(target = self.theThread
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_dummy_threading.py 44 self.threads = []
49 self.threads.append(t)
54 for t in self.threads:
test_threadedtempfile.py 3 in each of NUM_THREADS threads, recording the number of successes and
49 threads = []
54 threads.append(t)
61 for t in threads:
  /prebuilts/gdb/linux-x86/lib/python2.7/bsddb/test/
test_lock.py 56 threads = []
57 threads.append(Thread(target = self.theThread,
59 threads.append(Thread(target = self.theThread,
61 threads.append(Thread(target = self.theThread,
63 threads.append(Thread(target = self.theThread,
65 threads.append(Thread(target = self.theThread,
67 threads.append(Thread(target = self.theThread,
69 threads.append(Thread(target = self.theThread,
71 threads.append(Thread(target = self.theThread,
73 threads.append(Thread(target = self.theThread
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_dummy_threading.py 44 self.threads = []
49 self.threads.append(t)
54 for t in self.threads:
test_threadedtempfile.py 3 in each of NUM_THREADS threads, recording the number of successes and
49 threads = []
54 threads.append(t)
61 for t in threads:
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/test/
test_lock.py 56 threads = []
57 threads.append(Thread(target = self.theThread,
59 threads.append(Thread(target = self.theThread,
61 threads.append(Thread(target = self.theThread,
63 threads.append(Thread(target = self.theThread,
65 threads.append(Thread(target = self.theThread,
67 threads.append(Thread(target = self.theThread,
69 threads.append(Thread(target = self.theThread,
71 threads.append(Thread(target = self.theThread,
73 threads.append(Thread(target = self.theThread
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_dummy_threading.py 44 self.threads = []
49 self.threads.append(t)
54 for t in self.threads:
test_threadedtempfile.py 3 in each of NUM_THREADS threads, recording the number of successes and
49 threads = []
54 threads.append(t)
61 for t in threads:
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/test/
test_lock.py 56 threads = []
57 threads.append(Thread(target = self.theThread,
59 threads.append(Thread(target = self.theThread,
61 threads.append(Thread(target = self.theThread,
63 threads.append(Thread(target = self.theThread,
65 threads.append(Thread(target = self.theThread,
67 threads.append(Thread(target = self.theThread,
69 threads.append(Thread(target = self.theThread,
71 threads.append(Thread(target = self.theThread,
73 threads.append(Thread(target = self.theThread
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_dummy_threading.py 44 self.threads = []
49 self.threads.append(t)
54 for t in self.threads:
test_threadedtempfile.py 3 in each of NUM_THREADS threads, recording the number of successes and
49 threads = []
54 threads.append(t)
61 for t in threads:

Completed in 1851 milliseconds

<<11121314151617181920>>