/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);
|
/external/ltp/testcases/open_posix_testsuite/conformance/behavior/timers/ |
H A D | 1-1.c | 24 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 D | 16-1.c | 23 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 D | 15-1.c | 33 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 D | 5-1.c | 22 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 D | 6-1.c | 22 timer_t tid; local 24 tid = (timer_t) & tval; 26 if (timer_getoverrun(tid) == -1) {
|
H A D | 6-2.c | 30 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 D | 6-3.c | 27 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 D | 6-2.c | 25 timer_t tid; local 31 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) { 36 if (timer_gettime(tid + 1, &its) == -1) {
|
H A D | 6-3.c | 25 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 D | 6-1.c | 22 timer_t tid; local 25 tid = (timer_t) & tval; 26 if (timer_gettime(tid, &its) == -1) {
|
/external/strace/tests/ |
H A D | timer_create.c | 48 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 D | timer_xettime.c | 52 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 D | timer_create.c | 48 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 D | timer_xettime.c | 52 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 D | timer_create.c | 48 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 D | timer_xettime.c | 52 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 D | coredump-macho.c | 38 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 D | 2-1.c | 27 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 D | 12-1.c | 21 timer_t tid; local 24 tid = (timer_t) & tval; 30 if (timer_settime(tid, 0, &its, NULL) == -1) {
|