Searched defs:tid (Results 1 - 25 of 266) sorted by relevance

1234567891011

/external/compiler-rt/test/tsan/
H A Dbench_acquire_only.cc11 void thread(int tid) { argument
H A Dbench_acquire_release.cc11 void thread(int tid) { argument
H A Dbench_rwmutex.cc11 void thread(int tid) { argument
H A Dbench_single_writer.cc11 void thread(int tid) { argument
12 if (tid == 0) {
H A Dbench_local_mutex.cc12 void thread(int tid) { argument
14 pthread_mutex_lock(&mtx[tid * kStride]);
15 pthread_mutex_unlock(&mtx[tid * kStride]);
H A Dbench_release_only.cc12 void thread(int tid) { argument
13 __atomic_load_n(&x[tid * kStride], __ATOMIC_ACQUIRE);
15 __atomic_store_n(&x[tid * kStride], 0, __ATOMIC_RELEASE);
H A Dbench_mutex.cc13 void thread(int tid) { argument
16 while (x != i * 2 + tid)
H A Dbench_ten_mutexes.cc12 void thread(int tid) { argument
15 if (tid == 0)
/external/valgrind/coregrind/m_coredump/
H A Dcoredump-macho.c38 void VG_(make_coredump)(ThreadId tid, const vki_siginfo_t *si, ULong max_size) argument
/external/strace/tests/
H A Dtimer_create.c43 int tid[4] = {}; local
51 if (syscall(__NR_timer_create, CLOCK_REALTIME, &sev, &tid[0]))
58 sev.sigev_signo, tid[0]);
62 if (syscall(__NR_timer_create, CLOCK_MONOTONIC, &sev, &tid[1]))
68 sev.sigev_value.sival_ptr, tid[1]);
75 if (syscall(__NR_timer_create, CLOCK_REALTIME, &sev, &tid[2]))
85 tid[2]);
101 if (syscall(__NR_timer_create, CLOCK_MONOTONIC, &sev, &tid[3]))
110 tid[3]);
H A Dtimer_xettime.c46 int tid; local
49 if (syscall(__NR_timer_create, CLOCK_MONOTONIC, &sev, &tid))
52 ", sigev_notify=SIGEV_NONE}, [%d]) = 0\n", tid);
67 if (syscall(__NR_timer_settime, tid, 0, &new.its, &old.its))
73 tid,
83 if (syscall(__NR_timer_gettime, tid, &old.its))
88 tid,
/external/elfutils/libebl/
H A Deblinitreg.c37 ebl_set_initial_registers_tid (Ebl *ebl, pid_t tid, argument
44 return ebl->set_initial_registers_tid (tid, setfunc, arg);
/external/valgrind/coregrind/m_sigframe/
H A Dsigframe-common.c47 static void track_frame_memory ( Addr addr, SizeT size, ThreadId tid )
49 VG_TRACK( new_mem_stack_signal, addr - VG_STACK_REDZONE_SZB, size, tid );
60 ThreadId tid = tst->tid; local
68 if (VG_(extend_stack)(tid, addr)) {
86 "thread %u:\n", addr, tid);
94 VG_(synth_fault_mapping)(tid, addr);
102 track_frame_memory(addr, size, tid);
116 track_frame_memory(addr, size, tst->tid);
/external/valgrind/drd/tests/
H A Dpth_barrier_race.c30 pthread_t tid; local
35 pthread_create(&tid, NULL, thread, NULL);
46 pthread_join(tid, NULL);
H A Dannotate_hb_race.c31 pthread_t tid[2]; local
35 pthread_create(&tid[0], 0, thread_func, &result[0]);
36 pthread_create(&tid[1], 0, thread_func, &result[1]);
42 pthread_join(tid[0], NULL);
43 pthread_join(tid[1], NULL);
H A Dannotate_static.cpp38 pthread_t tid; local
40 pthread_create(&tid, 0, thread_func, NULL);
43 pthread_join(tid, NULL);
H A Dpth_cancel_locked.c27 pthread_t tid; local
36 pthread_create(&tid, 0, &thread, 0);
43 pthread_cancel(tid);
46 pthread_join(tid, 0);
49 pthread_cancel(tid);
/external/compiler-rt/test/lsan/TestCases/
H A Dfork_threaded.cc20 pthread_t tid; local
22 res = pthread_create(&tid, 0, exit_thread_func, 0);
24 pthread_join(tid, 0);
H A Dhigh_allocator_contention.cc13 pthread_t tid[kMaxNumThreads]; variable
41 pthread_create(&tid[i], 0, thread_fun, 0);
46 for (int i = 0; i < num_threads; i++) pthread_join(tid[i], 0);
/external/opencv3/modules/cudev/include/opencv2/cudev/block/
H A Dscan.hpp58 __device__ T blockScanInclusive(T data, volatile T* smem, uint tid) argument
63 T warpResult = warpScanInclusive(data, smem, tid);
69 if ((tid & (WARP_SIZE - 1)) == (WARP_SIZE - 1))
71 smem[tid >> LOG_WARP_SIZE] = warpResult;
76 if (tid < (THREADS_NUM / WARP_SIZE))
79 T val = smem[tid];
82 smem[tid] = warpScanExclusive(val, smem, tid);
88 return warpResult + smem[tid >> LOG_WARP_SIZE];
92 return warpScanInclusive(data, smem, tid);
97 blockScanExclusive(T data, volatile T* smem, uint tid) argument
[all...]
/external/opencv3/modules/cudev/include/opencv2/cudev/warp/
H A Dscan.hpp59 __device__ T warpScanInclusive(T data, volatile T* smem, uint tid) argument
63 (void) tid;
78 uint pos = 2 * tid - (tid & (WARP_SIZE - 1));
95 __device__ __forceinline__ T warpScanExclusive(T data, volatile T* smem, uint tid) argument
97 return warpScanInclusive(data, smem, tid) - data;
/external/valgrind/helgrind/tests/
H A Dfree_is_write.c21 pthread_t tid; local
32 pthread_create(&tid, NULL, thread_func, NULL);
39 pthread_join(tid, NULL);
/external/valgrind/none/tests/
H A Dpth_cancel1.c40 pthread_t tid; local
43 if (pthread_create(&tid, NULL, thread_main, NULL) != 0)
51 if (pthread_cancel(tid) != 0)
57 if (pthread_join(tid, &result) != 0)
/external/compiler-rt/lib/lsan/
H A Dlsan.cc80 u32 tid = ThreadCreate(0, 0, true); local
81 CHECK_EQ(tid, 0);
82 ThreadStart(tid, GetTid());
83 SetCurrentThread(tid);
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_posix_test.cc45 pthread_t tid; local
46 ASSERT_EQ(0, pthread_create(&tid, 0, &thread_func,
49 ASSERT_EQ(0, pthread_join(tid, &retval));

Completed in 606 milliseconds

1234567891011