/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
thread_map.c | 24 struct thread_map *threads; local 35 threads = malloc(sizeof(*threads) + sizeof(pid_t) * items); 36 if (threads != NULL) { 38 threads->map[i] = atoi(namelist[i]->d_name); 39 threads->nr = items; 46 return threads; 51 struct thread_map *threads = malloc(sizeof(*threads) + sizeof(pid_t)); local 53 if (threads != NULL) 67 struct thread_map *threads = malloc(sizeof(*threads) + local 159 struct thread_map *threads = NULL, *nt; local 220 struct thread_map *threads = NULL, *nt; local [all...] |
thread_map.h | 20 void thread_map__delete(struct thread_map *threads); 22 size_t thread_map__fprintf(struct thread_map *threads, FILE *fp); 24 static inline int thread_map__nr(struct thread_map *threads) 26 return threads ? threads->nr : 1;
|
/external/valgrind/main/drd/tests/ |
linuxthreads_det.stdout.exp | 1 NPTL or non-Linux POSIX threads implementation detected.
|
/external/chromium_org/v8/test/cctest/ |
test-condition-variable.cc | 80 ThreadWithMutexAndConditionVariable threads[kThreadCount]; local 83 LockGuard<Mutex> lock_guard(&threads[n].mutex_); 84 CHECK(!threads[n].running_); 85 CHECK(!threads[n].finished_); 86 threads[n].Start(); 88 while (!threads[n].running_) { 89 threads[n].cv_.Wait(&threads[n].mutex_); 94 LockGuard<Mutex> lock_guard(&threads[n].mutex_); 95 CHECK(threads[n].running_) 154 ThreadWithSharedMutexAndConditionVariable threads[kThreadCount]; local 284 Thread** threads = new Thread*[thread_count]; local [all...] |
/external/chromium_org/third_party/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>
|
/prebuilts/ndk/8/platforms/android-14/arch-mips/usr/include/asm/ |
hardirq.h | 21 #include <linux/threads.h>
|
/prebuilts/ndk/8/platforms/android-9/arch-mips/usr/include/asm/ |
hardirq.h | 21 #include <linux/threads.h>
|
/prebuilts/ndk/9/platforms/android-12/arch-mips/usr/include/asm/ |
hardirq.h | 21 #include <linux/threads.h>
|
/prebuilts/ndk/9/platforms/android-13/arch-mips/usr/include/asm/ |
hardirq.h | 21 #include <linux/threads.h>
|
/prebuilts/ndk/9/platforms/android-14/arch-mips/usr/include/asm/ |
hardirq.h | 21 #include <linux/threads.h>
|
/prebuilts/ndk/9/platforms/android-15/arch-mips/usr/include/asm/ |
hardirq.h | 21 #include <linux/threads.h>
|
/prebuilts/ndk/9/platforms/android-16/arch-mips/usr/include/asm/ |
hardirq.h | 21 #include <linux/threads.h>
|
/prebuilts/ndk/9/platforms/android-17/arch-mips/usr/include/asm/ |
hardirq.h | 21 #include <linux/threads.h>
|
/prebuilts/ndk/9/platforms/android-18/arch-mips/usr/include/asm/ |
hardirq.h | 21 #include <linux/threads.h>
|
/prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/asm/ |
hardirq.h | 21 #include <linux/threads.h>
|
/prebuilts/ndk/9/platforms/android-9/arch-mips/usr/include/asm/ |
hardirq.h | 21 #include <linux/threads.h>
|
/external/chromium_org/third_party/binutils/ |
build-one.sh | 17 ./configure --enable-gold=default --enable-threads --prefix=/build/output
|
/external/libcxx/test/thread/thread.threads/ |
Android.mk | 17 test_makefile := external/libcxx/test/thread/thread.threads/Android.mk 19 test_name := thread/thread.threads/version
|
/external/valgrind/main/coregrind/ |
m_threadstate.c | 47 ThreadState VG_(threads)[VG_N_THREADS] __attribute__((aligned(16))); 59 ANNOTATE_BENIGN_RACE_SIZED(&VG_(threads)[tid].status, 60 sizeof(VG_(threads)[tid].status), "")); 62 ANNOTATE_BENIGN_RACE_SIZED(&VG_(threads)[tid].os_state.exitcode, 63 sizeof(VG_(threads)[tid].os_state.exitcode), 95 vg_assert(VG_(threads)[tid].tid == tid); 96 return &VG_(threads)[tid]; 104 if (VG_(threads)[tid].status == VgTs_Empty) return False; 128 return VG_(threads)[tid].exitreason != VgSrc_None; 131 /* Return the number of non-dead Threads */ [all...] |
/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);
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/ |
open-syscall.c | 11 struct thread_map *threads = thread_map__new(-1, getpid(), UINT_MAX); local 13 if (threads == NULL) { 24 if (perf_evsel__open_per_thread(evsel, threads) < 0) { 49 perf_evsel__close_fd(evsel, 1, threads->nr); 53 thread_map__delete(threads);
|
/external/chromium_org/third_party/mesa/src/src/gallium/tests/unit/ |
pipe_barrier_test.c | 32 * The test succeeds if no thread exits before all the other threads reach 45 static pipe_thread threads[NUM_THREADS]; variable 74 threads[i] = pipe_thread_create(thread_function, (void *) &thread_ids[i]); 78 pipe_thread_wait(threads[i]);
|