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

1 2 3 4 5 6 7 8 91011>>

  /system/extras/memory_replay/tests/
ThreadsTest.cpp 22 #include "Threads.h"
27 Threads threads(&pointers, 1);
28 Thread* thread = threads.CreateThread(900);
30 ASSERT_EQ(1U, threads.num_threads());
32 Thread* found_thread = threads.FindThread(900);
39 threads.Finish(thread);
41 ASSERT_EQ(0U, threads.num_threads());
47 Threads threads(&pointers, 1)
    [all...]
  /external/valgrind/drd/tests/
linuxthreads_det.stdout.exp 1 NPTL or non-Linux POSIX threads implementation detected.
  /external/libcxx/test/std/atomics/
libcpp-has-no-threads.pass.cpp 9 // XFAIL: libcpp-has-no-threads
13 'libcpp-has-no-threads' is available iff _LIBCPP_HAS_NO_THREADS is defined
  /external/v8/test/unittests/base/platform/
condition-variable-unittest.cc 61 ThreadWithMutexAndConditionVariable threads[kThreadCount]; local
64 LockGuard<Mutex> lock_guard(&threads[n].mutex_);
65 EXPECT_FALSE(threads[n].running_);
66 EXPECT_FALSE(threads[n].finished_);
67 threads[n].Start();
69 while (!threads[n].running_) {
70 threads[n].cv_.Wait(&threads[n].mutex_);
75 LockGuard<Mutex> lock_guard(&threads[n].mutex_);
76 EXPECT_TRUE(threads[n].running_)
141 ThreadWithSharedMutexAndConditionVariable threads[kThreadCount]; local
276 Thread** threads = new Thread* [thread_count]; local
    [all...]
  /external/webrtc/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);
  /hardware/ti/omap4-aah/libtiutils/
DebugUtils.cpp 61 const int newSize = (mData.get() ? mData->threads.size() : 0) + size;
64 newData->threads.setCapacity(newSize);
68 newData->threads.insertVectorAt(mData->threads, 0);
72 newData->threads.add(new ThreadInfo);
81 const int size = data->threads.size();
84 ThreadInfo * const threadInfo = data->threads.itemAt(i);
  /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) {
  /development/ndk/platforms/android-9/arch-mips/include/asm/
hardirq.h 21 #include <linux/threads.h>
  /external/valgrind/coregrind/
m_threadstate.c 47 ThreadState *VG_(threads);
58 VG_(threads) = VG_(arena_memalign) (VG_AR_CORE, "init_Threads",
60 VG_N_THREADS * sizeof VG_(threads)[0]);
64 ANNOTATE_BENIGN_RACE_SIZED(&VG_(threads)[tid].status,
65 sizeof(VG_(threads)[tid].status), ""));
67 ANNOTATE_BENIGN_RACE_SIZED(&VG_(threads)[tid].os_state.exitcode,
68 sizeof(VG_(threads)[tid].os_state.exitcode),
100 vg_assert(VG_(threads)[tid].tid == tid);
101 return &VG_(threads)[tid];
109 if (VG_(threads)[tid].status == VgTs_Empty) return False
    [all...]
  /prebuilts/ndk/current/platforms/android-12/arch-mips/usr/include/asm/
hardirq.h 21 #include <linux/threads.h>
  /prebuilts/ndk/current/platforms/android-13/arch-mips/usr/include/asm/
hardirq.h 21 #include <linux/threads.h>
  /prebuilts/ndk/current/platforms/android-14/arch-mips/usr/include/asm/
hardirq.h 21 #include <linux/threads.h>
  /prebuilts/ndk/current/platforms/android-15/arch-mips/usr/include/asm/
hardirq.h 21 #include <linux/threads.h>
  /prebuilts/ndk/current/platforms/android-16/arch-mips/usr/include/asm/
hardirq.h 21 #include <linux/threads.h>
  /prebuilts/ndk/current/platforms/android-17/arch-mips/usr/include/asm/
hardirq.h 21 #include <linux/threads.h>
  /prebuilts/ndk/current/platforms/android-18/arch-mips/usr/include/asm/
hardirq.h 21 #include <linux/threads.h>
  /prebuilts/ndk/current/platforms/android-19/arch-mips/usr/include/asm/
hardirq.h 21 #include <linux/threads.h>
  /prebuilts/ndk/current/platforms/android-9/arch-mips/usr/include/asm/
hardirq.h 21 #include <linux/threads.h>
  /system/core/libbacktrace/
thread_utils.h 23 #include <cutils/threads.h>
  /external/autotest/client/tests/stress/
stress.py 33 threads = 2 * utils.count_cpus()
39 memory_per_thread = (mb * 1024) / threads
46 if (0.9 * free_disk) < file_size_per_thread * threads:
47 file_size_per_thread = (0.9 * free_disk) / threads
50 args = '--cpu %d ' % threads
52 args += '--io %d ' % threads
54 args += '--vm %d ' % threads
58 args += '--hdd %d ' % threads
  /external/jetty/src/java/org/eclipse/jetty/util/thread/
ThreadPool.java 41 * @return The total number of threads currently in the pool
47 * @return The number of idle threads in the pool
53 * @return True if the pool is low on threads
64 public void setMinThreads(int threads);
65 public void setMaxThreads(int threads);
  /art/test/129-ThreadGetId/src/
Main.java 24 final Thread[] threads = new Thread[numberOfThreads]; local
25 for (int t = 0; t < threads.length; t++) {
26 threads[t] = new Thread(new Main());
27 threads[t].start();
29 for (Thread t : threads) {
39 // Check all the current threads for positive IDs.
  /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);
  /libcore/luni/src/test/java/libcore/java/nio/charset/
CharsetTest.java 54 CheckerThread[] threads = new CheckerThread[10]; local
56 threads[i] = new CheckerThread((i % 2 == 0) ? "UTF-8" : "ISO-8859-1");
59 for (CheckerThread ct : threads) {
63 for (CheckerThread ct : threads) {
67 for (CheckerThread ct : threads) {
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
ThreadTest.java 25 private ArrayList<Worker> threads = new ArrayList<Worker>(); field in class:ThreadTest
36 threads.add(thread);
40 for (Worker thread: threads) {
47 errln("Threads gave differing results.");
77 ArrayList<Thread> threads = new ArrayList<Thread>(); local
79 threads.add(new Thread() {
85 for (Thread th:threads) {
88 for (Thread th:threads) {

Completed in 1499 milliseconds

1 2 3 4 5 6 7 8 91011>>