• Home
  • Raw
  • Download

Lines Matching refs:REAL

319 #define BLOCK_REAL(name) (BlockingCall(thr), REAL(name))
416 int res = REAL(__cxa_atexit)(at_exit_wrapper, ctx, dso); in setup_at_exit_wrapper()
442 int res = REAL(on_exit)(on_exit_wrapper, ctx); in TSAN_INTERCEPTOR()
574 REAL(longjmp)(env, val); in DEFINE_REAL()
582 REAL(siglongjmp)(env, val); in TSAN_INTERCEPTOR()
659 return REAL(strcpy)(dst, src); // NOLINT in TSAN_INTERCEPTOR()
667 return REAL(strncpy)(dst, src, n); in TSAN_INTERCEPTOR()
673 return REAL(strdup)(str); in TSAN_INTERCEPTOR()
695 void *res = REAL(mmap)(addr, sz, prot, flags, fd, off); in TSAN_INTERCEPTOR()
714 void *res = REAL(mmap64)(addr, sz, prot, flags, fd, off); in TSAN_INTERCEPTOR()
739 int res = REAL(munmap)(addr, sz); in TSAN_INTERCEPTOR()
920 REAL(pthread_attr_getdetachstate)(attr, &detached); in TSAN_INTERCEPTOR()
932 res = REAL(pthread_create)(th, attr, __tsan_thread_start_func, &p); in TSAN_INTERCEPTOR()
972 int res = REAL(pthread_detach)(th); in TSAN_INTERCEPTOR()
1043 return REAL(pthread_cond_init)(cond, a); in INTERCEPTOR()
1069 return cond_wait(thr, pc, &si, (int (*)(void *c, void *m, void *abstime))REAL( in INTERCEPTOR()
1077 return cond_wait(thr, pc, &si, REAL(pthread_cond_timedwait), cond, m, in INTERCEPTOR()
1086 return cond_wait(thr, pc, &si, REAL(pthread_cond_timedwait_relative_np), cond, in INTERCEPTOR()
1095 return REAL(pthread_cond_signal)(cond); in INTERCEPTOR()
1102 return REAL(pthread_cond_broadcast)(cond); in INTERCEPTOR()
1109 int res = REAL(pthread_cond_destroy)(cond); in INTERCEPTOR()
1120 int res = REAL(pthread_mutex_init)(m, a); in TSAN_INTERCEPTOR()
1125 if (REAL(pthread_mutexattr_gettype)(a, &type) == 0) in TSAN_INTERCEPTOR()
1136 int res = REAL(pthread_mutex_destroy)(m); in TSAN_INTERCEPTOR()
1145 int res = REAL(pthread_mutex_trylock)(m); in TSAN_INTERCEPTOR()
1156 int res = REAL(pthread_mutex_timedlock)(m, abstime); in TSAN_INTERCEPTOR()
1167 int res = REAL(pthread_spin_init)(m, pshared); in TSAN_INTERCEPTOR()
1176 int res = REAL(pthread_spin_destroy)(m); in TSAN_INTERCEPTOR()
1185 int res = REAL(pthread_spin_lock)(m); in TSAN_INTERCEPTOR()
1194 int res = REAL(pthread_spin_trylock)(m); in TSAN_INTERCEPTOR()
1204 int res = REAL(pthread_spin_unlock)(m); in TSAN_INTERCEPTOR()
1211 int res = REAL(pthread_rwlock_init)(m, a); in TSAN_INTERCEPTOR()
1220 int res = REAL(pthread_rwlock_destroy)(m); in TSAN_INTERCEPTOR()
1229 int res = REAL(pthread_rwlock_rdlock)(m); in TSAN_INTERCEPTOR()
1238 int res = REAL(pthread_rwlock_tryrdlock)(m); in TSAN_INTERCEPTOR()
1248 int res = REAL(pthread_rwlock_timedrdlock)(m, abstime); in TSAN_INTERCEPTOR()
1258 int res = REAL(pthread_rwlock_wrlock)(m); in TSAN_INTERCEPTOR()
1267 int res = REAL(pthread_rwlock_trywrlock)(m); in TSAN_INTERCEPTOR()
1277 int res = REAL(pthread_rwlock_timedwrlock)(m, abstime); in TSAN_INTERCEPTOR()
1288 int res = REAL(pthread_rwlock_unlock)(m); in TSAN_INTERCEPTOR()
1296 int res = REAL(pthread_barrier_init)(b, a, count); in TSAN_INTERCEPTOR()
1303 int res = REAL(pthread_barrier_destroy)(b); in TSAN_INTERCEPTOR()
1311 int res = REAL(pthread_barrier_wait)(b); in TSAN_INTERCEPTOR()
1352 return REAL(__fxstat)(version, fd, buf); in TSAN_INTERCEPTOR()
1364 return REAL(fstat)(fd, buf); in TSAN_INTERCEPTOR()
1369 return REAL(__fxstat)(0, fd, buf); in TSAN_INTERCEPTOR()
1378 return REAL(__fxstat64)(version, fd, buf); in TSAN_INTERCEPTOR()
1390 return REAL(__fxstat64)(0, fd, buf); in TSAN_INTERCEPTOR()
1400 int fd = REAL(open)(name, flags, mode); in TSAN_INTERCEPTOR()
1410 int fd = REAL(open64)(name, flags, mode); in TSAN_INTERCEPTOR()
1423 int fd = REAL(creat)(name, mode); in TSAN_INTERCEPTOR()
1433 int fd = REAL(creat64)(name, mode); in TSAN_INTERCEPTOR()
1445 int newfd = REAL(dup)(oldfd); in TSAN_INTERCEPTOR()
1453 int newfd2 = REAL(dup2)(oldfd, newfd); in TSAN_INTERCEPTOR()
1462 int newfd2 = REAL(dup3)(oldfd, newfd, flags); in TSAN_INTERCEPTOR()
1472 int fd = REAL(eventfd)(initval, flags); in TSAN_INTERCEPTOR()
1487 fd = REAL(signalfd)(fd, mask, flags); in TSAN_INTERCEPTOR()
1500 int fd = REAL(inotify_init)(fake); in TSAN_INTERCEPTOR()
1513 int fd = REAL(inotify_init1)(flags); in TSAN_INTERCEPTOR()
1525 int fd = REAL(socket)(domain, type, protocol); in TSAN_INTERCEPTOR()
1533 int res = REAL(socketpair)(domain, type, protocol, fd); in TSAN_INTERCEPTOR()
1542 int res = REAL(connect)(fd, addr, addrlen); in TSAN_INTERCEPTOR()
1550 int res = REAL(bind)(fd, addr, addrlen); in TSAN_INTERCEPTOR()
1558 int res = REAL(listen)(fd, backlog); in TSAN_INTERCEPTOR()
1568 return REAL(close)(fd); in TSAN_INTERCEPTOR()
1576 return REAL(__close)(fd); in TSAN_INTERCEPTOR()
1593 REAL(__res_iclose)(state, free_addr); in TSAN_INTERCEPTOR()
1602 int res = REAL(pipe)(pipefd); in TSAN_INTERCEPTOR()
1611 int res = REAL(pipe2)(pipefd, flags); in TSAN_INTERCEPTOR()
1621 int res = REAL(unlink)(path); in TSAN_INTERCEPTOR()
1627 void *res = REAL(tmpfile)(fake); in TSAN_INTERCEPTOR()
1639 void *res = REAL(tmpfile64)(fake); in TSAN_INTERCEPTOR()
1658 return REAL(fread)(ptr, size, nmemb, f); in TSAN_INTERCEPTOR()
1667 return REAL(fwrite)(p, size, nmemb, f); in TSAN_INTERCEPTOR()
1673 REAL(fflush)(stdout); in FlushStreams()
1674 REAL(fflush)(stderr); in FlushStreams()
1680 REAL(abort)(fake); in TSAN_INTERCEPTOR()
1686 return REAL(puts)(s); in TSAN_INTERCEPTOR()
1692 int res = REAL(rmdir)(path); in TSAN_INTERCEPTOR()
1702 return REAL(closedir)(dirp); in TSAN_INTERCEPTOR()
1708 int fd = REAL(epoll_create)(size); in TSAN_INTERCEPTOR()
1716 int fd = REAL(epoll_create1)(flags); in TSAN_INTERCEPTOR()
1730 int res = REAL(epoll_ctl)(epfd, op, fd, ev); in TSAN_INTERCEPTOR()
1945 int res = REAL(sigaction)(sig, &newact, 0); in TSAN_INTERCEPTOR()
1963 return REAL(sigsuspend)(mask); in TSAN_INTERCEPTOR()
1972 int res = REAL(raise)(sig); in TSAN_INTERCEPTOR()
1986 int res = REAL(kill)(pid, sig); in TSAN_INTERCEPTOR()
2002 int res = REAL(pthread_kill)(tid, sig); in TSAN_INTERCEPTOR()
2013 return REAL(gettimeofday)(tv, tz); in TSAN_INTERCEPTOR()
2023 int res = REAL(getaddrinfo)(node, service, hints, rv); in TSAN_INTERCEPTOR()
2030 return REAL(fork)(fake); in TSAN_INTERCEPTOR()
2038 pid = REAL(fork)(fake); in TSAN_INTERCEPTOR()
2112 int res = REAL(dl_iterate_phdr)(dl_iterate_phdr_cb, &cbdata); in TSAN_INTERCEPTOR()
2401 void *res = REAL(__tls_get_addr)(arg); in TSAN_INTERCEPTOR()
2435 REAL(memset) = internal_memset; in InitializeInterceptors()
2436 REAL(memcpy) = internal_memcpy; in InitializeInterceptors()
2451 GetRealFunctionAddress("setjmp", (uptr*)&REAL(setjmp), 0, 0); in InitializeInterceptors()
2452 GetRealFunctionAddress("_setjmp", (uptr*)&REAL(_setjmp), 0, 0); in InitializeInterceptors()
2453 GetRealFunctionAddress("sigsetjmp", (uptr*)&REAL(sigsetjmp), 0, 0); in InitializeInterceptors()
2454 GetRealFunctionAddress("__sigsetjmp", (uptr*)&REAL(__sigsetjmp), 0, 0); in InitializeInterceptors()
2581 REAL(atexit) = (int(*)(void(*)()))unreachable; in InitializeInterceptors()
2584 if (REAL(__cxa_atexit)(&finalize, 0, 0)) { in InitializeInterceptors()