Lines Matching refs:REAL
172 return REAL(func)(__VA_ARGS__); \
183 return REAL(func)(__VA_ARGS__); \
292 REAL(usleep)(flags()->atexit_sleep_ms * 1000); in finalize()
448 void *res = REAL(memchr)(s, c, n); in TSAN_INTERCEPTOR()
457 return REAL(memrchr)(s, c, n); in TSAN_INTERCEPTOR()
464 return REAL(memmove)(dst, src, n); in TSAN_INTERCEPTOR()
469 char *res = REAL(strchr)(s, c); in TSAN_INTERCEPTOR()
477 char *res = REAL(strchrnul)(s, c); in TSAN_INTERCEPTOR()
486 return REAL(strrchr)(s, c); in TSAN_INTERCEPTOR()
494 return REAL(strcpy)(dst, src); // NOLINT in TSAN_INTERCEPTOR()
502 return REAL(strncpy)(dst, src, n); in TSAN_INTERCEPTOR()
507 const char *res = REAL(strstr)(s1, s2); in TSAN_INTERCEPTOR()
534 void *res = REAL(mmap)(addr, sz, prot, flags, fd, off); in TSAN_INTERCEPTOR()
546 void *res = REAL(mmap64)(addr, sz, prot, flags, fd, off); in TSAN_INTERCEPTOR()
555 int res = REAL(munmap)(addr, sz); in TSAN_INTERCEPTOR()
670 int res = REAL(__cxa_guard_acquire)(m); in TSAN_INTERCEPTOR()
682 REAL(__cxa_guard_release)(m); in TSAN_INTERCEPTOR()
761 int res = REAL(pthread_create)(th, attr, __tsan_thread_start_func, &p); in TSAN_INTERCEPTOR()
777 int res = REAL(pthread_join)(th, ret); in TSAN_INTERCEPTOR()
787 int res = REAL(pthread_detach)(th); in TSAN_INTERCEPTOR()
796 int res = REAL(pthread_mutex_init)(m, a); in TSAN_INTERCEPTOR()
812 int res = REAL(pthread_mutex_destroy)(m); in TSAN_INTERCEPTOR()
821 int res = REAL(pthread_mutex_lock)(m); in TSAN_INTERCEPTOR()
830 int res = REAL(pthread_mutex_trylock)(m); in TSAN_INTERCEPTOR()
839 int res = REAL(pthread_mutex_timedlock)(m, abstime); in TSAN_INTERCEPTOR()
849 int res = REAL(pthread_mutex_unlock)(m); in TSAN_INTERCEPTOR()
855 int res = REAL(pthread_spin_init)(m, pshared); in TSAN_INTERCEPTOR()
864 int res = REAL(pthread_spin_destroy)(m); in TSAN_INTERCEPTOR()
873 int res = REAL(pthread_spin_lock)(m); in TSAN_INTERCEPTOR()
882 int res = REAL(pthread_spin_trylock)(m); in TSAN_INTERCEPTOR()
892 int res = REAL(pthread_spin_unlock)(m); in TSAN_INTERCEPTOR()
898 int res = REAL(pthread_rwlock_init)(m, a); in TSAN_INTERCEPTOR()
907 int res = REAL(pthread_rwlock_destroy)(m); in TSAN_INTERCEPTOR()
916 int res = REAL(pthread_rwlock_rdlock)(m); in TSAN_INTERCEPTOR()
925 int res = REAL(pthread_rwlock_tryrdlock)(m); in TSAN_INTERCEPTOR()
934 int res = REAL(pthread_rwlock_timedrdlock)(m, abstime); in TSAN_INTERCEPTOR()
943 int res = REAL(pthread_rwlock_wrlock)(m); in TSAN_INTERCEPTOR()
952 int res = REAL(pthread_rwlock_trywrlock)(m); in TSAN_INTERCEPTOR()
961 int res = REAL(pthread_rwlock_timedwrlock)(m, abstime); in TSAN_INTERCEPTOR()
971 int res = REAL(pthread_rwlock_unlock)(m); in TSAN_INTERCEPTOR()
977 int res = REAL(pthread_cond_init)(c, a); in TSAN_INTERCEPTOR()
983 int res = REAL(pthread_cond_destroy)(c); in TSAN_INTERCEPTOR()
989 int res = REAL(pthread_cond_signal)(c); in TSAN_INTERCEPTOR()
995 int res = REAL(pthread_cond_broadcast)(c); in TSAN_INTERCEPTOR()
1002 int res = REAL(pthread_cond_wait)(c, m); in TSAN_INTERCEPTOR()
1010 int res = REAL(pthread_cond_timedwait)(c, m, abstime); in TSAN_INTERCEPTOR()
1018 int res = REAL(pthread_barrier_init)(b, a, count); in TSAN_INTERCEPTOR()
1025 int res = REAL(pthread_barrier_destroy)(b); in TSAN_INTERCEPTOR()
1033 int res = REAL(pthread_barrier_wait)(b); in TSAN_INTERCEPTOR()
1068 int res = REAL(sem_init)(s, pshared, value); in TSAN_INTERCEPTOR()
1074 int res = REAL(sem_destroy)(s); in TSAN_INTERCEPTOR()
1080 int res = REAL(sem_wait)(s); in TSAN_INTERCEPTOR()
1089 int res = REAL(sem_trywait)(s); in TSAN_INTERCEPTOR()
1098 int res = REAL(sem_timedwait)(s, abstime); in TSAN_INTERCEPTOR()
1108 int res = REAL(sem_post)(s); in TSAN_INTERCEPTOR()
1114 int res = REAL(sem_getvalue)(s, sval); in TSAN_INTERCEPTOR()
1123 int res = REAL(read)(fd, buf, sz); in TSAN_INTERCEPTOR()
1132 int res = REAL(pread)(fd, buf, sz, off); in TSAN_INTERCEPTOR()
1141 int res = REAL(pread64)(fd, buf, sz, off); in TSAN_INTERCEPTOR()
1150 int res = REAL(readv)(fd, vec, cnt); in TSAN_INTERCEPTOR()
1159 int res = REAL(preadv64)(fd, vec, cnt, off); in TSAN_INTERCEPTOR()
1169 int res = REAL(write)(fd, buf, sz); in TSAN_INTERCEPTOR()
1176 int res = REAL(pwrite)(fd, buf, sz, off); in TSAN_INTERCEPTOR()
1183 int res = REAL(pwrite64)(fd, buf, sz, off); in TSAN_INTERCEPTOR()
1190 int res = REAL(writev)(fd, vec, cnt); in TSAN_INTERCEPTOR()
1197 int res = REAL(pwritev64)(fd, vec, cnt, off); in TSAN_INTERCEPTOR()
1204 int res = REAL(send)(fd, buf, len, flags); in TSAN_INTERCEPTOR()
1211 int res = REAL(sendmsg)(fd, msg, flags); in TSAN_INTERCEPTOR()
1217 int res = REAL(recv)(fd, buf, len, flags); in TSAN_INTERCEPTOR()
1226 int res = REAL(recvmsg)(fd, msg, flags); in TSAN_INTERCEPTOR()
1236 int res = REAL(unlink)(path); in TSAN_INTERCEPTOR()
1242 void *res = REAL(fopen)(path, mode); in TSAN_INTERCEPTOR()
1250 return REAL(fread)(ptr, size, nmemb, f); in TSAN_INTERCEPTOR()
1256 return REAL(fwrite)(p, size, nmemb, f); in TSAN_INTERCEPTOR()
1262 return REAL(puts)(s); in TSAN_INTERCEPTOR()
1268 int res = REAL(rmdir)(path); in TSAN_INTERCEPTOR()
1274 void *res = REAL(opendir)(path); in TSAN_INTERCEPTOR()
1284 int res = REAL(epoll_ctl)(epfd, op, fd, ev); in TSAN_INTERCEPTOR()
1290 int res = REAL(epoll_wait)(epfd, ev, cnt, timeout); in TSAN_INTERCEPTOR()
1358 int res = REAL(sigaction)(sig, &newact, 0); in TSAN_INTERCEPTOR()
1365 REAL(memset)(&act.sa_mask, -1, sizeof(act.sa_mask)); in TSAN_INTERCEPTOR()
1380 int res = REAL(raise)(sig); in TSAN_INTERCEPTOR()
1394 int res = REAL(kill)(pid, sig); in TSAN_INTERCEPTOR()
1410 int res = REAL(pthread_kill)(tid, sig); in TSAN_INTERCEPTOR()
1468 REAL(memset) = internal_memset; in InitializeInterceptors()
1469 REAL(memcpy) = internal_memcpy; in InitializeInterceptors()
1470 REAL(memcmp) = internal_memcmp; in InitializeInterceptors()
1615 REAL(pthread_create)(&th, 0, (void*(*)(void *arg))func, arg); in internal_start_thread()
1616 REAL(pthread_detach)(th); in internal_start_thread()