Home
last modified time | relevance | path

Searched refs:WRAP (Results 1 – 25 of 51) sorted by relevance

123

/development/ndk/sources/android/libportable/arch-arm/
Dfenv.c23 int WRAP(fegetenv)(fenv_t* __envp) { in WRAP() function
30 int WRAP(fesetenv)(const fenv_t* __envp) { in WRAP() function
36 int WRAP(feclearexcept)(int __excepts) { in WRAP() function
38 WRAP(fegetenv)(&__fpscr); in WRAP()
40 WRAP(fesetenv)(&__fpscr); in WRAP()
44 int WRAP(fegetexceptflag)(fexcept_t* __flagp, int __excepts) { in WRAP() function
46 WRAP(fegetenv)(&__fpscr); in WRAP()
51 int WRAP(fesetexceptflag)(const fexcept_t* __flagp, int __excepts) { in WRAP() function
53 WRAP(fegetenv)(&__fpscr); in WRAP()
56 WRAP(fesetenv)(&__fpscr); in WRAP()
[all …]
Dunwind.c59 uint64_t WRAP(_Unwind_GetGR)(struct _Unwind_Context* ctx, int index) { in WRAP() function
65 void WRAP(_Unwind_SetGR)(struct _Unwind_Context* ctx, int index, uint64_t new_value) { in WRAP() function
70 uint64_t WRAP(_Unwind_GetIP)(struct _Unwind_Context* ctx) { in WRAP() function
71 return WRAP(_Unwind_GetGR)(ctx, UNWIND_IP_REG) & ~1; // thumb bit in WRAP()
74 void WRAP(_Unwind_SetIP)(struct _Unwind_Context* ctx, uintptr_t new_value) { in WRAP() function
77 uint32_t thumbState = WRAP(_Unwind_GetGR)(ctx, UNWIND_IP_REG) & 1; in WRAP()
79 WRAP(_Unwind_SetGR)(ctx, UNWIND_IP_REG, new_val); in WRAP()
Dmd_swap.c27 uint16_t WRAP(__swap16md)(uint16_t x) { in WRAP() function
33 uint32_t WRAP(__swap32md)(uint32_t x) { in WRAP() function
/development/ndk/sources/android/libportable/arch-mips/
Dfenv.c109 int WRAP(fegetenv)(fenv_t* __envp) { in WRAP() function
118 int WRAP(fesetenv)(const fenv_t* __envp) { in WRAP() function
126 int WRAP(feclearexcept)(int __excepts) { in WRAP() function
129 WRAP(fegetenv)(&__fcsr); in WRAP()
132 WRAP(fesetenv)(&__fcsr); in WRAP()
136 int WRAP(fegetexceptflag)(fexcept_t* __flagp, int __excepts) { in WRAP() function
139 WRAP(fegetenv)(&__fcsr); in WRAP()
144 int WRAP(fesetexceptflag)(const fexcept_t* __flagp, int __excepts) { in WRAP() function
148 WRAP(fegetenv)(&__fcsr); in WRAP()
153 WRAP(fesetenv)(&__fcsr); in WRAP()
[all …]
Dsigsetjmp.S46 LEAF(WRAP(sigsetjmp), FRAMESZ)
57 1: LA t9, WRAP(setjmp)
61 END(WRAP(sigsetjmp))
63 LEAF(WRAP(siglongjmp), FRAMESZ)
65 SETUP_GP64(GPOFF, WRAP(siglongjmp))
74 LA t9, WRAP(longjmp)
78 END(WRAP(siglongjmp))
Dstat.c23 int WRAP(stat)(const char *path, struct stat_portable *s) in WRAP() function
37 int WRAP(fstat)(int fd, struct stat_portable *s) in WRAP() function
51 int WRAP(lstat)(const char *path, struct stat_portable *s) in WRAP() function
65 int WRAP(fstatat)(int dirfd, const char *path, struct stat_portable *s, int flags) in WRAP() function
Dwaitpid.c60 pid_t WRAP(waitpid)(pid_t pid, int *status, int options) in WRAP() function
76 pid_t WRAP(wait)(int *status) in WRAP() function
92 pid_t WRAP(wait3)(int *status, int options, struct rusage *rusage) in WRAP() function
113 pid_t WRAP(wait4)(pid_t pid, int *status, int options, struct rusage *rusage) in WRAP() function
Depoll.c20 int WRAP(epoll_ctl)(int epfd, int op, int fd, struct epoll_event *event) in WRAP() function
25 int WRAP(epoll_wait)(int epfd, struct epoll_event *events, int max, int timeout) in WRAP() function
Dmd_swap.c23 uint16_t WRAP(__swap16md)(uint16_t x) { in WRAP() function
30 uint32_t WRAP(__swap32md)(uint32_t x) { in WRAP() function
Dsyscall.c56 int WRAP(syscall)(int portable_number, ...) in WRAP() function
130 ret = WRAP(eventfd)(initval, flags); /* Android uses __NR_eventfd2 in eventfd() */ in WRAP()
152 ret = WRAP(eventfd)(initval, flags); /* Android uses __NR_eventfd2 in eventfd() */ in WRAP()
233 ret = WRAP(inotify_init1)(portable_flags); in WRAP()
272 ret = WRAP(pipe2)(pipefd_ptr, portable_flags); in WRAP()
302 return WRAP(__rt_sigaction)(sig, act, oact, sigsetsize); in WRAP()
320 ret = WRAP(__rt_sigprocmask)(how, set, oset, sigsetsize); in WRAP()
339 ret = WRAP(__rt_sigtimedwait)(set, info, timeout, sigsetsize); in WRAP()
356 ret = WRAP(rt_sigqueueinfo)(pid, sig, uinfo); in WRAP()
505 ret = WRAP(timer_create)(clockid, evp, timerid); in WRAP()
[all …]
Dresource.c43 int WRAP(getrlimit)(int resource, struct rlimit *rlp) in WRAP() function
49 int WRAP(setrlimit)(int resource, const struct rlimit *rlp) in WRAP() function
/development/ndk/sources/android/libportable/common/include/
Dsignal_portable.h67 static __inline__ int WRAP(sigismember)(sigset_portable_t *set, int signum) in WRAP() function
75 static __inline__ int WRAP(sigaddset)(sigset_portable_t *set, int signum) in WRAP() function
84 static __inline__ int WRAP(sigdelset)(sigset_portable_t *set, int signum) in WRAP() function
93 static __inline__ int WRAP(sigemptyset)(sigset_portable_t *set) in WRAP() function
99 static __inline__ int WRAP(sigfillset)(sigset_portable_t *set) in WRAP() function
119 static __inline__ __sighandler_portable_t WRAP(signal)(int s, sighandler_portable_t f)
126 extern __sighandler_portable_t WRAP(__signal)(int, __sighandler_portable_t);
128 extern int WRAP(sigprocmask)(int, const sigset_portable_t *, sigset_portable_t *);
130 extern int WRAP(sigaction)(int, const struct sigaction_portable *,
133 extern int WRAP(sigpending)(sigset_portable_t *);
[all …]
Dvfs_portable.h68 int WRAP(statfs)(const char* path, struct statfs_portable* stat) { in WRAP() function
77 int WRAP(statfs64)(const char* path, struct statfs64_portable* stat) { in WRAP() function
78 return WRAP(statfs)(path, (struct statfs_portable*)stat); in WRAP()
83 int WRAP(fstatfs)(int fd, struct statfs_portable* stat) { in WRAP() function
92 int WRAP(fstatfs64)(int fd, struct statfs64_portable* stat) { in WRAP() function
93 return WRAP(fstatfs)(fd, (struct statfs_portable*)stat); in WRAP()
Dfilefd_portable.h40 extern int WRAP(close)(int fd);
41 extern int WRAP(read)(int fd, void *buf, size_t count);
42 extern int WRAP(pipe2)(int pipefd[2], int portable_flags);
/development/ndk/sources/android/libportable/arch-x86_64/
Dstat.c22 int WRAP(fstat)(int fd, struct stat_portable *s) { in WRAP() function
28 static inline int WRAP(fstat64)(int fd, struct stat64_portable *s) { in WRAP() function
29 return WRAP(fstat)(fd, (struct stat_portable*)s); in WRAP()
33 int WRAP(fstatat)(int dirfd, const char *path, struct stat_portable *s, int flags) { in WRAP() function
39 static inline int WRAP(fstatat64)(int dirfd, const char *path, in WRAP() function
41 return WRAP(fstatat)(dirfd, path, (struct stat_portable*)s, flags); in WRAP()
45 int WRAP(lstat)(const char *path, struct stat_portable *s) { in WRAP() function
51 static inline int WRAP(lstat64)(const char *path, struct stat64_portable *s) { in WRAP() function
52 return WRAP(lstat)(path, (struct stat_portable*)s); in WRAP()
56 int WRAP(stat)(const char* path, struct stat_portable* s) { in WRAP() function
[all …]
Dfenv.c123 int WRAP(feclearexcept)(int flag) { in WRAP() function
128 int WRAP(fegetexceptflag)(fexcept_t_portable *obj, int flag) { in WRAP() function
134 int WRAP(fesetexceptflag)(const fexcept_t_portable *obj, int flag) { in WRAP() function
141 int WRAP(feraiseexcept)(int flag) { in WRAP() function
146 int WRAP(fetestexcept)(int flag) { in WRAP() function
151 int WRAP(fegetround)(void) { in WRAP() function
156 int WRAP(fesetround)(int round) { in WRAP() function
161 int WRAP(fegetenv)(fenv_t_portable *obj) { in WRAP() function
165 int WRAP(feholdexcept)(fenv_t_portable *obj) { in WRAP() function
169 int WRAP(fesetenv)(const fenv_t_portable *obj) { in WRAP() function
[all …]
Dva_funcs.c23 int WRAP(vfprintf)(FILE *stream, const char *format, va_list_portable *arg) { in WRAP() function
27 int WRAP(vfscanf)(FILE *stream, const char *format, va_list_portable *arg) { in WRAP() function
31 int WRAP(vprintf)(const char *format, va_list_portable *arg) { in WRAP() function
35 int WRAP(vscanf)(const char *format, va_list_portable *arg) { in WRAP() function
39 int WRAP(vsnprintf)(char *s, size_t n, const char *format, va_list_portable *arg) { in WRAP() function
43 int WRAP(vsprintf)(char *s, const char *format, va_list_portable *arg) { in WRAP() function
47 int WRAP(vsscanf)(const char *s, const char *format, va_list_portable *arg) { in WRAP() function
/development/ndk/sources/android/libportable/arch-mips64/
Dstat.c22 int WRAP(fstat)(int fd, struct stat_portable *s) { in WRAP() function
28 static inline int WRAP(fstat64)(int fd, struct stat64_portable *s) { in WRAP() function
29 return WRAP(fstat)(fd, (struct stat_portable*)s); in WRAP()
33 int WRAP(fstatat)(int dirfd, const char *path, struct stat_portable *s, int flags) { in WRAP() function
39 static inline int WRAP(fstatat64)(int dirfd, const char *path, in WRAP() function
41 return WRAP(fstatat)(dirfd, path, (struct stat_portable*)s, flags); in WRAP()
45 int WRAP(lstat)(const char *path, struct stat_portable *s) { in WRAP() function
51 static inline int WRAP(lstat64)(const char *path, struct stat64_portable *s) { in WRAP() function
52 return WRAP(lstat)(path, (struct stat_portable*)s); in WRAP()
56 int WRAP(stat)(const char* path, struct stat_portable* s) { in WRAP() function
[all …]
Dfenv.c106 int WRAP(feclearexcept)(int flag) { in WRAP() function
110 int WRAP(fegetexceptflag)(fexcept_t_portable *obj, int flag) { in WRAP() function
116 int WRAP(feraiseexcept)(int flag) { in WRAP() function
120 int WRAP(fesetexceptflag)(const fexcept_t_portable *obj, int flag) { in WRAP() function
126 int WRAP(fetestexcept)(int flag) { in WRAP() function
131 int WRAP(fegetround)(void) { in WRAP() function
136 int WRAP(fesetround)(int round) { in WRAP() function
140 int WRAP(fegetenv)(fenv_t_portable *obj) { in WRAP() function
144 int WRAP(feholdexcept)(fenv_t_portable *obj) { in WRAP() function
148 int WRAP(fesetenv)(const fenv_t_portable *obj) { in WRAP() function
[all …]
Dva_funcs.c23 int WRAP(vfprintf)(FILE *stream, const char *format, va_list_portable *arg) { in WRAP() function
27 int WRAP(vfscanf)(FILE *stream, const char *format, va_list_portable *arg) { in WRAP() function
31 int WRAP(vprintf)(const char *format, va_list_portable *arg) { in WRAP() function
35 int WRAP(vscanf)(const char *format, va_list_portable *arg) { in WRAP() function
39 int WRAP(vsnprintf)(char *s, size_t n, const char *format, va_list_portable *arg) { in WRAP() function
43 int WRAP(vsprintf)(char *s, const char *format, va_list_portable *arg) { in WRAP() function
47 int WRAP(vsscanf)(const char *s, const char *format, va_list_portable *arg) { in WRAP() function
/development/ndk/sources/android/libportable/arch-x86/
Dfenv.c114 WRAP(fesetexceptflag)(const fexcept_t *flagp, int excepts) in WRAP() function
122 WRAP(fegetexceptflag)(fexcept_t *flagp, int excepts) in WRAP() function
130 WRAP(feraiseexcept)(int excepts) in WRAP() function
136 WRAP(feclearexcept)(int excepts) in WRAP() function
142 WRAP(fetestexcept)(int excepts) in WRAP() function
149 WRAP(fegetround)(void) in WRAP() function
156 WRAP(fesetround)(int round) in WRAP() function
162 WRAP(fegetexcept)(void) in WRAP() function
Dstat.c21 int WRAP(stat)(const char *path, struct stat_portable *s) in WRAP() function
29 int WRAP(fstat)(int fd, struct stat_portable *s) in WRAP() function
37 int WRAP(lstat)(const char *path, struct stat_portable *s) in WRAP() function
45 int WRAP(fstatat)(int dirfd, const char *path, struct stat_portable *s, int flags) in WRAP() function
Dmd_swap.c20 uint16_t WRAP(__swap16md)(uint16_t x) { in WRAP() function
26 uint32_t WRAP(__swap32md)(uint32_t x) { in WRAP() function
Depoll.c21 int WRAP(epoll_ctl)(int epfd, int op, int fd, struct epoll_event_portable *event) in WRAP() function
31 int WRAP(epoll_wait)(int epfd, struct epoll_event_portable *events, int max, int timeout) in WRAP() function
/development/ndk/sources/android/libportable/common/include/asm-generic/
Dportability.h21 #define WRAP(f) f ## _portable macro
27 #define WRAP(f) __wrap_ ## f macro

123