/development/ndk/sources/android/libportable/common/include/asm-generic/ |
portability.h | 22 #define REAL(f) f 28 #define REAL(f) __real_ ## f
|
/development/ndk/sources/android/libportable/arch-mips/ |
epoll.c | 22 return REAL(epoll_ctl)(epfd, op, fd, event); 27 return REAL(epoll_wait)(epfd, events, max, timeout);
|
stat.c | 29 *REAL(__errno)() = EFAULT; 32 ret = REAL(stat)(path, &mips_stat); 43 *REAL(__errno)() = EFAULT; 46 ret = REAL(fstat)(fd, &mips_stat); 57 *REAL(__errno)() = EFAULT; 60 ret = REAL(lstat)(path, &mips_stat); 71 *REAL(__errno)() = EFAULT; 74 ret = REAL(fstatat)(dirfd, path, &mips_stat, flags);
|
resource.c | 42 extern int REAL(getrlimit)(int resource, struct rlimit *rlp); 45 return REAL(getrlimit)(mips_change_resource(resource), rlp); 48 extern int REAL(setrlimit)(int resource, const struct rlimit *rlp); 51 return REAL(setrlimit)(mips_change_resource(resource), rlp);
|
statfs.c | 44 *REAL(__errno)() = EFAULT; 47 ret = REAL(statfs)(path, &mips_stat); 58 *REAL(__errno)() = EFAULT; 61 ret = REAL(fstatfs)(fd, &mips_stat);
|
waitpid.c | 67 rv = REAL(waitpid)(pid, status, options); 83 rv = REAL(wait)(status); 99 rv = REAL(wait3)(status, options, rusage); 108 pid_t REAL(wait4)(pid_t p, int *s, int o, struct rusage *r) { 120 rv = REAL(wait4)(pid, status, options, rusage);
|
mmap.c | 91 extern void* REAL(mmap)(void *, size_t, int, int, int, off_t); 105 ret_addr = REAL(mmap)(addr, size, native_prot, native_flags, fd, byte_offset); 125 rv = REAL(mprotect)(addr, size, native_prot);
|
timer.c | 35 return REAL(timer_create)(clockid, evp, timerid);
|
filefd.c | 116 saved_errno = *REAL(__errno)(); 219 *REAL(__errno)() = saved_errno; 242 saved_errno = *REAL(__errno)(); 331 *REAL(__errno)() = saved_errno; 425 rv = REAL(close)(fd); 452 rv = REAL(read)(fd, buf, count); 460 rv = REAL(read)(fd, buf, count); 466 rv = REAL(read)(fd, buf, count); 497 rv = REAL(execve)(filename, argv, envp);
|
/development/ndk/sources/android/libportable/arch-x86/ |
stat.c | 24 int ret = REAL(stat)(path, &x86_stat); 32 int ret = REAL(fstat)(fd, &x86_stat); 40 int ret = REAL(lstat)(path, &x86_stat); 48 int ret = REAL(fstatat)(dirfd, path, &x86_stat, flags);
|
epoll.c | 28 return REAL(epoll_ctl)(epfd, op, fd, &x86_epoll_event); 34 int ret = REAL(epoll_wait)(epfd, &x86_epoll_event, max, timeout);
|
fenv.c | 118 return REAL(fesetexceptflag)(&flagp_, excepts_); 124 REAL(fegetexceptflag)(flagp, x86_change_except(excepts)); 132 return REAL(feraiseexcept)(x86_change_except(excepts)); 138 return REAL(feclearexcept)(x86_change_except(excepts)); 144 return REAL(fetestexcept)(x86_change_except(excepts)); 150 int round = REAL(fegetround)(); 157 return REAL(fesetround)(x86_change_rounding(round)); 163 int flags = REAL(fegetexcept)();
|
/development/ndk/sources/android/libportable/common/include/ |
log_portable.h | 78 int _errno = *REAL(__errno)(); \ 80 *REAL(__errno)() = _errno; \ 88 ALOGE("%s: PERROR('%s'): errno:%d:'%s'", __func__, str, *REAL(__errno)(), strerror(errno)); \ 95 # define PERROR(str) fprintf(stderr, "%s: PERROR('%s'): errno:%d:'%s'", __func__, str, *REAL(__errno)(), strerror(*REAL(__errno)()))
|
/external/compiler-rt/lib/msan/ |
msan_interceptors.cc | 83 SIZE_T res = REAL(fread)(ptr, size, nmemb, file); 92 SIZE_T res = REAL(fread_unlocked)(ptr, size, nmemb, file); 100 SSIZE_T res = REAL(readlink)(path, buf, bufsiz); 144 SIZE_T res = REAL(strlen)(s); 151 SIZE_T res = REAL(strnlen)(s, n); 162 SIZE_T n = REAL(strlen)(src); 163 char *res = REAL(strcpy)(dest, src); // NOLINT 170 SIZE_T copy_size = REAL(strnlen)(src, n); 173 char *res = REAL(strncpy)(dest, src, n); // NOLINT 180 SIZE_T n = REAL(strlen)(src) [all...] |
/external/compiler-rt/lib/asan/ |
asan_interceptors.cc | 84 if (REAL(strnlen) != 0) { 85 return REAL(strnlen)(s, maxlen); 113 if (asan_init_is_running) return REAL(func)(__VA_ARGS__); \ 164 return REAL(pthread_create)(thread, attr, asan_thread_start, t); 171 return REAL(signal)(signum, handler); 179 return REAL(sigaction)(signum, act, oldact); 184 // We need to have defined REAL(sigaction) on posix systems. 215 int res = REAL(swapcontext)(oucp, ucp); 227 REAL(longjmp)(env, val); 233 REAL(_longjmp)(env, val) [all...] |
asan_mac.cc | 154 !REAL(strstr)(dyld_insert_libraries, info.dli_fname)) { 207 piece_end = REAL(strchr)(piece_start, ':'); 354 return REAL(dispatch_x_f)(dq, (void*)asan_ctxt, \ 371 return REAL(dispatch_after_f)(when, dq, (void*)asan_ctxt, 385 REAL(dispatch_group_async_f)(group, dq, (void*)asan_ctxt, 414 REAL(dispatch_async)(dq, asan_block); 420 REAL(dispatch_group_async)(dg, dq, asan_block); 426 REAL(dispatch_after)(when, queue, asan_block); 432 REAL(dispatch_source_set_cancel_handler)(ds, asan_block); 438 REAL(dispatch_source_set_event_handler)(ds, asan_block) [all...] |
/external/compiler-rt/lib/interception/ |
interception_win.h | 35 #func, (::__interception::uptr*)&REAL(func)) 41 (::__interception::uptr*)&REAL(func))
|
interception_linux.h | 27 uptr real, uptr wrapper); 32 #func, (::__interception::uptr*)&REAL(func), \
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
kernel_wrap_newlib.cc | 26 // Macro to get the REAL function pointer 27 #define REAL(name) __nacl_irt_##name##_real 32 // Declare REAL function pointer. 34 typeof(__libnacl_irt_##group.name) REAL(name); 36 // Assign the REAL function pointer. 38 REAL(name) = __libnacl_irt_##group.name; 40 // Switch IRT's pointer to the REAL pointer 42 __libnacl_irt_##group.name = (typeof(REAL(name))) REAL(name); \ 46 __libnacl_irt_##group.name = (typeof(REAL(name))) WRAP(name); [all...] |
kernel_wrap_glibc.cc | 102 // Macro to get the REAL function pointer 103 #define REAL(name) __nacl_irt_##name##_real 108 // Declare REAL function pointer. 110 typeof(__nacl_irt_##name) REAL(name); 112 // Assign the REAL function pointer. 115 REAL(name) = __nacl_irt_##name; 117 // Switch IRT's pointer to the REAL pointer 119 __nacl_irt_##name = (typeof(__nacl_irt_##name)) REAL(name) 217 return REAL(mmap)(addr, length, prot, flags, fd, offset); 224 // Always let the real munmap run on the address range. It is not an error i [all...] |
/external/skia/bench/ |
BlurBench.cpp | 18 #define REAL 1.5f 96 DEF_BENCH(return new BlurBench(REAL, SkBlurMaskFilter::kNormal_BlurStyle);) 97 DEF_BENCH(return new BlurBench(REAL, SkBlurMaskFilter::kSolid_BlurStyle);) 98 DEF_BENCH(return new BlurBench(REAL, SkBlurMaskFilter::kOuter_BlurStyle);) 99 DEF_BENCH(return new BlurBench(REAL, SkBlurMaskFilter::kInner_BlurStyle);) 107 DEF_BENCH(return new BlurBench(REAL, SkBlurMaskFilter::kNormal_BlurStyle, SkBlurMaskFilter::kHighQuality_BlurFlag);)
|
MorphologyBench.cpp | 17 #define REAL 1.5f 96 DEF_BENCH( return new MorphologyBench(REAL, kErode_MT); ) 97 DEF_BENCH( return new MorphologyBench(REAL, kDilate_MT); )
|
/libcore/luni/src/main/java/java/sql/ |
Types.java | 141 * The type code that identifies the SQL type {@code REAL}. 143 public static final int REAL = 7;
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_interceptors.cc | 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) [all...] |
/external/eigen/blas/ |
chpr.f | 3 REAL ALPHA 18 * where alpha is a real scalar, x is an n element vector and A is an 42 * ALPHA - REAL . 106 INTRINSIC CONJG,REAL 126 IF ((N.EQ.0) .OR. (ALPHA.EQ.REAL(ZERO))) RETURN 153 AP(KK+J-1) = REAL(AP(KK+J-1)) + REAL(X(J)*TEMP) 155 AP(KK+J-1) = REAL(AP(KK+J-1)) 169 AP(KK+J-1) = REAL(AP(KK+J-1)) + REAL(X(JX)*TEMP [all...] |