Searched defs:tid (Results 1 - 25 of 385) 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);
/external/ltp/testcases/open_posix_testsuite/conformance/behavior/timers/
H A D1-1.c24 timer_t tid; local
31 if (timer_create(CLOCK_REALTIME, NULL, &tid) == -1) {
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_create/
H A D16-1.c23 timer_t tid; local
28 if (timer_create(INVALIDCLOCKID, &ev, &tid) == -1) {
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_create/speculative/
H A D15-1.c33 timer_t tid; local
40 if (timer_create(CLOCK_REALTIME, &ev, &tid) == -1) {
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_delete/speculative/
H A D5-1.c22 timer_t tid; local
24 tid = (timer_t) & tval;
26 if (timer_delete(tid) == -1) {
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_getoverrun/speculative/
H A D6-1.c22 timer_t tid; local
24 tid = (timer_t) & tval;
26 if (timer_getoverrun(tid) == -1) {
H A D6-2.c30 timer_t tid; local
35 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
40 if (timer_delete(tid) != 0) {
45 if (timer_getoverrun(tid) == -1) {
H A D6-3.c27 timer_t tid; local
32 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
37 if (timer_getoverrun(tid + 1) == -1) {
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_gettime/speculative/
H A D6-2.c25 timer_t tid; local
31 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
36 if (timer_gettime(tid + 1, &its) == -1) {
H A D6-3.c25 timer_t tid; local
31 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
35 if (timer_delete(tid) != 0) {
40 if (timer_gettime(tid, &its) == -1) {
H A D6-1.c22 timer_t tid; local
25 tid = (timer_t) & tval;
26 if (timer_gettime(tid, &its) == -1) {
/external/strace/tests/
H A Dtimer_create.c48 int tid[4] = {}; local
65 if (syscall(__NR_timer_create, CLOCK_REALTIME, &sev, &tid[0]))
72 sev.sigev_signo, tid[0]);
76 if (syscall(__NR_timer_create, CLOCK_MONOTONIC, &sev, &tid[1]))
82 sev.sigev_value.sival_ptr, tid[1]);
89 if (syscall(__NR_timer_create, CLOCK_REALTIME, &sev, &tid[2]))
99 tid[2]);
105 sev.sigev_un.tid = getpid();
106 if (syscall(__NR_timer_create, CLOCK_MONOTONIC, &sev, &tid[3]))
114 sev.sigev_un.tid,
[all...]
H A Dtimer_xettime.c52 int tid; local
55 if (syscall(__NR_timer_create, CLOCK_MONOTONIC, &sev, &tid))
58 ", sigev_notify=SIGEV_NONE}, [%d]) = 0\n", tid);
68 rc = syscall(__NR_timer_settime, tid, 0, its_new, its_old);
72 tid, (long long) its_new->it_interval.tv_sec,
87 if (syscall(__NR_timer_settime, tid, 0, its_new, its_old))
95 tid,
105 if (syscall(__NR_timer_gettime, tid, its_old))
110 tid,
/external/strace/tests-m32/
H A Dtimer_create.c48 int tid[4] = {}; local
65 if (syscall(__NR_timer_create, CLOCK_REALTIME, &sev, &tid[0]))
72 sev.sigev_signo, tid[0]);
76 if (syscall(__NR_timer_create, CLOCK_MONOTONIC, &sev, &tid[1]))
82 sev.sigev_value.sival_ptr, tid[1]);
89 if (syscall(__NR_timer_create, CLOCK_REALTIME, &sev, &tid[2]))
99 tid[2]);
105 sev.sigev_un.tid = getpid();
106 if (syscall(__NR_timer_create, CLOCK_MONOTONIC, &sev, &tid[3]))
114 sev.sigev_un.tid,
[all...]
H A Dtimer_xettime.c52 int tid; local
55 if (syscall(__NR_timer_create, CLOCK_MONOTONIC, &sev, &tid))
58 ", sigev_notify=SIGEV_NONE}, [%d]) = 0\n", tid);
68 rc = syscall(__NR_timer_settime, tid, 0, its_new, its_old);
72 tid, (long long) its_new->it_interval.tv_sec,
87 if (syscall(__NR_timer_settime, tid, 0, its_new, its_old))
95 tid,
105 if (syscall(__NR_timer_gettime, tid, its_old))
110 tid,
/external/strace/tests-mx32/
H A Dtimer_create.c48 int tid[4] = {}; local
65 if (syscall(__NR_timer_create, CLOCK_REALTIME, &sev, &tid[0]))
72 sev.sigev_signo, tid[0]);
76 if (syscall(__NR_timer_create, CLOCK_MONOTONIC, &sev, &tid[1]))
82 sev.sigev_value.sival_ptr, tid[1]);
89 if (syscall(__NR_timer_create, CLOCK_REALTIME, &sev, &tid[2]))
99 tid[2]);
105 sev.sigev_un.tid = getpid();
106 if (syscall(__NR_timer_create, CLOCK_MONOTONIC, &sev, &tid[3]))
114 sev.sigev_un.tid,
[all...]
H A Dtimer_xettime.c52 int tid; local
55 if (syscall(__NR_timer_create, CLOCK_MONOTONIC, &sev, &tid))
58 ", sigev_notify=SIGEV_NONE}, [%d]) = 0\n", tid);
68 rc = syscall(__NR_timer_settime, tid, 0, its_new, its_old);
72 tid, (long long) its_new->it_interval.tv_sec,
87 if (syscall(__NR_timer_settime, tid, 0, its_new, its_old))
95 tid,
105 if (syscall(__NR_timer_gettime, tid, its_old))
110 tid,
/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/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_gettime/
H A D2-1.c27 timer_t tid; local
33 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) {
38 if (timer_gettime(tid, &its) != 0) {
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_settime/speculative/
H A D12-1.c21 timer_t tid; local
24 tid = (timer_t) & tval;
30 if (timer_settime(tid, 0, &its, NULL) == -1) {

Completed in 7875 milliseconds

1234567891011>>