/external/compiler-rt/test/tsan/ |
H A D | bench_acquire_only.cc | 11 void thread(int tid) { argument
|
H A D | bench_acquire_release.cc | 11 void thread(int tid) { argument
|
H A D | bench_rwmutex.cc | 11 void thread(int tid) { argument
|
H A D | bench_single_writer.cc | 11 void thread(int tid) { argument 12 if (tid == 0) {
|
H A D | bench_local_mutex.cc | 12 void thread(int tid) { argument 14 pthread_mutex_lock(&mtx[tid * kStride]); 15 pthread_mutex_unlock(&mtx[tid * kStride]);
|
H A D | bench_release_only.cc | 12 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 D | bench_mutex.cc | 13 void thread(int tid) { argument 16 while (x != i * 2 + tid)
|
H A D | bench_ten_mutexes.cc | 12 void thread(int tid) { argument 15 if (tid == 0)
|
/external/valgrind/coregrind/m_coredump/ |
H A D | coredump-macho.c | 38 void VG_(make_coredump)(ThreadId tid, const vki_siginfo_t *si, ULong max_size) argument
|
/external/strace/tests/ |
H A D | timer_create.c | 43 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 D | timer_xettime.c | 46 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 D | eblinitreg.c | 37 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 D | sigframe-common.c | 47 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 D | pth_barrier_race.c | 30 pthread_t tid; local 35 pthread_create(&tid, NULL, thread, NULL); 46 pthread_join(tid, NULL);
|
H A D | annotate_hb_race.c | 31 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 D | annotate_static.cpp | 38 pthread_t tid; local 40 pthread_create(&tid, 0, thread_func, NULL); 43 pthread_join(tid, NULL);
|
H A D | pth_cancel_locked.c | 27 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 D | fork_threaded.cc | 20 pthread_t tid; local 22 res = pthread_create(&tid, 0, exit_thread_func, 0); 24 pthread_join(tid, 0);
|
H A D | high_allocator_contention.cc | 13 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 D | scan.hpp | 58 __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 D | scan.hpp | 59 __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 D | free_is_write.c | 21 pthread_t tid; local 32 pthread_create(&tid, NULL, thread_func, NULL); 39 pthread_join(tid, NULL);
|
/external/valgrind/none/tests/ |
H A D | pth_cancel1.c | 40 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 D | lsan.cc | 80 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 D | sanitizer_posix_test.cc | 45 pthread_t tid; local 46 ASSERT_EQ(0, pthread_create(&tid, 0, &thread_func, 49 ASSERT_EQ(0, pthread_join(tid, &retval));
|