Lines Matching refs:REAL
34 // The size is determined by looking at sizeof of real siginfo_t on linux.
39 // The size is determined by looking at sizeof of real sigset_t on linux.
44 // The size is determined by looking at sizeof of real ucontext_t on linux.
191 if (REAL(func) == 0) { \
196 return REAL(func)(__VA_ARGS__); \
202 #define BLOCK_REAL(name) (BlockingCall(thr), REAL(name))
318 return REAL(__cxa_atexit)(f, arg, dso);
413 REAL(longjmp)(env, val);
421 REAL(siglongjmp)(env, val);
596 void *res = REAL(memchr)(s, c, n);
605 return REAL(memrchr)(s, c, n);
612 return REAL(memmove)(dst, src, n);
617 char *res = REAL(strchr)(s, c);
625 char *res = REAL(strchrnul)(s, c);
634 return REAL(strrchr)(s, c);
642 return REAL(strcpy)(dst, src); // NOLINT
650 return REAL(strncpy)(dst, src, n);
655 const char *res = REAL(strstr)(s1, s2);
682 void *res = REAL(mmap)(addr, sz, prot, flags, fd, off);
696 void *res = REAL(mmap64)(addr, sz, prot, flags, fd, off);
708 int res = REAL(munmap)(addr, sz);
838 int res = REAL(pthread_create)(th, attr, __tsan_thread_start_func, &p);
864 int res = REAL(pthread_detach)(th);
873 int res = REAL(pthread_mutex_init)(m, a);
889 int res = REAL(pthread_mutex_destroy)(m);
898 int res = REAL(pthread_mutex_lock)(m);
907 int res = REAL(pthread_mutex_trylock)(m);
916 int res = REAL(pthread_mutex_timedlock)(m, abstime);
926 int res = REAL(pthread_mutex_unlock)(m);
932 int res = REAL(pthread_spin_init)(m, pshared);
941 int res = REAL(pthread_spin_destroy)(m);
950 int res = REAL(pthread_spin_lock)(m);
959 int res = REAL(pthread_spin_trylock)(m);
969 int res = REAL(pthread_spin_unlock)(m);
975 int res = REAL(pthread_rwlock_init)(m, a);
984 int res = REAL(pthread_rwlock_destroy)(m);
993 int res = REAL(pthread_rwlock_rdlock)(m);
1002 int res = REAL(pthread_rwlock_tryrdlock)(m);
1011 int res = REAL(pthread_rwlock_timedrdlock)(m, abstime);
1020 int res = REAL(pthread_rwlock_wrlock)(m);
1029 int res = REAL(pthread_rwlock_trywrlock)(m);
1038 int res = REAL(pthread_rwlock_timedwrlock)(m, abstime);
1048 int res = REAL(pthread_rwlock_unlock)(m);
1057 int res = REAL(pthread_cond_init)(c, a);
1064 int res = REAL(pthread_cond_destroy)(c);
1070 int res = REAL(pthread_cond_signal)(c);
1076 int res = REAL(pthread_cond_broadcast)(c);
1083 int res = REAL(pthread_cond_wait)(c, m);
1091 int res = REAL(pthread_cond_timedwait)(c, m, abstime);
1099 int res = REAL(pthread_barrier_init)(b, a, count);
1106 int res = REAL(pthread_barrier_destroy)(b);
1114 int res = REAL(pthread_barrier_wait)(b);
1149 int res = REAL(sem_init)(s, pshared, value);
1155 int res = REAL(sem_destroy)(s);
1189 int res = REAL(sem_post)(s);
1195 int res = REAL(sem_getvalue)(s, sval);
1204 return REAL(__xstat)(version, path, buf);
1209 return REAL(__xstat)(0, path, buf);
1214 return REAL(__xstat64)(version, path, buf);
1219 return REAL(__xstat64)(0, path, buf);
1224 return REAL(__lxstat)(version, path, buf);
1229 return REAL(__lxstat)(0, path, buf);
1234 return REAL(__lxstat64)(version, path, buf);
1239 return REAL(__lxstat64)(0, path, buf);
1246 return REAL(__fxstat)(version, fd, buf);
1253 return REAL(__fxstat)(0, fd, buf);
1260 return REAL(__fxstat64)(version, fd, buf);
1267 return REAL(__fxstat64)(0, fd, buf);
1272 int fd = REAL(open)(name, flags, mode);
1280 int fd = REAL(open64)(name, flags, mode);
1288 int fd = REAL(creat)(name, mode);
1296 int fd = REAL(creat64)(name, mode);
1304 int newfd = REAL(dup)(oldfd);
1312 int newfd2 = REAL(dup2)(oldfd, newfd);
1320 int newfd2 = REAL(dup3)(oldfd, newfd, flags);
1328 int fd = REAL(eventfd)(initval, flags);
1338 fd = REAL(signalfd)(fd, mask, flags);
1346 int fd = REAL(inotify_init)(fake);
1354 int fd = REAL(inotify_init1)(flags);
1362 int fd = REAL(socket)(domain, type, protocol);
1370 int res = REAL(socketpair)(domain, type, protocol, fd);
1379 int res = REAL(connect)(fd, addr, addrlen);
1387 int res = REAL(bind)(fd, addr, addrlen);
1395 int res = REAL(listen)(fd, backlog);
1403 int fd = REAL(epoll_create)(size);
1411 int fd = REAL(epoll_create1)(flags);
1421 return REAL(close)(fd);
1428 return REAL(__close)(fd);
1440 REAL(__res_iclose)(state, free_addr);
1445 int res = REAL(pipe)(pipefd);
1453 int res = REAL(pipe2)(pipefd, flags);
1463 int res = REAL(send)(fd, buf, len, flags);
1471 int res = REAL(sendmsg)(fd, msg, flags);
1477 int res = REAL(recv)(fd, buf, len, flags);
1487 int res = REAL(unlink)(path);
1493 void *res = REAL(fopen)(path, mode);
1510 void *res = REAL(freopen)(path, mode, stream);
1529 return REAL(fclose)(stream);
1537 return REAL(fread)(ptr, size, nmemb, f);
1545 return REAL(fwrite)(p, size, nmemb, f);
1550 return REAL(fflush)(stream);
1555 REAL(fflush)(0);
1556 REAL(abort)(fake);
1562 return REAL(puts)(s);
1568 int res = REAL(rmdir)(path);
1574 void *res = REAL(opendir)(path);
1585 int res = REAL(epoll_ctl)(epfd, op, fd, ev);
1671 int res = REAL(sigaction)(sig, &newact, 0);
1678 REAL(memset)(&act.sa_mask, -1, sizeof(act.sa_mask));
1689 return REAL(sigsuspend)(mask);
1698 int res = REAL(raise)(sig);
1712 int res = REAL(kill)(pid, sig);
1728 int res = REAL(pthread_kill)(tid, sig);
1739 return REAL(gettimeofday)(tv, tz);
1775 int pid = REAL(fork)(fake);
1890 REAL(fflush)(0);
1904 REAL(memset) = internal_memset;
1905 REAL(memcpy) = internal_memcpy;
1906 REAL(memcmp) = internal_memcmp;
2075 REAL(atexit) = (int(*)(void(*)()))unreachable;
2079 if (REAL(__cxa_atexit)(&finalize, 0, 0)) {
2094 REAL(pthread_create)(&th, 0, (void*(*)(void *arg))func, arg);
2095 REAL(pthread_detach)(th);